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 3379127 commit 2d0ce04Copy full SHA for 2d0ce04
tests/draft2019-09/ref.json
@@ -357,5 +357,28 @@
357
"valid": false
358
}
359
]
360
+ },
361
+ {
362
+ "description": "ref creates new scope when adjacent to keywords",
363
+ "schema": {
364
+ "$defs": {
365
+ "A": {
366
+ "unevaluatedProperties": false
367
+ }
368
369
+ "properties": {
370
+ "prop1": {
371
+ "type": "string"
372
373
374
+ "$ref": "#/$defs/A"
375
376
+ "tests": [
377
378
+ "prop1": "match",
379
+ "prop2": 1,
380
+ "valid": true
381
382
+ ]
383
384
0 commit comments