File tree Expand file tree Collapse file tree 10 files changed +150
-101
lines changed Expand file tree Collapse file tree 10 files changed +150
-101
lines changed Original file line number Diff line number Diff line change 176
176
"valid" : false
177
177
}
178
178
]
179
+ },
180
+ {
181
+ "description" : " propertyDependencies with additionalProperties" ,
182
+ "schema" : {
183
+ "propertyDependencies" : {
184
+ "foo" : {"bar" : {}}
185
+ },
186
+ "additionalProperties" : false
187
+ },
188
+ "tests" : [
189
+ {
190
+ "description" : " propertyDependencies properties are count as additionalproperties" ,
191
+ "data" : {"foo" : " " },
192
+ "valid" : false
193
+ }
194
+ ]
195
+ },
196
+ {
197
+ "description" : " dependent schema with additionalProperties" ,
198
+ "schema" : {
199
+ "dependentSchemas" : {
200
+ "foo" : {}
201
+ },
202
+ "additionalProperties" : false
203
+ },
204
+ "tests" : [
205
+ {
206
+ "description" : " dependentSchemas properties are counted as additional properties" ,
207
+ "data" : {"foo" : " " },
208
+ "valid" : false
209
+ }
210
+ ]
179
211
}
180
212
]
Original file line number Diff line number Diff line change 157
157
"valid" : false
158
158
}
159
159
]
160
- },
161
- {
162
- "description" : " propertyDependencies with additionalProperties" ,
163
- "schema" : {
164
- "propertyDependencies" : {
165
- "foo" : {"bar" : {}}
166
- },
167
- "additionalProperties" : false
168
- },
169
- "tests" : [
170
- {
171
- "description" : " propertyDependencies properties are count as additionalproperties" ,
172
- "data" : {"foo" : " " },
173
- "valid" : false
174
- }
175
- ]
176
- },
177
- {
178
- "description" : " propertyDependencies with unevaluatedProperties" ,
179
- "schema" : {
180
- "propertyDependencies" : {
181
- "foo" : {"bar" : {}}
182
- },
183
- "unevaluatedProperties" : false
184
- },
185
-
186
- "tests" : [
187
- {
188
- "description" : " propertyDependencies properties are count as the unevaluatedProperties" ,
189
- "data" : {"foo" : " " },
190
- "valid" : false
191
- }
192
- ]
193
160
}
194
161
]
Original file line number Diff line number Diff line change 1603
1603
"valid" : false
1604
1604
}
1605
1605
]
1606
+ },
1607
+ {
1608
+ "description" : " propertyDependencies with unevaluatedProperties" ,
1609
+ "schema" : {
1610
+ "propertyDependencies" : {
1611
+ "foo" : {"bar" : {}}
1612
+ },
1613
+ "unevaluatedProperties" : false
1614
+ },
1615
+
1616
+ "tests" : [
1617
+ {
1618
+ "description" : " propertyDependencies properties are count as the unevaluatedProperties" ,
1619
+ "data" : {"foo" : " " },
1620
+ "valid" : false
1621
+ }
1622
+ ]
1623
+ },
1624
+ {
1625
+ "description" : " dependent schema with unevaluatedProperties" ,
1626
+ "schema" : {
1627
+ "dependentSchemas" : {
1628
+ "foo" : {}
1629
+ },
1630
+ "unevaluatedProperties" : false
1631
+ },
1632
+ "tests" : [
1633
+ {
1634
+ "description" : " dependentSchemas properties are counted as unevaluated properties" ,
1635
+ "data" : {"foo" : " " },
1636
+ "valid" : false
1637
+ }
1638
+ ]
1606
1639
}
1607
1640
]
Original file line number Diff line number Diff line change 176
176
"valid" : false
177
177
}
178
178
]
179
+ },
180
+ {
181
+ "description" : " dependent schema with additionalProperties" ,
182
+ "schema" : {
183
+ "$schema" : " https://json-schema.org/draft/2019-09/schema" ,
184
+ "dependentSchemas" : {
185
+ "foo" : {}
186
+ },
187
+ "additionalProperties" : false
188
+ },
189
+ "tests" : [
190
+ {
191
+ "description" : " dependentSchemas properties are counted as additional properties" ,
192
+ "data" : {"foo" : " " },
193
+ "valid" : false
194
+ }
195
+ ]
179
196
}
180
197
]
Original file line number Diff line number Diff line change 167
167
"valid" : true
168
168
}
169
169
]
170
- },
171
- {
172
- "description" : " dependent schema with additionalProperties" ,
173
- "schema" : {
174
- "$schema" : " https://json-schema.org/draft/2019-09/schema" ,
175
- "dependentSchemas" : {
176
- "foo" : {}
177
- },
178
- "additionalProperties" : false
179
- },
180
- "tests" : [
181
- {
182
- "description" : " dependentSchemas properties are counted as additional properties" ,
183
- "data" : {"foo" : " " },
184
- "valid" : false
185
- }
186
- ]
187
- },
188
- {
189
- "description" : " dependent schema with unevaluatedProperties" ,
190
- "schema" : {
191
- "$schema" : " https://json-schema.org/draft/2019-09/schema" ,
192
- "dependentSchemas" : {
193
- "foo" : {}
194
- },
195
- "unevaluatedProperties" : false
196
- },
197
- "tests" : [
198
- {
199
- "description" : " dependentSchemas properties are counted as unevaluated properties" ,
200
- "data" : {"foo" : " " },
201
- "valid" : false
202
- }
203
- ]
204
170
}
205
171
]
Original file line number Diff line number Diff line change 1567
1567
"valid" : false
1568
1568
}
1569
1569
]
1570
+ },
1571
+ {
1572
+ "description" : " dependent schema with unevaluatedProperties" ,
1573
+ "schema" : {
1574
+ "$schema" : " https://json-schema.org/draft/2019-09/schema" ,
1575
+ "dependentSchemas" : {
1576
+ "foo" : {}
1577
+ },
1578
+ "unevaluatedProperties" : false
1579
+ },
1580
+ "tests" : [
1581
+ {
1582
+ "description" : " dependentSchemas properties are counted as unevaluated properties" ,
1583
+ "data" : {"foo" : " " },
1584
+ "valid" : false
1585
+ }
1586
+ ]
1570
1587
}
1571
1588
]
Original file line number Diff line number Diff line change 182
182
"valid" : false
183
183
}
184
184
]
185
+ },
186
+ {
187
+ "description" : " dependent schema with additionalProperties" ,
188
+ "schema" : {
189
+ "$schema" : " https://json-schema.org/draft/2020-12/schema" ,
190
+ "dependentSchemas" : {
191
+ "foo" : {}
192
+ },
193
+ "additionalProperties" : false
194
+ },
195
+ "tests" : [
196
+ {
197
+ "description" : " dependentSchemas properties are counted as additional properties" ,
198
+ "data" : {"foo" : " " },
199
+ "valid" : false
200
+ }
201
+ ]
185
202
}
186
203
]
Original file line number Diff line number Diff line change 167
167
"valid" : true
168
168
}
169
169
]
170
- },
171
- {
172
- "description" : " dependent schema with additionalProperties" ,
173
- "schema" : {
174
- "$schema" : " https://json-schema.org/draft/2020-12/schema" ,
175
- "dependentSchemas" : {
176
- "foo" : {}
177
- },
178
- "additionalProperties" : false
179
- },
180
- "tests" : [
181
- {
182
- "description" : " dependentSchemas properties are counted as additional properties" ,
183
- "data" : {"foo" : " " },
184
- "valid" : false
185
- }
186
- ]
187
- },
188
- {
189
- "description" : " dependent schema with unevaluatedProperties" ,
190
- "schema" : {
191
- "$schema" : " https://json-schema.org/draft/2020-12/schema" ,
192
- "dependentSchemas" : {
193
- "foo" : {}
194
- },
195
- "unevaluatedProperties" : false
196
- },
197
- "tests" : [
198
- {
199
- "description" : " dependentSchemas properties are counted as unevaluated properties" ,
200
- "data" : {"foo" : " " },
201
- "valid" : false
202
- }
203
- ]
204
170
}
205
171
]
Original file line number Diff line number Diff line change 795
795
}
796
796
797
797
]
798
+ },
799
+ {
800
+ "description" : " dependent schema with unevaluatedProperties" ,
801
+ "schema" : {
802
+ "$schema" : " https://json-schema.org/draft/2020-12/schema" ,
803
+ "dependentSchemas" : {
804
+ "foo" : {}
805
+ },
806
+ "unevaluatedProperties" : false
807
+ },
808
+ "tests" : [
809
+ {
810
+ "description" : " dependentSchemas properties are counted as unevaluated properties" ,
811
+ "data" : {"foo" : " " },
812
+ "valid" : false
813
+ }
814
+ ]
798
815
}
799
816
]
Original file line number Diff line number Diff line change 1564
1564
"valid" : false
1565
1565
}
1566
1566
]
1567
+ },
1568
+ {
1569
+ "description" : " dependent schema with unevaluatedProperties" ,
1570
+ "schema" : {
1571
+ "$schema" : " https://json-schema.org/draft/2019-09/schema" ,
1572
+ "dependentSchemas" : {
1573
+ "foo" : {}
1574
+ },
1575
+ "unevaluatedProperties" : false
1576
+ },
1577
+ "tests" : [
1578
+ {
1579
+ "description" : " dependentSchemas properties are counted as unevaluated properties" ,
1580
+ "data" : {"foo" : " " },
1581
+ "valid" : false
1582
+ }
1583
+ ]
1567
1584
}
1568
1585
]
You can’t perform that action at this time.
0 commit comments