File tree Expand file tree Collapse file tree 2 files changed +12
-16
lines changed Expand file tree Collapse file tree 2 files changed +12
-16
lines changed Original file line number Diff line number Diff line change 488
488
{
489
489
"description" : " $dynamicAnchor inside propertyDependencies" ,
490
490
"schema" : {
491
- "$schema" : " https://json-schema.org/draft/2020-12 /schema" ,
492
- "$id" : " http://localhost:1234/draft2020-12 /dynamicanchor-in-propertydependencies.json" ,
491
+ "$schema" : " https://json-schema.org/draft/next /schema" ,
492
+ "$id" : " http://localhost:1234/draft-next /dynamicanchor-in-propertydependencies.json" ,
493
493
"$defs" : {
494
494
"inner" : {
495
495
"$id" : " inner" ,
496
496
"$dynamicAnchor" : " foo" ,
497
497
"type" : " object" ,
498
+ "properties" : {
499
+ "expectedTypes" : {
500
+ "type" : " string"
501
+ }
502
+ },
498
503
"additionalProperties" : {
499
504
"$dynamicRef" : " #foo"
500
505
}
557
562
"anotherProperty" : " a string"
558
563
},
559
564
"valid" : false
560
- },
561
- {
562
- "description" : " expected missing - additional property as an object is valid" ,
563
- "data" : {
564
- "anotherProperty" : {}
565
- },
566
- "valid" : true
567
- },
568
- {
569
- "description" : " expected missing - additional property as not object is invalid" ,
570
- "data" : {
571
- "anotherProperty" : 42
572
- },
573
- "valid" : false
574
565
}
575
566
]
576
567
}
Original file line number Diff line number Diff line change 1475
1475
"description" : " unevaluatedProperties can see inside propertyDependencies" ,
1476
1476
"schema" : {
1477
1477
"$schema" : " https://json-schema.org/draft/next/schema" ,
1478
+ "properties" : {
1479
+ "foo" : {
1480
+ "type" : " string"
1481
+ }
1482
+ },
1478
1483
"propertyDependencies" : {
1479
1484
"foo" : {
1480
1485
"foo1" : {
You can’t perform that action at this time.
0 commit comments