@openvtc/trust-tasks 0.28.15 → 0.28.16

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 (52) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/index.d.ts +15 -0
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +15 -0
  5. package/dist/index.js.map +1 -1
  6. package/dist/vta/pcs/voter/read/0.1/payload.d.ts +4 -4
  7. package/dist/vta/pcs/voter/read/0.1/payload.js +1 -1
  8. package/dist/vta/pcs/voter/read/0.2/payload.d.ts +4 -4
  9. package/dist/vta/pcs/voter/read/0.2/payload.js +1 -1
  10. package/dist/vta/pcs/voter/read/0.3/payload.d.ts +4 -4
  11. package/dist/vta/pcs/voter/read/0.3/payload.js +1 -1
  12. package/dist/vta/pcs/voter/read/0.4/payload.d.ts +4 -4
  13. package/dist/vta/pcs/voter/read/0.4/payload.js +1 -1
  14. package/dist/vta/pcs/voter/read/0.5/payload.d.ts +4 -4
  15. package/dist/vta/pcs/voter/read/0.5/payload.js +1 -1
  16. package/dist/vta/pcs/voter/read/0.6/payload.d.ts +14 -2
  17. package/dist/vta/pcs/voter/read/0.6/payload.d.ts.map +1 -1
  18. package/dist/vta/pcs/voter/read/0.6/payload.js +1 -1
  19. package/dist/vta/pcs/voter/read/0.6/payload.js.map +1 -1
  20. package/dist/vta/pcs/voter/read/0.7/payload.d.ts +561 -0
  21. package/dist/vta/pcs/voter/read/0.7/payload.d.ts.map +1 -0
  22. package/dist/vta/pcs/voter/read/0.7/payload.js +315 -0
  23. package/dist/vta/pcs/voter/read/0.7/payload.js.map +1 -0
  24. package/dist/vta/pcs/voter/receipts/list/0.1/payload.d.ts +359 -0
  25. package/dist/vta/pcs/voter/receipts/list/0.1/payload.d.ts.map +1 -0
  26. package/dist/vta/pcs/voter/receipts/list/0.1/payload.js +203 -0
  27. package/dist/vta/pcs/voter/receipts/list/0.1/payload.js.map +1 -0
  28. package/dist/vtc/boards/facilitators/add/0.1/payload.d.ts +351 -0
  29. package/dist/vtc/boards/facilitators/add/0.1/payload.d.ts.map +1 -0
  30. package/dist/vtc/boards/facilitators/add/0.1/payload.js +198 -0
  31. package/dist/vtc/boards/facilitators/add/0.1/payload.js.map +1 -0
  32. package/dist/vtc/boards/facilitators/list/0.1/payload.d.ts +448 -0
  33. package/dist/vtc/boards/facilitators/list/0.1/payload.d.ts.map +1 -0
  34. package/dist/vtc/boards/facilitators/list/0.1/payload.js +245 -0
  35. package/dist/vtc/boards/facilitators/list/0.1/payload.js.map +1 -0
  36. package/dist/vtc/boards/facilitators/remove/0.1/payload.d.ts +351 -0
  37. package/dist/vtc/boards/facilitators/remove/0.1/payload.d.ts.map +1 -0
  38. package/dist/vtc/boards/facilitators/remove/0.1/payload.js +198 -0
  39. package/dist/vtc/boards/facilitators/remove/0.1/payload.js.map +1 -0
  40. package/package.json +1 -1
  41. package/src/index.ts +15 -0
  42. package/src/vta/pcs/voter/read/0.1/payload.ts +5 -5
  43. package/src/vta/pcs/voter/read/0.2/payload.ts +5 -5
  44. package/src/vta/pcs/voter/read/0.3/payload.ts +5 -5
  45. package/src/vta/pcs/voter/read/0.4/payload.ts +5 -5
  46. package/src/vta/pcs/voter/read/0.5/payload.ts +5 -5
  47. package/src/vta/pcs/voter/read/0.6/payload.ts +15 -3
  48. package/src/vta/pcs/voter/read/0.7/payload.ts +404 -0
  49. package/src/vta/pcs/voter/receipts/list/0.1/payload.ts +255 -0
  50. package/src/vtc/boards/facilitators/add/0.1/payload.ts +246 -0
  51. package/src/vtc/boards/facilitators/list/0.1/payload.ts +306 -0
  52. package/src/vtc/boards/facilitators/remove/0.1/payload.ts +246 -0
@@ -0,0 +1,448 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vtc/boards/facilitators/list/0.1/payload.schema.json
4
+ */
5
+ import type { BoardId, EntryId, Ext } from "../../../../../_shared/components.js";
6
+ /**
7
+ * A facilitator of a board reads who is appointed to facilitate it (VTI-BRD-093). The outer document members are owned by the framework — SPEC §6.3.
8
+ */
9
+ export interface VTCBoardsFacilitatorsListPayload {
10
+ boardId: BoardId;
11
+ ext?: Ext;
12
+ }
13
+ /**
14
+ * The success response to a vtc/boards/facilitators/list/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/boards/facilitators/list/0.1#response. The board's appointed facilitators.
15
+ */
16
+ export interface VTCBoardsFacilitatorsListResponsePayload {
17
+ boardId: BoardId;
18
+ /**
19
+ * The board's appointments, by entry, oldest first. Holders of `vtc.boards.manage` unqualified or through a role are not listed: they facilitate every board.
20
+ *
21
+ * @maxItems 256
22
+ */
23
+ facilitators: Appointment[];
24
+ ext?: Ext;
25
+ }
26
+ /**
27
+ * One member's appointment to facilitate the board: a resource grant of `vtc.boards.manage` qualified to it.
28
+ */
29
+ export interface Appointment {
30
+ /**
31
+ * The appointed facilitator.
32
+ */
33
+ entryId: EntryId;
34
+ /**
35
+ * When the grant was written, or last re-affirmed under a new granter.
36
+ */
37
+ appointedAt: string;
38
+ /**
39
+ * The granter, by entry. Absent when the granter holds no directory entry — an administrator who is not a member, or one who has departed.
40
+ */
41
+ appointedBy?: EntryId;
42
+ /**
43
+ * Present while the appointment is under review because its granter departed or no longer facilitates the board: it is withdrawn at this time unless an administrator who facilitates the board re-affirms it (VTI-BRD-092).
44
+ */
45
+ reviewEndsAt?: string;
46
+ }
47
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
48
+ export type { BoardId, EntryId, Ext };
49
+ /** Trust Task type URI. */
50
+ export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/boards/facilitators/list/0.1";
51
+ /**
52
+ * The earlier version of this specification that this one declares it
53
+ * extends (front matter `extends`, SPEC §5.2 "Declared extension"), or
54
+ * `null`. Only the direct declaration — follow the chain with
55
+ * `extendsChain` / `readForSpec`.
56
+ */
57
+ export declare const EXTENDS: string | null;
58
+ /**
59
+ * Why this version is deprecated, or `null` while it is current. A
60
+ * superseded or retired version is still supported, and is withdrawn from
61
+ * this package in a later scheduled batch (SPEC "Superseded and Withdrawn
62
+ * Versions").
63
+ */
64
+ export declare const DEPRECATION: string | null;
65
+ /** Stable alias for this specification's request payload shape. */
66
+ export type Payload = VTCBoardsFacilitatorsListPayload;
67
+ /** Trust Task response type URI (request type URI + "#response"). */
68
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtc/boards/facilitators/list/0.1#response";
69
+ /** Stable alias for this specification's success-response payload shape. */
70
+ export type Response = VTCBoardsFacilitatorsListResponsePayload;
71
+ /**
72
+ * This specification's payload schema, as a value.
73
+ *
74
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
75
+ * rather than only as a `.json` file because TypeScript types are erased
76
+ * at runtime: without a schema a consumer has nothing to validate, and
77
+ * every REQUIRED payload member is optional in practice. Cross-file
78
+ * `$ref`s are already inlined, so it needs no resolver.
79
+ */
80
+ export declare const PAYLOAD_SCHEMA: {
81
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
82
+ readonly $id: "https://trusttasks.org/spec/vtc/boards/facilitators/list/0.1";
83
+ readonly title: "VTC Boards — Facilitators — List — payload";
84
+ readonly description: "A facilitator of a board reads who is appointed to facilitate it (VTI-BRD-093). The outer document members are owned by the framework — SPEC §6.3.";
85
+ readonly type: "object";
86
+ readonly additionalProperties: false;
87
+ readonly required: readonly ["boardId"];
88
+ readonly properties: {
89
+ readonly boardId: {
90
+ readonly $ref: "#/$defs/BoardId";
91
+ };
92
+ readonly ext: {
93
+ readonly $ref: "#/$defs/Ext";
94
+ };
95
+ };
96
+ readonly $defs: {
97
+ readonly Response: {
98
+ readonly $anchor: "response";
99
+ readonly title: "VTC Boards — Facilitators — List — response payload";
100
+ readonly description: "The success response to a vtc/boards/facilitators/list/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/boards/facilitators/list/0.1#response. The board's appointed facilitators.";
101
+ readonly type: "object";
102
+ readonly additionalProperties: false;
103
+ readonly required: readonly ["boardId", "facilitators"];
104
+ readonly properties: {
105
+ readonly boardId: {
106
+ readonly $ref: "#/$defs/BoardId";
107
+ };
108
+ readonly facilitators: {
109
+ readonly type: "array";
110
+ readonly maxItems: 256;
111
+ readonly items: {
112
+ readonly $ref: "#/$defs/Appointment";
113
+ };
114
+ readonly description: "The board's appointments, by entry, oldest first. Holders of `vtc.boards.manage` unqualified or through a role are not listed: they facilitate every board.";
115
+ };
116
+ readonly ext: {
117
+ readonly $ref: "#/$defs/Ext";
118
+ };
119
+ };
120
+ };
121
+ readonly Appointment: {
122
+ readonly title: "Appointment";
123
+ readonly description: "One member's appointment to facilitate the board: a resource grant of `vtc.boards.manage` qualified to it.";
124
+ readonly type: "object";
125
+ readonly additionalProperties: false;
126
+ readonly required: readonly ["entryId", "appointedAt"];
127
+ readonly properties: {
128
+ readonly entryId: {
129
+ readonly $ref: "#/$defs/EntryId";
130
+ readonly description: "The appointed facilitator.";
131
+ };
132
+ readonly appointedAt: {
133
+ readonly type: "string";
134
+ readonly format: "date-time";
135
+ readonly description: "When the grant was written, or last re-affirmed under a new granter.";
136
+ };
137
+ readonly appointedBy: {
138
+ readonly $ref: "#/$defs/EntryId";
139
+ readonly description: "The granter, by entry. Absent when the granter holds no directory entry — an administrator who is not a member, or one who has departed.";
140
+ };
141
+ readonly reviewEndsAt: {
142
+ readonly type: "string";
143
+ readonly format: "date-time";
144
+ readonly description: "Present while the appointment is under review because its granter departed or no longer facilitates the board: it is withdrawn at this time unless an administrator who facilitates the board re-affirms it (VTI-BRD-092).";
145
+ };
146
+ };
147
+ };
148
+ readonly EntryId: {
149
+ readonly title: "EntryId";
150
+ readonly description: "Opaque identifier of one directory entry: `dir_` followed by 16 to 64 base64url characters. Random, scoped to one community, and stable for the life of the membership — it survives a rotation of the member's DID, which is why groups, notes and cards are keyed by it. It MUST NOT be derived from, and MUST NOT reveal, any DID of the member, and the same person's entries in two communities MUST NOT share one. Compared by exact string equality.";
151
+ readonly type: "string";
152
+ readonly pattern: "^dir_[A-Za-z0-9_-]{16,64}$";
153
+ };
154
+ readonly Ext: {
155
+ readonly title: "Ext";
156
+ readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
157
+ readonly type: "object";
158
+ readonly minProperties: 1;
159
+ readonly additionalProperties: true;
160
+ readonly propertyNames: {
161
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
162
+ };
163
+ };
164
+ readonly BoardId: {
165
+ readonly title: "BoardId";
166
+ readonly description: "Opaque identifier of a board: `brd_` followed by 16 to 64 base64url characters. Random, community-scoped, never reused (VTI-BRD-001).";
167
+ readonly type: "string";
168
+ readonly pattern: "^brd_[A-Za-z0-9_-]{16,64}$";
169
+ };
170
+ };
171
+ };
172
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
173
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
174
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
175
+ readonly $ref: "#/$defs/Response";
176
+ readonly $defs: {
177
+ readonly Response: {
178
+ readonly $anchor: "response";
179
+ readonly title: "VTC Boards — Facilitators — List — response payload";
180
+ readonly description: "The success response to a vtc/boards/facilitators/list/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/boards/facilitators/list/0.1#response. The board's appointed facilitators.";
181
+ readonly type: "object";
182
+ readonly additionalProperties: false;
183
+ readonly required: readonly ["boardId", "facilitators"];
184
+ readonly properties: {
185
+ readonly boardId: {
186
+ readonly $ref: "#/$defs/BoardId";
187
+ };
188
+ readonly facilitators: {
189
+ readonly type: "array";
190
+ readonly maxItems: 256;
191
+ readonly items: {
192
+ readonly $ref: "#/$defs/Appointment";
193
+ };
194
+ readonly description: "The board's appointments, by entry, oldest first. Holders of `vtc.boards.manage` unqualified or through a role are not listed: they facilitate every board.";
195
+ };
196
+ readonly ext: {
197
+ readonly $ref: "#/$defs/Ext";
198
+ };
199
+ };
200
+ };
201
+ readonly Appointment: {
202
+ readonly title: "Appointment";
203
+ readonly description: "One member's appointment to facilitate the board: a resource grant of `vtc.boards.manage` qualified to it.";
204
+ readonly type: "object";
205
+ readonly additionalProperties: false;
206
+ readonly required: readonly ["entryId", "appointedAt"];
207
+ readonly properties: {
208
+ readonly entryId: {
209
+ readonly $ref: "#/$defs/EntryId";
210
+ readonly description: "The appointed facilitator.";
211
+ };
212
+ readonly appointedAt: {
213
+ readonly type: "string";
214
+ readonly format: "date-time";
215
+ readonly description: "When the grant was written, or last re-affirmed under a new granter.";
216
+ };
217
+ readonly appointedBy: {
218
+ readonly $ref: "#/$defs/EntryId";
219
+ readonly description: "The granter, by entry. Absent when the granter holds no directory entry — an administrator who is not a member, or one who has departed.";
220
+ };
221
+ readonly reviewEndsAt: {
222
+ readonly type: "string";
223
+ readonly format: "date-time";
224
+ readonly description: "Present while the appointment is under review because its granter departed or no longer facilitates the board: it is withdrawn at this time unless an administrator who facilitates the board re-affirms it (VTI-BRD-092).";
225
+ };
226
+ };
227
+ };
228
+ readonly EntryId: {
229
+ readonly title: "EntryId";
230
+ readonly description: "Opaque identifier of one directory entry: `dir_` followed by 16 to 64 base64url characters. Random, scoped to one community, and stable for the life of the membership — it survives a rotation of the member's DID, which is why groups, notes and cards are keyed by it. It MUST NOT be derived from, and MUST NOT reveal, any DID of the member, and the same person's entries in two communities MUST NOT share one. Compared by exact string equality.";
231
+ readonly type: "string";
232
+ readonly pattern: "^dir_[A-Za-z0-9_-]{16,64}$";
233
+ };
234
+ readonly Ext: {
235
+ readonly title: "Ext";
236
+ readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
237
+ readonly type: "object";
238
+ readonly minProperties: 1;
239
+ readonly additionalProperties: true;
240
+ readonly propertyNames: {
241
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
242
+ };
243
+ };
244
+ readonly BoardId: {
245
+ readonly title: "BoardId";
246
+ readonly description: "Opaque identifier of a board: `brd_` followed by 16 to 64 base64url characters. Random, community-scoped, never reused (VTI-BRD-001).";
247
+ readonly type: "string";
248
+ readonly pattern: "^brd_[A-Za-z0-9_-]{16,64}$";
249
+ };
250
+ };
251
+ };
252
+ /**
253
+ * SPEC.md §7.2 policy for the request variant, from this specification's
254
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
255
+ * per-specification and cannot be derived from the document alone, and
256
+ * item 2 needs the schema this carries.
257
+ */
258
+ export declare const SPEC: {
259
+ readonly typeUri: "https://trusttasks.org/spec/vtc/boards/facilitators/list/0.1";
260
+ readonly isBearer: false;
261
+ readonly isProofRequired: false;
262
+ readonly isRecipientRequired: true;
263
+ readonly isIssuedAtRequired: false;
264
+ readonly payloadSchema: {
265
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
266
+ readonly $id: "https://trusttasks.org/spec/vtc/boards/facilitators/list/0.1";
267
+ readonly title: "VTC Boards — Facilitators — List — payload";
268
+ readonly description: "A facilitator of a board reads who is appointed to facilitate it (VTI-BRD-093). The outer document members are owned by the framework — SPEC §6.3.";
269
+ readonly type: "object";
270
+ readonly additionalProperties: false;
271
+ readonly required: readonly ["boardId"];
272
+ readonly properties: {
273
+ readonly boardId: {
274
+ readonly $ref: "#/$defs/BoardId";
275
+ };
276
+ readonly ext: {
277
+ readonly $ref: "#/$defs/Ext";
278
+ };
279
+ };
280
+ readonly $defs: {
281
+ readonly Response: {
282
+ readonly $anchor: "response";
283
+ readonly title: "VTC Boards — Facilitators — List — response payload";
284
+ readonly description: "The success response to a vtc/boards/facilitators/list/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/boards/facilitators/list/0.1#response. The board's appointed facilitators.";
285
+ readonly type: "object";
286
+ readonly additionalProperties: false;
287
+ readonly required: readonly ["boardId", "facilitators"];
288
+ readonly properties: {
289
+ readonly boardId: {
290
+ readonly $ref: "#/$defs/BoardId";
291
+ };
292
+ readonly facilitators: {
293
+ readonly type: "array";
294
+ readonly maxItems: 256;
295
+ readonly items: {
296
+ readonly $ref: "#/$defs/Appointment";
297
+ };
298
+ readonly description: "The board's appointments, by entry, oldest first. Holders of `vtc.boards.manage` unqualified or through a role are not listed: they facilitate every board.";
299
+ };
300
+ readonly ext: {
301
+ readonly $ref: "#/$defs/Ext";
302
+ };
303
+ };
304
+ };
305
+ readonly Appointment: {
306
+ readonly title: "Appointment";
307
+ readonly description: "One member's appointment to facilitate the board: a resource grant of `vtc.boards.manage` qualified to it.";
308
+ readonly type: "object";
309
+ readonly additionalProperties: false;
310
+ readonly required: readonly ["entryId", "appointedAt"];
311
+ readonly properties: {
312
+ readonly entryId: {
313
+ readonly $ref: "#/$defs/EntryId";
314
+ readonly description: "The appointed facilitator.";
315
+ };
316
+ readonly appointedAt: {
317
+ readonly type: "string";
318
+ readonly format: "date-time";
319
+ readonly description: "When the grant was written, or last re-affirmed under a new granter.";
320
+ };
321
+ readonly appointedBy: {
322
+ readonly $ref: "#/$defs/EntryId";
323
+ readonly description: "The granter, by entry. Absent when the granter holds no directory entry — an administrator who is not a member, or one who has departed.";
324
+ };
325
+ readonly reviewEndsAt: {
326
+ readonly type: "string";
327
+ readonly format: "date-time";
328
+ readonly description: "Present while the appointment is under review because its granter departed or no longer facilitates the board: it is withdrawn at this time unless an administrator who facilitates the board re-affirms it (VTI-BRD-092).";
329
+ };
330
+ };
331
+ };
332
+ readonly EntryId: {
333
+ readonly title: "EntryId";
334
+ readonly description: "Opaque identifier of one directory entry: `dir_` followed by 16 to 64 base64url characters. Random, scoped to one community, and stable for the life of the membership — it survives a rotation of the member's DID, which is why groups, notes and cards are keyed by it. It MUST NOT be derived from, and MUST NOT reveal, any DID of the member, and the same person's entries in two communities MUST NOT share one. Compared by exact string equality.";
335
+ readonly type: "string";
336
+ readonly pattern: "^dir_[A-Za-z0-9_-]{16,64}$";
337
+ };
338
+ readonly Ext: {
339
+ readonly title: "Ext";
340
+ readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
341
+ readonly type: "object";
342
+ readonly minProperties: 1;
343
+ readonly additionalProperties: true;
344
+ readonly propertyNames: {
345
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
346
+ };
347
+ };
348
+ readonly BoardId: {
349
+ readonly title: "BoardId";
350
+ readonly description: "Opaque identifier of a board: `brd_` followed by 16 to 64 base64url characters. Random, community-scoped, never reused (VTI-BRD-001).";
351
+ readonly type: "string";
352
+ readonly pattern: "^brd_[A-Za-z0-9_-]{16,64}$";
353
+ };
354
+ };
355
+ };
356
+ };
357
+ /**
358
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
359
+ * tracks the *issuer* party's requirement because a response swaps the
360
+ * parties (§7.3 item 5).
361
+ */
362
+ export declare const RESPONSE_SPEC: {
363
+ readonly typeUri: "https://trusttasks.org/spec/vtc/boards/facilitators/list/0.1#response";
364
+ readonly isBearer: false;
365
+ readonly isProofRequired: false;
366
+ readonly isRecipientRequired: true;
367
+ readonly isIssuedAtRequired: false;
368
+ readonly payloadSchema: {
369
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
370
+ readonly $ref: "#/$defs/Response";
371
+ readonly $defs: {
372
+ readonly Response: {
373
+ readonly $anchor: "response";
374
+ readonly title: "VTC Boards — Facilitators — List — response payload";
375
+ readonly description: "The success response to a vtc/boards/facilitators/list/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/boards/facilitators/list/0.1#response. The board's appointed facilitators.";
376
+ readonly type: "object";
377
+ readonly additionalProperties: false;
378
+ readonly required: readonly ["boardId", "facilitators"];
379
+ readonly properties: {
380
+ readonly boardId: {
381
+ readonly $ref: "#/$defs/BoardId";
382
+ };
383
+ readonly facilitators: {
384
+ readonly type: "array";
385
+ readonly maxItems: 256;
386
+ readonly items: {
387
+ readonly $ref: "#/$defs/Appointment";
388
+ };
389
+ readonly description: "The board's appointments, by entry, oldest first. Holders of `vtc.boards.manage` unqualified or through a role are not listed: they facilitate every board.";
390
+ };
391
+ readonly ext: {
392
+ readonly $ref: "#/$defs/Ext";
393
+ };
394
+ };
395
+ };
396
+ readonly Appointment: {
397
+ readonly title: "Appointment";
398
+ readonly description: "One member's appointment to facilitate the board: a resource grant of `vtc.boards.manage` qualified to it.";
399
+ readonly type: "object";
400
+ readonly additionalProperties: false;
401
+ readonly required: readonly ["entryId", "appointedAt"];
402
+ readonly properties: {
403
+ readonly entryId: {
404
+ readonly $ref: "#/$defs/EntryId";
405
+ readonly description: "The appointed facilitator.";
406
+ };
407
+ readonly appointedAt: {
408
+ readonly type: "string";
409
+ readonly format: "date-time";
410
+ readonly description: "When the grant was written, or last re-affirmed under a new granter.";
411
+ };
412
+ readonly appointedBy: {
413
+ readonly $ref: "#/$defs/EntryId";
414
+ readonly description: "The granter, by entry. Absent when the granter holds no directory entry — an administrator who is not a member, or one who has departed.";
415
+ };
416
+ readonly reviewEndsAt: {
417
+ readonly type: "string";
418
+ readonly format: "date-time";
419
+ readonly description: "Present while the appointment is under review because its granter departed or no longer facilitates the board: it is withdrawn at this time unless an administrator who facilitates the board re-affirms it (VTI-BRD-092).";
420
+ };
421
+ };
422
+ };
423
+ readonly EntryId: {
424
+ readonly title: "EntryId";
425
+ readonly description: "Opaque identifier of one directory entry: `dir_` followed by 16 to 64 base64url characters. Random, scoped to one community, and stable for the life of the membership — it survives a rotation of the member's DID, which is why groups, notes and cards are keyed by it. It MUST NOT be derived from, and MUST NOT reveal, any DID of the member, and the same person's entries in two communities MUST NOT share one. Compared by exact string equality.";
426
+ readonly type: "string";
427
+ readonly pattern: "^dir_[A-Za-z0-9_-]{16,64}$";
428
+ };
429
+ readonly Ext: {
430
+ readonly title: "Ext";
431
+ readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
432
+ readonly type: "object";
433
+ readonly minProperties: 1;
434
+ readonly additionalProperties: true;
435
+ readonly propertyNames: {
436
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
437
+ };
438
+ };
439
+ readonly BoardId: {
440
+ readonly title: "BoardId";
441
+ readonly description: "Opaque identifier of a board: `brd_` followed by 16 to 64 base64url characters. Random, community-scoped, never reused (VTI-BRD-001).";
442
+ readonly type: "string";
443
+ readonly pattern: "^brd_[A-Za-z0-9_-]{16,64}$";
444
+ };
445
+ };
446
+ };
447
+ };
448
+ //# sourceMappingURL=payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vtc/boards/facilitators/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,sCAAsC,CAAC;AAGlF;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACvD,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,kHAAkH;AAClH,YAAY,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC;AAEtC,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,8DAAuE,CAAC;AAEhG;;;;;GAKG;AACH,eAAO,MAAM,OAAO,EAAE,MAAM,GAAG,IAAW,CAAC;AAE3C;;;;;GAKG;AACH,eAAO,MAAM,WAAW,EAAE,MAAM,GAAG,IAAW,CAAC;AAE/C,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,gCAAgC,CAAC;AAEvD,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,uEAAgF,CAAC;AAElH,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,wCAAwC,CAAC;AAEhE;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmGjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoF1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}