vscode-json-languageservice 5.6.2 → 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,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
+ });
@@ -0,0 +1,276 @@
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
+ $dynamicRef: {
43
+ type: string;
44
+ format: string;
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
+ prefixItems: {
67
+ $ref: string;
68
+ };
69
+ items: {
70
+ $ref: string;
71
+ };
72
+ contains: {
73
+ $ref: string;
74
+ };
75
+ additionalProperties: {
76
+ $ref: string;
77
+ };
78
+ properties: {
79
+ type: string;
80
+ additionalProperties: {
81
+ $ref: string;
82
+ };
83
+ default: {};
84
+ };
85
+ patternProperties: {
86
+ type: string;
87
+ additionalProperties: {
88
+ $ref: string;
89
+ };
90
+ propertyNames: {
91
+ format: string;
92
+ };
93
+ default: {};
94
+ };
95
+ dependentSchemas: {
96
+ type: string;
97
+ additionalProperties: {
98
+ $ref: string;
99
+ };
100
+ };
101
+ propertyNames: {
102
+ $ref: string;
103
+ };
104
+ if: {
105
+ $ref: string;
106
+ };
107
+ then: {
108
+ $ref: string;
109
+ };
110
+ else: {
111
+ $ref: string;
112
+ };
113
+ allOf: {
114
+ $ref: string;
115
+ };
116
+ anyOf: {
117
+ $ref: string;
118
+ };
119
+ oneOf: {
120
+ $ref: string;
121
+ };
122
+ not: {
123
+ $ref: string;
124
+ };
125
+ unevaluatedItems: {
126
+ $ref: string;
127
+ };
128
+ unevaluatedProperties: {
129
+ $ref: string;
130
+ };
131
+ multipleOf: {
132
+ type: string;
133
+ exclusiveMinimum: number;
134
+ };
135
+ maximum: {
136
+ type: string;
137
+ };
138
+ exclusiveMaximum: {
139
+ type: string;
140
+ };
141
+ minimum: {
142
+ type: string;
143
+ };
144
+ exclusiveMinimum: {
145
+ type: string;
146
+ };
147
+ maxLength: {
148
+ $ref: string;
149
+ };
150
+ minLength: {
151
+ $ref: string;
152
+ };
153
+ pattern: {
154
+ type: string;
155
+ format: string;
156
+ };
157
+ maxItems: {
158
+ $ref: string;
159
+ };
160
+ minItems: {
161
+ $ref: string;
162
+ };
163
+ uniqueItems: {
164
+ type: string;
165
+ default: boolean;
166
+ };
167
+ maxContains: {
168
+ $ref: string;
169
+ };
170
+ minContains: {
171
+ $ref: string;
172
+ default: number;
173
+ };
174
+ maxProperties: {
175
+ $ref: string;
176
+ };
177
+ minProperties: {
178
+ $ref: string;
179
+ };
180
+ required: {
181
+ $ref: string;
182
+ };
183
+ dependentRequired: {
184
+ type: string;
185
+ additionalProperties: {
186
+ $ref: string;
187
+ };
188
+ };
189
+ const: boolean;
190
+ enum: {
191
+ type: string;
192
+ items: boolean;
193
+ };
194
+ type: {
195
+ anyOf: ({
196
+ $ref: string;
197
+ type?: undefined;
198
+ items?: undefined;
199
+ minItems?: undefined;
200
+ uniqueItems?: undefined;
201
+ } | {
202
+ type: string;
203
+ items: {
204
+ $ref: string;
205
+ };
206
+ minItems: number;
207
+ uniqueItems: boolean;
208
+ $ref?: undefined;
209
+ })[];
210
+ };
211
+ title: {
212
+ type: string;
213
+ };
214
+ description: {
215
+ type: string;
216
+ };
217
+ default: boolean;
218
+ deprecated: {
219
+ type: string;
220
+ default: boolean;
221
+ };
222
+ readOnly: {
223
+ type: string;
224
+ default: boolean;
225
+ };
226
+ writeOnly: {
227
+ type: string;
228
+ default: boolean;
229
+ };
230
+ examples: {
231
+ type: string;
232
+ items: boolean;
233
+ };
234
+ format: {
235
+ type: string;
236
+ };
237
+ contentMediaType: {
238
+ type: string;
239
+ };
240
+ contentEncoding: {
241
+ type: string;
242
+ };
243
+ contentSchema: {
244
+ $ref: string;
245
+ };
246
+ };
247
+ $defs: {
248
+ schemaArray: {
249
+ type: string;
250
+ minItems: number;
251
+ items: {
252
+ $ref: string;
253
+ };
254
+ };
255
+ nonNegativeInteger: {
256
+ type: string;
257
+ minimum: number;
258
+ };
259
+ nonNegativeIntegerDefault0: {
260
+ $ref: string;
261
+ default: number;
262
+ };
263
+ simpleTypes: {
264
+ enum: string[];
265
+ };
266
+ stringArray: {
267
+ type: string;
268
+ items: {
269
+ type: string;
270
+ };
271
+ uniqueItems: boolean;
272
+ default: never[];
273
+ };
274
+ };
275
+ };
276
+ export default _default;