RIC-1059: dms_cli to use flask-restx
[ric-plt/appmgr.git] / test / schema.json
1 {
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     "active",
9     "interfaceId"
10   ],
11   "properties": {
12     "active": {
13       "$id": "#/properties/active",
14       "type": "boolean",
15       "title": "The Active Schema",
16       "default": false,
17       "examples": [
18         false
19       ]
20     },
21     "interfaceId": {
22       "$id": "#/properties/interfaceId",
23       "type": "object",
24       "title": "The Interfaceid Schema",
25       "required": [
26         "globalENBId"
27       ],
28       "properties": {
29         "globalENBId": {
30           "$id": "#/properties/interfaceId/properties/globalENBId",
31           "type": "object",
32           "title": "The Globalenbid Schema",
33           "required": [
34             "plmnId",
35             "eNBId"
36           ],
37           "properties": {
38             "plmnId": {
39               "$id": "#/properties/interfaceId/properties/globalENBId/properties/plmnId",
40               "type": "string",
41               "title": "The Plmnid Schema",
42               "default": "",
43               "examples": [
44                 "310150"
45               ],
46               "pattern": "^(.*)$"
47             },
48             "eNBId": {
49               "$id": "#/properties/interfaceId/properties/globalENBId/properties/eNBId",
50               "type": "integer",
51               "title": "The Enbid Schema",
52               "default": 0,
53               "examples": [
54                 202251
55               ]
56             }
57           }
58         }
59       }
60     }
61   }
62 }