|
155 | 155 | }, |
156 | 156 | "additionalProperties": false |
157 | 157 | }, |
158 | | - "cap_add": {"type": "array", "items": {"type": "string"}, "uniqueItems": true}, |
159 | | - "cap_drop": {"type": "array", "items": {"type": "string"}, "uniqueItems": true}, |
| 158 | + "cap_add": {"type": "array", "items": {"type": "string"}}, |
| 159 | + "cap_drop": {"type": "array", "items": {"type": "string"}}, |
160 | 160 | "cgroup": {"type": "string", "enum": ["host", "private"]}, |
161 | 161 | "cgroup_parent": {"type": "string"}, |
162 | 162 | "command": {"$ref": "#/definitions/command"}, |
|
215 | 215 | ] |
216 | 216 | }, |
217 | 217 | "device_cgroup_rules": {"$ref": "#/definitions/list_of_strings"}, |
218 | | - "devices": {"type": "array", "items": {"type": "string"}, "uniqueItems": true}, |
| 218 | + "devices": {"type": "array", "items": {"type": "string"}}, |
219 | 219 | "dns": {"$ref": "#/definitions/string_or_list"}, |
220 | | - "dns_opt": {"type": "array","items": {"type": "string"}, "uniqueItems": true}, |
| 220 | + "dns_opt": {"type": "array","items": {"type": "string"}}, |
221 | 221 | "dns_search": {"$ref": "#/definitions/string_or_list"}, |
222 | 222 | "domainname": {"type": "string"}, |
223 | 223 | "entrypoint": {"$ref": "#/definitions/command"}, |
|
229 | 229 | "items": { |
230 | 230 | "type": ["string", "number"], |
231 | 231 | "format": "expose" |
232 | | - }, |
233 | | - "uniqueItems": true |
| 232 | + } |
234 | 233 | }, |
235 | 234 | "extends": { |
236 | 235 | "oneOf": [ |
|
247 | 246 | } |
248 | 247 | ] |
249 | 248 | }, |
250 | | - "external_links": {"type": "array", "items": {"type": "string"}, "uniqueItems": true}, |
| 249 | + "external_links": {"type": "array", "items": {"type": "string"}}, |
251 | 250 | "extra_hosts": {"$ref": "#/definitions/list_or_dict"}, |
252 | 251 | "group_add": { |
253 | 252 | "type": "array", |
254 | 253 | "items": { |
255 | 254 | "type": ["string", "number"] |
256 | | - }, |
257 | | - "uniqueItems": true |
| 255 | + } |
258 | 256 | }, |
259 | 257 | "healthcheck": {"$ref": "#/definitions/healthcheck"}, |
260 | 258 | "hostname": {"type": "string"}, |
|
263 | 261 | "ipc": {"type": "string"}, |
264 | 262 | "isolation": {"type": "string"}, |
265 | 263 | "labels": {"$ref": "#/definitions/list_or_dict"}, |
266 | | - "links": {"type": "array", "items": {"type": "string"}, "uniqueItems": true}, |
| 264 | + "links": {"type": "array", "items": {"type": "string"}}, |
267 | 265 | "logging": { |
268 | 266 | "type": "object", |
269 | 267 |
|
|
349 | 347 | "patternProperties": {"^x-": {}} |
350 | 348 | } |
351 | 349 | ] |
352 | | - }, |
353 | | - "uniqueItems": true |
| 350 | + } |
354 | 351 | }, |
355 | 352 | "privileged": {"type": ["boolean", "string"]}, |
356 | 353 | "profiles": {"$ref": "#/definitions/list_of_strings"}, |
|
365 | 362 | "scale": { |
366 | 363 | "type": ["integer", "string"] |
367 | 364 | }, |
368 | | - "security_opt": {"type": "array", "items": {"type": "string"}, "uniqueItems": true}, |
| 365 | + "security_opt": {"type": "array", "items": {"type": "string"}}, |
369 | 366 | "shm_size": {"type": ["number", "string"]}, |
370 | 367 | "secrets": {"$ref": "#/definitions/service_config_or_secret"}, |
371 | 368 | "sysctls": {"$ref": "#/definitions/list_or_dict"}, |
|
431 | 428 | "patternProperties": {"^x-": {}} |
432 | 429 | } |
433 | 430 | ] |
434 | | - }, |
435 | | - "uniqueItems": true |
| 431 | + } |
436 | 432 | }, |
437 | 433 | "volumes_from": { |
438 | 434 | "type": "array", |
439 | | - "items": {"type": "string"}, |
440 | | - "uniqueItems": true |
| 435 | + "items": {"type": "string"} |
441 | 436 | }, |
442 | 437 | "working_dir": {"type": "string"} |
443 | 438 | }, |
|
832 | 827 |
|
833 | 828 | "list_of_strings": { |
834 | 829 | "type": "array", |
835 | | - "items": {"type": "string"}, |
836 | | - "uniqueItems": true |
| 830 | + "items": {"type": "string"} |
837 | 831 | }, |
838 | 832 |
|
839 | 833 | "list_or_dict": { |
|
847 | 841 | }, |
848 | 842 | "additionalProperties": false |
849 | 843 | }, |
850 | | - {"type": "array", "items": {"type": "string"}, "uniqueItems": true} |
| 844 | + {"type": "array", "items": {"type": "string"}} |
851 | 845 | ] |
852 | 846 | }, |
853 | 847 |
|
|
0 commit comments