1
- import items from "../lib/keywords/items.js" ;
1
+ import id from "../draft-04/id.js" ;
2
+ import title from "../lib/keywords/title.js" ;
3
+ import description from "../lib/keywords/description.js" ;
4
+ import _default from "../lib/keywords/default.js" ;
5
+ import multipleOf from "../lib/keywords/multipleOf.js" ;
6
+ import maximum from "./maximum.js" ;
7
+ import exclusiveMaximum from "./exclusiveMaximum.js" ;
8
+ import minimum from "./minimum.js" ;
9
+ import exclusiveMinimum from "./exclusiveMinimum.js" ;
10
+ import maxLength from "../lib/keywords/maxLength.js" ;
11
+ import minLength from "../lib/keywords/minLength.js" ;
12
+ import pattern from "../lib/keywords/pattern.js" ;
13
+ import additionalItems from "./additionalItems.js" ;
14
+ import items from "./items.js" ;
15
+ import maxItems from "../lib/keywords/maxItems.js" ;
16
+ import minItems from "../lib/keywords/minItems.js" ;
17
+ import uniqueItems from "../lib/keywords/uniqueItems.js" ;
18
+ import maxProperties from "../lib/keywords/maxProperties.js" ;
19
+ import minProperties from "../lib/keywords/minProperties.js" ;
20
+ import required from "../lib/keywords/required.js" ;
2
21
import additionalProperties from "../lib/keywords/additionalProperties.js" ;
22
+ import definitions from "../lib/keywords/definitions.js" ;
3
23
import properties from "../lib/keywords/properties.js" ;
4
24
import patternProperties from "../lib/keywords/patternProperties.js" ;
25
+ import dependencies from "./dependencies.js" ;
26
+ import _enum from "../lib/keywords/enum.js" ;
27
+ import _type from "../lib/keywords/type.js" ;
28
+ import format from "../lib/keywords/format.js" ;
5
29
import allOf from "../lib/keywords/allOf.js" ;
6
30
import anyOf from "../lib/keywords/anyOf.js" ;
7
31
import oneOf from "../lib/keywords/oneOf.js" ;
8
32
import not from "../lib/keywords/not.js" ;
9
- import typeKeyword from "../lib/keywords/type.js" ;
10
- import enumKeyword from "../lib/keywords/enum.js" ;
11
- import pattern from "../lib/keywords/pattern.js" ;
12
- import minLength from "../lib/keywords/minLength.js" ;
13
- import maxLength from "../lib/keywords/maxLength.js" ;
14
- import exclusiveMaximum from "../lib/keywords/exclusiveMaximum.js" ;
15
- import multipleOf from "../lib/keywords/multipleOf.js" ;
16
- import exclusiveMinimum from "../lib/keywords/exclusiveMinimum.js" ;
17
- import maximum from "../lib/keywords/maximum.js" ;
18
- import minimum from "../lib/keywords/minimum.js" ;
19
- import maxProperties from "../lib/keywords/maxProperties.js" ;
20
- import minProperties from "../lib/keywords/minProperties.js" ;
21
- import required from "../lib/keywords/required.js" ;
22
- import maxItems from "../lib/keywords/maxItems.js" ;
23
- import minItems from "../lib/keywords/minItems.js" ;
24
- import uniqueItems from "../lib/keywords/uniqueItems.js" ;
25
- import title from "../lib/keywords/title.js" ;
26
- import description from "../lib/keywords/description.js" ;
27
- import format from "../lib/keywords/format.js" ;
28
33
29
34
30
35
export default {
@@ -57,10 +62,14 @@ export default {
57
62
"type" : "object" ,
58
63
"properties" : {
59
64
"id" : {
60
- "type" : "string"
65
+ "type" : "string" ,
66
+ "description" : id . description
61
67
} ,
62
68
"$schema" : {
63
- "type" : "string"
69
+ "type" : "string" ,
70
+ "description" : `This keyword is both used as a JSON Schema dialect \
71
+ identifier and as a reference to a JSON Schema which describes the set \
72
+ of valid schemas written for this particular dialect.`
64
73
} ,
65
74
"title" : {
66
75
"type" : "string" ,
@@ -70,7 +79,9 @@ export default {
70
79
"type" : "string" ,
71
80
"description" : description . description
72
81
} ,
73
- "default" : { } ,
82
+ "default" : {
83
+ "description" : _default . description
84
+ } ,
74
85
"multipleOf" : {
75
86
"type" : "number" ,
76
87
"minimum" : 0 ,
@@ -113,7 +124,8 @@ export default {
113
124
{ "type" : "boolean" } ,
114
125
{ "$ref" : "#" }
115
126
] ,
116
- "default" : { }
127
+ "default" : { } ,
128
+ "description" : additionalItems . description
117
129
} ,
118
130
"items" : {
119
131
"anyOf" : [
@@ -137,8 +149,10 @@ export default {
137
149
"description" : uniqueItems . description
138
150
} ,
139
151
"maxProperties" : {
140
- "allOf" : [ { "$ref" : "#/definitions/positiveIntegerDefault0" } ] ,
141
- "$ref" : "#/definitions/positiveInteger" ,
152
+ "allOf" : [
153
+ { "$ref" : "#/definitions/positiveIntegerDefault0" } ,
154
+ { "$ref" : "#/definitions/positiveInteger" }
155
+ ] ,
142
156
"description" : maxProperties . description
143
157
} ,
144
158
"minProperties" : {
@@ -160,7 +174,8 @@ export default {
160
174
"definitions" : {
161
175
"type" : "object" ,
162
176
"additionalProperties" : { "$ref" : "#" } ,
163
- "default" : { }
177
+ "default" : { } ,
178
+ "description" : definitions . description
164
179
} ,
165
180
"properties" : {
166
181
"type" : "object" ,
@@ -181,13 +196,14 @@ export default {
181
196
{ "$ref" : "#" } ,
182
197
{ "$ref" : "#/definitions/stringArray" }
183
198
]
184
- }
199
+ } ,
200
+ "description" : dependencies . description
185
201
} ,
186
202
"enum" : {
187
203
"type" : "array" ,
188
204
"minItems" : 1 ,
189
205
"uniqueItems" : true ,
190
- "description" : enumKeyword . description
206
+ "description" : _enum . description
191
207
} ,
192
208
"type" : {
193
209
"anyOf" : [
@@ -199,19 +215,19 @@ export default {
199
215
"uniqueItems" : true
200
216
}
201
217
] ,
202
- "description" : typeKeyword . description
218
+ "description" : _type . description
203
219
} ,
204
220
"format" : { "type" : "string" , "description" : format . description } ,
205
221
"allOf" : {
206
222
"allOf" : [ { "$ref" : "#/definitions/schemaArray" } ] ,
207
223
"description" : allOf . description
208
224
} ,
209
225
"anyOf" : {
210
- "anyOf " : [ { "$ref" : "#/definitions/schemaArray" } ] ,
226
+ "allOf " : [ { "$ref" : "#/definitions/schemaArray" } ] ,
211
227
"description" : anyOf . description
212
228
} ,
213
229
"oneOf" : {
214
- "oneOf " : [ { "$ref" : "#/definitions/schemaArray" } ] ,
230
+ "allOf " : [ { "$ref" : "#/definitions/schemaArray" } ] ,
215
231
"description" : oneOf . description
216
232
} ,
217
233
"not" : {
0 commit comments