File tree Expand file tree Collapse file tree 9 files changed +14
-31
lines changed
Expand file tree Collapse file tree 9 files changed +14
-31
lines changed Original file line number Diff line number Diff line change 1313 "data" : 1 ,
1414 "output" : {
1515 "basic" : {
16- "type " : " object " ,
16+ "$ref " : " /draft/next/output/schema " ,
1717 "properties" : {
1818 "details" : {
1919 "contains" : {
20- "type" : " object" ,
2120 "properties" : {
2221 "evaluationPath" : {"const" : " " },
2322 "schemaLocation" : {"const" : " https://json-schema.org/tests/content/draft-next/general/1" },
Original file line number Diff line number Diff line change 1212 "data" : 1 ,
1313 "output" : {
1414 "basic" : {
15- "type " : " object " ,
15+ "$ref " : " /draft/next/output/schema " ,
1616 "properties" : {
1717 "details" : {
1818 "contains" : {
19- "type" : " object" ,
2019 "properties" : {
2120 "evaluationPath" : {"const" : " " },
2221 "schemaLocation" : {"const" : " https://json-schema.org/tests/content/draft-next/readOnly/1" },
Original file line number Diff line number Diff line change 88 },
99 "tests" : [
1010 {
11- "description" : " incorrect type may be reported" ,
11+ "description" : " incorrect type must be reported, but a message is not required " ,
1212 "data" : 1 ,
1313 "output" : {
1414 "basic" : {
15- "type " : " object " ,
15+ "$ref " : " /draft/next/output/schema " ,
1616 "properties" : {
1717 "details" : {
1818 "contains" : {
19- "type" : " object" ,
2019 "properties" : {
2120 "evaluationPath" : {"const" : " " },
2221 "schemaLocation" : {"const" : " https://json-schema.org/tests/content/draft-next/type/1" },
2322 "instanceLocation" : {"const" : " " },
2423 "annotations" : false ,
2524 "errors" : {
26- "properties" : {
27- "type" : {"type" : " string" }
28- },
2925 "required" : [" type" ]
3026 }
3127 },
Original file line number Diff line number Diff line change 1313 "data" : 1 ,
1414 "output" : {
1515 "basic" : {
16- "type " : " object " ,
16+ "$ref " : " /draft/2019-09/output/schema " ,
1717 "properties" : {
1818 "errors" : {
19- "type" : " array" ,
2019 "items" : {
2120 "properties" : {
2221 "annotation" : false
Original file line number Diff line number Diff line change 1212 "data" : 1 ,
1313 "output" : {
1414 "basic" : {
15- "type " : " object " ,
15+ "$ref " : " /draft/2019-09/output/schema " ,
1616 "properties" : {
1717 "annotations" : {
18- "type" : " array" ,
1918 "contains" : {
2019 "type" : " object" ,
2120 "properties" : {
Original file line number Diff line number Diff line change 1212 "data" : 1 ,
1313 "output" : {
1414 "basic" : {
15- "type " : " object " ,
15+ "$ref " : " /draft/2019-09/output/schema " ,
1616 "properties" : {
1717 "errors" : {
1818 "contains" : {
19- "type" : " object" ,
2019 "properties" : {
2120 "keywordLocation" : {"const" : " /type" },
2221 "absoluteKeywordLocation" : {"const" : " https://json-schema.org/tests/content/draft2019-09/type/1#/type" },
2322 "instanceLocation" : {"const" : " " },
24- "annotation" : false ,
25- "error" : {"type" : " string" }
23+ "annotation" : false
2624 },
2725 "required" : [" keywordLocation" , " absoluteKeywordLocation" , " instanceLocation" ]
2826 }
3735 "data" : 1 ,
3836 "output" : {
3937 "basic" : {
40- "type " : " object " ,
38+ "$ref " : " /draft/2019-09/output/schema " ,
4139 "properties" : {
4240 "annotations" : {
4341 "contains" : {
44- "type" : " object" ,
4542 "properties" : {
4643 "valid" : {"const" : true },
4744 "keywordLocation" : {"const" : " /type" },
Original file line number Diff line number Diff line change 1313 "data" : 1 ,
1414 "output" : {
1515 "basic" : {
16- "type " : " object " ,
16+ "$ref " : " /draft/2020-12/output/schema " ,
1717 "properties" : {
1818 "errors" : {
19- "type" : " array" ,
2019 "items" : {
2120 "properties" : {
2221 "annotation" : false
Original file line number Diff line number Diff line change 1212 "data" : 1 ,
1313 "output" : {
1414 "basic" : {
15- "type " : " object " ,
15+ "$ref " : " /draft/2020-12/output/schema " ,
1616 "properties" : {
1717 "annotations" : {
18- "type" : " array" ,
1918 "contains" : {
20- "type" : " object" ,
2119 "properties" : {
2220 "keywordLocation" : {"const" : " /readOnly" },
2321 "absoluteKeywordLocation" : {"const" : " https://json-schema.org/tests/content/draft2020-12/readOnly/1#/readOnly" },
Original file line number Diff line number Diff line change 1212 "data" : 1 ,
1313 "output" : {
1414 "basic" : {
15- "type " : " object " ,
15+ "$ref " : " /draft/2020-12/output/schema " ,
1616 "properties" : {
1717 "errors" : {
1818 "contains" : {
19- "type" : " object" ,
2019 "properties" : {
2120 "keywordLocation" : {"const" : " /type" },
2221 "absoluteKeywordLocation" : {"const" : " https://json-schema.org/tests/content/draft2020-12/type/1#/type" },
2322 "instanceLocation" : {"const" : " " },
24- "annotation" : false ,
25- "error" : {"type" : " string" }
23+ "annotation" : false
2624 },
2725 "required" : [" keywordLocation" , " absoluteKeywordLocation" , " instanceLocation" ]
2826 }
3735 "data" : 1 ,
3836 "output" : {
3937 "basic" : {
40- "type " : " object " ,
38+ "$ref " : " /draft/2020-12/output/schema " ,
4139 "properties" : {
4240 "annotations" : {
4341 "contains" : {
44- "type" : " object" ,
4542 "properties" : {
4643 "valid" : {"const" : true },
4744 "keywordLocation" : {"const" : " /type" },
You can’t perform that action at this time.
0 commit comments