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 82a0774 commit 7dfbb1eCopy full SHA for 7dfbb1e
tests/draft2020-12/unevaluatedProperties.json
@@ -160,6 +160,31 @@
160
}
161
]
162
},
163
+ {
164
+ "description": "unevaluatedProperties with non-bool additionalProperties",
165
+ "schema": {
166
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
167
+ "additionalProperties": { "type": "string" },
168
+ "unevaluatedProperties": false
169
+ },
170
+ "tests": [
171
172
+ "description": "with only valid additional properties",
173
+ "data": {
174
+ "foo": "foo"
175
176
+ "valid": true
177
178
179
+ "description": "with invalid additional properties",
180
181
+ "foo": "foo",
182
+ "bar": 1
183
184
+ "valid": false
185
+ }
186
+ ]
187
188
{
189
"description": "unevaluatedProperties with nested properties",
190
"schema": {
0 commit comments