File tree Expand file tree Collapse file tree 3 files changed +57
-0
lines changed Expand file tree Collapse file tree 3 files changed +57
-0
lines changed Original file line number Diff line number Diff line change 37
37
}
38
38
]
39
39
},
40
+ {
41
+ "description" : " anchor within remote ref" ,
42
+ "schema" : {
43
+ "$schema" : " https://json-schema.org/draft/next/schema" ,
44
+ "$ref" : " http://localhost:1234/draft-next/locationIndependentIdentifier.json#foo"
45
+ },
46
+ "tests" : [
47
+ {
48
+ "description" : " remote anchor valid" ,
49
+ "data" : 1 ,
50
+ "valid" : true
51
+ },
52
+ {
53
+ "description" : " remote anchor invalid" ,
54
+ "data" : " a" ,
55
+ "valid" : false
56
+ }
57
+ ]
58
+ },
40
59
{
41
60
"description" : " ref within remote ref" ,
42
61
"schema" : {
Original file line number Diff line number Diff line change 37
37
}
38
38
]
39
39
},
40
+ {
41
+ "description" : " anchor within remote ref" ,
42
+ "schema" : {
43
+ "$schema" : " https://json-schema.org/draft/2010-09/schema" ,
44
+ "$ref" : " http://localhost:1234/draft2019-09/locationIndependentIdentifier.json#foo"
45
+ },
46
+ "tests" : [
47
+ {
48
+ "description" : " remote anchor valid" ,
49
+ "data" : 1 ,
50
+ "valid" : true
51
+ },
52
+ {
53
+ "description" : " remote anchor invalid" ,
54
+ "data" : " a" ,
55
+ "valid" : false
56
+ }
57
+ ]
58
+ },
40
59
{
41
60
"description" : " ref within remote ref" ,
42
61
"schema" : {
Original file line number Diff line number Diff line change 37
37
}
38
38
]
39
39
},
40
+ {
41
+ "description" : " anchor within remote ref" ,
42
+ "schema" : {
43
+ "$schema" : " https://json-schema.org/draft/2020-12/schema" ,
44
+ "$ref" : " http://localhost:1234/draft2020-12/locationIndependentIdentifier.json#foo"
45
+ },
46
+ "tests" : [
47
+ {
48
+ "description" : " remote anchor valid" ,
49
+ "data" : 1 ,
50
+ "valid" : true
51
+ },
52
+ {
53
+ "description" : " remote anchor invalid" ,
54
+ "data" : " a" ,
55
+ "valid" : false
56
+ }
57
+ ]
58
+ },
40
59
{
41
60
"description" : " ref within remote ref" ,
42
61
"schema" : {
You can’t perform that action at this time.
0 commit comments