We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e0ebd2 commit 816441fCopy full SHA for 816441f
tests/draft2019-09/unevaluatedItems.json
@@ -146,6 +146,30 @@
146
}
147
]
148
},
149
+ {
150
+ "description": "Single-schema items and unevaluatedItems",
151
+ "schema": {
152
+ "unevaluatedItems": {"type": "boolean"},
153
+ "anyOf": [ { "items": {"type": "string"} }, true ]
154
+ },
155
+ "tests": [
156
157
+ "description": "unevaluatedItems is applied",
158
+ "data": [true, false],
159
+ "valid": true
160
161
162
+ "description": "unevaluatedItems isn't applied unnecessarily on items annotation boolean of true",
163
+ "data": ["yes", "no"],
164
165
166
167
+ "description": "unevaluatedItems is applied on items annotation boolean false",
168
+ "data": ["yes", false],
169
+ "valid": false
170
+ }
171
+ ]
172
173
{
174
"description": "unevaluatedItems with nested additionalItems",
175
"schema": {
0 commit comments