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 13
13
"data" : 1 ,
14
14
"output" : {
15
15
"basic" : {
16
- "type " : " object " ,
16
+ "$ref " : " /draft/next/output/schema " ,
17
17
"properties" : {
18
18
"details" : {
19
19
"contains" : {
20
- "type" : " object" ,
21
20
"properties" : {
22
21
"evaluationPath" : {"const" : " " },
23
22
"schemaLocation" : {"const" : " https://json-schema.org/tests/content/draft-next/general/1" },
Original file line number Diff line number Diff line change 12
12
"data" : 1 ,
13
13
"output" : {
14
14
"basic" : {
15
- "type " : " object " ,
15
+ "$ref " : " /draft/next/output/schema " ,
16
16
"properties" : {
17
17
"details" : {
18
18
"contains" : {
19
- "type" : " object" ,
20
19
"properties" : {
21
20
"evaluationPath" : {"const" : " " },
22
21
"schemaLocation" : {"const" : " https://json-schema.org/tests/content/draft-next/readOnly/1" },
Original file line number Diff line number Diff line change 8
8
},
9
9
"tests" : [
10
10
{
11
- "description" : " incorrect type may be reported" ,
11
+ "description" : " incorrect type must be reported, but a message is not required " ,
12
12
"data" : 1 ,
13
13
"output" : {
14
14
"basic" : {
15
- "type " : " object " ,
15
+ "$ref " : " /draft/next/output/schema " ,
16
16
"properties" : {
17
17
"details" : {
18
18
"contains" : {
19
- "type" : " object" ,
20
19
"properties" : {
21
20
"evaluationPath" : {"const" : " " },
22
21
"schemaLocation" : {"const" : " https://json-schema.org/tests/content/draft-next/type/1" },
23
22
"instanceLocation" : {"const" : " " },
24
23
"annotations" : false ,
25
24
"errors" : {
26
- "properties" : {
27
- "type" : {"type" : " string" }
28
- },
29
25
"required" : [" type" ]
30
26
}
31
27
},
Original file line number Diff line number Diff line change 13
13
"data" : 1 ,
14
14
"output" : {
15
15
"basic" : {
16
- "type " : " object " ,
16
+ "$ref " : " /draft/2019-09/output/schema " ,
17
17
"properties" : {
18
18
"errors" : {
19
- "type" : " array" ,
20
19
"items" : {
21
20
"properties" : {
22
21
"annotation" : false
Original file line number Diff line number Diff line change 12
12
"data" : 1 ,
13
13
"output" : {
14
14
"basic" : {
15
- "type " : " object " ,
15
+ "$ref " : " /draft/2019-09/output/schema " ,
16
16
"properties" : {
17
17
"annotations" : {
18
- "type" : " array" ,
19
18
"contains" : {
20
19
"type" : " object" ,
21
20
"properties" : {
Original file line number Diff line number Diff line change 12
12
"data" : 1 ,
13
13
"output" : {
14
14
"basic" : {
15
- "type " : " object " ,
15
+ "$ref " : " /draft/2019-09/output/schema " ,
16
16
"properties" : {
17
17
"errors" : {
18
18
"contains" : {
19
- "type" : " object" ,
20
19
"properties" : {
21
20
"keywordLocation" : {"const" : " /type" },
22
21
"absoluteKeywordLocation" : {"const" : " https://json-schema.org/tests/content/draft2019-09/type/1#/type" },
23
22
"instanceLocation" : {"const" : " " },
24
- "annotation" : false ,
25
- "error" : {"type" : " string" }
23
+ "annotation" : false
26
24
},
27
25
"required" : [" keywordLocation" , " absoluteKeywordLocation" , " instanceLocation" ]
28
26
}
37
35
"data" : 1 ,
38
36
"output" : {
39
37
"basic" : {
40
- "type " : " object " ,
38
+ "$ref " : " /draft/2019-09/output/schema " ,
41
39
"properties" : {
42
40
"annotations" : {
43
41
"contains" : {
44
- "type" : " object" ,
45
42
"properties" : {
46
43
"valid" : {"const" : true },
47
44
"keywordLocation" : {"const" : " /type" },
Original file line number Diff line number Diff line change 13
13
"data" : 1 ,
14
14
"output" : {
15
15
"basic" : {
16
- "type " : " object " ,
16
+ "$ref " : " /draft/2020-12/output/schema " ,
17
17
"properties" : {
18
18
"errors" : {
19
- "type" : " array" ,
20
19
"items" : {
21
20
"properties" : {
22
21
"annotation" : false
Original file line number Diff line number Diff line change 12
12
"data" : 1 ,
13
13
"output" : {
14
14
"basic" : {
15
- "type " : " object " ,
15
+ "$ref " : " /draft/2020-12/output/schema " ,
16
16
"properties" : {
17
17
"annotations" : {
18
- "type" : " array" ,
19
18
"contains" : {
20
- "type" : " object" ,
21
19
"properties" : {
22
20
"keywordLocation" : {"const" : " /readOnly" },
23
21
"absoluteKeywordLocation" : {"const" : " https://json-schema.org/tests/content/draft2020-12/readOnly/1#/readOnly" },
Original file line number Diff line number Diff line change 12
12
"data" : 1 ,
13
13
"output" : {
14
14
"basic" : {
15
- "type " : " object " ,
15
+ "$ref " : " /draft/2020-12/output/schema " ,
16
16
"properties" : {
17
17
"errors" : {
18
18
"contains" : {
19
- "type" : " object" ,
20
19
"properties" : {
21
20
"keywordLocation" : {"const" : " /type" },
22
21
"absoluteKeywordLocation" : {"const" : " https://json-schema.org/tests/content/draft2020-12/type/1#/type" },
23
22
"instanceLocation" : {"const" : " " },
24
- "annotation" : false ,
25
- "error" : {"type" : " string" }
23
+ "annotation" : false
26
24
},
27
25
"required" : [" keywordLocation" , " absoluteKeywordLocation" , " instanceLocation" ]
28
26
}
37
35
"data" : 1 ,
38
36
"output" : {
39
37
"basic" : {
40
- "type " : " object " ,
38
+ "$ref " : " /draft/2020-12/output/schema " ,
41
39
"properties" : {
42
40
"annotations" : {
43
41
"contains" : {
44
- "type" : " object" ,
45
42
"properties" : {
46
43
"valid" : {"const" : true },
47
44
"keywordLocation" : {"const" : " /type" },
You can’t perform that action at this time.
0 commit comments