Skip to content

Commit c1833e7

Browse files
feat: update schema
1 parent 3a5a283 commit c1833e7

File tree

2 files changed

+33
-14
lines changed

2 files changed

+33
-14
lines changed

.changeset/light-dragons-juggle.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@json-types/compose": minor
3+
---
4+
5+
Update schema

packages/compose/schema.json

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -244,13 +244,15 @@
244244
"type": "array",
245245
"items": {
246246
"type": "string"
247-
}
247+
},
248+
"uniqueItems": true
248249
},
249250
"cap_drop": {
250251
"type": "array",
251252
"items": {
252253
"type": "string"
253-
}
254+
},
255+
"uniqueItems": true
254256
},
255257
"cgroup": {
256258
"type": "string",
@@ -395,7 +397,8 @@
395397
"type": "array",
396398
"items": {
397399
"type": "string"
398-
}
400+
},
401+
"uniqueItems": true
399402
},
400403
"dns": {
401404
"$ref": "#/definitions/string_or_list"
@@ -404,7 +407,8 @@
404407
"type": "array",
405408
"items": {
406409
"type": "string"
407-
}
410+
},
411+
"uniqueItems": true
408412
},
409413
"dns_search": {
410414
"$ref": "#/definitions/string_or_list"
@@ -429,7 +433,8 @@
429433
"number"
430434
],
431435
"format": "expose"
432-
}
436+
},
437+
"uniqueItems": true
433438
},
434439
"extends": {
435440
"oneOf": [
@@ -457,7 +462,8 @@
457462
"type": "array",
458463
"items": {
459464
"type": "string"
460-
}
465+
},
466+
"uniqueItems": true
461467
},
462468
"extra_hosts": {
463469
"$ref": "#/definitions/list_or_dict"
@@ -469,7 +475,8 @@
469475
"string",
470476
"number"
471477
]
472-
}
478+
},
479+
"uniqueItems": true
473480
},
474481
"healthcheck": {
475482
"$ref": "#/definitions/healthcheck"
@@ -499,7 +506,8 @@
499506
"type": "array",
500507
"items": {
501508
"type": "string"
502-
}
509+
},
510+
"uniqueItems": true
503511
},
504512
"logging": {
505513
"type": "object",
@@ -684,7 +692,8 @@
684692
"additionalProperties": false
685693
}
686694
]
687-
}
695+
},
696+
"uniqueItems": true
688697
},
689698
"privileged": {
690699
"type": [
@@ -727,7 +736,8 @@
727736
"type": "array",
728737
"items": {
729738
"type": "string"
730-
}
739+
},
740+
"uniqueItems": true
731741
},
732742
"shm_size": {
733743
"type": [
@@ -872,13 +882,15 @@
872882
"additionalProperties": false
873883
}
874884
]
875-
}
885+
},
886+
"uniqueItems": true
876887
},
877888
"volumes_from": {
878889
"type": "array",
879890
"items": {
880891
"type": "string"
881-
}
892+
},
893+
"uniqueItems": true
882894
},
883895
"working_dir": {
884896
"type": "string"
@@ -1543,7 +1555,8 @@
15431555
"type": "array",
15441556
"items": {
15451557
"type": "string"
1546-
}
1558+
},
1559+
"uniqueItems": true
15471560
},
15481561
"list_or_dict": {
15491562
"oneOf": [
@@ -1565,7 +1578,8 @@
15651578
"type": "array",
15661579
"items": {
15671580
"type": "string"
1568-
}
1581+
},
1582+
"uniqueItems": true
15691583
}
15701584
]
15711585
},

0 commit comments

Comments
 (0)