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 d62b754 commit e86adb2Copy full SHA for e86adb2
tests/draft6/ref.json
@@ -208,5 +208,37 @@
208
"valid": false
209
}
210
]
211
+ },
212
+ {
213
+ "description": "$ref to boolean schema true",
214
+ "schema": {
215
+ "$ref": "#/definitions/bool",
216
+ "definitions": {
217
+ "bool": true
218
+ }
219
220
+ "tests": [
221
222
+ "description": "any value is valid",
223
+ "data": "foo",
224
+ "valid": true
225
226
+ ]
227
228
229
+ "description": "$ref to boolean schema false",
230
231
232
233
+ "bool": false
234
235
236
237
238
+ "description": "any value is invalid",
239
240
+ "valid": false
241
242
243
244
0 commit comments