We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1899a5a commit 7c02d06Copy full SHA for 7c02d06
tests/draft2019-09/unevaluatedProperties.json
@@ -0,0 +1,34 @@
1
+[
2
+ {
3
+ "description": "can peer inside allOf, results in no-op",
4
+ "schema": {
5
+ "$schema": "https://json-schema.org/draft/2019-09/schema",
6
+ "unevaluatedProperties": false,
7
+ "allOf": [
8
9
+ "properties": {
10
+ "foo": { "type": "string", "null" },
11
+ "bar": { "type": "string", "null" }
12
+ }
13
+ },
14
15
+ "additionalProperties": {
16
+ "not": { "enum": [ null ] }
17
18
19
+ ]
20
21
+ "tests": [
22
23
+ "description": "valid",
24
+ "data": { "bar": "foo", "bob": "who?" },
25
+ "valid": true
26
27
28
29
+ "data": { "bar": "foo", "bob": null },
30
+ "valid": false
31
32
33
34
+]
0 commit comments