Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion jsonschema-validation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,10 @@
An object instance is valid against this keyword if its
property set contains all elements in this keyword's array value.
</t>
<t>
If this keyword is not present, it may be considered present
as an empty array.
</t>
</section>

<section title="properties">
Expand Down Expand Up @@ -604,7 +608,7 @@
</section>

<section title="anyOf">
<t>
<t>
This keyword's value MUST be an array. This array MUST have at least one
element.
</t>
Expand Down
3 changes: 2 additions & 1 deletion schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"stringArray": {
"type": "array",
"items": { "type": "string" },
"uniqueItems": true
"uniqueItems": true,
"defaultItems": []
}
},
"type": "object",
Expand Down