Merge "Blueprint exception handler and REST responses"
[ccsdk/cds.git] / components / core / src / test / resources / dictionary / dictionary_schema.json
1 {\r
2         "type": "object",\r
3         "properties": {\r
4                 "resource-path": {\r
5                         "type": "string",\r
6                         "required": true\r
7                 },\r
8                 "description": {\r
9                         "type": "string"\r
10                 },\r
11                 "updated-by": {\r
12                         "type": "string"\r
13                 },\r
14                 "data-type": {\r
15                         "type": "string",\r
16                         "required": true\r
17                 },\r
18                 "source": {\r
19                         "type": "object",\r
20                         "required": true,\r
21                         "properties": {\r
22                                 "input": {\r
23                                         "type": "object",\r
24                                         "properties": {\r
25                                                 "key": {\r
26                                                         "type": "string"\r
27                                                 }\r
28                                         }\r
29                                 },\r
30                                 "component": {\r
31                                         "type": "object",\r
32                                         "properties": {\r
33                                                 "name": {\r
34                                                         "type": "string",\r
35                                                         "required": true\r
36                                                 },\r
37                                                 "input-key-mapping": {\r
38                                                         "type": "object",\r
39                                                         "additionalProperties": {\r
40                                                                 "type": "string"\r
41                                                         }\r
42                                                 },\r
43                                                 "output-key-mapping": {\r
44                                                         "type": "object",\r
45                                                         "additionalProperties": {\r
46                                                                 "type": "string"\r
47                                                         }\r
48                                                 }\r
49                                         }\r
50                                 },\r
51                                 "default": {\r
52                                         "type": "any"\r
53                                 },\r
54                                 "aai": {\r
55                                         "type": "any"\r
56                                 },\r
57                                 "mdsal": {\r
58                                         "type": "object",\r
59                                         "properties": {\r
60                                                 "path": {\r
61                                                         "type": "string",\r
62                                                         "required": true\r
63                                                 },\r
64                                                 "url-path": {\r
65                                                         "type": "string",\r
66                                                         "required": true\r
67                                                 },\r
68                                                 "input-key-mapping": {\r
69                                                         "type": "object",\r
70                                                         "additionalProperties": {\r
71                                                                 "type": "string"\r
72                                                         }\r
73                                                 },\r
74                                                 "type": {\r
75                                                         "type": "string",\r
76                                                         "required": true\r
77                                                 },\r
78                                                 "output-key-mapping": {\r
79                                                         "type": "object",\r
80                                                         "additionalProperties": {\r
81                                                                 "type": "string"\r
82                                                         }\r
83                                                 },\r
84                                                 "base": {\r
85                                                         "type": "string",\r
86                                                         "required": true\r
87                                                 }\r
88                                         }\r
89                                 },\r
90                                 "network-resource-discovery": {\r
91                                         "type": "object",\r
92                                         "properties": {\r
93                                                 "input-key-mapping": {\r
94                                                         "type": "object",\r
95                                                         "additionalProperties": {\r
96                                                                 "type": "string"\r
97                                                         }\r
98                                                 },\r
99                                                 "output-key-mapping": {\r
100                                                         "type": "object",\r
101                                                         "additionalProperties": {\r
102                                                                 "type": "string"\r
103                                                         }\r
104                                                 }\r
105                                         }\r
106                                 },\r
107                                 "primary-db": {\r
108                                         "type": "object",\r
109                                         "properties": {\r
110                                                 "query": {\r
111                                                         "type": "string",\r
112                                                         "required": true\r
113                                                 },\r
114                                                 "input-key-mapping": {\r
115                                                         "type": "object",\r
116                                                         "additionalProperties": {\r
117                                                                 "type": "string"\r
118                                                         }\r
119                                                 },\r
120                                                 "type": {\r
121                                                         "type": "string",\r
122                                                         "required": true\r
123                                                 },\r
124                                                 "output-key-mapping": {\r
125                                                         "type": "object",\r
126                                                         "additionalProperties": {\r
127                                                                 "type": "string"\r
128                                                         }\r
129                                                 },\r
130                                                 "base": {\r
131                                                         "type": "string",\r
132                                                         "required": true\r
133                                                 }\r
134                                         }\r
135                                 },\r
136                                 "policy": {\r
137                                         "type": "object",\r
138                                         "properties": {\r
139                                                 "input-key-mapping": {\r
140                                                         "type": "object",\r
141                                                         "additionalProperties": {\r
142                                                                 "type": "string"\r
143                                                         }\r
144                                                 },\r
145                                                 "output-key-mapping": {\r
146                                                         "type": "object",\r
147                                                         "additionalProperties": {\r
148                                                                 "type": "string"\r
149                                                         }\r
150                                                 }\r
151                                         }\r
152                                 }\r
153                         }\r
154                 },\r
155                 "candidate-dependency": {\r
156                         "type": "object",\r
157                         "properties": {\r
158                                 "input": {\r
159                                         "type": "object",\r
160                                         "properties": {\r
161                                                 "names": {\r
162                                                         "type": "array",\r
163                                                         "items": {\r
164                                                                 "type": "string"\r
165                                                         }\r
166                                                 }\r
167                                         }\r
168                                 },\r
169                                 "component": {\r
170                                         "type": "object",\r
171                                         "properties": {\r
172                                                 "names": {\r
173                                                         "type": "array",\r
174                                                         "items": {\r
175                                                                 "type": "string"\r
176                                                         }\r
177                                                 }\r
178                                         }\r
179                                 },\r
180                                 "aai": {\r
181                                         "type": "object",\r
182                                         "properties": {\r
183                                                 "names": {\r
184                                                         "type": "array",\r
185                                                         "items": {\r
186                                                                 "type": "string"\r
187                                                         }\r
188                                                 }\r
189                                         }\r
190                                 },\r
191                                 "mdsal": {\r
192                                         "type": "object",\r
193                                         "properties": {\r
194                                                 "names": {\r
195                                                         "type": "array",\r
196                                                         "items": {\r
197                                                                 "type": "string"\r
198                                                         }\r
199                                                 }\r
200                                         }\r
201                                 },\r
202                                 "network-resource-discovery": {\r
203                                         "type": "object",\r
204                                         "properties": {\r
205                                                 "names": {\r
206                                                         "type": "array",\r
207                                                         "items": {\r
208                                                                 "type": "string"\r
209                                                         }\r
210                                                 }\r
211                                         }\r
212                                 },\r
213                                 "primary-db": {\r
214                                         "type": "object",\r
215                                         "properties": {\r
216                                                 "names": {\r
217                                                         "type": "array",\r
218                                                         "items": {\r
219                                                                 "type": "string"\r
220                                                         }\r
221                                                 }\r
222                                         }\r
223                                 },\r
224                                 "policy": {\r
225                                         "type": "object",\r
226                                         "properties": {\r
227                                                 "names": {\r
228                                                         "type": "array",\r
229                                                         "items": {\r
230                                                                 "type": "string"\r
231                                                         }\r
232                                                 }\r
233                                         }\r
234                                 }\r
235                         }\r
236                 },\r
237                 "tags": {\r
238                         "type": "string"\r
239                 },\r
240                 "default": {\r
241                         "type": "any"\r
242                 },\r
243                 "name": {\r
244                         "type": "string",\r
245                         "required": true\r
246                 },\r
247                 "valid-values": {\r
248                         "type": "string"\r
249                 },\r
250                 "resource-type": {\r
251                         "type": "string",\r
252                         "required": true\r
253                 },\r
254                 "sample-value": {\r
255                         "type": "string"\r
256                 },\r
257                 "entry-schema": {\r
258                         "type": "string"\r
259                 }\r
260         }\r
261 }\r