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 326
326
"description" : " $recursiveRef without using nesting" ,
327
327
"schema" : {
328
328
"$id" : " http://localhost:4242" ,
329
- "$defs " : {
329
+ "definitions " : {
330
330
"myobject" : {
331
331
"$id" : " myobject.json" ,
332
332
"$recursiveAnchor" : true ,
341
341
},
342
342
"anyOf" : [
343
343
{ "type" : " integer" },
344
- { "$ref" : " #/$defs /myobject" }
344
+ { "$ref" : " #/definitions /myobject" }
345
345
]
346
346
},
347
347
"tests" : [
361
361
"valid" : true
362
362
},
363
363
{
364
- "description" : " two levels, properties match with inner definition " ,
364
+ "description" : " two levels, additionalProperties always matches " ,
365
365
"data" : { "foo" : { "bar" : " hi" } },
366
366
"valid" : true
367
367
},
368
368
{
369
- "description" : " two levels, no match " ,
369
+ "description" : " two levels, additionalProperties always matches " ,
370
370
"data" : { "foo" : { "bar" : 1 } },
371
371
"valid" : true
372
372
}
377
377
"schema" : {
378
378
"$id" : " http://localhost:4242" ,
379
379
"$recursiveAnchor" : true ,
380
- "$defs " : {
380
+ "definitions " : {
381
381
"myobject" : {
382
382
"$id" : " myobject.json" ,
383
383
"$recursiveAnchor" : true ,
392
392
},
393
393
"anyOf" : [
394
394
{ "type" : " integer" },
395
- { "$ref" : " #/$defs /myobject" }
395
+ { "$ref" : " #/definitions /myobject" }
396
396
]
397
397
},
398
398
"tests" : [
Original file line number Diff line number Diff line change 289
289
"description" : " $recursiveRef without using nesting" ,
290
290
"schema" : {
291
291
"$id" : " http://localhost:4242" ,
292
- "$defs " : {
292
+ "definitions " : {
293
293
"myobject" : {
294
294
"$id" : " myobject.json" ,
295
295
"$recursiveAnchor" : true ,
304
304
},
305
305
"anyOf" : [
306
306
{ "type" : " integer" },
307
- { "$ref" : " #/$defs /myobject" }
307
+ { "$ref" : " #/definitions /myobject" }
308
308
]
309
309
},
310
310
"tests" : [
340
340
"schema" : {
341
341
"$id" : " http://localhost:4242" ,
342
342
"$recursiveAnchor" : true ,
343
- "$defs " : {
343
+ "definitions " : {
344
344
"myobject" : {
345
345
"$id" : " myobject.json" ,
346
346
"$recursiveAnchor" : true ,
355
355
},
356
356
"anyOf" : [
357
357
{ "type" : " integer" },
358
- { "$ref" : " #/$defs /myobject" }
358
+ { "$ref" : " #/definitions /myobject" }
359
359
]
360
360
},
361
361
"tests" : [
Original file line number Diff line number Diff line change 257
257
"description" : " $recursiveRef without using nesting" ,
258
258
"schema" : {
259
259
"$id" : " http://localhost:4242" ,
260
- "$defs " : {
260
+ "definitions " : {
261
261
"myobject" : {
262
262
"$id" : " myobject.json" ,
263
263
"$recursiveAnchor" : true ,
272
272
},
273
273
"anyOf" : [
274
274
{ "type" : " integer" },
275
- { "$ref" : " #/$defs /myobject" }
275
+ { "$ref" : " #/definitions /myobject" }
276
276
]
277
277
},
278
278
"tests" : [
308
308
"schema" : {
309
309
"$id" : " http://localhost:4242" ,
310
310
"$recursiveAnchor" : true ,
311
- "$defs " : {
311
+ "definitions " : {
312
312
"myobject" : {
313
313
"$id" : " myobject.json" ,
314
314
"$recursiveAnchor" : true ,
323
323
},
324
324
"anyOf" : [
325
325
{ "type" : " integer" },
326
- { "$ref" : " #/$defs /myobject" }
326
+ { "$ref" : " #/definitions /myobject" }
327
327
]
328
328
},
329
329
"tests" : [
You can’t perform that action at this time.
0 commit comments