File tree 4 files changed +44
-43
lines changed
4 files changed +44
-43
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" : " http://json-schema.org/draft/2019-03/schema#" ,
3
3
"$id" : " https://json-schema.org/draft/2019-03/meta/applicator" ,
4
- "$recursiveAnchor" : true ,
5
4
"$vocabulary" : {
6
5
"https://json-schema.org/draft/2019-03/vocab/applicator" : true
7
6
},
7
+ "$recursiveAnchor" : true ,
8
8
9
9
"title" : " Applicator vocabulary meta-schema" ,
10
- "$defs" : {
11
- "schemaArray" : {
12
- "type" : " array" ,
13
- "minItems" : 1 ,
14
- "items" : { "$recursiveRef" : " #" }
15
- }
16
- },
17
10
"properties" : {
18
11
"additionalItems" : { "$recursiveRef" : " #" },
19
12
"unevaluatedItems" : { "$recursiveRef" : " #" },
56
49
"anyOf" : { "$ref" : " #/$defs/schemaArray" },
57
50
"oneOf" : { "$ref" : " #/$defs/schemaArray" },
58
51
"not" : { "$recursiveRef" : " #" }
52
+ },
53
+ "$defs" : {
54
+ "schemaArray" : {
55
+ "type" : " array" ,
56
+ "minItems" : 1 ,
57
+ "items" : { "$recursiveRef" : " #" }
58
+ }
59
59
}
60
60
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" : " http://json-schema.org/draft/2019-03/schema#" ,
3
3
"$id" : " https://json-schema.org/draft/2019-03/meta/core" ,
4
- "$recursiveAnchor" : true ,
5
4
"$vocabulary" : {
6
5
"https://json-schema.org/draft/2019-03/vocab/core" : true
7
6
},
7
+ "$recursiveAnchor" : true ,
8
8
9
9
"title" : " Core vocabulary meta-schema" ,
10
10
"type" : [" object" , " boolean" ],
Original file line number Diff line number Diff line change 7
7
"$recursiveAnchor" : true ,
8
8
9
9
"title" : " Validation vocabulary meta-schema" ,
10
- "$defs" : {
11
- "nonNegativeInteger" : {
12
- "type" : " integer" ,
13
- "minimum" : 0
14
- },
15
- "nonNegativeIntegerDefault0" : {
16
- "$ref" : " #/$defs/nonNegativeInteger" ,
17
- "default" : 0
18
- },
19
- "simpleTypes" : {
20
- "enum" : [
21
- " array" ,
22
- " boolean" ,
23
- " integer" ,
24
- " null" ,
25
- " number" ,
26
- " object" ,
27
- " string"
28
- ]
29
- },
30
- "stringArray" : {
31
- "type" : " array" ,
32
- "items" : { "type" : " string" },
33
- "uniqueItems" : true ,
34
- "default" : []
35
- }
36
- },
37
10
"type" : [" object" , " boolean" ],
38
11
"properties" : {
39
12
"multipleOf" : {
97
70
}
98
71
]
99
72
}
73
+ },
74
+ "$defs" : {
75
+ "nonNegativeInteger" : {
76
+ "type" : " integer" ,
77
+ "minimum" : 0
78
+ },
79
+ "nonNegativeIntegerDefault0" : {
80
+ "$ref" : " #/$defs/nonNegativeInteger" ,
81
+ "default" : 0
82
+ },
83
+ "simpleTypes" : {
84
+ "enum" : [
85
+ " array" ,
86
+ " boolean" ,
87
+ " integer" ,
88
+ " null" ,
89
+ " number" ,
90
+ " object" ,
91
+ " string"
92
+ ]
93
+ },
94
+ "stringArray" : {
95
+ "type" : " array" ,
96
+ "items" : { "type" : " string" },
97
+ "uniqueItems" : true ,
98
+ "default" : []
99
+ }
100
100
}
101
101
}
Original file line number Diff line number Diff line change 2
2
"$schema" : " http://json-schema.org/draft/2019-03/schema#" ,
3
3
"$id" : " http://json-schema.org/draft/2019-03/output/schema" ,
4
4
"description" : " A schema that validates the minimum requirements for validation output" ,
5
+
6
+ "oneOf" : [
7
+ { "$ref" : " #/$defs/flag" },
8
+ { "$ref" : " #/$defs/basic" },
9
+ { "$ref" : " #/$defs/detailed" },
10
+ { "$ref" : " #/$defs/verbose" }
11
+ ],
5
12
"$defs" : {
6
13
"outputUnit" :{
7
14
"properties" : {
75
82
"basic" : { "$ref" : " #/outputUnit" },
76
83
"detailed" : { "$ref" : " #/outputUnit" },
77
84
"verbose" : { "$ref" : " #/outputUnit" }
78
- },
79
- "oneOf" : [
80
- { "$ref" : " #/$defs/flag" },
81
- { "$ref" : " #/$defs/basic" },
82
- { "$ref" : " #/$defs/detailed" },
83
- { "$ref" : " #/$defs/verbose" }
84
- ]
85
+ }
85
86
}
You can’t perform that action at this time.
0 commit comments