@prantlf/jsonlint 11.7.2 → 13.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,485 +0,0 @@
1
- (function (global, factory) {
2
- // eslint-disable-next-line no-unused-expressions, multiline-ternary
3
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports)
4
- // eslint-disable-next-line no-undef, multiline-ternary
5
- : typeof define === 'function' && define.amd ? define('jsonlintSchemaDrafts', ['exports'], factory)
6
- // eslint-disable-next-line no-undef
7
- : (global = global || self, factory(global.jsonlintSchemaDrafts = {}));
8
- }(this, function (exports) { 'use strict';
9
-
10
- exports["json-schema-draft-04"] = {
11
- "id": "http://json-schema.org/draft-04/schema#",
12
- "$schema": "http://json-schema.org/draft-04/schema#",
13
- "description": "Core schema meta-schema",
14
- "definitions": {
15
- "schemaArray": {
16
- "type": "array",
17
- "minItems": 1,
18
- "items": { "$ref": "#" }
19
- },
20
- "positiveInteger": {
21
- "type": "integer",
22
- "minimum": 0
23
- },
24
- "positiveIntegerDefault0": {
25
- "allOf": [ { "$ref": "#/definitions/positiveInteger" }, { "default": 0 } ]
26
- },
27
- "simpleTypes": {
28
- "enum": [ "array", "boolean", "integer", "null", "number", "object", "string" ]
29
- },
30
- "stringArray": {
31
- "type": "array",
32
- "items": { "type": "string" },
33
- "minItems": 1,
34
- "uniqueItems": true
35
- }
36
- },
37
- "type": "object",
38
- "properties": {
39
- "id": {
40
- "type": "string"
41
- },
42
- "$schema": {
43
- "type": "string"
44
- },
45
- "title": {
46
- "type": "string"
47
- },
48
- "description": {
49
- "type": "string"
50
- },
51
- "default": {},
52
- "multipleOf": {
53
- "type": "number",
54
- "minimum": 0,
55
- "exclusiveMinimum": true
56
- },
57
- "maximum": {
58
- "type": "number"
59
- },
60
- "exclusiveMaximum": {
61
- "type": "boolean",
62
- "default": false
63
- },
64
- "minimum": {
65
- "type": "number"
66
- },
67
- "exclusiveMinimum": {
68
- "type": "boolean",
69
- "default": false
70
- },
71
- "maxLength": { "$ref": "#/definitions/positiveInteger" },
72
- "minLength": { "$ref": "#/definitions/positiveIntegerDefault0" },
73
- "pattern": {
74
- "type": "string",
75
- "format": "regex"
76
- },
77
- "additionalItems": {
78
- "anyOf": [
79
- { "type": "boolean" },
80
- { "$ref": "#" }
81
- ],
82
- "default": {}
83
- },
84
- "items": {
85
- "anyOf": [
86
- { "$ref": "#" },
87
- { "$ref": "#/definitions/schemaArray" }
88
- ],
89
- "default": {}
90
- },
91
- "maxItems": { "$ref": "#/definitions/positiveInteger" },
92
- "minItems": { "$ref": "#/definitions/positiveIntegerDefault0" },
93
- "uniqueItems": {
94
- "type": "boolean",
95
- "default": false
96
- },
97
- "maxProperties": { "$ref": "#/definitions/positiveInteger" },
98
- "minProperties": { "$ref": "#/definitions/positiveIntegerDefault0" },
99
- "required": { "$ref": "#/definitions/stringArray" },
100
- "additionalProperties": {
101
- "anyOf": [
102
- { "type": "boolean" },
103
- { "$ref": "#" }
104
- ],
105
- "default": {}
106
- },
107
- "definitions": {
108
- "type": "object",
109
- "additionalProperties": { "$ref": "#" },
110
- "default": {}
111
- },
112
- "properties": {
113
- "type": "object",
114
- "additionalProperties": { "$ref": "#" },
115
- "default": {}
116
- },
117
- "patternProperties": {
118
- "type": "object",
119
- "additionalProperties": { "$ref": "#" },
120
- "default": {}
121
- },
122
- "dependencies": {
123
- "type": "object",
124
- "additionalProperties": {
125
- "anyOf": [
126
- { "$ref": "#" },
127
- { "$ref": "#/definitions/stringArray" }
128
- ]
129
- }
130
- },
131
- "enum": {
132
- "type": "array",
133
- "minItems": 1,
134
- "uniqueItems": true
135
- },
136
- "type": {
137
- "anyOf": [
138
- { "$ref": "#/definitions/simpleTypes" },
139
- {
140
- "type": "array",
141
- "items": { "$ref": "#/definitions/simpleTypes" },
142
- "minItems": 1,
143
- "uniqueItems": true
144
- }
145
- ]
146
- },
147
- "format": { "type": "string" },
148
- "allOf": { "$ref": "#/definitions/schemaArray" },
149
- "anyOf": { "$ref": "#/definitions/schemaArray" },
150
- "oneOf": { "$ref": "#/definitions/schemaArray" },
151
- "not": { "$ref": "#" }
152
- },
153
- "dependencies": {
154
- "exclusiveMaximum": [ "maximum" ],
155
- "exclusiveMinimum": [ "minimum" ]
156
- },
157
- "default": {}
158
- }
159
-
160
- exports["json-schema-draft-06"] = {
161
- "$schema": "http://json-schema.org/draft-06/schema#",
162
- "$id": "http://json-schema.org/draft-06/schema#",
163
- "title": "Core schema meta-schema",
164
- "definitions": {
165
- "schemaArray": {
166
- "type": "array",
167
- "minItems": 1,
168
- "items": { "$ref": "#" }
169
- },
170
- "nonNegativeInteger": {
171
- "type": "integer",
172
- "minimum": 0
173
- },
174
- "nonNegativeIntegerDefault0": {
175
- "allOf": [
176
- { "$ref": "#/definitions/nonNegativeInteger" },
177
- { "default": 0 }
178
- ]
179
- },
180
- "simpleTypes": {
181
- "enum": [
182
- "array",
183
- "boolean",
184
- "integer",
185
- "null",
186
- "number",
187
- "object",
188
- "string"
189
- ]
190
- },
191
- "stringArray": {
192
- "type": "array",
193
- "items": { "type": "string" },
194
- "uniqueItems": true,
195
- "default": []
196
- }
197
- },
198
- "type": ["object", "boolean"],
199
- "properties": {
200
- "$id": {
201
- "type": "string",
202
- "format": "uri-reference"
203
- },
204
- "$schema": {
205
- "type": "string",
206
- "format": "uri"
207
- },
208
- "$ref": {
209
- "type": "string",
210
- "format": "uri-reference"
211
- },
212
- "title": {
213
- "type": "string"
214
- },
215
- "description": {
216
- "type": "string"
217
- },
218
- "default": {},
219
- "examples": {
220
- "type": "array",
221
- "items": {}
222
- },
223
- "multipleOf": {
224
- "type": "number",
225
- "exclusiveMinimum": 0
226
- },
227
- "maximum": {
228
- "type": "number"
229
- },
230
- "exclusiveMaximum": {
231
- "type": "number"
232
- },
233
- "minimum": {
234
- "type": "number"
235
- },
236
- "exclusiveMinimum": {
237
- "type": "number"
238
- },
239
- "maxLength": { "$ref": "#/definitions/nonNegativeInteger" },
240
- "minLength": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },
241
- "pattern": {
242
- "type": "string",
243
- "format": "regex"
244
- },
245
- "additionalItems": { "$ref": "#" },
246
- "items": {
247
- "anyOf": [
248
- { "$ref": "#" },
249
- { "$ref": "#/definitions/schemaArray" }
250
- ],
251
- "default": {}
252
- },
253
- "maxItems": { "$ref": "#/definitions/nonNegativeInteger" },
254
- "minItems": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },
255
- "uniqueItems": {
256
- "type": "boolean",
257
- "default": false
258
- },
259
- "contains": { "$ref": "#" },
260
- "maxProperties": { "$ref": "#/definitions/nonNegativeInteger" },
261
- "minProperties": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },
262
- "required": { "$ref": "#/definitions/stringArray" },
263
- "additionalProperties": { "$ref": "#" },
264
- "definitions": {
265
- "type": "object",
266
- "additionalProperties": { "$ref": "#" },
267
- "default": {}
268
- },
269
- "properties": {
270
- "type": "object",
271
- "additionalProperties": { "$ref": "#" },
272
- "default": {}
273
- },
274
- "patternProperties": {
275
- "type": "object",
276
- "additionalProperties": { "$ref": "#" },
277
- "default": {}
278
- },
279
- "dependencies": {
280
- "type": "object",
281
- "additionalProperties": {
282
- "anyOf": [
283
- { "$ref": "#" },
284
- { "$ref": "#/definitions/stringArray" }
285
- ]
286
- }
287
- },
288
- "propertyNames": { "$ref": "#" },
289
- "const": {},
290
- "enum": {
291
- "type": "array",
292
- "minItems": 1,
293
- "uniqueItems": true
294
- },
295
- "type": {
296
- "anyOf": [
297
- { "$ref": "#/definitions/simpleTypes" },
298
- {
299
- "type": "array",
300
- "items": { "$ref": "#/definitions/simpleTypes" },
301
- "minItems": 1,
302
- "uniqueItems": true
303
- }
304
- ]
305
- },
306
- "format": { "type": "string" },
307
- "allOf": { "$ref": "#/definitions/schemaArray" },
308
- "anyOf": { "$ref": "#/definitions/schemaArray" },
309
- "oneOf": { "$ref": "#/definitions/schemaArray" },
310
- "not": { "$ref": "#" }
311
- },
312
- "default": {}
313
- }
314
-
315
- exports["json-schema-draft-07"] = {
316
- "$schema": "http://json-schema.org/draft-07/schema#",
317
- "$id": "http://json-schema.org/draft-07/schema#",
318
- "title": "Core schema meta-schema",
319
- "definitions": {
320
- "schemaArray": {
321
- "type": "array",
322
- "minItems": 1,
323
- "items": { "$ref": "#" }
324
- },
325
- "nonNegativeInteger": {
326
- "type": "integer",
327
- "minimum": 0
328
- },
329
- "nonNegativeIntegerDefault0": {
330
- "allOf": [
331
- { "$ref": "#/definitions/nonNegativeInteger" },
332
- { "default": 0 }
333
- ]
334
- },
335
- "simpleTypes": {
336
- "enum": [
337
- "array",
338
- "boolean",
339
- "integer",
340
- "null",
341
- "number",
342
- "object",
343
- "string"
344
- ]
345
- },
346
- "stringArray": {
347
- "type": "array",
348
- "items": { "type": "string" },
349
- "uniqueItems": true,
350
- "default": []
351
- }
352
- },
353
- "type": ["object", "boolean"],
354
- "properties": {
355
- "$id": {
356
- "type": "string",
357
- "format": "uri-reference"
358
- },
359
- "$schema": {
360
- "type": "string",
361
- "format": "uri"
362
- },
363
- "$ref": {
364
- "type": "string",
365
- "format": "uri-reference"
366
- },
367
- "$comment": {
368
- "type": "string"
369
- },
370
- "title": {
371
- "type": "string"
372
- },
373
- "description": {
374
- "type": "string"
375
- },
376
- "default": true,
377
- "readOnly": {
378
- "type": "boolean",
379
- "default": false
380
- },
381
- "examples": {
382
- "type": "array",
383
- "items": true
384
- },
385
- "multipleOf": {
386
- "type": "number",
387
- "exclusiveMinimum": 0
388
- },
389
- "maximum": {
390
- "type": "number"
391
- },
392
- "exclusiveMaximum": {
393
- "type": "number"
394
- },
395
- "minimum": {
396
- "type": "number"
397
- },
398
- "exclusiveMinimum": {
399
- "type": "number"
400
- },
401
- "maxLength": { "$ref": "#/definitions/nonNegativeInteger" },
402
- "minLength": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },
403
- "pattern": {
404
- "type": "string",
405
- "format": "regex"
406
- },
407
- "additionalItems": { "$ref": "#" },
408
- "items": {
409
- "anyOf": [
410
- { "$ref": "#" },
411
- { "$ref": "#/definitions/schemaArray" }
412
- ],
413
- "default": true
414
- },
415
- "maxItems": { "$ref": "#/definitions/nonNegativeInteger" },
416
- "minItems": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },
417
- "uniqueItems": {
418
- "type": "boolean",
419
- "default": false
420
- },
421
- "contains": { "$ref": "#" },
422
- "maxProperties": { "$ref": "#/definitions/nonNegativeInteger" },
423
- "minProperties": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },
424
- "required": { "$ref": "#/definitions/stringArray" },
425
- "additionalProperties": { "$ref": "#" },
426
- "definitions": {
427
- "type": "object",
428
- "additionalProperties": { "$ref": "#" },
429
- "default": {}
430
- },
431
- "properties": {
432
- "type": "object",
433
- "additionalProperties": { "$ref": "#" },
434
- "default": {}
435
- },
436
- "patternProperties": {
437
- "type": "object",
438
- "additionalProperties": { "$ref": "#" },
439
- "propertyNames": { "format": "regex" },
440
- "default": {}
441
- },
442
- "dependencies": {
443
- "type": "object",
444
- "additionalProperties": {
445
- "anyOf": [
446
- { "$ref": "#" },
447
- { "$ref": "#/definitions/stringArray" }
448
- ]
449
- }
450
- },
451
- "propertyNames": { "$ref": "#" },
452
- "const": true,
453
- "enum": {
454
- "type": "array",
455
- "items": true,
456
- "minItems": 1,
457
- "uniqueItems": true
458
- },
459
- "type": {
460
- "anyOf": [
461
- { "$ref": "#/definitions/simpleTypes" },
462
- {
463
- "type": "array",
464
- "items": { "$ref": "#/definitions/simpleTypes" },
465
- "minItems": 1,
466
- "uniqueItems": true
467
- }
468
- ]
469
- },
470
- "format": { "type": "string" },
471
- "contentMediaType": { "type": "string" },
472
- "contentEncoding": { "type": "string" },
473
- "if": {"$ref": "#"},
474
- "then": {"$ref": "#"},
475
- "else": {"$ref": "#"},
476
- "allOf": { "$ref": "#/definitions/schemaArray" },
477
- "anyOf": { "$ref": "#/definitions/schemaArray" },
478
- "oneOf": { "$ref": "#/definitions/schemaArray" },
479
- "not": { "$ref": "#" }
480
- },
481
- "default": true
482
- }
483
-
484
- Object.defineProperty(exports, '__esModule', { value: true });
485
- }));