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 bf2f244 commit 655ce9fCopy full SHA for 655ce9f
tests/draft2019-09/unevaluatedItems.json
@@ -0,0 +1,32 @@
1
+[
2
+ {
3
+ "description": "Single-schema items and unevaluatedItems",
4
+ "schema": {
5
+ "$schema": "https://json-schema.org/draft/2019-09/schema",
6
+ "unevaluatedItems": {"type": "boolean"},
7
+ "anyOf": [
8
9
+ "items": {"type": "string"}
10
+ },
11
+ true
12
+ ]
13
14
+ "tests": [
15
16
+ "description": "unevaluatedItems is applied",
17
+ "data": [true, false],
18
+ "valid": true
19
20
21
+ "description": "unevaluatedItems isn't applied unnecessarily on items annotation boolean of true",
22
+ "data": ["yes", "no"],
23
24
25
26
+ "description": "unevaluatedItems is applied on items annotation boolean false",
27
+ "data": ["yes", false],
28
+ "valid": false
29
+ }
30
31
32
+]
0 commit comments