File tree 2 files changed +52
-0
lines changed
2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 612
612
"valid" : false
613
613
}
614
614
]
615
+ },
616
+ {
617
+ "description" : " $dynamicRef points to a boolean schema" ,
618
+ "schema" : {
619
+ "$defs" : {
620
+ "boolean" : true
621
+ },
622
+ "properties" : {
623
+ "true" : {
624
+ "$dynamicRef" : " #/$defs/boolean"
625
+ },
626
+ "false" : false
627
+ }
628
+ },
629
+ "tests" : [
630
+ {
631
+ "description" : " follow $dynamicRef to a true schema" ,
632
+ "data" : { "true" : 1 },
633
+ "valid" : true
634
+ },
635
+ {
636
+ "description" : " false schema" ,
637
+ "data" : { "false" : 1 },
638
+ "valid" : false
639
+ }
640
+ ]
615
641
}
616
642
]
Original file line number Diff line number Diff line change 726
726
"valid" : false
727
727
}
728
728
]
729
+ },
730
+ {
731
+ "description" : " $dynamicRef points to a boolean schema" ,
732
+ "schema" : {
733
+ "$defs" : {
734
+ "boolean" : true
735
+ },
736
+ "properties" : {
737
+ "true" : {
738
+ "$dynamicRef" : " #/$defs/boolean"
739
+ },
740
+ "false" : false
741
+ }
742
+ },
743
+ "tests" : [
744
+ {
745
+ "description" : " follow $dynamicRef to a true schema" ,
746
+ "data" : { "true" : 1 },
747
+ "valid" : true
748
+ },
749
+ {
750
+ "description" : " false schema" ,
751
+ "data" : { "false" : 1 },
752
+ "valid" : false
753
+ }
754
+ ]
729
755
}
730
756
]
You can’t perform that action at this time.
0 commit comments