From c37b6d2a47fb7fe65ec5afdaad7cd07858fe6641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Fra=C3=9F?= Date: Mon, 27 May 2024 18:27:54 +0200 Subject: [PATCH] [add] doc:brock-schema --- doc/brock.schema.json | 60 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 doc/brock.schema.json diff --git a/doc/brock.schema.json b/doc/brock.schema.json new file mode 100644 index 0000000..3dd9e3c --- /dev/null +++ b/doc/brock.schema.json @@ -0,0 +1,60 @@ +{ + "type": "object", + "properties": { + "database": { + "type": "object", + "properties": { + "kind": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + }, + "additionalProperties": { + }, + "required": [ + ] + } + }, + "additionalProperties": false, + "required": [ + "kind" + ] + }, + "backend": { + "type": "object", + "properties": { + "schema": { + "type": "string", + "enum": ["http", "https"] + }, + "host": { + "type": "string" + }, + "port": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "schema", + "host", + "port" + ] + }, + "frontend": { + "type": "object", + "properties": { + }, + "additionalProperties": false, + "required": [ + ] + } + }, + "required": [ + "database", + "backend", + "frontend" + ] +}