@jarenjs/refs 0.8.2 → 0.9.2

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.
Files changed (39) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +20 -2
  3. package/dist/types/index.d.ts +44 -0
  4. package/dist/types/index.import.no-lint.d.ts +417 -0
  5. package/dist/types/json-schema-2019-09/index.d.ts +370 -0
  6. package/dist/types/json-schema-2019-09/index.import.no-lint.d.ts +378 -0
  7. package/dist/types/json-schema-2020-12/index.d.ts +411 -0
  8. package/dist/types/json-schema-2020-12/index.import.no-lint.d.ts +421 -0
  9. package/package.json +32 -10
  10. package/src/data.json +13 -0
  11. package/src/index.import.no-lint.js +5 -0
  12. package/src/index.js +86 -0
  13. package/src/json-schema-2019-09/index.import.no-lint.js +17 -0
  14. package/src/json-schema-2019-09/index.js +12 -0
  15. package/src/json-schema-2019-09/meta/applicator.json +53 -0
  16. package/src/json-schema-2019-09/meta/content.json +17 -0
  17. package/src/json-schema-2019-09/meta/core.json +57 -0
  18. package/src/json-schema-2019-09/meta/format.json +14 -0
  19. package/src/json-schema-2019-09/meta/meta-data.json +37 -0
  20. package/src/json-schema-2019-09/meta/validation.json +90 -0
  21. package/src/json-schema-2019-09/schema.json +39 -0
  22. package/src/json-schema-2020-12/index.import.no-lint.js +21 -0
  23. package/src/json-schema-2020-12/index.js +16 -0
  24. package/src/json-schema-2020-12/meta/applicator.json +48 -0
  25. package/src/json-schema-2020-12/meta/content.json +17 -0
  26. package/src/json-schema-2020-12/meta/core.json +51 -0
  27. package/src/json-schema-2020-12/meta/format-annotation.json +14 -0
  28. package/src/json-schema-2020-12/meta/format-assertion.json +13 -0
  29. package/src/json-schema-2020-12/meta/meta-data.json +37 -0
  30. package/src/json-schema-2020-12/meta/unevaluated.json +15 -0
  31. package/src/json-schema-2020-12/meta/validation.json +90 -0
  32. package/src/json-schema-2020-12/schema.json +55 -0
  33. package/src/json-schema-draft-06.json +137 -0
  34. package/src/json-schema-draft-07.json +152 -0
  35. package/src/json-schema-secure.json +88 -0
  36. package/dist/index.js +0 -1054
  37. package/dist/index.js.map +0 -7
  38. package/dist/index.min.js +0 -2
  39. package/dist/index.min.js.map +0 -7
@@ -0,0 +1,378 @@
1
+ declare const _default: {
2
+ metaSchema: {
3
+ $schema: string;
4
+ $id: string;
5
+ $vocabulary: {
6
+ "https://json-schema.org/draft/2019-09/vocab/core": boolean;
7
+ "https://json-schema.org/draft/2019-09/vocab/applicator": boolean;
8
+ "https://json-schema.org/draft/2019-09/vocab/validation": boolean;
9
+ "https://json-schema.org/draft/2019-09/vocab/meta-data": boolean;
10
+ "https://json-schema.org/draft/2019-09/vocab/format": boolean;
11
+ "https://json-schema.org/draft/2019-09/vocab/content": boolean;
12
+ };
13
+ $recursiveAnchor: boolean;
14
+ title: string;
15
+ allOf: {
16
+ $ref: string;
17
+ }[];
18
+ type: string[];
19
+ properties: {
20
+ definitions: {
21
+ $comment: string;
22
+ type: string;
23
+ additionalProperties: {
24
+ $recursiveRef: string;
25
+ };
26
+ default: {};
27
+ };
28
+ dependencies: {
29
+ $comment: string;
30
+ type: string;
31
+ additionalProperties: {
32
+ anyOf: ({
33
+ $recursiveRef: string;
34
+ $ref?: undefined;
35
+ } | {
36
+ $recursiveRef?: undefined;
37
+ $ref: string;
38
+ })[];
39
+ };
40
+ };
41
+ };
42
+ };
43
+ applicator: {
44
+ $schema: string;
45
+ $id: string;
46
+ $vocabulary: {
47
+ "https://json-schema.org/draft/2019-09/vocab/applicator": boolean;
48
+ };
49
+ $recursiveAnchor: boolean;
50
+ title: string;
51
+ type: string[];
52
+ properties: {
53
+ additionalItems: {
54
+ $recursiveRef: string;
55
+ };
56
+ unevaluatedItems: {
57
+ $recursiveRef: string;
58
+ };
59
+ items: {
60
+ anyOf: ({
61
+ $ref?: undefined;
62
+ $recursiveRef: string;
63
+ } | {
64
+ $recursiveRef?: undefined;
65
+ $ref: string;
66
+ })[];
67
+ };
68
+ contains: {
69
+ $recursiveRef: string;
70
+ };
71
+ additionalProperties: {
72
+ $recursiveRef: string;
73
+ };
74
+ unevaluatedProperties: {
75
+ $recursiveRef: string;
76
+ };
77
+ properties: {
78
+ type: string;
79
+ additionalProperties: {
80
+ $recursiveRef: string;
81
+ };
82
+ default: {};
83
+ };
84
+ patternProperties: {
85
+ type: string;
86
+ additionalProperties: {
87
+ $recursiveRef: string;
88
+ };
89
+ propertyNames: {
90
+ format: string;
91
+ };
92
+ default: {};
93
+ };
94
+ dependentSchemas: {
95
+ type: string;
96
+ additionalProperties: {
97
+ $recursiveRef: string;
98
+ };
99
+ };
100
+ propertyNames: {
101
+ $recursiveRef: string;
102
+ };
103
+ if: {
104
+ $recursiveRef: string;
105
+ };
106
+ then: {
107
+ $recursiveRef: string;
108
+ };
109
+ else: {
110
+ $recursiveRef: string;
111
+ };
112
+ allOf: {
113
+ $ref: string;
114
+ };
115
+ anyOf: {
116
+ $ref: string;
117
+ };
118
+ oneOf: {
119
+ $ref: string;
120
+ };
121
+ not: {
122
+ $recursiveRef: string;
123
+ };
124
+ };
125
+ $defs: {
126
+ schemaArray: {
127
+ type: string;
128
+ minItems: number;
129
+ items: {
130
+ $recursiveRef: string;
131
+ };
132
+ };
133
+ };
134
+ };
135
+ content: {
136
+ $schema: string;
137
+ $id: string;
138
+ $vocabulary: {
139
+ "https://json-schema.org/draft/2019-09/vocab/content": boolean;
140
+ };
141
+ $recursiveAnchor: boolean;
142
+ title: string;
143
+ type: string[];
144
+ properties: {
145
+ contentMediaType: {
146
+ type: string;
147
+ };
148
+ contentEncoding: {
149
+ type: string;
150
+ };
151
+ contentSchema: {
152
+ $recursiveRef: string;
153
+ };
154
+ };
155
+ };
156
+ core: {
157
+ $schema: string;
158
+ $id: string;
159
+ $vocabulary: {
160
+ "https://json-schema.org/draft/2019-09/vocab/core": boolean;
161
+ };
162
+ $recursiveAnchor: boolean;
163
+ title: string;
164
+ type: string[];
165
+ properties: {
166
+ $id: {
167
+ type: string;
168
+ format: string;
169
+ $comment: string;
170
+ pattern: string;
171
+ };
172
+ $schema: {
173
+ type: string;
174
+ format: string;
175
+ };
176
+ $anchor: {
177
+ type: string;
178
+ pattern: string;
179
+ };
180
+ $ref: {
181
+ type: string;
182
+ format: string;
183
+ };
184
+ $recursiveRef: {
185
+ type: string;
186
+ format: string;
187
+ };
188
+ $recursiveAnchor: {
189
+ type: string;
190
+ default: boolean;
191
+ };
192
+ $vocabulary: {
193
+ type: string;
194
+ propertyNames: {
195
+ type: string;
196
+ format: string;
197
+ };
198
+ additionalProperties: {
199
+ type: string;
200
+ };
201
+ };
202
+ $comment: {
203
+ type: string;
204
+ };
205
+ $defs: {
206
+ type: string;
207
+ additionalProperties: {
208
+ $recursiveRef: string;
209
+ };
210
+ default: {};
211
+ };
212
+ };
213
+ };
214
+ format: {
215
+ $schema: string;
216
+ $id: string;
217
+ $vocabulary: {
218
+ "https://json-schema.org/draft/2019-09/vocab/format": boolean;
219
+ };
220
+ $recursiveAnchor: boolean;
221
+ title: string;
222
+ type: string[];
223
+ properties: {
224
+ format: {
225
+ type: string;
226
+ };
227
+ };
228
+ };
229
+ metadata: {
230
+ $schema: string;
231
+ $id: string;
232
+ $vocabulary: {
233
+ "https://json-schema.org/draft/2019-09/vocab/meta-data": boolean;
234
+ };
235
+ $recursiveAnchor: boolean;
236
+ title: string;
237
+ type: string[];
238
+ properties: {
239
+ title: {
240
+ type: string;
241
+ };
242
+ description: {
243
+ type: string;
244
+ };
245
+ default: boolean;
246
+ deprecated: {
247
+ type: string;
248
+ default: boolean;
249
+ };
250
+ readOnly: {
251
+ type: string;
252
+ default: boolean;
253
+ };
254
+ writeOnly: {
255
+ type: string;
256
+ default: boolean;
257
+ };
258
+ examples: {
259
+ type: string;
260
+ items: boolean;
261
+ };
262
+ };
263
+ };
264
+ validation: {
265
+ $schema: string;
266
+ $id: string;
267
+ $vocabulary: {
268
+ "https://json-schema.org/draft/2019-09/vocab/validation": boolean;
269
+ };
270
+ $recursiveAnchor: boolean;
271
+ title: string;
272
+ type: string[];
273
+ properties: {
274
+ multipleOf: {
275
+ type: string;
276
+ exclusiveMinimum: number;
277
+ };
278
+ maximum: {
279
+ type: string;
280
+ };
281
+ exclusiveMaximum: {
282
+ type: string;
283
+ };
284
+ minimum: {
285
+ type: string;
286
+ };
287
+ exclusiveMinimum: {
288
+ type: string;
289
+ };
290
+ maxLength: {
291
+ $ref: string;
292
+ };
293
+ minLength: {
294
+ $ref: string;
295
+ };
296
+ pattern: {
297
+ type: string;
298
+ format: string;
299
+ };
300
+ maxItems: {
301
+ $ref: string;
302
+ };
303
+ minItems: {
304
+ $ref: string;
305
+ };
306
+ uniqueItems: {
307
+ type: string;
308
+ default: boolean;
309
+ };
310
+ maxContains: {
311
+ $ref: string;
312
+ };
313
+ minContains: {
314
+ $ref: string;
315
+ default: number;
316
+ };
317
+ maxProperties: {
318
+ $ref: string;
319
+ };
320
+ minProperties: {
321
+ $ref: string;
322
+ };
323
+ required: {
324
+ $ref: string;
325
+ };
326
+ dependentRequired: {
327
+ type: string;
328
+ additionalProperties: {
329
+ $ref: string;
330
+ };
331
+ };
332
+ const: boolean;
333
+ enum: {
334
+ type: string;
335
+ items: boolean;
336
+ };
337
+ type: {
338
+ anyOf: ({
339
+ $ref: string;
340
+ type?: undefined;
341
+ items?: undefined;
342
+ minItems?: undefined;
343
+ uniqueItems?: undefined;
344
+ } | {
345
+ $ref?: undefined;
346
+ type: string;
347
+ items: {
348
+ $ref: string;
349
+ };
350
+ minItems: number;
351
+ uniqueItems: boolean;
352
+ })[];
353
+ };
354
+ };
355
+ $defs: {
356
+ nonNegativeInteger: {
357
+ type: string;
358
+ minimum: number;
359
+ };
360
+ nonNegativeIntegerDefault0: {
361
+ $ref: string;
362
+ default: number;
363
+ };
364
+ simpleTypes: {
365
+ enum: string[];
366
+ };
367
+ stringArray: {
368
+ type: string;
369
+ items: {
370
+ type: string;
371
+ };
372
+ uniqueItems: boolean;
373
+ default: never[];
374
+ };
375
+ };
376
+ };
377
+ };
378
+ export default _default;