Skip to content

Commit

Permalink
Fix uniqueItems property defined on object
Browse files Browse the repository at this point in the history
Signed-off-by: Ana-Maria (A.) Manolache <ana-maria.manolache@ing.com>
  • Loading branch information
AnaMManolache authored and ndeloof committed Dec 2, 2024
1 parent bfe7111 commit 40867a7
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions schema/compose-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -929,9 +929,17 @@
"type": "object",
"patternProperties": {
".+": {
"type": ["string", "array"]
},
"uniqueItems": false
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {},
"uniqueItems": false
}
]
}
},
"additionalProperties": false
},
Expand Down

0 comments on commit 40867a7

Please sign in to comment.