Update APEX example to use JSON Schema plugin
[policy/apex-pdp.git] / examples / examples-grpc / src / main / resources / schemas / CDSResponsePayloadType.json
1 {
2   "$schema": "http://json-schema.org/draft-04/schema#",
3   "type": "object",
4   "properties": {
5     "create-subscription-response": {
6       "type": "object",
7       "properties": {
8         "odl-response": {
9           "type": "object",
10           "properties": {
11             "status": {
12               "type": "string"
13             }
14           },
15           "required": [
16             "status"
17           ]
18         }
19       },
20       "required": [
21         "odl-response"
22       ]
23     }
24   },
25   "required": [
26     "create-subscription-response"
27   ]
28 }