File tree Expand file tree Collapse file tree 6 files changed +147
-0
lines changed Expand file tree Collapse file tree 6 files changed +147
-0
lines changed Original file line number Diff line number Diff line change 819
819
}
820
820
821
821
]
822
+ },
823
+ {
824
+ "description" : " Evaluated items collection needs to consider instance location" ,
825
+ "schema" : {
826
+ "$schema" : " https://json-schema.org/draft/next/schema" ,
827
+ "prefixItems" : [
828
+ {
829
+ "prefixItems" : [
830
+ true ,
831
+ { "type" : " string" }
832
+ ]
833
+ }
834
+ ],
835
+ "unevaluatedItems" : false
836
+ },
837
+ "tests" : [
838
+ {
839
+ "description" : " The nested second item shouldn't cause the top-level second item to be considered evaluated" ,
840
+ "data" : [
841
+ [" foo" , " bar" ],
842
+ " bar"
843
+ ],
844
+ "valid" : false
845
+ }
846
+ ]
822
847
}
823
848
]
Original file line number Diff line number Diff line change 1672
1672
"valid" : true
1673
1673
}
1674
1674
]
1675
+ },
1676
+ {
1677
+ "description" : " Evaluated properties collection needs to consider instance location" ,
1678
+ "schema" : {
1679
+ "$schema" : " https://json-schema.org/draft/next/schema" ,
1680
+ "properties" : {
1681
+ "foo" : {
1682
+ "properties" : {
1683
+ "bar" : { "type" : " string" }
1684
+ }
1685
+ }
1686
+ },
1687
+ "unevaluatedProperties" : false
1688
+ },
1689
+ "tests" : [
1690
+ {
1691
+ "description" : " The nested 'bar' shouldn't cause the top-level 'bar' to be considered evaluated" ,
1692
+ "data" : {
1693
+ "foo" : { "bar" : " foo" },
1694
+ "bar" : " bar"
1695
+ },
1696
+ "valid" : false
1697
+ }
1698
+ ]
1675
1699
}
1676
1700
]
Original file line number Diff line number Diff line change 699
699
}
700
700
701
701
]
702
+ },
703
+ {
704
+ "description" : " Evaluated items collection needs to consider instance location" ,
705
+ "schema" : {
706
+ "$schema" : " https://json-schema.org/draft/2019-09/schema" ,
707
+ "prefixItems" : [
708
+ {
709
+ "prefixItems" : [
710
+ true ,
711
+ { "type" : " string" }
712
+ ]
713
+ }
714
+ ],
715
+ "unevaluatedItems" : false
716
+ },
717
+ "tests" : [
718
+ {
719
+ "description" : " The nested second item shouldn't cause the top-level second item to be considered evaluated" ,
720
+ "data" : [
721
+ [" foo" , " bar" ],
722
+ " bar"
723
+ ],
724
+ "valid" : false
725
+ }
726
+ ]
702
727
}
703
728
]
Original file line number Diff line number Diff line change 1600
1600
"valid" : true
1601
1601
}
1602
1602
]
1603
+ },
1604
+ {
1605
+ "description" : " Evaluated properties collection needs to consider instance location" ,
1606
+ "schema" : {
1607
+ "$schema" : " https://json-schema.org/draft/2019-09/schema" ,
1608
+ "properties" : {
1609
+ "foo" : {
1610
+ "properties" : {
1611
+ "bar" : { "type" : " string" }
1612
+ }
1613
+ }
1614
+ },
1615
+ "unevaluatedProperties" : false
1616
+ },
1617
+ "tests" : [
1618
+ {
1619
+ "description" : " The nested 'bar' shouldn't cause the top-level 'bar' to be considered evaluated" ,
1620
+ "data" : {
1621
+ "foo" : { "bar" : " foo" },
1622
+ "bar" : " bar"
1623
+ },
1624
+ "valid" : false
1625
+ }
1626
+ ]
1603
1627
}
1604
1628
]
Original file line number Diff line number Diff line change 825
825
"valid" : false
826
826
}
827
827
]
828
+ },
829
+ {
830
+ "description" : " Evaluated items collection needs to consider instance location" ,
831
+ "schema" : {
832
+ "$schema" : " https://json-schema.org/draft/2020-12/schema" ,
833
+ "prefixItems" : [
834
+ {
835
+ "prefixItems" : [
836
+ true ,
837
+ { "type" : " string" }
838
+ ]
839
+ }
840
+ ],
841
+ "unevaluatedItems" : false
842
+ },
843
+ "tests" : [
844
+ {
845
+ "description" : " The nested second item shouldn't cause the top-level second item to be considered evaluated" ,
846
+ "data" : [
847
+ [" foo" , " bar" ],
848
+ " bar"
849
+ ],
850
+ "valid" : false
851
+ }
852
+ ]
828
853
}
829
854
]
Original file line number Diff line number Diff line change 1587
1587
"valid" : true
1588
1588
}
1589
1589
]
1590
+ },
1591
+ {
1592
+ "description" : " Evaluated properties collection needs to consider instance location" ,
1593
+ "schema" : {
1594
+ "$schema" : " https://json-schema.org/draft/2020-12/schema" ,
1595
+ "properties" : {
1596
+ "foo" : {
1597
+ "properties" : {
1598
+ "bar" : { "type" : " string" }
1599
+ }
1600
+ }
1601
+ },
1602
+ "unevaluatedProperties" : false
1603
+ },
1604
+ "tests" : [
1605
+ {
1606
+ "description" : " The nested 'bar' shouldn't cause the top-level 'bar' to be considered evaluated" ,
1607
+ "data" : {
1608
+ "foo" : { "bar" : " foo" },
1609
+ "bar" : " bar"
1610
+ },
1611
+ "valid" : false
1612
+ }
1613
+ ]
1590
1614
}
1591
1615
]
You can’t perform that action at this time.
0 commit comments