aboutsummaryrefslogtreecommitdiff
path: root/schemas_json/main.yaml
blob: a9e052153d7a751a6ac943c07926c106cbfad222 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
"$schema": "http://json-schema.org/schema#"
id: "restlog://main.yaml#"
type: object
required:
    - log
    - host
    - port
    - db_path
    - max_results
properties:
    log:
        "$ref": "hat-json://logging.yaml#"
    host:
        type: string
        description: listening local address/name
    port:
        type: integer
        description: listening local TCP port
    db_path:
        type: string
        description: path to the backend SQLite database
    max_results:
        type: integer
        description: |
            maximum number of entries available as result of single query
            request
...