From 1e874e790c12839695761a654b44fb427149a353 Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Wed, 28 Jul 2021 01:43:55 +0200 Subject: init --- schemas_json/main.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 schemas_json/main.yaml (limited to 'schemas_json/main.yaml') 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 +... -- cgit v1.2.3-70-g09d2