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