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.
2 parents 3379127 + 2693322 commit f059435Copy full SHA for f059435
tests/draft2019-09/ref.json
@@ -357,5 +357,30 @@
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
+ "description": "referenced subschema doesn't see annoations from properties",
379
+ "data": {
380
+ "prop1": "match"
381
382
+ "valid": false
383
384
+ ]
385
386
0 commit comments