Update APEX example to use JSON Schema plugin
[policy/apex-pdp.git] / examples / examples-grpc / src / main / resources / schemas / CDSRequestCommonHeaderType.json
1 {
2   "definitions": {},
3   "$schema": "http://json-schema.org/draft-07/schema#",
4   "title": "Root",
5   "type": "object",
6   "required": [
7     "requestId",
8     "subRequestId",
9     "originatorId"
10   ],
11   "properties": {
12     "requestId": {
13       "$id": "#root/requestId",
14       "title": "Requestid",
15       "type": "string",
16       "default": "",
17       "examples": [
18         "123456-1000"
19       ],
20       "pattern": "^.*$"
21     },
22     "subRequestId": {
23       "$id": "#root/subRequestId",
24       "title": "Subrequestid",
25       "type": "string",
26       "default": "",
27       "examples": [
28         "sub-123456-1000"
29       ],
30       "pattern": "^.*$"
31     },
32     "originatorId": {
33       "$id": "#root/originatorId",
34       "title": "Originatorid",
35       "type": "string",
36       "default": "",
37       "examples": [
38         "sdnc"
39       ],
40       "pattern": "^.*$"
41     }
42   }
43 }