File tree Expand file tree Collapse file tree 4 files changed +15
-4
lines changed Expand file tree Collapse file tree 4 files changed +15
-4
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "$defs" : {
3
+ "orNull" : {
4
+ "anyOf" : [
5
+ {"type" : " null" },
6
+ {"$ref" : " #" }
7
+ ]
8
+ }
9
+ },
10
+ "type" : " string"
11
+ }
Original file line number Diff line number Diff line change 1
1
[
2
2
{
3
3
"description" : " valid definition" ,
4
- "schema" : {"$ref" : " http://json-schema.org/draft-07 /schema#" },
4
+ "schema" : {"$ref" : " http://json-schema.org/draft/2019-06 /schema#" },
5
5
"tests" : [
6
6
{
7
7
"description" : " valid definition schema" ,
12
12
},
13
13
{
14
14
"description" : " invalid definition" ,
15
- "schema" : {"$ref" : " http://json-schema.org/draft-07 /schema#" },
15
+ "schema" : {"$ref" : " http://json-schema.org/draft/2019-06 /schema#" },
16
16
"tests" : [
17
17
{
18
18
"description" : " invalid definition schema" ,
Original file line number Diff line number Diff line change 175
175
},
176
176
{
177
177
"description" : " remote ref, containing refs itself" ,
178
- "schema" : {"$ref" : " http://json-schema.org/draft-07 /schema#" },
178
+ "schema" : {"$ref" : " http://json-schema.org/draft/2019-06 /schema#" },
179
179
"tests" : [
180
180
{
181
181
"description" : " remote ref valid" ,
Original file line number Diff line number Diff line change 135
135
"$id" : " http://localhost:1234/object" ,
136
136
"type" : " object" ,
137
137
"properties" : {
138
- "name" : {"$ref" : " name.json#/$defs/orNull" }
138
+ "name" : {"$ref" : " name-defs .json#/$defs/orNull" }
139
139
}
140
140
},
141
141
"tests" : [
You can’t perform that action at this time.
0 commit comments