We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6e5563d + bc536c2 commit 965426aCopy full SHA for 965426a
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">
@@ -615,7 +619,7 @@
615
619
616
620
617
621
<section title="anyOf">
618
- <t>
622
623
This keyword's value MUST be an array. This array MUST have at least one
624
element.
625
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", "boolean"],
0 commit comments