We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e784d5d commit bc536c2Copy full SHA for bc536c2
jsonschema-validation.xml
@@ -461,6 +461,10 @@
461
An object instance is valid against this keyword if its
462
property set contains all elements in this keyword's array value.
463
</t>
464
+ <t>
465
+ If this keyword is not present, it may be considered present
466
+ as an empty array.
467
+ </t>
468
</section>
469
470
<section title="properties">
@@ -604,7 +608,7 @@
604
608
605
609
606
610
<section title="anyOf">
607
- <t>
611
612
This keyword's value MUST be an array. This array MUST have at least one
613
element.
614
schema.json
@@ -32,7 +32,8 @@
32
"stringArray": {
33
"type": "array",
34
"items": { "type": "string" },
35
- "uniqueItems": true
+ "uniqueItems": true,
36
+ "defaultItems": []
37
}
38
},
39
"type": "object",
0 commit comments