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 fa99135 commit 9c05d18Copy full SHA for 9c05d18
tests/draft6/propertyNames.json
@@ -32,5 +32,37 @@
32
"valid": true
33
}
34
]
35
+ },
36
+ {
37
+ "description": "propertyNames with boolean schema true",
38
+ "schema": {"propertyNames": true},
39
+ "tests": [
40
41
+ "description": "object with any properties is valid",
42
+ "data": {"foo": 1},
43
+ "valid": true
44
45
46
+ "description": "empty object is valid",
47
+ "data": {},
48
49
+ }
50
+ ]
51
52
53
+ "description": "propertyNames with boolean schema false",
54
+ "schema": {"propertyNames": false},
55
56
57
+ "description": "object with any properties is invalid",
58
59
+ "valid": false
60
61
62
63
64
65
66
67
68
0 commit comments