File tree Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 326326 "description" : " $recursiveRef without using nesting" ,
327327 "schema" : {
328328 "$id" : " http://localhost:4242" ,
329- "$defs " : {
329+ "definitions " : {
330330 "myobject" : {
331331 "$id" : " myobject.json" ,
332332 "$recursiveAnchor" : true ,
341341 },
342342 "anyOf" : [
343343 { "type" : " integer" },
344- { "$ref" : " #/$defs /myobject" }
344+ { "$ref" : " #/definitions /myobject" }
345345 ]
346346 },
347347 "tests" : [
361361 "valid" : true
362362 },
363363 {
364- "description" : " two levels, properties match with inner definition " ,
364+ "description" : " two levels, additionalProperties always matches " ,
365365 "data" : { "foo" : { "bar" : " hi" } },
366366 "valid" : true
367367 },
368368 {
369- "description" : " two levels, no match " ,
369+ "description" : " two levels, additionalProperties always matches " ,
370370 "data" : { "foo" : { "bar" : 1 } },
371371 "valid" : true
372372 }
377377 "schema" : {
378378 "$id" : " http://localhost:4242" ,
379379 "$recursiveAnchor" : true ,
380- "$defs " : {
380+ "definitions " : {
381381 "myobject" : {
382382 "$id" : " myobject.json" ,
383383 "$recursiveAnchor" : true ,
392392 },
393393 "anyOf" : [
394394 { "type" : " integer" },
395- { "$ref" : " #/$defs /myobject" }
395+ { "$ref" : " #/definitions /myobject" }
396396 ]
397397 },
398398 "tests" : [
Original file line number Diff line number Diff line change 289289 "description" : " $recursiveRef without using nesting" ,
290290 "schema" : {
291291 "$id" : " http://localhost:4242" ,
292- "$defs " : {
292+ "definitions " : {
293293 "myobject" : {
294294 "$id" : " myobject.json" ,
295295 "$recursiveAnchor" : true ,
304304 },
305305 "anyOf" : [
306306 { "type" : " integer" },
307- { "$ref" : " #/$defs /myobject" }
307+ { "$ref" : " #/definitions /myobject" }
308308 ]
309309 },
310310 "tests" : [
340340 "schema" : {
341341 "$id" : " http://localhost:4242" ,
342342 "$recursiveAnchor" : true ,
343- "$defs " : {
343+ "definitions " : {
344344 "myobject" : {
345345 "$id" : " myobject.json" ,
346346 "$recursiveAnchor" : true ,
355355 },
356356 "anyOf" : [
357357 { "type" : " integer" },
358- { "$ref" : " #/$defs /myobject" }
358+ { "$ref" : " #/definitions /myobject" }
359359 ]
360360 },
361361 "tests" : [
Original file line number Diff line number Diff line change 257257 "description" : " $recursiveRef without using nesting" ,
258258 "schema" : {
259259 "$id" : " http://localhost:4242" ,
260- "$defs " : {
260+ "definitions " : {
261261 "myobject" : {
262262 "$id" : " myobject.json" ,
263263 "$recursiveAnchor" : true ,
272272 },
273273 "anyOf" : [
274274 { "type" : " integer" },
275- { "$ref" : " #/$defs /myobject" }
275+ { "$ref" : " #/definitions /myobject" }
276276 ]
277277 },
278278 "tests" : [
308308 "schema" : {
309309 "$id" : " http://localhost:4242" ,
310310 "$recursiveAnchor" : true ,
311- "$defs " : {
311+ "definitions " : {
312312 "myobject" : {
313313 "$id" : " myobject.json" ,
314314 "$recursiveAnchor" : true ,
323323 },
324324 "anyOf" : [
325325 { "type" : " integer" },
326- { "$ref" : " #/$defs /myobject" }
326+ { "$ref" : " #/definitions /myobject" }
327327 ]
328328 },
329329 "tests" : [
You can’t perform that action at this time.
0 commit comments