File tree 16 files changed +99
-17
lines changed
16 files changed +99
-17
lines changed File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ {
2
+ "definitions" : {
3
+ "integer" : {
4
+ "type" : " integer"
5
+ },
6
+ "refToInteger" : {
7
+ "$ref" : " #/definitions/integer"
8
+ }
9
+ }
10
+ }
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ {
2
+ "definitions" : {
3
+ "orNull" : {
4
+ "anyOf" : [
5
+ {
6
+ "type" : " null"
7
+ },
8
+ {
9
+ "$ref" : " #"
10
+ }
11
+ ]
12
+ }
13
+ },
14
+ "type" : " string"
15
+ }
Original file line number Diff line number Diff line change 1
1
{
2
- "$id" : " http://localhost:1234/ref-and-definitions.json" ,
2
+ "$id" : " http://localhost:1234/draft6/ ref-and-definitions.json" ,
3
3
"definitions" : {
4
4
"inner" : {
5
5
"properties" : {
Original file line number Diff line number Diff line change
1
+ {
2
+ "definitions" : {
3
+ "integer" : {
4
+ "type" : " integer"
5
+ },
6
+ "refToInteger" : {
7
+ "$ref" : " #/definitions/integer"
8
+ }
9
+ }
10
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "definitions" : {
3
+ "refToInteger" : {
4
+ "$ref" : " #foo"
5
+ },
6
+ "A" : {
7
+ "$id" : " #foo" ,
8
+ "type" : " integer"
9
+ }
10
+ }
11
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "definitions" : {
3
+ "orNull" : {
4
+ "anyOf" : [
5
+ {
6
+ "type" : " null"
7
+ },
8
+ {
9
+ "$ref" : " #"
10
+ }
11
+ ]
12
+ }
13
+ },
14
+ "type" : " string"
15
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "$id" : " http://localhost:1234/draft7/ref-and-definitions.json" ,
3
+ "definitions" : {
4
+ "inner" : {
5
+ "properties" : {
6
+ "bar" : { "type" : " string" }
7
+ }
8
+ }
9
+ },
10
+ "allOf" : [ { "$ref" : " #/definitions/inner" } ]
11
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "definitions" : {
3
+ "integer" : {
4
+ "type" : " integer"
5
+ },
6
+ "refToInteger" : {
7
+ "$ref" : " #/definitions/integer"
8
+ }
9
+ }
10
+ }
Original file line number Diff line number Diff line change 17
17
},
18
18
{
19
19
"description" : " fragment within remote ref" ,
20
- "schema" : {"$ref" : " http://localhost:1234/subSchemas.json#/definitions/integer" },
20
+ "schema" : {"$ref" : " http://localhost:1234/draft3/ subSchemas.json#/definitions/integer" },
21
21
"tests" : [
22
22
{
23
23
"description" : " remote fragment valid" ,
34
34
{
35
35
"description" : " ref within remote ref" ,
36
36
"schema" : {
37
- "$ref" : " http://localhost:1234/subSchemas.json#/definitions/refToInteger"
37
+ "$ref" : " http://localhost:1234/draft3/ subSchemas.json#/definitions/refToInteger"
38
38
},
39
39
"tests" : [
40
40
{
Original file line number Diff line number Diff line change 17
17
},
18
18
{
19
19
"description" : " fragment within remote ref" ,
20
- "schema" : {"$ref" : " http://localhost:1234/subSchemas.json#/definitions/integer" },
20
+ "schema" : {"$ref" : " http://localhost:1234/draft4/ subSchemas.json#/definitions/integer" },
21
21
"tests" : [
22
22
{
23
23
"description" : " remote fragment valid" ,
34
34
{
35
35
"description" : " ref within remote ref" ,
36
36
"schema" : {
37
- "$ref" : " http://localhost:1234/subSchemas.json#/definitions/refToInteger"
37
+ "$ref" : " http://localhost:1234/draft4/ subSchemas.json#/definitions/refToInteger"
38
38
},
39
39
"tests" : [
40
40
{
139
139
"id" : " http://localhost:1234/object" ,
140
140
"type" : " object" ,
141
141
"properties" : {
142
- "name" : {"$ref" : " name.json#/definitions/orNull" }
142
+ "name" : {"$ref" : " draft4/ name.json#/definitions/orNull" }
143
143
}
144
144
},
145
145
"tests" : [
171
171
{
172
172
"description" : " Location-independent identifier in remote ref" ,
173
173
"schema" : {
174
- "$ref" : " http://localhost:1234/locationIndependentIdentifierDraft4 .json#/definitions/refToInteger"
174
+ "$ref" : " http://localhost:1234/draft4/locationIndependentIdentifier .json#/definitions/refToInteger"
175
175
},
176
176
"tests" : [
177
177
{
Original file line number Diff line number Diff line change 17
17
},
18
18
{
19
19
"description" : " fragment within remote ref" ,
20
- "schema" : {"$ref" : " http://localhost:1234/subSchemas.json#/definitions/integer" },
20
+ "schema" : {"$ref" : " http://localhost:1234/draft6/ subSchemas.json#/definitions/integer" },
21
21
"tests" : [
22
22
{
23
23
"description" : " remote fragment valid" ,
34
34
{
35
35
"description" : " ref within remote ref" ,
36
36
"schema" : {
37
- "$ref" : " http://localhost:1234/subSchemas.json#/definitions/refToInteger"
37
+ "$ref" : " http://localhost:1234/draft6/ subSchemas.json#/definitions/refToInteger"
38
38
},
39
39
"tests" : [
40
40
{
139
139
"$id" : " http://localhost:1234/object" ,
140
140
"type" : " object" ,
141
141
"properties" : {
142
- "name" : {"$ref" : " name.json#/definitions/orNull" }
142
+ "name" : {"$ref" : " draft6/ name.json#/definitions/orNull" }
143
143
}
144
144
},
145
145
"tests" : [
173
173
"schema" : {
174
174
"$id" : " http://localhost:1234/schema-remote-ref-ref-defs1.json" ,
175
175
"allOf" : [
176
- { "$ref" : " ref-and-definitions.json" }
176
+ { "$ref" : " draft6/ ref-and-definitions.json" }
177
177
]
178
178
},
179
179
"tests" : [
196
196
{
197
197
"description" : " Location-independent identifier in remote ref" ,
198
198
"schema" : {
199
- "$ref" : " http://localhost:1234/locationIndependentIdentifierPre2019 .json#/definitions/refToInteger"
199
+ "$ref" : " http://localhost:1234/draft6/locationIndependentIdentifier .json#/definitions/refToInteger"
200
200
},
201
201
"tests" : [
202
202
{
Original file line number Diff line number Diff line change 17
17
},
18
18
{
19
19
"description" : " fragment within remote ref" ,
20
- "schema" : {"$ref" : " http://localhost:1234/subSchemas.json#/definitions/integer" },
20
+ "schema" : {"$ref" : " http://localhost:1234/draft7/ subSchemas.json#/definitions/integer" },
21
21
"tests" : [
22
22
{
23
23
"description" : " remote fragment valid" ,
34
34
{
35
35
"description" : " ref within remote ref" ,
36
36
"schema" : {
37
- "$ref" : " http://localhost:1234/subSchemas.json#/definitions/refToInteger"
37
+ "$ref" : " http://localhost:1234/draft7/ subSchemas.json#/definitions/refToInteger"
38
38
},
39
39
"tests" : [
40
40
{
139
139
"$id" : " http://localhost:1234/object" ,
140
140
"type" : " object" ,
141
141
"properties" : {
142
- "name" : {"$ref" : " name.json#/definitions/orNull" }
142
+ "name" : {"$ref" : " draft7/ name.json#/definitions/orNull" }
143
143
}
144
144
},
145
145
"tests" : [
173
173
"schema" : {
174
174
"$id" : " http://localhost:1234/schema-remote-ref-ref-defs1.json" ,
175
175
"allOf" : [
176
- { "$ref" : " ref-and-definitions.json" }
176
+ { "$ref" : " draft7/ ref-and-definitions.json" }
177
177
]
178
178
},
179
179
"tests" : [
196
196
{
197
197
"description" : " Location-independent identifier in remote ref" ,
198
198
"schema" : {
199
- "$ref" : " http://localhost:1234/locationIndependentIdentifierPre2019 .json#/definitions/refToInteger"
199
+ "$ref" : " http://localhost:1234/draft7/locationIndependentIdentifier .json#/definitions/refToInteger"
200
200
},
201
201
"tests" : [
202
202
{
You can’t perform that action at this time.
0 commit comments