+2
-2
packages/bluesky/richtext-builder/tsconfig.json
+2
-2
packages/bluesky/richtext-builder/tsconfig.json
+1
-6
packages/clients/client/CHANGELOG.md
+1
-6
packages/clients/client/CHANGELOG.md
···
112
112
get them.
113
113
114
114
```ts
115
-
import type {
116
-
InferInput,
117
-
InferOutput,
118
-
InferXRPCBodyInput,
119
-
InferXRPCBodyOutput,
120
-
} from '@atcute/lexicons';
115
+
import type { InferInput, InferOutput, InferXRPCBodyInput, InferXRPCBodyOutput } from '@atcute/lexicons';
121
116
122
117
import type { AppBskyActorSearchActors } from '@atcute/bluesky';
123
118
+1
-6
packages/definitions/bluemoji/CHANGELOG.md
+1
-6
packages/definitions/bluemoji/CHANGELOG.md
···
174
174
get them.
175
175
176
176
```ts
177
-
import type {
178
-
InferInput,
179
-
InferOutput,
180
-
InferXRPCBodyInput,
181
-
InferXRPCBodyOutput,
182
-
} from '@atcute/lexicons';
177
+
import type { InferInput, InferOutput, InferXRPCBodyInput, InferXRPCBodyOutput } from '@atcute/lexicons';
183
178
184
179
import type { AppBskyActorSearchActors } from '@atcute/bluesky';
185
180
+1
-6
packages/definitions/bluesky/CHANGELOG.md
+1
-6
packages/definitions/bluesky/CHANGELOG.md
···
267
267
get them.
268
268
269
269
```ts
270
-
import type {
271
-
InferInput,
272
-
InferOutput,
273
-
InferXRPCBodyInput,
274
-
InferXRPCBodyOutput,
275
-
} from '@atcute/lexicons';
270
+
import type { InferInput, InferOutput, InferXRPCBodyInput, InferXRPCBodyOutput } from '@atcute/lexicons';
276
271
277
272
import type { AppBskyActorSearchActors } from '@atcute/bluesky';
278
273
+1
-6
packages/definitions/ozone/CHANGELOG.md
+1
-6
packages/definitions/ozone/CHANGELOG.md
···
243
243
get them.
244
244
245
245
```ts
246
-
import type {
247
-
InferInput,
248
-
InferOutput,
249
-
InferXRPCBodyInput,
250
-
InferXRPCBodyOutput,
251
-
} from '@atcute/lexicons';
246
+
import type { InferInput, InferOutput, InferXRPCBodyInput, InferXRPCBodyOutput } from '@atcute/lexicons';
252
247
253
248
import type { AppBskyActorSearchActors } from '@atcute/bluesky';
254
249
+1
-6
packages/definitions/whitewind/CHANGELOG.md
+1
-6
packages/definitions/whitewind/CHANGELOG.md
···
138
138
get them.
139
139
140
140
```ts
141
-
import type {
142
-
InferInput,
143
-
InferOutput,
144
-
InferXRPCBodyInput,
145
-
InferXRPCBodyOutput,
146
-
} from '@atcute/lexicons';
141
+
import type { InferInput, InferOutput, InferXRPCBodyInput, InferXRPCBodyOutput } from '@atcute/lexicons';
147
142
148
143
import type { AppBskyActorSearchActors } from '@atcute/bluesky';
149
144
+2
-2
packages/identity/identity-resolver-node/tsconfig.json
+2
-2
packages/identity/identity-resolver-node/tsconfig.json
+31
-37
packages/lexicons/lex-cli/schema/lexicon-package.schema.json
+31
-37
packages/lexicons/lex-cli/schema/lexicon-package.schema.json
···
1
1
{
2
-
"$schema": "http://json-schema.org/draft-07/schema#",
3
-
"$id": "https://unpkg.com/@atcute/lex-cli/schema/lexicon-package.schema.json",
4
-
"title": "package.json with atcute:lexicons",
5
-
"description": "JSON Schema for package.json with atcute:lexicons field for lexicon import mappings",
6
-
"additionalProperties": true,
7
-
"type": "object",
8
-
"properties": {
9
-
"atcute:lexicons": {
10
-
"type": "object",
11
-
"properties": {
12
-
"mappings": {
13
-
"type": "object",
14
-
"additionalProperties": {
15
-
"type": "object",
16
-
"properties": {
17
-
"type": {
18
-
"enum": [
19
-
"namespace",
20
-
"named"
21
-
]
22
-
},
23
-
"path": {
24
-
"pattern": "^\\.$|^\\.\\/",
25
-
"type": "string"
26
-
}
27
-
},
28
-
"additionalProperties": false,
29
-
"required": [
30
-
"type",
31
-
"path"
32
-
]
33
-
}
34
-
}
35
-
},
36
-
"additionalProperties": false
37
-
}
38
-
}
2
+
"$schema": "http://json-schema.org/draft-07/schema#",
3
+
"$id": "https://unpkg.com/@atcute/lex-cli/schema/lexicon-package.schema.json",
4
+
"title": "package.json with atcute:lexicons",
5
+
"description": "JSON Schema for package.json with atcute:lexicons field for lexicon import mappings",
6
+
"additionalProperties": true,
7
+
"type": "object",
8
+
"properties": {
9
+
"atcute:lexicons": {
10
+
"type": "object",
11
+
"properties": {
12
+
"mappings": {
13
+
"type": "object",
14
+
"additionalProperties": {
15
+
"type": "object",
16
+
"properties": {
17
+
"type": {
18
+
"enum": ["namespace", "named"]
19
+
},
20
+
"path": {
21
+
"pattern": "^\\.$|^\\.\\/",
22
+
"type": "string"
23
+
}
24
+
},
25
+
"additionalProperties": false,
26
+
"required": ["type", "path"]
27
+
}
28
+
}
29
+
},
30
+
"additionalProperties": false
31
+
}
32
+
}
39
33
}
+3
-5
packages/lexicons/lex-cli/src/lexicon-metadata.ts
+3
-5
packages/lexicons/lex-cli/src/lexicon-metadata.ts
···
39
39
*/
40
40
const lexiconMappingEntry: v.Type<LexiconMappingEntry> = v.object({
41
41
type: v.union(v.literal('namespace'), v.literal('named')),
42
-
path: v
43
-
.string()
44
-
.assert((input): input is LexiconMappingPath => input === '.' || input.startsWith('./'), {
45
-
message: `path must be "." or start with "./"`,
46
-
}),
42
+
path: v.string().assert((input): input is LexiconMappingPath => input === '.' || input.startsWith('./'), {
43
+
message: `path must be "." or start with "./"`,
44
+
}),
47
45
});
48
46
49
47
/**
+908
-973
packages/lexicons/lexicon-doc/schema/lexicon-doc.schema.json
+908
-973
packages/lexicons/lexicon-doc/schema/lexicon-doc.schema.json
···
1
1
{
2
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3
-
"$id": "https://unpkg.com/@atcute/lexicon-doc/schema/lexicon-doc.schema.json",
4
-
"title": "",
5
-
"description": "",
6
-
"type": "object",
7
-
"properties": {
8
-
"lexicon": {
9
-
"const": 1
10
-
},
11
-
"id": {
12
-
"pattern": "^[a-zA-Z](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?:\\.[a-zA-Z](?:[a-zA-Z0-9]{0,62})?)$",
13
-
"type": "string"
14
-
},
15
-
"revision": {
16
-
"minimum": 0,
17
-
"type": "integer"
18
-
},
19
-
"description": {
20
-
"type": "string"
21
-
},
22
-
"defs": {
23
-
"propertyNames": {
24
-
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
25
-
"type": "string"
26
-
},
27
-
"additionalProperties": {
28
-
"anyOf": [
29
-
{
30
-
"$ref": "#/$defs/LexObject"
31
-
},
32
-
{
33
-
"$ref": "#/$defs/LexArray"
34
-
},
35
-
{
36
-
"$ref": "#/$defs/LexToken"
37
-
},
38
-
{
39
-
"$ref": "#/$defs/LexIpldType"
40
-
},
41
-
{
42
-
"$ref": "#/$defs/LexBlob"
43
-
},
44
-
{
45
-
"$ref": "#/$defs/LexPrimitive"
46
-
}
47
-
]
48
-
},
49
-
"type": "object",
50
-
"properties": {
51
-
"main": {
52
-
"anyOf": [
53
-
{
54
-
"$ref": "#/$defs/LexRecord"
55
-
},
56
-
{
57
-
"$ref": "#/$defs/LexXrpcQuery"
58
-
},
59
-
{
60
-
"$ref": "#/$defs/LexXrpcProcedure"
61
-
},
62
-
{
63
-
"$ref": "#/$defs/LexXrpcSubscription"
64
-
},
65
-
{
66
-
"$ref": "#/$defs/LexObject"
67
-
},
68
-
{
69
-
"$ref": "#/$defs/LexArray"
70
-
},
71
-
{
72
-
"$ref": "#/$defs/LexToken"
73
-
},
74
-
{
75
-
"$ref": "#/$defs/LexIpldType"
76
-
},
77
-
{
78
-
"$ref": "#/$defs/LexBlob"
79
-
},
80
-
{
81
-
"$ref": "#/$defs/LexPrimitive"
82
-
}
83
-
]
84
-
}
85
-
}
86
-
}
87
-
},
88
-
"additionalProperties": false,
89
-
"required": [
90
-
"lexicon",
91
-
"id",
92
-
"defs"
93
-
],
94
-
"$defs": {
95
-
"LexArray": {
96
-
"type": "object",
97
-
"properties": {
98
-
"type": {
99
-
"const": "array"
100
-
},
101
-
"description": {
102
-
"type": "string"
103
-
},
104
-
"items": {
105
-
"anyOf": [
106
-
{
107
-
"$ref": "#/$defs/LexPrimitive"
108
-
},
109
-
{
110
-
"$ref": "#/$defs/LexIpldType"
111
-
},
112
-
{
113
-
"$ref": "#/$defs/LexRefVariant"
114
-
},
115
-
{
116
-
"$ref": "#/$defs/LexBlob"
117
-
}
118
-
]
119
-
},
120
-
"minLength": {
121
-
"minimum": 0,
122
-
"type": "integer"
123
-
},
124
-
"maxLength": {
125
-
"minimum": 0,
126
-
"type": "integer"
127
-
}
128
-
},
129
-
"additionalProperties": false,
130
-
"required": [
131
-
"type",
132
-
"items"
133
-
]
134
-
},
135
-
"LexBlob": {
136
-
"type": "object",
137
-
"properties": {
138
-
"type": {
139
-
"const": "blob"
140
-
},
141
-
"description": {
142
-
"type": "string"
143
-
},
144
-
"accept": {
145
-
"type": "array",
146
-
"items": {
147
-
"type": "string"
148
-
}
149
-
},
150
-
"maxSize": {
151
-
"minimum": 0,
152
-
"type": "integer"
153
-
}
154
-
},
155
-
"additionalProperties": false,
156
-
"required": [
157
-
"type"
158
-
]
159
-
},
160
-
"LexBoolean": {
161
-
"type": "object",
162
-
"properties": {
163
-
"type": {
164
-
"const": "boolean"
165
-
},
166
-
"description": {
167
-
"type": "string"
168
-
},
169
-
"default": {
170
-
"type": "boolean"
171
-
},
172
-
"const": {
173
-
"type": "boolean"
174
-
}
175
-
},
176
-
"additionalProperties": false,
177
-
"required": [
178
-
"type"
179
-
]
180
-
},
181
-
"LexBytes": {
182
-
"type": "object",
183
-
"properties": {
184
-
"type": {
185
-
"const": "bytes"
186
-
},
187
-
"description": {
188
-
"type": "string"
189
-
},
190
-
"minLength": {
191
-
"minimum": 0,
192
-
"type": "integer"
193
-
},
194
-
"maxLength": {
195
-
"minimum": 0,
196
-
"type": "integer"
197
-
}
198
-
},
199
-
"additionalProperties": false,
200
-
"required": [
201
-
"type"
202
-
]
203
-
},
204
-
"LexCidLink": {
205
-
"type": "object",
206
-
"properties": {
207
-
"type": {
208
-
"const": "cid-link"
209
-
},
210
-
"description": {
211
-
"type": "string"
212
-
}
213
-
},
214
-
"additionalProperties": false,
215
-
"required": [
216
-
"type"
217
-
]
218
-
},
219
-
"LexInteger": {
220
-
"type": "object",
221
-
"properties": {
222
-
"type": {
223
-
"const": "integer"
224
-
},
225
-
"description": {
226
-
"type": "string"
227
-
},
228
-
"default": {
229
-
"minimum": 0,
230
-
"type": "integer"
231
-
},
232
-
"minimum": {
233
-
"minimum": 0,
234
-
"type": "integer"
235
-
},
236
-
"maximum": {
237
-
"minimum": 0,
238
-
"type": "integer"
239
-
},
240
-
"enum": {
241
-
"type": "array",
242
-
"items": {
243
-
"minimum": 0,
244
-
"type": "integer"
245
-
}
246
-
},
247
-
"const": {
248
-
"minimum": 0,
249
-
"type": "integer"
250
-
}
251
-
},
252
-
"additionalProperties": false,
253
-
"required": [
254
-
"type"
255
-
]
256
-
},
257
-
"LexIpldType": {
258
-
"anyOf": [
259
-
{
260
-
"$ref": "#/$defs/LexBytes"
261
-
},
262
-
{
263
-
"$ref": "#/$defs/LexCidLink"
264
-
}
265
-
]
266
-
},
267
-
"LexObject": {
268
-
"type": "object",
269
-
"properties": {
270
-
"type": {
271
-
"const": "object"
272
-
},
273
-
"description": {
274
-
"type": "string"
275
-
},
276
-
"required": {
277
-
"type": "array",
278
-
"items": {
279
-
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
280
-
"type": "string"
281
-
}
282
-
},
283
-
"nullable": {
284
-
"type": "array",
285
-
"items": {
286
-
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
287
-
"type": "string"
288
-
}
289
-
},
290
-
"properties": {
291
-
"propertyNames": {
292
-
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
293
-
"type": "string"
294
-
},
295
-
"type": "object",
296
-
"additionalProperties": {
297
-
"anyOf": [
298
-
{
299
-
"$ref": "#/$defs/LexArray"
300
-
},
301
-
{
302
-
"$ref": "#/$defs/LexPrimitive"
303
-
},
304
-
{
305
-
"$ref": "#/$defs/LexIpldType"
306
-
},
307
-
{
308
-
"$ref": "#/$defs/LexRefVariant"
309
-
},
310
-
{
311
-
"$ref": "#/$defs/LexBlob"
312
-
}
313
-
]
314
-
}
315
-
}
316
-
},
317
-
"additionalProperties": false,
318
-
"required": [
319
-
"type"
320
-
]
321
-
},
322
-
"LexPrimitive": {
323
-
"anyOf": [
324
-
{
325
-
"$ref": "#/$defs/LexBoolean"
326
-
},
327
-
{
328
-
"$ref": "#/$defs/LexInteger"
329
-
},
330
-
{
331
-
"$ref": "#/$defs/LexString"
332
-
},
333
-
{
334
-
"$ref": "#/$defs/LexUnknown"
335
-
}
336
-
]
337
-
},
338
-
"LexPrimitiveArray": {
339
-
"type": "object",
340
-
"properties": {
341
-
"type": {
342
-
"const": "array"
343
-
},
344
-
"description": {
345
-
"type": "string"
346
-
},
347
-
"items": {
348
-
"$ref": "#/$defs/LexPrimitive"
349
-
},
350
-
"minLength": {
351
-
"minimum": 0,
352
-
"type": "integer"
353
-
},
354
-
"maxLength": {
355
-
"minimum": 0,
356
-
"type": "integer"
357
-
}
358
-
},
359
-
"additionalProperties": false,
360
-
"required": [
361
-
"type",
362
-
"items"
363
-
]
364
-
},
365
-
"LexRecord": {
366
-
"type": "object",
367
-
"properties": {
368
-
"type": {
369
-
"const": "record"
370
-
},
371
-
"description": {
372
-
"type": "string"
373
-
},
374
-
"key": {
375
-
"anyOf": [
376
-
{
377
-
"enum": [
378
-
"tid",
379
-
"nsid",
380
-
"any"
381
-
]
382
-
},
383
-
{
384
-
"pattern": "^literal:.+$",
385
-
"type": "string"
386
-
}
387
-
]
388
-
},
389
-
"record": {
390
-
"$ref": "#/$defs/LexObject"
391
-
}
392
-
},
393
-
"additionalProperties": false,
394
-
"required": [
395
-
"type",
396
-
"record"
397
-
]
398
-
},
399
-
"LexRef": {
400
-
"type": "object",
401
-
"properties": {
402
-
"type": {
403
-
"const": "ref"
404
-
},
405
-
"description": {
406
-
"type": "string"
407
-
},
408
-
"ref": {
409
-
"pattern": "^(?=.)(?:[a-zA-Z](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+\\.[a-zA-Z][a-zA-Z0-9]{0,62}?)?(?:#[a-zA-Z][a-zA-Z0-9_]{0,62}?)?$",
410
-
"type": "string"
411
-
}
412
-
},
413
-
"additionalProperties": false,
414
-
"required": [
415
-
"type",
416
-
"ref"
417
-
]
418
-
},
419
-
"LexRefUnion": {
420
-
"type": "object",
421
-
"properties": {
422
-
"type": {
423
-
"const": "union"
424
-
},
425
-
"description": {
426
-
"type": "string"
427
-
},
428
-
"refs": {
429
-
"type": "array",
430
-
"items": {
431
-
"pattern": "^(?=.)(?:[a-zA-Z](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+\\.[a-zA-Z][a-zA-Z0-9]{0,62}?)?(?:#[a-zA-Z][a-zA-Z0-9_]{0,62}?)?$",
432
-
"type": "string"
433
-
}
434
-
},
435
-
"closed": {
436
-
"type": "boolean"
437
-
}
438
-
},
439
-
"additionalProperties": false,
440
-
"required": [
441
-
"type",
442
-
"refs"
443
-
]
444
-
},
445
-
"LexRefVariant": {
446
-
"anyOf": [
447
-
{
448
-
"$ref": "#/$defs/LexRef"
449
-
},
450
-
{
451
-
"$ref": "#/$defs/LexRefUnion"
452
-
}
453
-
]
454
-
},
455
-
"LexString": {
456
-
"type": "object",
457
-
"properties": {
458
-
"type": {
459
-
"const": "string"
460
-
},
461
-
"format": {
462
-
"enum": [
463
-
"datetime",
464
-
"uri",
465
-
"at-uri",
466
-
"did",
467
-
"handle",
468
-
"at-identifier",
469
-
"nsid",
470
-
"cid",
471
-
"language",
472
-
"tid",
473
-
"record-key"
474
-
]
475
-
},
476
-
"description": {
477
-
"type": "string"
478
-
},
479
-
"default": {
480
-
"type": "string"
481
-
},
482
-
"minLength": {
483
-
"minimum": 0,
484
-
"type": "integer"
485
-
},
486
-
"maxLength": {
487
-
"minimum": 0,
488
-
"type": "integer"
489
-
},
490
-
"minGraphemes": {
491
-
"minimum": 0,
492
-
"type": "integer"
493
-
},
494
-
"maxGraphemes": {
495
-
"minimum": 0,
496
-
"type": "integer"
497
-
},
498
-
"enum": {
499
-
"type": "array",
500
-
"items": {
501
-
"type": "string"
502
-
}
503
-
},
504
-
"const": {
505
-
"type": "string"
506
-
},
507
-
"knownValues": {
508
-
"type": "array",
509
-
"items": {
510
-
"type": "string"
511
-
}
512
-
}
513
-
},
514
-
"additionalProperties": false,
515
-
"required": [
516
-
"type"
517
-
]
518
-
},
519
-
"LexStringFormat": {
520
-
"enum": [
521
-
"datetime",
522
-
"uri",
523
-
"at-uri",
524
-
"did",
525
-
"handle",
526
-
"at-identifier",
527
-
"nsid",
528
-
"cid",
529
-
"language",
530
-
"tid",
531
-
"record-key"
532
-
]
533
-
},
534
-
"LexToken": {
535
-
"type": "object",
536
-
"properties": {
537
-
"type": {
538
-
"const": "token"
539
-
},
540
-
"description": {
541
-
"type": "string"
542
-
}
543
-
},
544
-
"additionalProperties": false,
545
-
"required": [
546
-
"type"
547
-
]
548
-
},
549
-
"LexUnknown": {
550
-
"type": "object",
551
-
"properties": {
552
-
"type": {
553
-
"const": "unknown"
554
-
},
555
-
"description": {
556
-
"type": "string"
557
-
}
558
-
},
559
-
"additionalProperties": false,
560
-
"required": [
561
-
"type"
562
-
]
563
-
},
564
-
"LexUserType": {
565
-
"anyOf": [
566
-
{
567
-
"$ref": "#/$defs/LexRecord"
568
-
},
569
-
{
570
-
"$ref": "#/$defs/LexXrpcQuery"
571
-
},
572
-
{
573
-
"$ref": "#/$defs/LexXrpcProcedure"
574
-
},
575
-
{
576
-
"$ref": "#/$defs/LexXrpcSubscription"
577
-
},
578
-
{
579
-
"$ref": "#/$defs/LexObject"
580
-
},
581
-
{
582
-
"$ref": "#/$defs/LexArray"
583
-
},
584
-
{
585
-
"$ref": "#/$defs/LexToken"
586
-
},
587
-
{
588
-
"$ref": "#/$defs/LexIpldType"
589
-
},
590
-
{
591
-
"$ref": "#/$defs/LexBlob"
592
-
},
593
-
{
594
-
"$ref": "#/$defs/LexPrimitive"
595
-
}
596
-
]
597
-
},
598
-
"LexXrpcBody": {
599
-
"type": "object",
600
-
"properties": {
601
-
"description": {
602
-
"type": "string"
603
-
},
604
-
"encoding": {
605
-
"pattern": "^\\s*(?:\\*\\/\\*|[a-z]+\\/[a-zA-Z][a-zA-Z0-9-+.]*)(?:\\s*,\\s*(?:\\*\\/\\*|[a-z]+\\/[a-zA-Z][a-zA-Z0-9-+.]*))*\\s*$",
606
-
"type": "string"
607
-
},
608
-
"schema": {
609
-
"anyOf": [
610
-
{
611
-
"$ref": "#/$defs/LexRefVariant"
612
-
},
613
-
{
614
-
"$ref": "#/$defs/LexObject"
615
-
}
616
-
]
617
-
}
618
-
},
619
-
"additionalProperties": false,
620
-
"required": [
621
-
"encoding"
622
-
]
623
-
},
624
-
"LexXrpcError": {
625
-
"type": "object",
626
-
"properties": {
627
-
"name": {
628
-
"type": "string"
629
-
},
630
-
"description": {
631
-
"type": "string"
632
-
}
633
-
},
634
-
"additionalProperties": false,
635
-
"required": [
636
-
"name"
637
-
]
638
-
},
639
-
"LexXrpcParameters": {
640
-
"type": "object",
641
-
"properties": {
642
-
"type": {
643
-
"const": "params"
644
-
},
645
-
"description": {
646
-
"type": "string"
647
-
},
648
-
"required": {
649
-
"type": "array",
650
-
"items": {
651
-
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
652
-
"type": "string"
653
-
}
654
-
},
655
-
"properties": {
656
-
"propertyNames": {
657
-
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
658
-
"type": "string"
659
-
},
660
-
"type": "object",
661
-
"additionalProperties": {
662
-
"anyOf": [
663
-
{
664
-
"$ref": "#/$defs/LexPrimitive"
665
-
},
666
-
{
667
-
"$ref": "#/$defs/LexPrimitiveArray"
668
-
}
669
-
]
670
-
}
671
-
}
672
-
},
673
-
"additionalProperties": false,
674
-
"required": [
675
-
"type"
676
-
]
677
-
},
678
-
"LexXrpcProcedure": {
679
-
"type": "object",
680
-
"properties": {
681
-
"type": {
682
-
"const": "procedure"
683
-
},
684
-
"description": {
685
-
"type": "string"
686
-
},
687
-
"parameters": {
688
-
"type": "object",
689
-
"properties": {
690
-
"type": {
691
-
"const": "params"
692
-
},
693
-
"description": {
694
-
"type": "string"
695
-
},
696
-
"required": {
697
-
"type": "array",
698
-
"items": {
699
-
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
700
-
"type": "string"
701
-
}
702
-
},
703
-
"properties": {
704
-
"propertyNames": {
705
-
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
706
-
"type": "string"
707
-
},
708
-
"type": "object",
709
-
"additionalProperties": {
710
-
"anyOf": [
711
-
{
712
-
"$ref": "#/$defs/LexPrimitive"
713
-
},
714
-
{
715
-
"$ref": "#/$defs/LexPrimitiveArray"
716
-
}
717
-
]
718
-
}
719
-
}
720
-
},
721
-
"additionalProperties": false,
722
-
"required": [
723
-
"type"
724
-
]
725
-
},
726
-
"input": {
727
-
"type": "object",
728
-
"properties": {
729
-
"description": {
730
-
"type": "string"
731
-
},
732
-
"encoding": {
733
-
"pattern": "^\\s*(?:\\*\\/\\*|[a-z]+\\/[a-zA-Z][a-zA-Z0-9-+.]*)(?:\\s*,\\s*(?:\\*\\/\\*|[a-z]+\\/[a-zA-Z][a-zA-Z0-9-+.]*))*\\s*$",
734
-
"type": "string"
735
-
},
736
-
"schema": {
737
-
"anyOf": [
738
-
{
739
-
"$ref": "#/$defs/LexRefVariant"
740
-
},
741
-
{
742
-
"$ref": "#/$defs/LexObject"
743
-
}
744
-
]
745
-
}
746
-
},
747
-
"additionalProperties": false,
748
-
"required": [
749
-
"encoding"
750
-
]
751
-
},
752
-
"output": {
753
-
"type": "object",
754
-
"properties": {
755
-
"description": {
756
-
"type": "string"
757
-
},
758
-
"encoding": {
759
-
"pattern": "^\\s*(?:\\*\\/\\*|[a-z]+\\/[a-zA-Z][a-zA-Z0-9-+.]*)(?:\\s*,\\s*(?:\\*\\/\\*|[a-z]+\\/[a-zA-Z][a-zA-Z0-9-+.]*))*\\s*$",
760
-
"type": "string"
761
-
},
762
-
"schema": {
763
-
"anyOf": [
764
-
{
765
-
"$ref": "#/$defs/LexRefVariant"
766
-
},
767
-
{
768
-
"$ref": "#/$defs/LexObject"
769
-
}
770
-
]
771
-
}
772
-
},
773
-
"additionalProperties": false,
774
-
"required": [
775
-
"encoding"
776
-
]
777
-
},
778
-
"errors": {
779
-
"type": "array",
780
-
"items": {
781
-
"$ref": "#/$defs/LexXrpcError"
782
-
}
783
-
}
784
-
},
785
-
"additionalProperties": false,
786
-
"required": [
787
-
"type"
788
-
]
789
-
},
790
-
"LexXrpcQuery": {
791
-
"type": "object",
792
-
"properties": {
793
-
"type": {
794
-
"const": "query"
795
-
},
796
-
"description": {
797
-
"type": "string"
798
-
},
799
-
"parameters": {
800
-
"type": "object",
801
-
"properties": {
802
-
"type": {
803
-
"const": "params"
804
-
},
805
-
"description": {
806
-
"type": "string"
807
-
},
808
-
"required": {
809
-
"type": "array",
810
-
"items": {
811
-
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
812
-
"type": "string"
813
-
}
814
-
},
815
-
"properties": {
816
-
"propertyNames": {
817
-
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
818
-
"type": "string"
819
-
},
820
-
"type": "object",
821
-
"additionalProperties": {
822
-
"anyOf": [
823
-
{
824
-
"$ref": "#/$defs/LexPrimitive"
825
-
},
826
-
{
827
-
"$ref": "#/$defs/LexPrimitiveArray"
828
-
}
829
-
]
830
-
}
831
-
}
832
-
},
833
-
"additionalProperties": false,
834
-
"required": [
835
-
"type"
836
-
]
837
-
},
838
-
"output": {
839
-
"type": "object",
840
-
"properties": {
841
-
"description": {
842
-
"type": "string"
843
-
},
844
-
"encoding": {
845
-
"pattern": "^\\s*(?:\\*\\/\\*|[a-z]+\\/[a-zA-Z][a-zA-Z0-9-+.]*)(?:\\s*,\\s*(?:\\*\\/\\*|[a-z]+\\/[a-zA-Z][a-zA-Z0-9-+.]*))*\\s*$",
846
-
"type": "string"
847
-
},
848
-
"schema": {
849
-
"anyOf": [
850
-
{
851
-
"$ref": "#/$defs/LexRefVariant"
852
-
},
853
-
{
854
-
"$ref": "#/$defs/LexObject"
855
-
}
856
-
]
857
-
}
858
-
},
859
-
"additionalProperties": false,
860
-
"required": [
861
-
"encoding"
862
-
]
863
-
},
864
-
"errors": {
865
-
"type": "array",
866
-
"items": {
867
-
"$ref": "#/$defs/LexXrpcError"
868
-
}
869
-
}
870
-
},
871
-
"additionalProperties": false,
872
-
"required": [
873
-
"type"
874
-
]
875
-
},
876
-
"LexXrpcSubscription": {
877
-
"type": "object",
878
-
"properties": {
879
-
"type": {
880
-
"const": "subscription"
881
-
},
882
-
"description": {
883
-
"type": "string"
884
-
},
885
-
"parameters": {
886
-
"type": "object",
887
-
"properties": {
888
-
"type": {
889
-
"const": "params"
890
-
},
891
-
"description": {
892
-
"type": "string"
893
-
},
894
-
"required": {
895
-
"type": "array",
896
-
"items": {
897
-
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
898
-
"type": "string"
899
-
}
900
-
},
901
-
"properties": {
902
-
"propertyNames": {
903
-
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
904
-
"type": "string"
905
-
},
906
-
"type": "object",
907
-
"additionalProperties": {
908
-
"anyOf": [
909
-
{
910
-
"$ref": "#/$defs/LexPrimitive"
911
-
},
912
-
{
913
-
"$ref": "#/$defs/LexPrimitiveArray"
914
-
}
915
-
]
916
-
}
917
-
}
918
-
},
919
-
"additionalProperties": false,
920
-
"required": [
921
-
"type"
922
-
]
923
-
},
924
-
"message": {
925
-
"type": "object",
926
-
"properties": {
927
-
"description": {
928
-
"type": "string"
929
-
},
930
-
"schema": {
931
-
"anyOf": [
932
-
{
933
-
"$ref": "#/$defs/LexRefVariant"
934
-
},
935
-
{
936
-
"$ref": "#/$defs/LexObject"
937
-
}
938
-
]
939
-
}
940
-
},
941
-
"additionalProperties": false
942
-
},
943
-
"errors": {
944
-
"type": "array",
945
-
"items": {
946
-
"$ref": "#/$defs/LexXrpcError"
947
-
}
948
-
}
949
-
},
950
-
"additionalProperties": false,
951
-
"required": [
952
-
"type"
953
-
]
954
-
},
955
-
"LexXrpcSubscriptionMessage": {
956
-
"type": "object",
957
-
"properties": {
958
-
"description": {
959
-
"type": "string"
960
-
},
961
-
"schema": {
962
-
"anyOf": [
963
-
{
964
-
"$ref": "#/$defs/LexRefVariant"
965
-
},
966
-
{
967
-
"$ref": "#/$defs/LexObject"
968
-
}
969
-
]
970
-
}
971
-
},
972
-
"additionalProperties": false
973
-
}
974
-
}
2
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3
+
"$id": "https://unpkg.com/@atcute/lexicon-doc/schema/lexicon-doc.schema.json",
4
+
"title": "",
5
+
"description": "",
6
+
"type": "object",
7
+
"properties": {
8
+
"lexicon": {
9
+
"const": 1
10
+
},
11
+
"id": {
12
+
"pattern": "^[a-zA-Z](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?:\\.[a-zA-Z](?:[a-zA-Z0-9]{0,62})?)$",
13
+
"type": "string"
14
+
},
15
+
"revision": {
16
+
"minimum": 0,
17
+
"type": "integer"
18
+
},
19
+
"description": {
20
+
"type": "string"
21
+
},
22
+
"defs": {
23
+
"propertyNames": {
24
+
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
25
+
"type": "string"
26
+
},
27
+
"additionalProperties": {
28
+
"anyOf": [
29
+
{
30
+
"$ref": "#/$defs/LexObject"
31
+
},
32
+
{
33
+
"$ref": "#/$defs/LexArray"
34
+
},
35
+
{
36
+
"$ref": "#/$defs/LexToken"
37
+
},
38
+
{
39
+
"$ref": "#/$defs/LexIpldType"
40
+
},
41
+
{
42
+
"$ref": "#/$defs/LexBlob"
43
+
},
44
+
{
45
+
"$ref": "#/$defs/LexPrimitive"
46
+
}
47
+
]
48
+
},
49
+
"type": "object",
50
+
"properties": {
51
+
"main": {
52
+
"anyOf": [
53
+
{
54
+
"$ref": "#/$defs/LexRecord"
55
+
},
56
+
{
57
+
"$ref": "#/$defs/LexXrpcQuery"
58
+
},
59
+
{
60
+
"$ref": "#/$defs/LexXrpcProcedure"
61
+
},
62
+
{
63
+
"$ref": "#/$defs/LexXrpcSubscription"
64
+
},
65
+
{
66
+
"$ref": "#/$defs/LexObject"
67
+
},
68
+
{
69
+
"$ref": "#/$defs/LexArray"
70
+
},
71
+
{
72
+
"$ref": "#/$defs/LexToken"
73
+
},
74
+
{
75
+
"$ref": "#/$defs/LexIpldType"
76
+
},
77
+
{
78
+
"$ref": "#/$defs/LexBlob"
79
+
},
80
+
{
81
+
"$ref": "#/$defs/LexPrimitive"
82
+
}
83
+
]
84
+
}
85
+
}
86
+
}
87
+
},
88
+
"additionalProperties": false,
89
+
"required": ["lexicon", "id", "defs"],
90
+
"$defs": {
91
+
"LexArray": {
92
+
"type": "object",
93
+
"properties": {
94
+
"type": {
95
+
"const": "array"
96
+
},
97
+
"description": {
98
+
"type": "string"
99
+
},
100
+
"items": {
101
+
"anyOf": [
102
+
{
103
+
"$ref": "#/$defs/LexPrimitive"
104
+
},
105
+
{
106
+
"$ref": "#/$defs/LexIpldType"
107
+
},
108
+
{
109
+
"$ref": "#/$defs/LexRefVariant"
110
+
},
111
+
{
112
+
"$ref": "#/$defs/LexBlob"
113
+
}
114
+
]
115
+
},
116
+
"minLength": {
117
+
"minimum": 0,
118
+
"type": "integer"
119
+
},
120
+
"maxLength": {
121
+
"minimum": 0,
122
+
"type": "integer"
123
+
}
124
+
},
125
+
"additionalProperties": false,
126
+
"required": ["type", "items"]
127
+
},
128
+
"LexBlob": {
129
+
"type": "object",
130
+
"properties": {
131
+
"type": {
132
+
"const": "blob"
133
+
},
134
+
"description": {
135
+
"type": "string"
136
+
},
137
+
"accept": {
138
+
"type": "array",
139
+
"items": {
140
+
"type": "string"
141
+
}
142
+
},
143
+
"maxSize": {
144
+
"minimum": 0,
145
+
"type": "integer"
146
+
}
147
+
},
148
+
"additionalProperties": false,
149
+
"required": ["type"]
150
+
},
151
+
"LexBoolean": {
152
+
"type": "object",
153
+
"properties": {
154
+
"type": {
155
+
"const": "boolean"
156
+
},
157
+
"description": {
158
+
"type": "string"
159
+
},
160
+
"default": {
161
+
"type": "boolean"
162
+
},
163
+
"const": {
164
+
"type": "boolean"
165
+
}
166
+
},
167
+
"additionalProperties": false,
168
+
"required": ["type"]
169
+
},
170
+
"LexBytes": {
171
+
"type": "object",
172
+
"properties": {
173
+
"type": {
174
+
"const": "bytes"
175
+
},
176
+
"description": {
177
+
"type": "string"
178
+
},
179
+
"minLength": {
180
+
"minimum": 0,
181
+
"type": "integer"
182
+
},
183
+
"maxLength": {
184
+
"minimum": 0,
185
+
"type": "integer"
186
+
}
187
+
},
188
+
"additionalProperties": false,
189
+
"required": ["type"]
190
+
},
191
+
"LexCidLink": {
192
+
"type": "object",
193
+
"properties": {
194
+
"type": {
195
+
"const": "cid-link"
196
+
},
197
+
"description": {
198
+
"type": "string"
199
+
}
200
+
},
201
+
"additionalProperties": false,
202
+
"required": ["type"]
203
+
},
204
+
"LexInteger": {
205
+
"type": "object",
206
+
"properties": {
207
+
"type": {
208
+
"const": "integer"
209
+
},
210
+
"description": {
211
+
"type": "string"
212
+
},
213
+
"default": {
214
+
"minimum": 0,
215
+
"type": "integer"
216
+
},
217
+
"minimum": {
218
+
"minimum": 0,
219
+
"type": "integer"
220
+
},
221
+
"maximum": {
222
+
"minimum": 0,
223
+
"type": "integer"
224
+
},
225
+
"enum": {
226
+
"type": "array",
227
+
"items": {
228
+
"minimum": 0,
229
+
"type": "integer"
230
+
}
231
+
},
232
+
"const": {
233
+
"minimum": 0,
234
+
"type": "integer"
235
+
}
236
+
},
237
+
"additionalProperties": false,
238
+
"required": ["type"]
239
+
},
240
+
"LexIpldType": {
241
+
"anyOf": [
242
+
{
243
+
"$ref": "#/$defs/LexBytes"
244
+
},
245
+
{
246
+
"$ref": "#/$defs/LexCidLink"
247
+
}
248
+
]
249
+
},
250
+
"LexObject": {
251
+
"type": "object",
252
+
"properties": {
253
+
"type": {
254
+
"const": "object"
255
+
},
256
+
"description": {
257
+
"type": "string"
258
+
},
259
+
"required": {
260
+
"type": "array",
261
+
"items": {
262
+
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
263
+
"type": "string"
264
+
}
265
+
},
266
+
"nullable": {
267
+
"type": "array",
268
+
"items": {
269
+
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
270
+
"type": "string"
271
+
}
272
+
},
273
+
"properties": {
274
+
"propertyNames": {
275
+
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
276
+
"type": "string"
277
+
},
278
+
"type": "object",
279
+
"additionalProperties": {
280
+
"anyOf": [
281
+
{
282
+
"$ref": "#/$defs/LexArray"
283
+
},
284
+
{
285
+
"$ref": "#/$defs/LexPrimitive"
286
+
},
287
+
{
288
+
"$ref": "#/$defs/LexIpldType"
289
+
},
290
+
{
291
+
"$ref": "#/$defs/LexRefVariant"
292
+
},
293
+
{
294
+
"$ref": "#/$defs/LexBlob"
295
+
}
296
+
]
297
+
}
298
+
}
299
+
},
300
+
"additionalProperties": false,
301
+
"required": ["type"]
302
+
},
303
+
"LexPrimitive": {
304
+
"anyOf": [
305
+
{
306
+
"$ref": "#/$defs/LexBoolean"
307
+
},
308
+
{
309
+
"$ref": "#/$defs/LexInteger"
310
+
},
311
+
{
312
+
"$ref": "#/$defs/LexString"
313
+
},
314
+
{
315
+
"$ref": "#/$defs/LexUnknown"
316
+
}
317
+
]
318
+
},
319
+
"LexPrimitiveArray": {
320
+
"type": "object",
321
+
"properties": {
322
+
"type": {
323
+
"const": "array"
324
+
},
325
+
"description": {
326
+
"type": "string"
327
+
},
328
+
"items": {
329
+
"$ref": "#/$defs/LexPrimitive"
330
+
},
331
+
"minLength": {
332
+
"minimum": 0,
333
+
"type": "integer"
334
+
},
335
+
"maxLength": {
336
+
"minimum": 0,
337
+
"type": "integer"
338
+
}
339
+
},
340
+
"additionalProperties": false,
341
+
"required": ["type", "items"]
342
+
},
343
+
"LexRecord": {
344
+
"type": "object",
345
+
"properties": {
346
+
"type": {
347
+
"const": "record"
348
+
},
349
+
"description": {
350
+
"type": "string"
351
+
},
352
+
"key": {
353
+
"anyOf": [
354
+
{
355
+
"enum": ["tid", "nsid", "any"]
356
+
},
357
+
{
358
+
"pattern": "^literal:.+$",
359
+
"type": "string"
360
+
}
361
+
]
362
+
},
363
+
"record": {
364
+
"$ref": "#/$defs/LexObject"
365
+
}
366
+
},
367
+
"additionalProperties": false,
368
+
"required": ["type", "record"]
369
+
},
370
+
"LexRef": {
371
+
"type": "object",
372
+
"properties": {
373
+
"type": {
374
+
"const": "ref"
375
+
},
376
+
"description": {
377
+
"type": "string"
378
+
},
379
+
"ref": {
380
+
"pattern": "^(?=.)(?:[a-zA-Z](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+\\.[a-zA-Z][a-zA-Z0-9]{0,62}?)?(?:#[a-zA-Z][a-zA-Z0-9_]{0,62}?)?$",
381
+
"type": "string"
382
+
}
383
+
},
384
+
"additionalProperties": false,
385
+
"required": ["type", "ref"]
386
+
},
387
+
"LexRefUnion": {
388
+
"type": "object",
389
+
"properties": {
390
+
"type": {
391
+
"const": "union"
392
+
},
393
+
"description": {
394
+
"type": "string"
395
+
},
396
+
"refs": {
397
+
"type": "array",
398
+
"items": {
399
+
"pattern": "^(?=.)(?:[a-zA-Z](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+\\.[a-zA-Z][a-zA-Z0-9]{0,62}?)?(?:#[a-zA-Z][a-zA-Z0-9_]{0,62}?)?$",
400
+
"type": "string"
401
+
}
402
+
},
403
+
"closed": {
404
+
"type": "boolean"
405
+
}
406
+
},
407
+
"additionalProperties": false,
408
+
"required": ["type", "refs"]
409
+
},
410
+
"LexRefVariant": {
411
+
"anyOf": [
412
+
{
413
+
"$ref": "#/$defs/LexRef"
414
+
},
415
+
{
416
+
"$ref": "#/$defs/LexRefUnion"
417
+
}
418
+
]
419
+
},
420
+
"LexString": {
421
+
"type": "object",
422
+
"properties": {
423
+
"type": {
424
+
"const": "string"
425
+
},
426
+
"format": {
427
+
"enum": [
428
+
"datetime",
429
+
"uri",
430
+
"at-uri",
431
+
"did",
432
+
"handle",
433
+
"at-identifier",
434
+
"nsid",
435
+
"cid",
436
+
"language",
437
+
"tid",
438
+
"record-key"
439
+
]
440
+
},
441
+
"description": {
442
+
"type": "string"
443
+
},
444
+
"default": {
445
+
"type": "string"
446
+
},
447
+
"minLength": {
448
+
"minimum": 0,
449
+
"type": "integer"
450
+
},
451
+
"maxLength": {
452
+
"minimum": 0,
453
+
"type": "integer"
454
+
},
455
+
"minGraphemes": {
456
+
"minimum": 0,
457
+
"type": "integer"
458
+
},
459
+
"maxGraphemes": {
460
+
"minimum": 0,
461
+
"type": "integer"
462
+
},
463
+
"enum": {
464
+
"type": "array",
465
+
"items": {
466
+
"type": "string"
467
+
}
468
+
},
469
+
"const": {
470
+
"type": "string"
471
+
},
472
+
"knownValues": {
473
+
"type": "array",
474
+
"items": {
475
+
"type": "string"
476
+
}
477
+
}
478
+
},
479
+
"additionalProperties": false,
480
+
"required": ["type"]
481
+
},
482
+
"LexStringFormat": {
483
+
"enum": [
484
+
"datetime",
485
+
"uri",
486
+
"at-uri",
487
+
"did",
488
+
"handle",
489
+
"at-identifier",
490
+
"nsid",
491
+
"cid",
492
+
"language",
493
+
"tid",
494
+
"record-key"
495
+
]
496
+
},
497
+
"LexToken": {
498
+
"type": "object",
499
+
"properties": {
500
+
"type": {
501
+
"const": "token"
502
+
},
503
+
"description": {
504
+
"type": "string"
505
+
}
506
+
},
507
+
"additionalProperties": false,
508
+
"required": ["type"]
509
+
},
510
+
"LexUnknown": {
511
+
"type": "object",
512
+
"properties": {
513
+
"type": {
514
+
"const": "unknown"
515
+
},
516
+
"description": {
517
+
"type": "string"
518
+
}
519
+
},
520
+
"additionalProperties": false,
521
+
"required": ["type"]
522
+
},
523
+
"LexUserType": {
524
+
"anyOf": [
525
+
{
526
+
"$ref": "#/$defs/LexRecord"
527
+
},
528
+
{
529
+
"$ref": "#/$defs/LexXrpcQuery"
530
+
},
531
+
{
532
+
"$ref": "#/$defs/LexXrpcProcedure"
533
+
},
534
+
{
535
+
"$ref": "#/$defs/LexXrpcSubscription"
536
+
},
537
+
{
538
+
"$ref": "#/$defs/LexObject"
539
+
},
540
+
{
541
+
"$ref": "#/$defs/LexArray"
542
+
},
543
+
{
544
+
"$ref": "#/$defs/LexToken"
545
+
},
546
+
{
547
+
"$ref": "#/$defs/LexIpldType"
548
+
},
549
+
{
550
+
"$ref": "#/$defs/LexBlob"
551
+
},
552
+
{
553
+
"$ref": "#/$defs/LexPrimitive"
554
+
}
555
+
]
556
+
},
557
+
"LexXrpcBody": {
558
+
"type": "object",
559
+
"properties": {
560
+
"description": {
561
+
"type": "string"
562
+
},
563
+
"encoding": {
564
+
"pattern": "^\\s*(?:\\*\\/\\*|[a-z]+\\/[a-zA-Z][a-zA-Z0-9-+.]*)(?:\\s*,\\s*(?:\\*\\/\\*|[a-z]+\\/[a-zA-Z][a-zA-Z0-9-+.]*))*\\s*$",
565
+
"type": "string"
566
+
},
567
+
"schema": {
568
+
"anyOf": [
569
+
{
570
+
"$ref": "#/$defs/LexRefVariant"
571
+
},
572
+
{
573
+
"$ref": "#/$defs/LexObject"
574
+
}
575
+
]
576
+
}
577
+
},
578
+
"additionalProperties": false,
579
+
"required": ["encoding"]
580
+
},
581
+
"LexXrpcError": {
582
+
"type": "object",
583
+
"properties": {
584
+
"name": {
585
+
"type": "string"
586
+
},
587
+
"description": {
588
+
"type": "string"
589
+
}
590
+
},
591
+
"additionalProperties": false,
592
+
"required": ["name"]
593
+
},
594
+
"LexXrpcParameters": {
595
+
"type": "object",
596
+
"properties": {
597
+
"type": {
598
+
"const": "params"
599
+
},
600
+
"description": {
601
+
"type": "string"
602
+
},
603
+
"required": {
604
+
"type": "array",
605
+
"items": {
606
+
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
607
+
"type": "string"
608
+
}
609
+
},
610
+
"properties": {
611
+
"propertyNames": {
612
+
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
613
+
"type": "string"
614
+
},
615
+
"type": "object",
616
+
"additionalProperties": {
617
+
"anyOf": [
618
+
{
619
+
"$ref": "#/$defs/LexPrimitive"
620
+
},
621
+
{
622
+
"$ref": "#/$defs/LexPrimitiveArray"
623
+
}
624
+
]
625
+
}
626
+
}
627
+
},
628
+
"additionalProperties": false,
629
+
"required": ["type"]
630
+
},
631
+
"LexXrpcProcedure": {
632
+
"type": "object",
633
+
"properties": {
634
+
"type": {
635
+
"const": "procedure"
636
+
},
637
+
"description": {
638
+
"type": "string"
639
+
},
640
+
"parameters": {
641
+
"type": "object",
642
+
"properties": {
643
+
"type": {
644
+
"const": "params"
645
+
},
646
+
"description": {
647
+
"type": "string"
648
+
},
649
+
"required": {
650
+
"type": "array",
651
+
"items": {
652
+
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
653
+
"type": "string"
654
+
}
655
+
},
656
+
"properties": {
657
+
"propertyNames": {
658
+
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
659
+
"type": "string"
660
+
},
661
+
"type": "object",
662
+
"additionalProperties": {
663
+
"anyOf": [
664
+
{
665
+
"$ref": "#/$defs/LexPrimitive"
666
+
},
667
+
{
668
+
"$ref": "#/$defs/LexPrimitiveArray"
669
+
}
670
+
]
671
+
}
672
+
}
673
+
},
674
+
"additionalProperties": false,
675
+
"required": ["type"]
676
+
},
677
+
"input": {
678
+
"type": "object",
679
+
"properties": {
680
+
"description": {
681
+
"type": "string"
682
+
},
683
+
"encoding": {
684
+
"pattern": "^\\s*(?:\\*\\/\\*|[a-z]+\\/[a-zA-Z][a-zA-Z0-9-+.]*)(?:\\s*,\\s*(?:\\*\\/\\*|[a-z]+\\/[a-zA-Z][a-zA-Z0-9-+.]*))*\\s*$",
685
+
"type": "string"
686
+
},
687
+
"schema": {
688
+
"anyOf": [
689
+
{
690
+
"$ref": "#/$defs/LexRefVariant"
691
+
},
692
+
{
693
+
"$ref": "#/$defs/LexObject"
694
+
}
695
+
]
696
+
}
697
+
},
698
+
"additionalProperties": false,
699
+
"required": ["encoding"]
700
+
},
701
+
"output": {
702
+
"type": "object",
703
+
"properties": {
704
+
"description": {
705
+
"type": "string"
706
+
},
707
+
"encoding": {
708
+
"pattern": "^\\s*(?:\\*\\/\\*|[a-z]+\\/[a-zA-Z][a-zA-Z0-9-+.]*)(?:\\s*,\\s*(?:\\*\\/\\*|[a-z]+\\/[a-zA-Z][a-zA-Z0-9-+.]*))*\\s*$",
709
+
"type": "string"
710
+
},
711
+
"schema": {
712
+
"anyOf": [
713
+
{
714
+
"$ref": "#/$defs/LexRefVariant"
715
+
},
716
+
{
717
+
"$ref": "#/$defs/LexObject"
718
+
}
719
+
]
720
+
}
721
+
},
722
+
"additionalProperties": false,
723
+
"required": ["encoding"]
724
+
},
725
+
"errors": {
726
+
"type": "array",
727
+
"items": {
728
+
"$ref": "#/$defs/LexXrpcError"
729
+
}
730
+
}
731
+
},
732
+
"additionalProperties": false,
733
+
"required": ["type"]
734
+
},
735
+
"LexXrpcQuery": {
736
+
"type": "object",
737
+
"properties": {
738
+
"type": {
739
+
"const": "query"
740
+
},
741
+
"description": {
742
+
"type": "string"
743
+
},
744
+
"parameters": {
745
+
"type": "object",
746
+
"properties": {
747
+
"type": {
748
+
"const": "params"
749
+
},
750
+
"description": {
751
+
"type": "string"
752
+
},
753
+
"required": {
754
+
"type": "array",
755
+
"items": {
756
+
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
757
+
"type": "string"
758
+
}
759
+
},
760
+
"properties": {
761
+
"propertyNames": {
762
+
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
763
+
"type": "string"
764
+
},
765
+
"type": "object",
766
+
"additionalProperties": {
767
+
"anyOf": [
768
+
{
769
+
"$ref": "#/$defs/LexPrimitive"
770
+
},
771
+
{
772
+
"$ref": "#/$defs/LexPrimitiveArray"
773
+
}
774
+
]
775
+
}
776
+
}
777
+
},
778
+
"additionalProperties": false,
779
+
"required": ["type"]
780
+
},
781
+
"output": {
782
+
"type": "object",
783
+
"properties": {
784
+
"description": {
785
+
"type": "string"
786
+
},
787
+
"encoding": {
788
+
"pattern": "^\\s*(?:\\*\\/\\*|[a-z]+\\/[a-zA-Z][a-zA-Z0-9-+.]*)(?:\\s*,\\s*(?:\\*\\/\\*|[a-z]+\\/[a-zA-Z][a-zA-Z0-9-+.]*))*\\s*$",
789
+
"type": "string"
790
+
},
791
+
"schema": {
792
+
"anyOf": [
793
+
{
794
+
"$ref": "#/$defs/LexRefVariant"
795
+
},
796
+
{
797
+
"$ref": "#/$defs/LexObject"
798
+
}
799
+
]
800
+
}
801
+
},
802
+
"additionalProperties": false,
803
+
"required": ["encoding"]
804
+
},
805
+
"errors": {
806
+
"type": "array",
807
+
"items": {
808
+
"$ref": "#/$defs/LexXrpcError"
809
+
}
810
+
}
811
+
},
812
+
"additionalProperties": false,
813
+
"required": ["type"]
814
+
},
815
+
"LexXrpcSubscription": {
816
+
"type": "object",
817
+
"properties": {
818
+
"type": {
819
+
"const": "subscription"
820
+
},
821
+
"description": {
822
+
"type": "string"
823
+
},
824
+
"parameters": {
825
+
"type": "object",
826
+
"properties": {
827
+
"type": {
828
+
"const": "params"
829
+
},
830
+
"description": {
831
+
"type": "string"
832
+
},
833
+
"required": {
834
+
"type": "array",
835
+
"items": {
836
+
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
837
+
"type": "string"
838
+
}
839
+
},
840
+
"properties": {
841
+
"propertyNames": {
842
+
"pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,62}?$",
843
+
"type": "string"
844
+
},
845
+
"type": "object",
846
+
"additionalProperties": {
847
+
"anyOf": [
848
+
{
849
+
"$ref": "#/$defs/LexPrimitive"
850
+
},
851
+
{
852
+
"$ref": "#/$defs/LexPrimitiveArray"
853
+
}
854
+
]
855
+
}
856
+
}
857
+
},
858
+
"additionalProperties": false,
859
+
"required": ["type"]
860
+
},
861
+
"message": {
862
+
"type": "object",
863
+
"properties": {
864
+
"description": {
865
+
"type": "string"
866
+
},
867
+
"schema": {
868
+
"anyOf": [
869
+
{
870
+
"$ref": "#/$defs/LexRefVariant"
871
+
},
872
+
{
873
+
"$ref": "#/$defs/LexObject"
874
+
}
875
+
]
876
+
}
877
+
},
878
+
"additionalProperties": false
879
+
},
880
+
"errors": {
881
+
"type": "array",
882
+
"items": {
883
+
"$ref": "#/$defs/LexXrpcError"
884
+
}
885
+
}
886
+
},
887
+
"additionalProperties": false,
888
+
"required": ["type"]
889
+
},
890
+
"LexXrpcSubscriptionMessage": {
891
+
"type": "object",
892
+
"properties": {
893
+
"description": {
894
+
"type": "string"
895
+
},
896
+
"schema": {
897
+
"anyOf": [
898
+
{
899
+
"$ref": "#/$defs/LexRefVariant"
900
+
},
901
+
{
902
+
"$ref": "#/$defs/LexObject"
903
+
}
904
+
]
905
+
}
906
+
},
907
+
"additionalProperties": false
908
+
}
909
+
}
975
910
}
+2
-2
packages/misc/uint8array/tsconfig.json
+2
-2
packages/misc/uint8array/tsconfig.json
+1
-2
packages/oauth/browser-client/README.md
+1
-2
packages/oauth/browser-client/README.md
···
181
181
if you want longer-lived sessions and better security controls, you can enable **confidential client
182
182
mode** by setting up a [client assertion backend](client-assertion-backend).
183
183
184
-
[client-assertion-backend]:
185
-
https://github.com/bluesky-social/proposals/tree/main/0010-client-assertion-backend
184
+
[client-assertion-backend]: https://github.com/bluesky-social/proposals/tree/main/0010-client-assertion-backend
186
185
187
186
### setup
188
187
-1
packages/servers/xrpc-server-bun/lib/index.test.ts
-1
packages/servers/xrpc-server-bun/lib/index.test.ts
+2
-2
packages/servers/xrpc-server-bun/tsconfig.json
+2
-2
packages/servers/xrpc-server-bun/tsconfig.json
-2
packages/servers/xrpc-server-node/lib/index.test.ts
-2
packages/servers/xrpc-server-node/lib/index.test.ts
+1
-1
packages/utilities/car/lib/types.ts
+1
-1
packages/utilities/car/lib/types.ts
+3
-3
packages/utilities/crypto/tsconfig.json
+3
-3
packages/utilities/crypto/tsconfig.json