blob: bc89da8376e5872c22cd461a2ac00aa4488ed35a [file] [log] [blame]
Mohamed Abukarb175b942019-05-09 16:30:58 +03001{
2 "definitions": {},
3 "$schema": "http://json-schema.org/draft-07/schema#",
4 "$id": "http://example.com/root.json",
5 "type": "object",
6 "title": "The Root Schema",
7 "required": [
8 "local",
9 "logger"
10 ],
11 "properties": {
12 "local": {
13 "$id": "#/properties/local",
14 "type": "object",
15 "title": "The Local Schema",
16 "required": [
17 "host"
18 ],
19 "properties": {
20 "host": {
21 "$id": "#/properties/local/properties/host",
22 "type": "string",
23 "title": "The Host Schema",
24 "default": "",
25 "pattern": "^(.*)$"
26 }
27 }
28 },
29 "logger": {
30 "$id": "#/properties/logger",
31 "type": "object",
32 "title": "The Logger Schema",
33 "required": [
34 "level"
35 ],
36 "properties": {
37 "level": {
38 "$id": "#/properties/logger/properties/level",
39 "type": "integer",
40 "title": "The Level Schema",
41 "default": 0
42 }
43 }
44 }
45 }
46}