Update example-xapp
[ric-plt/xapp-frame.git] / examples / config / schema.json
diff --git a/examples/config/schema.json b/examples/config/schema.json
new file mode 100755 (executable)
index 0000000..10e9243
--- /dev/null
@@ -0,0 +1,21 @@
+{
+  "definitions": {},
+  "$schema": "http://json-schema.org/draft-07/schema#",
+  "$id": "http://example.com/root.json",
+  "type": "object",
+  "title": "The Root Schema",
+  "required": [
+    "subscriptionActive"
+  ],
+  "properties": {
+    "subscriptionActive": {
+      "$id": "#/properties/subscriptionActive",
+      "type": "boolean",
+      "title": "The Active Schema",
+      "default": false,
+      "examples": [
+        true
+      ]
+    }
+  }
+}
\ No newline at end of file