summaryrefslogtreecommitdiffstats
path: root/examples/examples-grpc/src/main/resources/schemas/CDSResponsePayloadType.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/examples-grpc/src/main/resources/schemas/CDSResponsePayloadType.json')
-rw-r--r--examples/examples-grpc/src/main/resources/schemas/CDSResponsePayloadType.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/examples/examples-grpc/src/main/resources/schemas/CDSResponsePayloadType.json b/examples/examples-grpc/src/main/resources/schemas/CDSResponsePayloadType.json
new file mode 100644
index 000000000..a3cbd9f5b
--- /dev/null
+++ b/examples/examples-grpc/src/main/resources/schemas/CDSResponsePayloadType.json
@@ -0,0 +1,28 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "type": "object",
+ "properties": {
+ "create-subscription-response": {
+ "type": "object",
+ "properties": {
+ "odl-response": {
+ "type": "object",
+ "properties": {
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ]
+ }
+ },
+ "required": [
+ "odl-response"
+ ]
+ }
+ },
+ "required": [
+ "create-subscription-response"
+ ]
+}