File tree 2 files changed +50
-0
lines changed
2 files changed +50
-0
lines changed Original file line number Diff line number Diff line change 204
204
"valid" : false
205
205
}
206
206
]
207
+ },
208
+ {
209
+ "description" : " subschema nested ref in remote ref" ,
210
+ "schema" : {
211
+ "$id" : " http://localhost:1234/" ,
212
+ "properties" : {
213
+ "name" : {"$ref" : " nested/foo-ref-integer.json" }
214
+ }
215
+ },
216
+ "tests" : [
217
+ {
218
+ "description" : " number is valid" ,
219
+ "data" : {
220
+ "name" : {"hole" : 1 }
221
+ },
222
+ "valid" : true
223
+ },
224
+ {
225
+ "description" : " string is invalid" ,
226
+ "data" : {
227
+ "name" : {"hole" : " a" }
228
+ },
229
+ "valid" : false
230
+ }
231
+ ]
207
232
}
208
233
]
Original file line number Diff line number Diff line change 204
204
"valid" : false
205
205
}
206
206
]
207
+ },
208
+ {
209
+ "description" : " subschema nested ref in remote ref" ,
210
+ "schema" : {
211
+ "$id" : " http://localhost:1234/" ,
212
+ "properties" : {
213
+ "name" : {"$ref" : " nested/foo-ref-integer.json" }
214
+ }
215
+ },
216
+ "tests" : [
217
+ {
218
+ "description" : " number is valid" ,
219
+ "data" : {
220
+ "name" : {"hole" : 1 }
221
+ },
222
+ "valid" : true
223
+ },
224
+ {
225
+ "description" : " string is invalid" ,
226
+ "data" : {
227
+ "name" : {"hole" : " a" }
228
+ },
229
+ "valid" : false
230
+ }
231
+ ]
207
232
}
208
233
]
You can’t perform that action at this time.
0 commit comments