File tree Expand file tree Collapse file tree 1 file changed +7
-65
lines changed Expand file tree Collapse file tree 1 file changed +7
-65
lines changed Original file line number Diff line number Diff line change @@ -257,67 +257,6 @@ const schema = `{
257
257
"null"
258
258
]
259
259
},
260
- "properties": {
261
- "type": "object",
262
- "additionalProperties": {
263
- "$ref": "#/$defs/property_definition"
264
- }
265
- },
266
- "items": {
267
- "anyOf": [
268
- {
269
- "$ref": "#/$defs/property_definition"
270
- },
271
- {
272
- "type": "array",
273
- "items": {
274
- "$ref": "#/$defs/property_definition"
275
- }
276
- }
277
- ]
278
- },
279
- "required": {
280
- "type": "array",
281
- "items": {
282
- "type": "string"
283
- }
284
- },
285
- "additionalProperties": {
286
- "type": "boolean"
287
- }
288
- },
289
- "required": [
290
- "type"
291
- ],
292
- "additionalProperties": false,
293
- "if": {
294
- "properties": {
295
- "type": {
296
- "const": "object"
297
- }
298
- }
299
- },
300
- "then": {
301
- "required": [
302
- "properties"
303
- ]
304
- }
305
- },
306
- "property_definition": {
307
- "type": "object",
308
- "properties": {
309
- "type": {
310
- "type": "string",
311
- "enum": [
312
- "string",
313
- "number",
314
- "integer",
315
- "boolean",
316
- "array",
317
- "object",
318
- "null"
319
- ]
320
- },
321
260
"description": {
322
261
"type": "string"
323
262
},
@@ -335,18 +274,18 @@ const schema = `{
335
274
"properties": {
336
275
"type": "object",
337
276
"additionalProperties": {
338
- "$ref": "#/$defs/property_definition "
277
+ "$ref": "#/$defs/param_definition "
339
278
}
340
279
},
341
280
"items": {
342
281
"anyOf": [
343
282
{
344
- "$ref": "#/$defs/property_definition "
283
+ "$ref": "#/$defs/param_definition "
345
284
},
346
285
{
347
286
"type": "array",
348
287
"items": {
349
- "$ref": "#/$defs/property_definition "
288
+ "$ref": "#/$defs/param_definition "
350
289
}
351
290
}
352
291
]
@@ -357,7 +296,10 @@ const schema = `{
357
296
"type": "string"
358
297
}
359
298
},
360
- "minItems": {
299
+ "additionalProperties": {
300
+ "type": "boolean"
301
+ },
302
+ "minItems": {
361
303
"type": "integer",
362
304
"minimum": 0
363
305
},
You can’t perform that action at this time.
0 commit comments