@openvtc/trust-tasks 0.21.11 → 0.21.13

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 (208) hide show
  1. package/CHANGELOG.md +76 -0
  2. package/dist/_framework/0.4/framework.d.ts +1 -1
  3. package/dist/_framework/0.4/framework.d.ts.map +1 -1
  4. package/dist/_shared/components.d.ts +371 -0
  5. package/dist/_shared/components.d.ts.map +1 -1
  6. package/dist/auth/_shared/0.1/signing-key.d.ts +16 -0
  7. package/dist/auth/_shared/0.1/signing-key.d.ts.map +1 -0
  8. package/dist/auth/_shared/0.1/signing-key.js +6 -0
  9. package/dist/auth/_shared/0.1/signing-key.js.map +1 -0
  10. package/dist/auth/signing-key/enroll/0.1/payload.d.ts +545 -0
  11. package/dist/auth/signing-key/enroll/0.1/payload.d.ts.map +1 -0
  12. package/dist/auth/signing-key/enroll/0.1/payload.js +307 -0
  13. package/dist/auth/signing-key/enroll/0.1/payload.js.map +1 -0
  14. package/dist/auth/signing-key/list/0.1/payload.d.ts +509 -0
  15. package/dist/auth/signing-key/list/0.1/payload.d.ts.map +1 -0
  16. package/dist/auth/signing-key/list/0.1/payload.js +289 -0
  17. package/dist/auth/signing-key/list/0.1/payload.js.map +1 -0
  18. package/dist/auth/signing-key/revoke/0.1/payload.d.ts +292 -0
  19. package/dist/auth/signing-key/revoke/0.1/payload.d.ts.map +1 -0
  20. package/dist/auth/signing-key/revoke/0.1/payload.js +167 -0
  21. package/dist/auth/signing-key/revoke/0.1/payload.js.map +1 -0
  22. package/dist/index.d.ts +39 -0
  23. package/dist/index.d.ts.map +1 -1
  24. package/dist/index.js +39 -0
  25. package/dist/index.js.map +1 -1
  26. package/dist/vta/contexts/update-did/1.1/payload.d.ts +388 -0
  27. package/dist/vta/contexts/update-did/1.1/payload.d.ts.map +1 -0
  28. package/dist/vta/contexts/update-did/1.1/payload.js +227 -0
  29. package/dist/vta/contexts/update-did/1.1/payload.js.map +1 -0
  30. package/dist/vtc/_shared/0.1/community-presentation.d.ts +16 -0
  31. package/dist/vtc/_shared/0.1/community-presentation.d.ts.map +1 -0
  32. package/dist/vtc/_shared/0.1/community-presentation.js +6 -0
  33. package/dist/vtc/_shared/0.1/community-presentation.js.map +1 -0
  34. package/dist/vtc/_shared/0.1/relationship-lifecycle.d.ts +16 -0
  35. package/dist/vtc/_shared/0.1/relationship-lifecycle.d.ts.map +1 -0
  36. package/dist/vtc/_shared/0.1/relationship-lifecycle.js +6 -0
  37. package/dist/vtc/_shared/0.1/relationship-lifecycle.js.map +1 -0
  38. package/dist/vtc/_shared/0.1/schema-registry.d.ts +16 -0
  39. package/dist/vtc/_shared/0.1/schema-registry.d.ts.map +1 -0
  40. package/dist/vtc/_shared/0.1/schema-registry.js +6 -0
  41. package/dist/vtc/_shared/0.1/schema-registry.js.map +1 -0
  42. package/dist/vtc/_shared/0.1/vetting-auto-grant.d.ts +16 -0
  43. package/dist/vtc/_shared/0.1/vetting-auto-grant.d.ts.map +1 -0
  44. package/dist/vtc/_shared/0.1/vetting-auto-grant.js +6 -0
  45. package/dist/vtc/_shared/0.1/vetting-auto-grant.js.map +1 -0
  46. package/dist/vtc/_shared/0.1/website-transfer.d.ts +16 -0
  47. package/dist/vtc/_shared/0.1/website-transfer.d.ts.map +1 -0
  48. package/dist/vtc/_shared/0.1/website-transfer.js +6 -0
  49. package/dist/vtc/_shared/0.1/website-transfer.js.map +1 -0
  50. package/dist/vtc/community/branding/show/0.1/payload.d.ts +319 -0
  51. package/dist/vtc/community/branding/show/0.1/payload.d.ts.map +1 -0
  52. package/dist/vtc/community/branding/show/0.1/payload.js +179 -0
  53. package/dist/vtc/community/branding/show/0.1/payload.js.map +1 -0
  54. package/dist/vtc/community/branding/update/0.1/payload.d.ts +328 -0
  55. package/dist/vtc/community/branding/update/0.1/payload.d.ts.map +1 -0
  56. package/dist/vtc/community/branding/update/0.1/payload.js +185 -0
  57. package/dist/vtc/community/branding/update/0.1/payload.js.map +1 -0
  58. package/dist/vtc/community/join-discovery/show/0.1/payload.d.ts +267 -0
  59. package/dist/vtc/community/join-discovery/show/0.1/payload.d.ts.map +1 -0
  60. package/dist/vtc/community/join-discovery/show/0.1/payload.js +157 -0
  61. package/dist/vtc/community/join-discovery/show/0.1/payload.js.map +1 -0
  62. package/dist/vtc/community/join-discovery/update/0.1/payload.d.ts +276 -0
  63. package/dist/vtc/community/join-discovery/update/0.1/payload.d.ts.map +1 -0
  64. package/dist/vtc/community/join-discovery/update/0.1/payload.js +163 -0
  65. package/dist/vtc/community/join-discovery/update/0.1/payload.js.map +1 -0
  66. package/dist/vtc/community/requested-attributes/show/0.1/payload.d.ts +339 -0
  67. package/dist/vtc/community/requested-attributes/show/0.1/payload.d.ts.map +1 -0
  68. package/dist/vtc/community/requested-attributes/show/0.1/payload.js +193 -0
  69. package/dist/vtc/community/requested-attributes/show/0.1/payload.js.map +1 -0
  70. package/dist/vtc/community/requested-attributes/update/0.1/payload.d.ts +348 -0
  71. package/dist/vtc/community/requested-attributes/update/0.1/payload.d.ts.map +1 -0
  72. package/dist/vtc/community/requested-attributes/update/0.1/payload.js +199 -0
  73. package/dist/vtc/community/requested-attributes/update/0.1/payload.js.map +1 -0
  74. package/dist/vtc/join-requests/query/0.1/payload.d.ts +412 -0
  75. package/dist/vtc/join-requests/query/0.1/payload.d.ts.map +1 -0
  76. package/dist/vtc/join-requests/query/0.1/payload.js +228 -0
  77. package/dist/vtc/join-requests/query/0.1/payload.js.map +1 -0
  78. package/dist/vtc/join-requests/vetting/show/0.1/payload.d.ts +1016 -0
  79. package/dist/vtc/join-requests/vetting/show/0.1/payload.d.ts.map +1 -0
  80. package/dist/vtc/join-requests/vetting/show/0.1/payload.js +509 -0
  81. package/dist/vtc/join-requests/vetting/show/0.1/payload.js.map +1 -0
  82. package/dist/vtc/relationships/restore/0.1/payload.d.ts +462 -0
  83. package/dist/vtc/relationships/restore/0.1/payload.d.ts.map +1 -0
  84. package/dist/vtc/relationships/restore/0.1/payload.js +270 -0
  85. package/dist/vtc/relationships/restore/0.1/payload.js.map +1 -0
  86. package/dist/vtc/relationships/suspend/0.1/payload.d.ts +462 -0
  87. package/dist/vtc/relationships/suspend/0.1/payload.d.ts.map +1 -0
  88. package/dist/vtc/relationships/suspend/0.1/payload.js +270 -0
  89. package/dist/vtc/relationships/suspend/0.1/payload.js.map +1 -0
  90. package/dist/vtc/rooms/list/0.1/payload.d.ts +653 -0
  91. package/dist/vtc/rooms/list/0.1/payload.d.ts.map +1 -0
  92. package/dist/vtc/rooms/list/0.1/payload.js +360 -0
  93. package/dist/vtc/rooms/list/0.1/payload.js.map +1 -0
  94. package/dist/vtc/schemas/accepts/delete/0.1/payload.d.ts +240 -0
  95. package/dist/vtc/schemas/accepts/delete/0.1/payload.d.ts.map +1 -0
  96. package/dist/vtc/schemas/accepts/delete/0.1/payload.js +141 -0
  97. package/dist/vtc/schemas/accepts/delete/0.1/payload.js.map +1 -0
  98. package/dist/vtc/schemas/accepts/list/0.1/payload.d.ts +1214 -0
  99. package/dist/vtc/schemas/accepts/list/0.1/payload.d.ts.map +1 -0
  100. package/dist/vtc/schemas/accepts/list/0.1/payload.js +681 -0
  101. package/dist/vtc/schemas/accepts/list/0.1/payload.js.map +1 -0
  102. package/dist/vtc/schemas/accepts/register/0.1/payload.d.ts +1165 -0
  103. package/dist/vtc/schemas/accepts/register/0.1/payload.d.ts.map +1 -0
  104. package/dist/vtc/schemas/accepts/register/0.1/payload.js +665 -0
  105. package/dist/vtc/schemas/accepts/register/0.1/payload.js.map +1 -0
  106. package/dist/vtc/schemas/accepts/show/0.1/payload.d.ts +1144 -0
  107. package/dist/vtc/schemas/accepts/show/0.1/payload.d.ts.map +1 -0
  108. package/dist/vtc/schemas/accepts/show/0.1/payload.js +655 -0
  109. package/dist/vtc/schemas/accepts/show/0.1/payload.js.map +1 -0
  110. package/dist/vtc/schemas/delete/0.1/payload.d.ts +240 -0
  111. package/dist/vtc/schemas/delete/0.1/payload.d.ts.map +1 -0
  112. package/dist/vtc/schemas/delete/0.1/payload.js +141 -0
  113. package/dist/vtc/schemas/delete/0.1/payload.js.map +1 -0
  114. package/dist/vtc/schemas/list/0.1/payload.d.ts +541 -0
  115. package/dist/vtc/schemas/list/0.1/payload.d.ts.map +1 -0
  116. package/dist/vtc/schemas/list/0.1/payload.js +300 -0
  117. package/dist/vtc/schemas/list/0.1/payload.js.map +1 -0
  118. package/dist/vtc/schemas/register/0.1/payload.d.ts +512 -0
  119. package/dist/vtc/schemas/register/0.1/payload.d.ts.map +1 -0
  120. package/dist/vtc/schemas/register/0.1/payload.js +292 -0
  121. package/dist/vtc/schemas/register/0.1/payload.js.map +1 -0
  122. package/dist/vtc/schemas/show/0.1/payload.d.ts +484 -0
  123. package/dist/vtc/schemas/show/0.1/payload.d.ts.map +1 -0
  124. package/dist/vtc/schemas/show/0.1/payload.js +279 -0
  125. package/dist/vtc/schemas/show/0.1/payload.js.map +1 -0
  126. package/dist/vtc/vetting/auto-grant/show/0.1/payload.d.ts +463 -0
  127. package/dist/vtc/vetting/auto-grant/show/0.1/payload.d.ts.map +1 -0
  128. package/dist/vtc/vetting/auto-grant/show/0.1/payload.js +269 -0
  129. package/dist/vtc/vetting/auto-grant/show/0.1/payload.js.map +1 -0
  130. package/dist/vtc/vetting/auto-grant/update/0.1/payload.d.ts +491 -0
  131. package/dist/vtc/vetting/auto-grant/update/0.1/payload.d.ts.map +1 -0
  132. package/dist/vtc/vetting/auto-grant/update/0.1/payload.js +282 -0
  133. package/dist/vtc/vetting/auto-grant/update/0.1/payload.js.map +1 -0
  134. package/dist/vtc/vetting/revocations/list/0.1/payload.d.ts +608 -0
  135. package/dist/vtc/vetting/revocations/list/0.1/payload.d.ts.map +1 -0
  136. package/dist/vtc/vetting/revocations/list/0.1/payload.js +332 -0
  137. package/dist/vtc/vetting/revocations/list/0.1/payload.js.map +1 -0
  138. package/dist/vtc/vetting/vetters/grants/list/0.1/payload.d.ts +992 -0
  139. package/dist/vtc/vetting/vetters/grants/list/0.1/payload.d.ts.map +1 -0
  140. package/dist/vtc/vetting/vetters/grants/list/0.1/payload.js +461 -0
  141. package/dist/vtc/vetting/vetters/grants/list/0.1/payload.js.map +1 -0
  142. package/dist/vtc/website/deploy/0.1/payload.d.ts +369 -0
  143. package/dist/vtc/website/deploy/0.1/payload.d.ts.map +1 -0
  144. package/dist/vtc/website/deploy/0.1/payload.js +213 -0
  145. package/dist/vtc/website/deploy/0.1/payload.js.map +1 -0
  146. package/dist/vtc/website/files/show/0.1/payload.d.ts +455 -0
  147. package/dist/vtc/website/files/show/0.1/payload.d.ts.map +1 -0
  148. package/dist/vtc/website/files/show/0.1/payload.js +247 -0
  149. package/dist/vtc/website/files/show/0.1/payload.js.map +1 -0
  150. package/dist/vtc/website/upload/abort/0.1/payload.d.ts +256 -0
  151. package/dist/vtc/website/upload/abort/0.1/payload.d.ts.map +1 -0
  152. package/dist/vtc/website/upload/abort/0.1/payload.js +149 -0
  153. package/dist/vtc/website/upload/abort/0.1/payload.js.map +1 -0
  154. package/dist/vtc/website/upload/begin/0.1/payload.d.ts +658 -0
  155. package/dist/vtc/website/upload/begin/0.1/payload.d.ts.map +1 -0
  156. package/dist/vtc/website/upload/begin/0.1/payload.js +375 -0
  157. package/dist/vtc/website/upload/begin/0.1/payload.js.map +1 -0
  158. package/dist/vtc/website/upload/chunk/0.1/payload.d.ts +447 -0
  159. package/dist/vtc/website/upload/chunk/0.1/payload.d.ts.map +1 -0
  160. package/dist/vtc/website/upload/chunk/0.1/payload.js +253 -0
  161. package/dist/vtc/website/upload/chunk/0.1/payload.js.map +1 -0
  162. package/dist/vtc/website/upload/commit/0.1/payload.d.ts +603 -0
  163. package/dist/vtc/website/upload/commit/0.1/payload.d.ts.map +1 -0
  164. package/dist/vtc/website/upload/commit/0.1/payload.js +337 -0
  165. package/dist/vtc/website/upload/commit/0.1/payload.js.map +1 -0
  166. package/package.json +1 -1
  167. package/src/_framework/0.4/framework.ts +1 -1
  168. package/src/_shared/components.ts +371 -0
  169. package/src/auth/_shared/0.1/signing-key.ts +17 -0
  170. package/src/auth/signing-key/enroll/0.1/payload.ts +349 -0
  171. package/src/auth/signing-key/list/0.1/payload.ts +323 -0
  172. package/src/auth/signing-key/revoke/0.1/payload.ts +204 -0
  173. package/src/index.ts +39 -0
  174. package/src/vta/contexts/update-did/1.1/payload.ts +256 -0
  175. package/src/vtc/_shared/0.1/community-presentation.ts +17 -0
  176. package/src/vtc/_shared/0.1/relationship-lifecycle.ts +17 -0
  177. package/src/vtc/_shared/0.1/schema-registry.ts +17 -0
  178. package/src/vtc/_shared/0.1/vetting-auto-grant.ts +17 -0
  179. package/src/vtc/_shared/0.1/website-transfer.ts +17 -0
  180. package/src/vtc/community/branding/show/0.1/payload.ts +207 -0
  181. package/src/vtc/community/branding/update/0.1/payload.ts +214 -0
  182. package/src/vtc/community/join-discovery/show/0.1/payload.ts +185 -0
  183. package/src/vtc/community/join-discovery/update/0.1/payload.ts +192 -0
  184. package/src/vtc/community/requested-attributes/show/0.1/payload.ts +221 -0
  185. package/src/vtc/community/requested-attributes/update/0.1/payload.ts +228 -0
  186. package/src/vtc/join-requests/query/0.1/payload.ts +285 -0
  187. package/src/vtc/join-requests/vetting/show/0.1/payload.ts +740 -0
  188. package/src/vtc/relationships/restore/0.1/payload.ts +307 -0
  189. package/src/vtc/relationships/suspend/0.1/payload.ts +307 -0
  190. package/src/vtc/rooms/list/0.1/payload.ts +449 -0
  191. package/src/vtc/schemas/accepts/delete/0.1/payload.ts +170 -0
  192. package/src/vtc/schemas/accepts/list/0.1/payload.ts +724 -0
  193. package/src/vtc/schemas/accepts/register/0.1/payload.ts +697 -0
  194. package/src/vtc/schemas/accepts/show/0.1/payload.ts +684 -0
  195. package/src/vtc/schemas/delete/0.1/payload.ts +170 -0
  196. package/src/vtc/schemas/list/0.1/payload.ts +344 -0
  197. package/src/vtc/schemas/register/0.1/payload.ts +325 -0
  198. package/src/vtc/schemas/show/0.1/payload.ts +308 -0
  199. package/src/vtc/vetting/auto-grant/show/0.1/payload.ts +297 -0
  200. package/src/vtc/vetting/auto-grant/update/0.1/payload.ts +316 -0
  201. package/src/vtc/vetting/revocations/list/0.1/payload.ts +416 -0
  202. package/src/vtc/vetting/vetters/grants/list/0.1/payload.ts +700 -0
  203. package/src/vtc/website/deploy/0.1/payload.ts +255 -0
  204. package/src/vtc/website/files/show/0.1/payload.ts +303 -0
  205. package/src/vtc/website/upload/abort/0.1/payload.ts +182 -0
  206. package/src/vtc/website/upload/begin/0.1/payload.ts +408 -0
  207. package/src/vtc/website/upload/chunk/0.1/payload.ts +295 -0
  208. package/src/vtc/website/upload/commit/0.1/payload.ts +385 -0
@@ -0,0 +1,653 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vtc/rooms/list/0.1/payload.schema.json
4
+ */
5
+ import type { Ext, RetentionPolicy, Visibility } from "../../../../_shared/components.js";
6
+ /**
7
+ * Where a room sits on the hosting lifecycle clock, computed at the time of the read from its epoch expiry and retention: `live`, `lapsed`, `dormant` or `reclaimable`. Computed, never stored — minting an epoch is the renewal.
8
+ */
9
+ export type RoomLifecycle = "live" | "lapsed" | "dormant" | "reclaimable";
10
+ /**
11
+ * A community administrator pages through the data rooms this community hosts, as their host can honestly describe them. The outer document members are owned by the framework — SPEC §6.3.
12
+ */
13
+ export interface VTCRoomsListPayload {
14
+ lifecycle?: RoomLifecycle;
15
+ /**
16
+ * Opaque continuation token from a previous page's `nextCursor`.
17
+ */
18
+ cursor?: string;
19
+ /**
20
+ * Page size. The community chooses when absent (50 in the reference implementation).
21
+ */
22
+ limit?: number;
23
+ ext?: Ext;
24
+ }
25
+ export interface VTCRoomsListResponsePayload {
26
+ /**
27
+ * @maxItems 100
28
+ */
29
+ items: HostedRoom[];
30
+ /**
31
+ * Present when more remain; pass it as `cursor`.
32
+ */
33
+ nextCursor?: string;
34
+ ext?: Ext;
35
+ }
36
+ /**
37
+ * One room, as its host holds it: who is accountable for it, its tier, its epoch and its place on the lifecycle clock. Nothing derived from the room's contents, and no member list — the host has none.
38
+ */
39
+ export interface HostedRoom {
40
+ /**
41
+ * The room's identifier, as its owner minted it.
42
+ */
43
+ roomId: string;
44
+ /**
45
+ * The accountable party — visible at every tier, including `private`, because it is who the host must reach about quota, abuse and reclamation.
46
+ */
47
+ ownerDid: string;
48
+ visibility: Visibility;
49
+ retentionPolicy: RetentionPolicy;
50
+ /**
51
+ * The room's current epoch.
52
+ */
53
+ epoch: number;
54
+ lifecycle: RoomLifecycle;
55
+ /**
56
+ * When the current epoch expires, in seconds since the Unix epoch. Absent means the room never lapses.
57
+ */
58
+ epochExpiresAt?: number;
59
+ /**
60
+ * How long the host keeps the room after it lapses, in days.
61
+ */
62
+ retentionDays: number;
63
+ /**
64
+ * Present when this host serves a read-only copy, naming the primary it pulls from.
65
+ */
66
+ mirrorOf?: string;
67
+ /**
68
+ * When the room was created here, in seconds since the Unix epoch — the encoding the rooms family uses.
69
+ */
70
+ createdAt: number;
71
+ /**
72
+ * When the room's host record last changed, in seconds since the Unix epoch.
73
+ */
74
+ updatedAt: number;
75
+ }
76
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
77
+ export type { Ext, RetentionPolicy, Visibility };
78
+ /** Trust Task type URI. */
79
+ export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/rooms/list/0.1";
80
+ /** Stable alias for this specification's request payload shape. */
81
+ export type Payload = VTCRoomsListPayload;
82
+ /** Trust Task response type URI (request type URI + "#response"). */
83
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtc/rooms/list/0.1#response";
84
+ /** Stable alias for this specification's success-response payload shape. */
85
+ export type Response = VTCRoomsListResponsePayload;
86
+ /**
87
+ * This specification's payload schema, as a value.
88
+ *
89
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
90
+ * rather than only as a `.json` file because TypeScript types are erased
91
+ * at runtime: without a schema a consumer has nothing to validate, and
92
+ * every REQUIRED payload member is optional in practice. Cross-file
93
+ * `$ref`s are already inlined, so it needs no resolver.
94
+ */
95
+ export declare const PAYLOAD_SCHEMA: {
96
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
97
+ readonly $id: "https://trusttasks.org/spec/vtc/rooms/list/0.1";
98
+ readonly title: "VTC Rooms — List — payload";
99
+ readonly description: "A community administrator pages through the data rooms this community hosts, as their host can honestly describe them. The outer document members are owned by the framework — SPEC §6.3.";
100
+ readonly type: "object";
101
+ readonly additionalProperties: false;
102
+ readonly properties: {
103
+ readonly lifecycle: {
104
+ readonly $ref: "#/$defs/RoomLifecycle";
105
+ };
106
+ readonly cursor: {
107
+ readonly type: "string";
108
+ readonly minLength: 1;
109
+ readonly maxLength: 1024;
110
+ readonly description: "Opaque continuation token from a previous page's `nextCursor`.";
111
+ };
112
+ readonly limit: {
113
+ readonly type: "integer";
114
+ readonly minimum: 1;
115
+ readonly maximum: 100;
116
+ readonly description: "Page size. The community chooses when absent (50 in the reference implementation).";
117
+ };
118
+ readonly ext: {
119
+ readonly $ref: "#/$defs/Ext";
120
+ };
121
+ };
122
+ readonly $defs: {
123
+ readonly RoomLifecycle: {
124
+ readonly title: "RoomLifecycle";
125
+ readonly type: "string";
126
+ readonly enum: readonly ["live", "lapsed", "dormant", "reclaimable"];
127
+ readonly description: "Where a room sits on the hosting lifecycle clock, computed at the time of the read from its epoch expiry and retention: `live`, `lapsed`, `dormant` or `reclaimable`. Computed, never stored — minting an epoch is the renewal.";
128
+ };
129
+ readonly HostedRoom: {
130
+ readonly title: "HostedRoom";
131
+ readonly type: "object";
132
+ readonly additionalProperties: false;
133
+ readonly required: readonly ["roomId", "ownerDid", "visibility", "retentionPolicy", "epoch", "lifecycle", "retentionDays", "createdAt", "updatedAt"];
134
+ readonly description: "One room, as its host holds it: who is accountable for it, its tier, its epoch and its place on the lifecycle clock. Nothing derived from the room's contents, and no member list — the host has none.";
135
+ readonly properties: {
136
+ readonly roomId: {
137
+ readonly type: "string";
138
+ readonly minLength: 1;
139
+ readonly maxLength: 512;
140
+ readonly description: "The room's identifier, as its owner minted it.";
141
+ };
142
+ readonly ownerDid: {
143
+ readonly type: "string";
144
+ readonly pattern: "^did:";
145
+ readonly maxLength: 2048;
146
+ readonly description: "The accountable party — visible at every tier, including `private`, because it is who the host must reach about quota, abuse and reclamation.";
147
+ };
148
+ readonly visibility: {
149
+ readonly $ref: "#/$defs/Visibility";
150
+ };
151
+ readonly retentionPolicy: {
152
+ readonly $ref: "#/$defs/RetentionPolicy";
153
+ };
154
+ readonly epoch: {
155
+ readonly type: "integer";
156
+ readonly minimum: 0;
157
+ readonly description: "The room's current epoch.";
158
+ };
159
+ readonly lifecycle: {
160
+ readonly $ref: "#/$defs/RoomLifecycle";
161
+ };
162
+ readonly epochExpiresAt: {
163
+ readonly type: "integer";
164
+ readonly minimum: 0;
165
+ readonly description: "When the current epoch expires, in seconds since the Unix epoch. Absent means the room never lapses.";
166
+ };
167
+ readonly retentionDays: {
168
+ readonly type: "integer";
169
+ readonly minimum: 0;
170
+ readonly description: "How long the host keeps the room after it lapses, in days.";
171
+ };
172
+ readonly mirrorOf: {
173
+ readonly type: "string";
174
+ readonly minLength: 1;
175
+ readonly maxLength: 2048;
176
+ readonly description: "Present when this host serves a read-only copy, naming the primary it pulls from.";
177
+ };
178
+ readonly createdAt: {
179
+ readonly type: "integer";
180
+ readonly minimum: 0;
181
+ readonly description: "When the room was created here, in seconds since the Unix epoch — the encoding the rooms family uses.";
182
+ };
183
+ readonly updatedAt: {
184
+ readonly type: "integer";
185
+ readonly minimum: 0;
186
+ readonly description: "When the room's host record last changed, in seconds since the Unix epoch.";
187
+ };
188
+ };
189
+ };
190
+ readonly Response: {
191
+ readonly $anchor: "response";
192
+ readonly title: "VTC Rooms — List — response payload";
193
+ readonly type: "object";
194
+ readonly additionalProperties: false;
195
+ readonly required: readonly ["items"];
196
+ readonly properties: {
197
+ readonly items: {
198
+ readonly type: "array";
199
+ readonly maxItems: 100;
200
+ readonly items: {
201
+ readonly $ref: "#/$defs/HostedRoom";
202
+ };
203
+ };
204
+ readonly nextCursor: {
205
+ readonly type: "string";
206
+ readonly minLength: 1;
207
+ readonly maxLength: 1024;
208
+ readonly description: "Present when more remain; pass it as `cursor`.";
209
+ };
210
+ readonly ext: {
211
+ readonly $ref: "#/$defs/Ext";
212
+ };
213
+ };
214
+ };
215
+ readonly Ext: {
216
+ readonly title: "Ext";
217
+ 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.";
218
+ readonly type: "object";
219
+ readonly minProperties: 1;
220
+ readonly additionalProperties: true;
221
+ readonly propertyNames: {
222
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
223
+ };
224
+ };
225
+ readonly RetentionPolicy: {
226
+ readonly title: "RetentionPolicy";
227
+ readonly type: "string";
228
+ readonly enum: readonly ["chained", "fromJoin"];
229
+ readonly description: "Whether a room keeps its history readable across a membership change, fixed at creation and immutable thereafter — like `Visibility`, and for the same reason: the rungs of an epoch key chain either exist for an epoch or they do not, and no later change of mind can seal key material that was never sealed or unseal what was already severed. `chained`: each advance produces an `EpochLink`, so every member reads the room's whole retained history however long they have been in it — what a **library** wants, at the cost of post-compromise security for record content, since a compromised current key then reaches every retained epoch. `fromJoin`: no rungs are produced, so a member reads only from the epoch their group state is at — what a **stream** wants, and what a room under a strict forward-secrecy obligation wants, at the cost that a joining member finds an empty-looking room and nobody can reread a record once their group state has moved past the epoch it was sealed under. Absent means `chained`; see the prose on why the absent case is the readable one.";
230
+ readonly $comment: "Deliberately no JSON Schema `default`. A declared default is materialised by the generated bindings — the member becomes non-optional with a serde default — so an absent value would reappear as an explicit one on re-serialisation and break round-trip idempotence for every document written before this member existed. The meaning of absence is stated in prose, where a binding cannot act on it.";
231
+ };
232
+ readonly Visibility: {
233
+ readonly title: "Visibility";
234
+ readonly type: "string";
235
+ readonly enum: readonly ["open", "attributed", "private"];
236
+ readonly description: "How much of a room its host can see, fixed at creation and immutable thereafter. `open`: records are cleartext, searchable and fully audited. `attributed`: record content is sealed, and the host still learns which member acted. `private`: content is sealed and membership is presented in zero knowledge, so the host verifies that a member acted without learning which. Immutable because a downgrade cannot un-see cleartext and an upgrade would protect only what came after while presenting as though it protected everything.";
237
+ };
238
+ };
239
+ };
240
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
241
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
242
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
243
+ readonly $ref: "#/$defs/Response";
244
+ readonly $defs: {
245
+ readonly RoomLifecycle: {
246
+ readonly title: "RoomLifecycle";
247
+ readonly type: "string";
248
+ readonly enum: readonly ["live", "lapsed", "dormant", "reclaimable"];
249
+ readonly description: "Where a room sits on the hosting lifecycle clock, computed at the time of the read from its epoch expiry and retention: `live`, `lapsed`, `dormant` or `reclaimable`. Computed, never stored — minting an epoch is the renewal.";
250
+ };
251
+ readonly HostedRoom: {
252
+ readonly title: "HostedRoom";
253
+ readonly type: "object";
254
+ readonly additionalProperties: false;
255
+ readonly required: readonly ["roomId", "ownerDid", "visibility", "retentionPolicy", "epoch", "lifecycle", "retentionDays", "createdAt", "updatedAt"];
256
+ readonly description: "One room, as its host holds it: who is accountable for it, its tier, its epoch and its place on the lifecycle clock. Nothing derived from the room's contents, and no member list — the host has none.";
257
+ readonly properties: {
258
+ readonly roomId: {
259
+ readonly type: "string";
260
+ readonly minLength: 1;
261
+ readonly maxLength: 512;
262
+ readonly description: "The room's identifier, as its owner minted it.";
263
+ };
264
+ readonly ownerDid: {
265
+ readonly type: "string";
266
+ readonly pattern: "^did:";
267
+ readonly maxLength: 2048;
268
+ readonly description: "The accountable party — visible at every tier, including `private`, because it is who the host must reach about quota, abuse and reclamation.";
269
+ };
270
+ readonly visibility: {
271
+ readonly $ref: "#/$defs/Visibility";
272
+ };
273
+ readonly retentionPolicy: {
274
+ readonly $ref: "#/$defs/RetentionPolicy";
275
+ };
276
+ readonly epoch: {
277
+ readonly type: "integer";
278
+ readonly minimum: 0;
279
+ readonly description: "The room's current epoch.";
280
+ };
281
+ readonly lifecycle: {
282
+ readonly $ref: "#/$defs/RoomLifecycle";
283
+ };
284
+ readonly epochExpiresAt: {
285
+ readonly type: "integer";
286
+ readonly minimum: 0;
287
+ readonly description: "When the current epoch expires, in seconds since the Unix epoch. Absent means the room never lapses.";
288
+ };
289
+ readonly retentionDays: {
290
+ readonly type: "integer";
291
+ readonly minimum: 0;
292
+ readonly description: "How long the host keeps the room after it lapses, in days.";
293
+ };
294
+ readonly mirrorOf: {
295
+ readonly type: "string";
296
+ readonly minLength: 1;
297
+ readonly maxLength: 2048;
298
+ readonly description: "Present when this host serves a read-only copy, naming the primary it pulls from.";
299
+ };
300
+ readonly createdAt: {
301
+ readonly type: "integer";
302
+ readonly minimum: 0;
303
+ readonly description: "When the room was created here, in seconds since the Unix epoch — the encoding the rooms family uses.";
304
+ };
305
+ readonly updatedAt: {
306
+ readonly type: "integer";
307
+ readonly minimum: 0;
308
+ readonly description: "When the room's host record last changed, in seconds since the Unix epoch.";
309
+ };
310
+ };
311
+ };
312
+ readonly Response: {
313
+ readonly $anchor: "response";
314
+ readonly title: "VTC Rooms — List — response payload";
315
+ readonly type: "object";
316
+ readonly additionalProperties: false;
317
+ readonly required: readonly ["items"];
318
+ readonly properties: {
319
+ readonly items: {
320
+ readonly type: "array";
321
+ readonly maxItems: 100;
322
+ readonly items: {
323
+ readonly $ref: "#/$defs/HostedRoom";
324
+ };
325
+ };
326
+ readonly nextCursor: {
327
+ readonly type: "string";
328
+ readonly minLength: 1;
329
+ readonly maxLength: 1024;
330
+ readonly description: "Present when more remain; pass it as `cursor`.";
331
+ };
332
+ readonly ext: {
333
+ readonly $ref: "#/$defs/Ext";
334
+ };
335
+ };
336
+ };
337
+ readonly Ext: {
338
+ readonly title: "Ext";
339
+ 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.";
340
+ readonly type: "object";
341
+ readonly minProperties: 1;
342
+ readonly additionalProperties: true;
343
+ readonly propertyNames: {
344
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
345
+ };
346
+ };
347
+ readonly RetentionPolicy: {
348
+ readonly title: "RetentionPolicy";
349
+ readonly type: "string";
350
+ readonly enum: readonly ["chained", "fromJoin"];
351
+ readonly description: "Whether a room keeps its history readable across a membership change, fixed at creation and immutable thereafter — like `Visibility`, and for the same reason: the rungs of an epoch key chain either exist for an epoch or they do not, and no later change of mind can seal key material that was never sealed or unseal what was already severed. `chained`: each advance produces an `EpochLink`, so every member reads the room's whole retained history however long they have been in it — what a **library** wants, at the cost of post-compromise security for record content, since a compromised current key then reaches every retained epoch. `fromJoin`: no rungs are produced, so a member reads only from the epoch their group state is at — what a **stream** wants, and what a room under a strict forward-secrecy obligation wants, at the cost that a joining member finds an empty-looking room and nobody can reread a record once their group state has moved past the epoch it was sealed under. Absent means `chained`; see the prose on why the absent case is the readable one.";
352
+ readonly $comment: "Deliberately no JSON Schema `default`. A declared default is materialised by the generated bindings — the member becomes non-optional with a serde default — so an absent value would reappear as an explicit one on re-serialisation and break round-trip idempotence for every document written before this member existed. The meaning of absence is stated in prose, where a binding cannot act on it.";
353
+ };
354
+ readonly Visibility: {
355
+ readonly title: "Visibility";
356
+ readonly type: "string";
357
+ readonly enum: readonly ["open", "attributed", "private"];
358
+ readonly description: "How much of a room its host can see, fixed at creation and immutable thereafter. `open`: records are cleartext, searchable and fully audited. `attributed`: record content is sealed, and the host still learns which member acted. `private`: content is sealed and membership is presented in zero knowledge, so the host verifies that a member acted without learning which. Immutable because a downgrade cannot un-see cleartext and an upgrade would protect only what came after while presenting as though it protected everything.";
359
+ };
360
+ };
361
+ };
362
+ /**
363
+ * SPEC.md §7.2 policy for the request variant, from this specification's
364
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
365
+ * per-specification and cannot be derived from the document alone, and
366
+ * item 2 needs the schema this carries.
367
+ */
368
+ export declare const SPEC: {
369
+ readonly typeUri: "https://trusttasks.org/spec/vtc/rooms/list/0.1";
370
+ readonly isBearer: false;
371
+ readonly isProofRequired: false;
372
+ readonly isRecipientRequired: true;
373
+ readonly isIssuedAtRequired: false;
374
+ readonly payloadSchema: {
375
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
376
+ readonly $id: "https://trusttasks.org/spec/vtc/rooms/list/0.1";
377
+ readonly title: "VTC Rooms — List — payload";
378
+ readonly description: "A community administrator pages through the data rooms this community hosts, as their host can honestly describe them. The outer document members are owned by the framework — SPEC §6.3.";
379
+ readonly type: "object";
380
+ readonly additionalProperties: false;
381
+ readonly properties: {
382
+ readonly lifecycle: {
383
+ readonly $ref: "#/$defs/RoomLifecycle";
384
+ };
385
+ readonly cursor: {
386
+ readonly type: "string";
387
+ readonly minLength: 1;
388
+ readonly maxLength: 1024;
389
+ readonly description: "Opaque continuation token from a previous page's `nextCursor`.";
390
+ };
391
+ readonly limit: {
392
+ readonly type: "integer";
393
+ readonly minimum: 1;
394
+ readonly maximum: 100;
395
+ readonly description: "Page size. The community chooses when absent (50 in the reference implementation).";
396
+ };
397
+ readonly ext: {
398
+ readonly $ref: "#/$defs/Ext";
399
+ };
400
+ };
401
+ readonly $defs: {
402
+ readonly RoomLifecycle: {
403
+ readonly title: "RoomLifecycle";
404
+ readonly type: "string";
405
+ readonly enum: readonly ["live", "lapsed", "dormant", "reclaimable"];
406
+ readonly description: "Where a room sits on the hosting lifecycle clock, computed at the time of the read from its epoch expiry and retention: `live`, `lapsed`, `dormant` or `reclaimable`. Computed, never stored — minting an epoch is the renewal.";
407
+ };
408
+ readonly HostedRoom: {
409
+ readonly title: "HostedRoom";
410
+ readonly type: "object";
411
+ readonly additionalProperties: false;
412
+ readonly required: readonly ["roomId", "ownerDid", "visibility", "retentionPolicy", "epoch", "lifecycle", "retentionDays", "createdAt", "updatedAt"];
413
+ readonly description: "One room, as its host holds it: who is accountable for it, its tier, its epoch and its place on the lifecycle clock. Nothing derived from the room's contents, and no member list — the host has none.";
414
+ readonly properties: {
415
+ readonly roomId: {
416
+ readonly type: "string";
417
+ readonly minLength: 1;
418
+ readonly maxLength: 512;
419
+ readonly description: "The room's identifier, as its owner minted it.";
420
+ };
421
+ readonly ownerDid: {
422
+ readonly type: "string";
423
+ readonly pattern: "^did:";
424
+ readonly maxLength: 2048;
425
+ readonly description: "The accountable party — visible at every tier, including `private`, because it is who the host must reach about quota, abuse and reclamation.";
426
+ };
427
+ readonly visibility: {
428
+ readonly $ref: "#/$defs/Visibility";
429
+ };
430
+ readonly retentionPolicy: {
431
+ readonly $ref: "#/$defs/RetentionPolicy";
432
+ };
433
+ readonly epoch: {
434
+ readonly type: "integer";
435
+ readonly minimum: 0;
436
+ readonly description: "The room's current epoch.";
437
+ };
438
+ readonly lifecycle: {
439
+ readonly $ref: "#/$defs/RoomLifecycle";
440
+ };
441
+ readonly epochExpiresAt: {
442
+ readonly type: "integer";
443
+ readonly minimum: 0;
444
+ readonly description: "When the current epoch expires, in seconds since the Unix epoch. Absent means the room never lapses.";
445
+ };
446
+ readonly retentionDays: {
447
+ readonly type: "integer";
448
+ readonly minimum: 0;
449
+ readonly description: "How long the host keeps the room after it lapses, in days.";
450
+ };
451
+ readonly mirrorOf: {
452
+ readonly type: "string";
453
+ readonly minLength: 1;
454
+ readonly maxLength: 2048;
455
+ readonly description: "Present when this host serves a read-only copy, naming the primary it pulls from.";
456
+ };
457
+ readonly createdAt: {
458
+ readonly type: "integer";
459
+ readonly minimum: 0;
460
+ readonly description: "When the room was created here, in seconds since the Unix epoch — the encoding the rooms family uses.";
461
+ };
462
+ readonly updatedAt: {
463
+ readonly type: "integer";
464
+ readonly minimum: 0;
465
+ readonly description: "When the room's host record last changed, in seconds since the Unix epoch.";
466
+ };
467
+ };
468
+ };
469
+ readonly Response: {
470
+ readonly $anchor: "response";
471
+ readonly title: "VTC Rooms — List — response payload";
472
+ readonly type: "object";
473
+ readonly additionalProperties: false;
474
+ readonly required: readonly ["items"];
475
+ readonly properties: {
476
+ readonly items: {
477
+ readonly type: "array";
478
+ readonly maxItems: 100;
479
+ readonly items: {
480
+ readonly $ref: "#/$defs/HostedRoom";
481
+ };
482
+ };
483
+ readonly nextCursor: {
484
+ readonly type: "string";
485
+ readonly minLength: 1;
486
+ readonly maxLength: 1024;
487
+ readonly description: "Present when more remain; pass it as `cursor`.";
488
+ };
489
+ readonly ext: {
490
+ readonly $ref: "#/$defs/Ext";
491
+ };
492
+ };
493
+ };
494
+ readonly Ext: {
495
+ readonly title: "Ext";
496
+ 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.";
497
+ readonly type: "object";
498
+ readonly minProperties: 1;
499
+ readonly additionalProperties: true;
500
+ readonly propertyNames: {
501
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
502
+ };
503
+ };
504
+ readonly RetentionPolicy: {
505
+ readonly title: "RetentionPolicy";
506
+ readonly type: "string";
507
+ readonly enum: readonly ["chained", "fromJoin"];
508
+ readonly description: "Whether a room keeps its history readable across a membership change, fixed at creation and immutable thereafter — like `Visibility`, and for the same reason: the rungs of an epoch key chain either exist for an epoch or they do not, and no later change of mind can seal key material that was never sealed or unseal what was already severed. `chained`: each advance produces an `EpochLink`, so every member reads the room's whole retained history however long they have been in it — what a **library** wants, at the cost of post-compromise security for record content, since a compromised current key then reaches every retained epoch. `fromJoin`: no rungs are produced, so a member reads only from the epoch their group state is at — what a **stream** wants, and what a room under a strict forward-secrecy obligation wants, at the cost that a joining member finds an empty-looking room and nobody can reread a record once their group state has moved past the epoch it was sealed under. Absent means `chained`; see the prose on why the absent case is the readable one.";
509
+ readonly $comment: "Deliberately no JSON Schema `default`. A declared default is materialised by the generated bindings — the member becomes non-optional with a serde default — so an absent value would reappear as an explicit one on re-serialisation and break round-trip idempotence for every document written before this member existed. The meaning of absence is stated in prose, where a binding cannot act on it.";
510
+ };
511
+ readonly Visibility: {
512
+ readonly title: "Visibility";
513
+ readonly type: "string";
514
+ readonly enum: readonly ["open", "attributed", "private"];
515
+ readonly description: "How much of a room its host can see, fixed at creation and immutable thereafter. `open`: records are cleartext, searchable and fully audited. `attributed`: record content is sealed, and the host still learns which member acted. `private`: content is sealed and membership is presented in zero knowledge, so the host verifies that a member acted without learning which. Immutable because a downgrade cannot un-see cleartext and an upgrade would protect only what came after while presenting as though it protected everything.";
516
+ };
517
+ };
518
+ };
519
+ };
520
+ /**
521
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
522
+ * tracks the *issuer* party's requirement because a response swaps the
523
+ * parties (§7.3 item 5).
524
+ */
525
+ export declare const RESPONSE_SPEC: {
526
+ readonly typeUri: "https://trusttasks.org/spec/vtc/rooms/list/0.1#response";
527
+ readonly isBearer: false;
528
+ readonly isProofRequired: false;
529
+ readonly isRecipientRequired: true;
530
+ readonly isIssuedAtRequired: false;
531
+ readonly payloadSchema: {
532
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
533
+ readonly $ref: "#/$defs/Response";
534
+ readonly $defs: {
535
+ readonly RoomLifecycle: {
536
+ readonly title: "RoomLifecycle";
537
+ readonly type: "string";
538
+ readonly enum: readonly ["live", "lapsed", "dormant", "reclaimable"];
539
+ readonly description: "Where a room sits on the hosting lifecycle clock, computed at the time of the read from its epoch expiry and retention: `live`, `lapsed`, `dormant` or `reclaimable`. Computed, never stored — minting an epoch is the renewal.";
540
+ };
541
+ readonly HostedRoom: {
542
+ readonly title: "HostedRoom";
543
+ readonly type: "object";
544
+ readonly additionalProperties: false;
545
+ readonly required: readonly ["roomId", "ownerDid", "visibility", "retentionPolicy", "epoch", "lifecycle", "retentionDays", "createdAt", "updatedAt"];
546
+ readonly description: "One room, as its host holds it: who is accountable for it, its tier, its epoch and its place on the lifecycle clock. Nothing derived from the room's contents, and no member list — the host has none.";
547
+ readonly properties: {
548
+ readonly roomId: {
549
+ readonly type: "string";
550
+ readonly minLength: 1;
551
+ readonly maxLength: 512;
552
+ readonly description: "The room's identifier, as its owner minted it.";
553
+ };
554
+ readonly ownerDid: {
555
+ readonly type: "string";
556
+ readonly pattern: "^did:";
557
+ readonly maxLength: 2048;
558
+ readonly description: "The accountable party — visible at every tier, including `private`, because it is who the host must reach about quota, abuse and reclamation.";
559
+ };
560
+ readonly visibility: {
561
+ readonly $ref: "#/$defs/Visibility";
562
+ };
563
+ readonly retentionPolicy: {
564
+ readonly $ref: "#/$defs/RetentionPolicy";
565
+ };
566
+ readonly epoch: {
567
+ readonly type: "integer";
568
+ readonly minimum: 0;
569
+ readonly description: "The room's current epoch.";
570
+ };
571
+ readonly lifecycle: {
572
+ readonly $ref: "#/$defs/RoomLifecycle";
573
+ };
574
+ readonly epochExpiresAt: {
575
+ readonly type: "integer";
576
+ readonly minimum: 0;
577
+ readonly description: "When the current epoch expires, in seconds since the Unix epoch. Absent means the room never lapses.";
578
+ };
579
+ readonly retentionDays: {
580
+ readonly type: "integer";
581
+ readonly minimum: 0;
582
+ readonly description: "How long the host keeps the room after it lapses, in days.";
583
+ };
584
+ readonly mirrorOf: {
585
+ readonly type: "string";
586
+ readonly minLength: 1;
587
+ readonly maxLength: 2048;
588
+ readonly description: "Present when this host serves a read-only copy, naming the primary it pulls from.";
589
+ };
590
+ readonly createdAt: {
591
+ readonly type: "integer";
592
+ readonly minimum: 0;
593
+ readonly description: "When the room was created here, in seconds since the Unix epoch — the encoding the rooms family uses.";
594
+ };
595
+ readonly updatedAt: {
596
+ readonly type: "integer";
597
+ readonly minimum: 0;
598
+ readonly description: "When the room's host record last changed, in seconds since the Unix epoch.";
599
+ };
600
+ };
601
+ };
602
+ readonly Response: {
603
+ readonly $anchor: "response";
604
+ readonly title: "VTC Rooms — List — response payload";
605
+ readonly type: "object";
606
+ readonly additionalProperties: false;
607
+ readonly required: readonly ["items"];
608
+ readonly properties: {
609
+ readonly items: {
610
+ readonly type: "array";
611
+ readonly maxItems: 100;
612
+ readonly items: {
613
+ readonly $ref: "#/$defs/HostedRoom";
614
+ };
615
+ };
616
+ readonly nextCursor: {
617
+ readonly type: "string";
618
+ readonly minLength: 1;
619
+ readonly maxLength: 1024;
620
+ readonly description: "Present when more remain; pass it as `cursor`.";
621
+ };
622
+ readonly ext: {
623
+ readonly $ref: "#/$defs/Ext";
624
+ };
625
+ };
626
+ };
627
+ readonly Ext: {
628
+ readonly title: "Ext";
629
+ 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.";
630
+ readonly type: "object";
631
+ readonly minProperties: 1;
632
+ readonly additionalProperties: true;
633
+ readonly propertyNames: {
634
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
635
+ };
636
+ };
637
+ readonly RetentionPolicy: {
638
+ readonly title: "RetentionPolicy";
639
+ readonly type: "string";
640
+ readonly enum: readonly ["chained", "fromJoin"];
641
+ readonly description: "Whether a room keeps its history readable across a membership change, fixed at creation and immutable thereafter — like `Visibility`, and for the same reason: the rungs of an epoch key chain either exist for an epoch or they do not, and no later change of mind can seal key material that was never sealed or unseal what was already severed. `chained`: each advance produces an `EpochLink`, so every member reads the room's whole retained history however long they have been in it — what a **library** wants, at the cost of post-compromise security for record content, since a compromised current key then reaches every retained epoch. `fromJoin`: no rungs are produced, so a member reads only from the epoch their group state is at — what a **stream** wants, and what a room under a strict forward-secrecy obligation wants, at the cost that a joining member finds an empty-looking room and nobody can reread a record once their group state has moved past the epoch it was sealed under. Absent means `chained`; see the prose on why the absent case is the readable one.";
642
+ readonly $comment: "Deliberately no JSON Schema `default`. A declared default is materialised by the generated bindings — the member becomes non-optional with a serde default — so an absent value would reappear as an explicit one on re-serialisation and break round-trip idempotence for every document written before this member existed. The meaning of absence is stated in prose, where a binding cannot act on it.";
643
+ };
644
+ readonly Visibility: {
645
+ readonly title: "Visibility";
646
+ readonly type: "string";
647
+ readonly enum: readonly ["open", "attributed", "private"];
648
+ readonly description: "How much of a room its host can see, fixed at creation and immutable thereafter. `open`: records are cleartext, searchable and fully audited. `attributed`: record content is sealed, and the host still learns which member acted. `private`: content is sealed and membership is presented in zero knowledge, so the host verifies that a member acted without learning which. Immutable because a downgrade cannot un-see cleartext and an upgrade would protect only what came after while presenting as though it protected everything.";
649
+ };
650
+ };
651
+ };
652
+ };
653
+ //# sourceMappingURL=payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/rooms/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAG1F;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,aAAa,CAAC;AAE1E;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,UAAU,CAAC;IACvB,eAAe,EAAE,eAAe,CAAC;IACjC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,aAAa,CAAC;IACzB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,kHAAkH;AAClH,YAAY,EAAE,GAAG,EAAE,eAAe,EAAE,UAAU,EAAE,CAAC;AAEjD,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,gDAAyD,CAAC;AAElF,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,mBAAmB,CAAC;AAE1C,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,yDAAkE,CAAC;AAEpG,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,2BAA2B,CAAC;AAEnD;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwKjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgJ1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}