X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=examples%2Fdescriptor%2Fschema.json;fp=examples%2Fdescriptor%2Fschema.json;h=ce528f1c9f104f354d507ff14f166118097832c7;hb=12486343219663d484705f05ab8d2ed3306f66d7;hp=0000000000000000000000000000000000000000;hpb=9c09be1e9598d4e145faea412b047b64d38feb22;p=ric-plt%2Fxapp-frame-py.git diff --git a/examples/descriptor/schema.json b/examples/descriptor/schema.json new file mode 100644 index 0000000..ce528f1 --- /dev/null +++ b/examples/descriptor/schema.json @@ -0,0 +1,49 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "http://example.com/example.json", + "type": "object", + "title": "The root schema", + "description": "The root schema comprises the entire JSON document.", + "default": {}, + "examples": [ + { + "logger": { + "level": 3 + }, + } + ], + "required": [ + "logger" + ], + "properties": { + "logger": { + "$id": "#/properties/logger", + "type": "object", + "title": "The logger schema", + "description": "An explanation about the purpose of this instance.", + "default": {}, + "examples": [ + { + "level": 3 + } + ], + "required": [ + "level" + ], + "properties": { + "level": { + "$id": "#/properties/logger/properties/level", + "type": "integer", + "title": "The level schema", + "description": "An explanation about the purpose of this instance.", + "default": 0, + "examples": [ + 3 + ] + } + }, + "additionalProperties": true + } + }, + "additionalProperties": true +}