vscode-json-languageservice 5.6.1 → 5.6.3

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.
@@ -0,0 +1,278 @@
1
+ declare const _default: {
2
+ $id: string;
3
+ $schema: string;
4
+ title: string;
5
+ type: string[];
6
+ properties: {
7
+ definitions: {
8
+ $comment: string;
9
+ type: string;
10
+ additionalProperties: {
11
+ $ref: string;
12
+ };
13
+ default: {};
14
+ };
15
+ dependencies: {
16
+ $comment: string;
17
+ type: string;
18
+ additionalProperties: {
19
+ anyOf: {
20
+ $ref: string;
21
+ }[];
22
+ };
23
+ };
24
+ $id: {
25
+ type: string;
26
+ format: string;
27
+ $comment: string;
28
+ pattern: string;
29
+ };
30
+ $schema: {
31
+ type: string;
32
+ format: string;
33
+ };
34
+ $anchor: {
35
+ type: string;
36
+ pattern: string;
37
+ };
38
+ $ref: {
39
+ type: string;
40
+ format: string;
41
+ };
42
+ $recursiveAnchor: {
43
+ type: string;
44
+ default: boolean;
45
+ };
46
+ $vocabulary: {
47
+ type: string;
48
+ propertyNames: {
49
+ type: string;
50
+ format: string;
51
+ };
52
+ additionalProperties: {
53
+ type: string;
54
+ };
55
+ };
56
+ $comment: {
57
+ type: string;
58
+ };
59
+ $defs: {
60
+ type: string;
61
+ additionalProperties: {
62
+ $ref: string;
63
+ };
64
+ default: {};
65
+ };
66
+ additionalItems: {
67
+ $ref: string;
68
+ };
69
+ unevaluatedItems: {
70
+ $ref: string;
71
+ };
72
+ items: {
73
+ anyOf: {
74
+ $ref: string;
75
+ }[];
76
+ };
77
+ contains: {
78
+ $ref: string;
79
+ };
80
+ additionalProperties: {
81
+ $ref: string;
82
+ };
83
+ unevaluatedProperties: {
84
+ $ref: string;
85
+ };
86
+ properties: {
87
+ type: string;
88
+ additionalProperties: {
89
+ $ref: string;
90
+ };
91
+ default: {};
92
+ };
93
+ patternProperties: {
94
+ type: string;
95
+ additionalProperties: {
96
+ $ref: string;
97
+ };
98
+ propertyNames: {
99
+ format: string;
100
+ };
101
+ default: {};
102
+ };
103
+ dependentSchemas: {
104
+ type: string;
105
+ additionalProperties: {
106
+ $ref: string;
107
+ };
108
+ };
109
+ propertyNames: {
110
+ $ref: string;
111
+ };
112
+ if: {
113
+ $ref: string;
114
+ };
115
+ then: {
116
+ $ref: string;
117
+ };
118
+ else: {
119
+ $ref: string;
120
+ };
121
+ allOf: {
122
+ $ref: string;
123
+ };
124
+ anyOf: {
125
+ $ref: string;
126
+ };
127
+ oneOf: {
128
+ $ref: string;
129
+ };
130
+ not: {
131
+ $ref: string;
132
+ };
133
+ multipleOf: {
134
+ type: string;
135
+ exclusiveMinimum: number;
136
+ };
137
+ maximum: {
138
+ type: string;
139
+ };
140
+ exclusiveMaximum: {
141
+ type: string;
142
+ };
143
+ minimum: {
144
+ type: string;
145
+ };
146
+ exclusiveMinimum: {
147
+ type: string;
148
+ };
149
+ maxLength: {
150
+ $ref: string;
151
+ };
152
+ minLength: {
153
+ $ref: string;
154
+ };
155
+ pattern: {
156
+ type: string;
157
+ format: string;
158
+ };
159
+ maxItems: {
160
+ $ref: string;
161
+ };
162
+ minItems: {
163
+ $ref: string;
164
+ };
165
+ uniqueItems: {
166
+ type: string;
167
+ default: boolean;
168
+ };
169
+ maxContains: {
170
+ $ref: string;
171
+ };
172
+ minContains: {
173
+ $ref: string;
174
+ default: number;
175
+ };
176
+ maxProperties: {
177
+ $ref: string;
178
+ };
179
+ minProperties: {
180
+ $ref: string;
181
+ };
182
+ required: {
183
+ $ref: string;
184
+ };
185
+ dependentRequired: {
186
+ type: string;
187
+ additionalProperties: {
188
+ $ref: string;
189
+ };
190
+ };
191
+ const: boolean;
192
+ enum: {
193
+ type: string;
194
+ items: boolean;
195
+ };
196
+ type: {
197
+ anyOf: ({
198
+ $ref: string;
199
+ type?: undefined;
200
+ items?: undefined;
201
+ minItems?: undefined;
202
+ uniqueItems?: undefined;
203
+ } | {
204
+ type: string;
205
+ items: {
206
+ $ref: string;
207
+ };
208
+ minItems: number;
209
+ uniqueItems: boolean;
210
+ $ref?: undefined;
211
+ })[];
212
+ };
213
+ title: {
214
+ type: string;
215
+ };
216
+ description: {
217
+ type: string;
218
+ };
219
+ default: boolean;
220
+ deprecated: {
221
+ type: string;
222
+ default: boolean;
223
+ };
224
+ readOnly: {
225
+ type: string;
226
+ default: boolean;
227
+ };
228
+ writeOnly: {
229
+ type: string;
230
+ default: boolean;
231
+ };
232
+ examples: {
233
+ type: string;
234
+ items: boolean;
235
+ };
236
+ format: {
237
+ type: string;
238
+ };
239
+ contentMediaType: {
240
+ type: string;
241
+ };
242
+ contentEncoding: {
243
+ type: string;
244
+ };
245
+ contentSchema: {
246
+ $ref: string;
247
+ };
248
+ };
249
+ $defs: {
250
+ schemaArray: {
251
+ type: string;
252
+ minItems: number;
253
+ items: {
254
+ $ref: string;
255
+ };
256
+ };
257
+ nonNegativeInteger: {
258
+ type: string;
259
+ minimum: number;
260
+ };
261
+ nonNegativeIntegerDefault0: {
262
+ $ref: string;
263
+ default: number;
264
+ };
265
+ simpleTypes: {
266
+ enum: string[];
267
+ };
268
+ stringArray: {
269
+ type: string;
270
+ items: {
271
+ type: string;
272
+ };
273
+ uniqueItems: boolean;
274
+ default: never[];
275
+ };
276
+ };
277
+ };
278
+ export default _default;
@@ -0,0 +1,314 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the MIT License. See License.txt in the project root for license information.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ (function (factory) {
6
+ if (typeof module === "object" && typeof module.exports === "object") {
7
+ var v = factory(require, exports);
8
+ if (v !== undefined) module.exports = v;
9
+ }
10
+ else if (typeof define === "function" && define.amd) {
11
+ define(["require", "exports"], factory);
12
+ }
13
+ })(function (require, exports) {
14
+ "use strict";
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ // This file is generated - do not edit directly!
17
+ // Derived from https://json-schema.org/draft/2019-09
18
+ exports.default = {
19
+ $id: 'https://json-schema.org/draft/2019-09/schema',
20
+ $schema: 'https://json-schema.org/draft/2019-09/schema',
21
+ title: '(Flattened static) Core and Validation specifications meta-schema',
22
+ type: [
23
+ 'object',
24
+ 'boolean',
25
+ ],
26
+ properties: {
27
+ definitions: {
28
+ $comment: 'While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.',
29
+ type: 'object',
30
+ additionalProperties: {
31
+ $ref: '#',
32
+ },
33
+ default: {},
34
+ },
35
+ dependencies: {
36
+ $comment: '"dependencies" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to "dependentSchemas" and "dependentRequired"',
37
+ type: 'object',
38
+ additionalProperties: {
39
+ anyOf: [
40
+ {
41
+ $ref: '#',
42
+ },
43
+ {
44
+ $ref: '#/$defs/stringArray',
45
+ },
46
+ ],
47
+ },
48
+ },
49
+ $id: {
50
+ type: 'string',
51
+ format: 'uri-reference',
52
+ $comment: 'Non-empty fragments not allowed.',
53
+ pattern: '^[^#]*#?$',
54
+ },
55
+ $schema: {
56
+ type: 'string',
57
+ format: 'uri',
58
+ },
59
+ $anchor: {
60
+ type: 'string',
61
+ pattern: '^[A-Za-z][-A-Za-z0-9.:_]*$',
62
+ },
63
+ $ref: {
64
+ type: 'string',
65
+ format: 'uri-reference',
66
+ },
67
+ $recursiveAnchor: {
68
+ type: 'boolean',
69
+ default: false,
70
+ },
71
+ $vocabulary: {
72
+ type: 'object',
73
+ propertyNames: {
74
+ type: 'string',
75
+ format: 'uri',
76
+ },
77
+ additionalProperties: {
78
+ type: 'boolean',
79
+ },
80
+ },
81
+ $comment: {
82
+ type: 'string',
83
+ },
84
+ $defs: {
85
+ type: 'object',
86
+ additionalProperties: {
87
+ $ref: '#',
88
+ },
89
+ default: {},
90
+ },
91
+ additionalItems: {
92
+ $ref: '#',
93
+ },
94
+ unevaluatedItems: {
95
+ $ref: '#',
96
+ },
97
+ items: {
98
+ anyOf: [
99
+ {
100
+ $ref: '#',
101
+ },
102
+ {
103
+ $ref: '#/$defs/schemaArray',
104
+ },
105
+ ],
106
+ },
107
+ contains: {
108
+ $ref: '#',
109
+ },
110
+ additionalProperties: {
111
+ $ref: '#',
112
+ },
113
+ unevaluatedProperties: {
114
+ $ref: '#',
115
+ },
116
+ properties: {
117
+ type: 'object',
118
+ additionalProperties: {
119
+ $ref: '#',
120
+ },
121
+ default: {},
122
+ },
123
+ patternProperties: {
124
+ type: 'object',
125
+ additionalProperties: {
126
+ $ref: '#',
127
+ },
128
+ propertyNames: {
129
+ format: 'regex',
130
+ },
131
+ default: {},
132
+ },
133
+ dependentSchemas: {
134
+ type: 'object',
135
+ additionalProperties: {
136
+ $ref: '#',
137
+ },
138
+ },
139
+ propertyNames: {
140
+ $ref: '#',
141
+ },
142
+ if: {
143
+ $ref: '#',
144
+ },
145
+ then: {
146
+ $ref: '#',
147
+ },
148
+ else: {
149
+ $ref: '#',
150
+ },
151
+ allOf: {
152
+ $ref: '#/$defs/schemaArray',
153
+ },
154
+ anyOf: {
155
+ $ref: '#/$defs/schemaArray',
156
+ },
157
+ oneOf: {
158
+ $ref: '#/$defs/schemaArray',
159
+ },
160
+ not: {
161
+ $ref: '#',
162
+ },
163
+ multipleOf: {
164
+ type: 'number',
165
+ exclusiveMinimum: 0,
166
+ },
167
+ maximum: {
168
+ type: 'number',
169
+ },
170
+ exclusiveMaximum: {
171
+ type: 'number',
172
+ },
173
+ minimum: {
174
+ type: 'number',
175
+ },
176
+ exclusiveMinimum: {
177
+ type: 'number',
178
+ },
179
+ maxLength: {
180
+ $ref: '#/$defs/nonNegativeInteger',
181
+ },
182
+ minLength: {
183
+ $ref: '#/$defs/nonNegativeIntegerDefault0',
184
+ },
185
+ pattern: {
186
+ type: 'string',
187
+ format: 'regex',
188
+ },
189
+ maxItems: {
190
+ $ref: '#/$defs/nonNegativeInteger',
191
+ },
192
+ minItems: {
193
+ $ref: '#/$defs/nonNegativeIntegerDefault0',
194
+ },
195
+ uniqueItems: {
196
+ type: 'boolean',
197
+ default: false,
198
+ },
199
+ maxContains: {
200
+ $ref: '#/$defs/nonNegativeInteger',
201
+ },
202
+ minContains: {
203
+ $ref: '#/$defs/nonNegativeInteger',
204
+ default: 1,
205
+ },
206
+ maxProperties: {
207
+ $ref: '#/$defs/nonNegativeInteger',
208
+ },
209
+ minProperties: {
210
+ $ref: '#/$defs/nonNegativeIntegerDefault0',
211
+ },
212
+ required: {
213
+ $ref: '#/$defs/stringArray',
214
+ },
215
+ dependentRequired: {
216
+ type: 'object',
217
+ additionalProperties: {
218
+ $ref: '#/$defs/stringArray',
219
+ },
220
+ },
221
+ const: true,
222
+ enum: {
223
+ type: 'array',
224
+ items: true,
225
+ },
226
+ type: {
227
+ anyOf: [
228
+ {
229
+ $ref: '#/$defs/simpleTypes',
230
+ },
231
+ {
232
+ type: 'array',
233
+ items: {
234
+ $ref: '#/$defs/simpleTypes',
235
+ },
236
+ minItems: 1,
237
+ uniqueItems: true,
238
+ },
239
+ ],
240
+ },
241
+ title: {
242
+ type: 'string',
243
+ },
244
+ description: {
245
+ type: 'string',
246
+ },
247
+ default: true,
248
+ deprecated: {
249
+ type: 'boolean',
250
+ default: false,
251
+ },
252
+ readOnly: {
253
+ type: 'boolean',
254
+ default: false,
255
+ },
256
+ writeOnly: {
257
+ type: 'boolean',
258
+ default: false,
259
+ },
260
+ examples: {
261
+ type: 'array',
262
+ items: true,
263
+ },
264
+ format: {
265
+ type: 'string',
266
+ },
267
+ contentMediaType: {
268
+ type: 'string',
269
+ },
270
+ contentEncoding: {
271
+ type: 'string',
272
+ },
273
+ contentSchema: {
274
+ $ref: '#',
275
+ },
276
+ },
277
+ $defs: {
278
+ schemaArray: {
279
+ type: 'array',
280
+ minItems: 1,
281
+ items: {
282
+ $ref: '#',
283
+ },
284
+ },
285
+ nonNegativeInteger: {
286
+ type: 'integer',
287
+ minimum: 0,
288
+ },
289
+ nonNegativeIntegerDefault0: {
290
+ $ref: '#/$defs/nonNegativeInteger',
291
+ default: 0,
292
+ },
293
+ simpleTypes: {
294
+ enum: [
295
+ 'array',
296
+ 'boolean',
297
+ 'integer',
298
+ 'null',
299
+ 'number',
300
+ 'object',
301
+ 'string',
302
+ ],
303
+ },
304
+ stringArray: {
305
+ type: 'array',
306
+ items: {
307
+ type: 'string',
308
+ },
309
+ uniqueItems: true,
310
+ default: [],
311
+ },
312
+ },
313
+ };
314
+ });