File tree 4 files changed +81
-0
lines changed
4 files changed +81
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "type" : " object" ,
3
+ "properties" : {
4
+ "hole" : {"$ref" : " integer.json" }
5
+ }
6
+ }
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" : " folder/subSchemaNestedRef.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 210
210
"valid" : false
211
211
}
212
212
]
213
+ },
214
+ {
215
+ "description" : " subschema nested ref in remote ref" ,
216
+ "schema" : {
217
+ "$id" : " http://localhost:1234/" ,
218
+ "properties" : {
219
+ "name" : {"$ref" : " folder/subSchemaNestedRef.json" }
220
+ }
221
+ },
222
+ "tests" : [
223
+ {
224
+ "description" : " number is valid" ,
225
+ "data" : {
226
+ "name" : {"hole" : 1 }
227
+ },
228
+ "valid" : true
229
+ },
230
+ {
231
+ "description" : " string is invalid" ,
232
+ "data" : {
233
+ "name" : {"hole" : " a" }
234
+ },
235
+ "valid" : false
236
+ }
237
+ ]
213
238
}
214
239
]
Original file line number Diff line number Diff line change 210
210
"valid" : false
211
211
}
212
212
]
213
+ },
214
+ {
215
+ "description" : " subschema nested ref in remote ref" ,
216
+ "schema" : {
217
+ "$id" : " http://localhost:1234/" ,
218
+ "properties" : {
219
+ "name" : {"$ref" : " folder/subSchemaNestedRef.json" }
220
+ }
221
+ },
222
+ "tests" : [
223
+ {
224
+ "description" : " number is valid" ,
225
+ "data" : {
226
+ "name" : {"hole" : 1 }
227
+ },
228
+ "valid" : true
229
+ },
230
+ {
231
+ "description" : " string is invalid" ,
232
+ "data" : {
233
+ "name" : {"hole" : " a" }
234
+ },
235
+ "valid" : false
236
+ }
237
+ ]
213
238
}
214
239
]
You can’t perform that action at this time.
0 commit comments