RIC-642 related changes: REST subscription, rnib enhancements, symptomdata, rest...
[ric-plt/xapp-frame-py.git] / examples / descriptor / schema.json
1 {
2   "$schema": "http://json-schema.org/draft-07/schema",
3   "$id": "http://example.com/example.json",
4   "type": "object",
5   "title": "The root schema",
6   "description": "The root schema comprises the entire JSON document.",
7   "default": {},
8   "examples": [
9       {
10           "logger": {
11               "level": 3
12           },
13       }
14   ],
15   "required": [
16       "logger"
17   ],
18   "properties": {
19       "logger": {
20           "$id": "#/properties/logger",
21           "type": "object",
22           "title": "The logger schema",
23           "description": "An explanation about the purpose of this instance.",
24           "default": {},
25           "examples": [
26               {
27                   "level": 3
28               }
29           ],
30           "required": [
31               "level"
32           ],
33           "properties": {
34               "level": {
35                   "$id": "#/properties/logger/properties/level",
36                   "type": "integer",
37                   "title": "The level schema",
38                   "description": "An explanation about the purpose of this instance.",
39                   "default": 0,
40                   "examples": [
41                       3
42                   ]
43               }
44           },
45           "additionalProperties": true
46       }
47   },
48   "additionalProperties": true
49 }