X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fschema.json;h=f7b8ce4dd77c512d1b586c0d3c5ca1a3199e7fc9;hb=aca8f3cfeaa7e6af5245c2f0370ef517254d62f2;hp=bc89da8376e5872c22cd461a2ac00aa4488ed35a;hpb=e8b05b6a0f6fa82ddb2a4e9c9a90629b7528a809;p=ric-plt%2Fappmgr.git diff --git a/test/schema.json b/test/schema.json index bc89da8..f7b8ce4 100755 --- a/test/schema.json +++ b/test/schema.json @@ -5,42 +5,58 @@ "type": "object", "title": "The Root Schema", "required": [ - "local", - "logger" + "active", + "interfaceId" ], "properties": { - "local": { - "$id": "#/properties/local", - "type": "object", - "title": "The Local Schema", - "required": [ - "host" - ], - "properties": { - "host": { - "$id": "#/properties/local/properties/host", - "type": "string", - "title": "The Host Schema", - "default": "", - "pattern": "^(.*)$" - } - } + "active": { + "$id": "#/properties/active", + "type": "boolean", + "title": "The Active Schema", + "default": false, + "examples": [ + false + ] }, - "logger": { - "$id": "#/properties/logger", + "interfaceId": { + "$id": "#/properties/interfaceId", "type": "object", - "title": "The Logger Schema", + "title": "The Interfaceid Schema", "required": [ - "level" + "globalENBId" ], "properties": { - "level": { - "$id": "#/properties/logger/properties/level", - "type": "integer", - "title": "The Level Schema", - "default": 0 + "globalENBId": { + "$id": "#/properties/interfaceId/properties/globalENBId", + "type": "object", + "title": "The Globalenbid Schema", + "required": [ + "plmnId", + "eNBId" + ], + "properties": { + "plmnId": { + "$id": "#/properties/interfaceId/properties/globalENBId/properties/plmnId", + "type": "string", + "title": "The Plmnid Schema", + "default": "", + "examples": [ + "310150" + ], + "pattern": "^(.*)$" + }, + "eNBId": { + "$id": "#/properties/interfaceId/properties/globalENBId/properties/eNBId", + "type": "integer", + "title": "The Enbid Schema", + "default": 0, + "examples": [ + 202251 + ] + } + } } } } } -} \ No newline at end of file +}