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