diff options
Diffstat (limited to 'schemas_json')
| -rw-r--r-- | schemas_json/main.yaml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/schemas_json/main.yaml b/schemas_json/main.yaml new file mode 100644 index 0000000..2d99ecc --- /dev/null +++ b/schemas_json/main.yaml @@ -0,0 +1,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 +... |
