aboutsummaryrefslogtreecommitdiff
path: root/schemas_json/main.yaml
blob: 2d99ecce0144a9e08a3af33fa0b94769761f5e53 (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://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
...