@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,608 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vtc/vetting/revocations/list/0.1/payload.schema.json
4
+ */
5
+ import type { DigestMultibase, Ext } from "../../../../../_shared/components.js";
6
+ /**
7
+ * Whether a withdrawn statement touches a standing membership. `noAdmission`: no current member was admitted with the statement counted. `needsReview`: a current member was — their admission rested on evidence its vetter has taken back. A signal for an administrator, not a workflow: nothing records that one looked.
8
+ */
9
+ export type ReviewState = "noAdmission" | "needsReview";
10
+ /**
11
+ * An administrator pages through the vetting-statement withdrawal notices the community has recorded, each with the admissions it touches. The outer document members are owned by the framework — SPEC §6.3.
12
+ */
13
+ export interface VTCVettingRevocationsListPayload {
14
+ reviewState?: ReviewState;
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 VTCVettingRevocationsListResponsePayload {
26
+ /**
27
+ * @maxItems 100
28
+ */
29
+ items: RevocationNotice[];
30
+ /**
31
+ * Present when more remain; pass it as `cursor`.
32
+ */
33
+ nextCursor?: string;
34
+ ext?: Ext;
35
+ }
36
+ /**
37
+ * One withdrawal notice, as vtc/vetting/revoke-statement recorded it, and the admissions it touches.
38
+ */
39
+ export interface RevocationNotice {
40
+ /**
41
+ * The vetter who withdrew the statement.
42
+ */
43
+ issuer: string;
44
+ /**
45
+ * The withdrawn statement's `id`.
46
+ */
47
+ statementId: string;
48
+ statementDigestMultibase: DigestMultibase;
49
+ /**
50
+ * The vetter's reason, when given, as vtc/vetting/revoke-statement defines it.
51
+ */
52
+ reason?: "mistake" | "newInformation" | "keyCompromise" | "other";
53
+ /**
54
+ * When the community recorded the notice.
55
+ */
56
+ recordedAt: string;
57
+ reviewState: ReviewState;
58
+ /**
59
+ * Approved join requests whose recorded vetting facts counted the statement.
60
+ *
61
+ * @maxItems 64
62
+ */
63
+ affectedJoinRequests: string[];
64
+ /**
65
+ * Of those requests' applicants, the ones who are current members.
66
+ *
67
+ * @maxItems 64
68
+ */
69
+ affectedMembers: string[];
70
+ }
71
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
72
+ export type { DigestMultibase, Ext };
73
+ /** Trust Task type URI. */
74
+ export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/vetting/revocations/list/0.1";
75
+ /** Stable alias for this specification's request payload shape. */
76
+ export type Payload = VTCVettingRevocationsListPayload;
77
+ /** Trust Task response type URI (request type URI + "#response"). */
78
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtc/vetting/revocations/list/0.1#response";
79
+ /** Stable alias for this specification's success-response payload shape. */
80
+ export type Response = VTCVettingRevocationsListResponsePayload;
81
+ /**
82
+ * This specification's payload schema, as a value.
83
+ *
84
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
85
+ * rather than only as a `.json` file because TypeScript types are erased
86
+ * at runtime: without a schema a consumer has nothing to validate, and
87
+ * every REQUIRED payload member is optional in practice. Cross-file
88
+ * `$ref`s are already inlined, so it needs no resolver.
89
+ */
90
+ export declare const PAYLOAD_SCHEMA: {
91
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
92
+ readonly $id: "https://trusttasks.org/spec/vtc/vetting/revocations/list/0.1";
93
+ readonly title: "VTC Vetting — Revocations — List — payload";
94
+ readonly description: "An administrator pages through the vetting-statement withdrawal notices the community has recorded, each with the admissions it touches. The outer document members are owned by the framework — SPEC §6.3.";
95
+ readonly type: "object";
96
+ readonly additionalProperties: false;
97
+ readonly properties: {
98
+ readonly reviewState: {
99
+ readonly $ref: "#/$defs/ReviewState";
100
+ };
101
+ readonly cursor: {
102
+ readonly type: "string";
103
+ readonly minLength: 1;
104
+ readonly maxLength: 1024;
105
+ readonly description: "Opaque continuation token from a previous page's `nextCursor`.";
106
+ };
107
+ readonly limit: {
108
+ readonly type: "integer";
109
+ readonly minimum: 1;
110
+ readonly maximum: 100;
111
+ readonly description: "Page size. The community chooses when absent (50 in the reference implementation).";
112
+ };
113
+ readonly ext: {
114
+ readonly $ref: "#/$defs/Ext";
115
+ };
116
+ };
117
+ readonly $defs: {
118
+ readonly ReviewState: {
119
+ readonly title: "ReviewState";
120
+ readonly type: "string";
121
+ readonly enum: readonly ["noAdmission", "needsReview"];
122
+ readonly description: "Whether a withdrawn statement touches a standing membership. `noAdmission`: no current member was admitted with the statement counted. `needsReview`: a current member was — their admission rested on evidence its vetter has taken back. A signal for an administrator, not a workflow: nothing records that one looked.";
123
+ };
124
+ readonly RevocationNotice: {
125
+ readonly title: "RevocationNotice";
126
+ readonly type: "object";
127
+ readonly additionalProperties: false;
128
+ readonly required: readonly ["issuer", "statementId", "statementDigestMultibase", "recordedAt", "reviewState", "affectedJoinRequests", "affectedMembers"];
129
+ readonly description: "One withdrawal notice, as vtc/vetting/revoke-statement recorded it, and the admissions it touches.";
130
+ readonly properties: {
131
+ readonly issuer: {
132
+ readonly type: "string";
133
+ readonly pattern: "^did:";
134
+ readonly maxLength: 2048;
135
+ readonly description: "The vetter who withdrew the statement.";
136
+ };
137
+ readonly statementId: {
138
+ readonly type: "string";
139
+ readonly minLength: 1;
140
+ readonly maxLength: 2048;
141
+ readonly description: "The withdrawn statement's `id`.";
142
+ };
143
+ readonly statementDigestMultibase: {
144
+ readonly $ref: "#/$defs/DigestMultibase";
145
+ };
146
+ readonly reason: {
147
+ readonly type: "string";
148
+ readonly enum: readonly ["mistake", "newInformation", "keyCompromise", "other"];
149
+ readonly description: "The vetter's reason, when given, as vtc/vetting/revoke-statement defines it.";
150
+ };
151
+ readonly recordedAt: {
152
+ readonly type: "string";
153
+ readonly format: "date-time";
154
+ readonly description: "When the community recorded the notice.";
155
+ };
156
+ readonly reviewState: {
157
+ readonly $ref: "#/$defs/ReviewState";
158
+ };
159
+ readonly affectedJoinRequests: {
160
+ readonly type: "array";
161
+ readonly maxItems: 64;
162
+ readonly items: {
163
+ readonly type: "string";
164
+ readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$";
165
+ };
166
+ readonly description: "Approved join requests whose recorded vetting facts counted the statement.";
167
+ };
168
+ readonly affectedMembers: {
169
+ readonly type: "array";
170
+ readonly maxItems: 64;
171
+ readonly items: {
172
+ readonly type: "string";
173
+ readonly pattern: "^did:";
174
+ readonly maxLength: 2048;
175
+ };
176
+ readonly description: "Of those requests' applicants, the ones who are current members.";
177
+ };
178
+ };
179
+ };
180
+ readonly Response: {
181
+ readonly $anchor: "response";
182
+ readonly title: "VTC Vetting — Revocations — List — response payload";
183
+ readonly type: "object";
184
+ readonly additionalProperties: false;
185
+ readonly required: readonly ["items"];
186
+ readonly properties: {
187
+ readonly items: {
188
+ readonly type: "array";
189
+ readonly maxItems: 100;
190
+ readonly items: {
191
+ readonly $ref: "#/$defs/RevocationNotice";
192
+ };
193
+ };
194
+ readonly nextCursor: {
195
+ readonly type: "string";
196
+ readonly minLength: 1;
197
+ readonly maxLength: 1024;
198
+ readonly description: "Present when more remain; pass it as `cursor`.";
199
+ };
200
+ readonly ext: {
201
+ readonly $ref: "#/$defs/Ext";
202
+ };
203
+ };
204
+ };
205
+ readonly Ext: {
206
+ readonly title: "Ext";
207
+ 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.";
208
+ readonly type: "object";
209
+ readonly minProperties: 1;
210
+ readonly additionalProperties: true;
211
+ readonly propertyNames: {
212
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
213
+ };
214
+ };
215
+ readonly DigestMultibase: {
216
+ readonly title: "DigestMultibase";
217
+ readonly description: "A cryptographic digest as a multibase-encoded multihash — the encoding the W3C Verifiable Credentials Data Model 2.0 defines for `digestMultibase`, and the one `did:webvh` uses for its SCID and entry hashes.\n\nMultihash carries the hash algorithm in-band, so the value is self-describing and the wire format survives an algorithm change without a schema revision; multibase does the same for the base encoding, so a verifier never infers base58 from base64url by context. A bare hex string or a `sha-256:`-style prefix hard-codes one algorithm into the wire contract and is non-conforming here.\n\nThis definition constrains the *encoding only*. What the digest is computed over is stated by each referencing field, because it differs legitimately: a digest over a JSON document is taken over its RFC 8785 (JCS) canonicalization, while a digest over an opaque artifact is taken over its bytes. A field whose input is a JSON document and which does not name a canonicalization is not reproducible.\n\nRestricted to the two multibase headers W3C Controlled Identifiers 1.0 §2.4 normatively requires — `z` (base58btc) and `u` (base64url-no-pad). CID permits others but states that \"interoperability is not guaranteed between implementations using such values\", and a registry whose purpose is interoperability should not mint digests a conforming verifier may be unable to read. The alphabets are enforced rather than assumed: base58btc excludes 0, O, I and l, and an earlier permissive pattern let three published examples carry digests that were not valid base58 at all. base58btc is RECOMMENDED, for consistency with `did:key` and `did:webvh`.";
218
+ readonly type: "string";
219
+ readonly minLength: 16;
220
+ readonly pattern: "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$";
221
+ readonly examples: readonly ["zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"];
222
+ };
223
+ };
224
+ };
225
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
226
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
227
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
228
+ readonly $ref: "#/$defs/Response";
229
+ readonly $defs: {
230
+ readonly ReviewState: {
231
+ readonly title: "ReviewState";
232
+ readonly type: "string";
233
+ readonly enum: readonly ["noAdmission", "needsReview"];
234
+ readonly description: "Whether a withdrawn statement touches a standing membership. `noAdmission`: no current member was admitted with the statement counted. `needsReview`: a current member was — their admission rested on evidence its vetter has taken back. A signal for an administrator, not a workflow: nothing records that one looked.";
235
+ };
236
+ readonly RevocationNotice: {
237
+ readonly title: "RevocationNotice";
238
+ readonly type: "object";
239
+ readonly additionalProperties: false;
240
+ readonly required: readonly ["issuer", "statementId", "statementDigestMultibase", "recordedAt", "reviewState", "affectedJoinRequests", "affectedMembers"];
241
+ readonly description: "One withdrawal notice, as vtc/vetting/revoke-statement recorded it, and the admissions it touches.";
242
+ readonly properties: {
243
+ readonly issuer: {
244
+ readonly type: "string";
245
+ readonly pattern: "^did:";
246
+ readonly maxLength: 2048;
247
+ readonly description: "The vetter who withdrew the statement.";
248
+ };
249
+ readonly statementId: {
250
+ readonly type: "string";
251
+ readonly minLength: 1;
252
+ readonly maxLength: 2048;
253
+ readonly description: "The withdrawn statement's `id`.";
254
+ };
255
+ readonly statementDigestMultibase: {
256
+ readonly $ref: "#/$defs/DigestMultibase";
257
+ };
258
+ readonly reason: {
259
+ readonly type: "string";
260
+ readonly enum: readonly ["mistake", "newInformation", "keyCompromise", "other"];
261
+ readonly description: "The vetter's reason, when given, as vtc/vetting/revoke-statement defines it.";
262
+ };
263
+ readonly recordedAt: {
264
+ readonly type: "string";
265
+ readonly format: "date-time";
266
+ readonly description: "When the community recorded the notice.";
267
+ };
268
+ readonly reviewState: {
269
+ readonly $ref: "#/$defs/ReviewState";
270
+ };
271
+ readonly affectedJoinRequests: {
272
+ readonly type: "array";
273
+ readonly maxItems: 64;
274
+ readonly items: {
275
+ readonly type: "string";
276
+ readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$";
277
+ };
278
+ readonly description: "Approved join requests whose recorded vetting facts counted the statement.";
279
+ };
280
+ readonly affectedMembers: {
281
+ readonly type: "array";
282
+ readonly maxItems: 64;
283
+ readonly items: {
284
+ readonly type: "string";
285
+ readonly pattern: "^did:";
286
+ readonly maxLength: 2048;
287
+ };
288
+ readonly description: "Of those requests' applicants, the ones who are current members.";
289
+ };
290
+ };
291
+ };
292
+ readonly Response: {
293
+ readonly $anchor: "response";
294
+ readonly title: "VTC Vetting — Revocations — List — response payload";
295
+ readonly type: "object";
296
+ readonly additionalProperties: false;
297
+ readonly required: readonly ["items"];
298
+ readonly properties: {
299
+ readonly items: {
300
+ readonly type: "array";
301
+ readonly maxItems: 100;
302
+ readonly items: {
303
+ readonly $ref: "#/$defs/RevocationNotice";
304
+ };
305
+ };
306
+ readonly nextCursor: {
307
+ readonly type: "string";
308
+ readonly minLength: 1;
309
+ readonly maxLength: 1024;
310
+ readonly description: "Present when more remain; pass it as `cursor`.";
311
+ };
312
+ readonly ext: {
313
+ readonly $ref: "#/$defs/Ext";
314
+ };
315
+ };
316
+ };
317
+ readonly Ext: {
318
+ readonly title: "Ext";
319
+ 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.";
320
+ readonly type: "object";
321
+ readonly minProperties: 1;
322
+ readonly additionalProperties: true;
323
+ readonly propertyNames: {
324
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
325
+ };
326
+ };
327
+ readonly DigestMultibase: {
328
+ readonly title: "DigestMultibase";
329
+ readonly description: "A cryptographic digest as a multibase-encoded multihash — the encoding the W3C Verifiable Credentials Data Model 2.0 defines for `digestMultibase`, and the one `did:webvh` uses for its SCID and entry hashes.\n\nMultihash carries the hash algorithm in-band, so the value is self-describing and the wire format survives an algorithm change without a schema revision; multibase does the same for the base encoding, so a verifier never infers base58 from base64url by context. A bare hex string or a `sha-256:`-style prefix hard-codes one algorithm into the wire contract and is non-conforming here.\n\nThis definition constrains the *encoding only*. What the digest is computed over is stated by each referencing field, because it differs legitimately: a digest over a JSON document is taken over its RFC 8785 (JCS) canonicalization, while a digest over an opaque artifact is taken over its bytes. A field whose input is a JSON document and which does not name a canonicalization is not reproducible.\n\nRestricted to the two multibase headers W3C Controlled Identifiers 1.0 §2.4 normatively requires — `z` (base58btc) and `u` (base64url-no-pad). CID permits others but states that \"interoperability is not guaranteed between implementations using such values\", and a registry whose purpose is interoperability should not mint digests a conforming verifier may be unable to read. The alphabets are enforced rather than assumed: base58btc excludes 0, O, I and l, and an earlier permissive pattern let three published examples carry digests that were not valid base58 at all. base58btc is RECOMMENDED, for consistency with `did:key` and `did:webvh`.";
330
+ readonly type: "string";
331
+ readonly minLength: 16;
332
+ readonly pattern: "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$";
333
+ readonly examples: readonly ["zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"];
334
+ };
335
+ };
336
+ };
337
+ /**
338
+ * SPEC.md §7.2 policy for the request variant, from this specification's
339
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
340
+ * per-specification and cannot be derived from the document alone, and
341
+ * item 2 needs the schema this carries.
342
+ */
343
+ export declare const SPEC: {
344
+ readonly typeUri: "https://trusttasks.org/spec/vtc/vetting/revocations/list/0.1";
345
+ readonly isBearer: false;
346
+ readonly isProofRequired: false;
347
+ readonly isRecipientRequired: true;
348
+ readonly isIssuedAtRequired: false;
349
+ readonly payloadSchema: {
350
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
351
+ readonly $id: "https://trusttasks.org/spec/vtc/vetting/revocations/list/0.1";
352
+ readonly title: "VTC Vetting — Revocations — List — payload";
353
+ readonly description: "An administrator pages through the vetting-statement withdrawal notices the community has recorded, each with the admissions it touches. The outer document members are owned by the framework — SPEC §6.3.";
354
+ readonly type: "object";
355
+ readonly additionalProperties: false;
356
+ readonly properties: {
357
+ readonly reviewState: {
358
+ readonly $ref: "#/$defs/ReviewState";
359
+ };
360
+ readonly cursor: {
361
+ readonly type: "string";
362
+ readonly minLength: 1;
363
+ readonly maxLength: 1024;
364
+ readonly description: "Opaque continuation token from a previous page's `nextCursor`.";
365
+ };
366
+ readonly limit: {
367
+ readonly type: "integer";
368
+ readonly minimum: 1;
369
+ readonly maximum: 100;
370
+ readonly description: "Page size. The community chooses when absent (50 in the reference implementation).";
371
+ };
372
+ readonly ext: {
373
+ readonly $ref: "#/$defs/Ext";
374
+ };
375
+ };
376
+ readonly $defs: {
377
+ readonly ReviewState: {
378
+ readonly title: "ReviewState";
379
+ readonly type: "string";
380
+ readonly enum: readonly ["noAdmission", "needsReview"];
381
+ readonly description: "Whether a withdrawn statement touches a standing membership. `noAdmission`: no current member was admitted with the statement counted. `needsReview`: a current member was — their admission rested on evidence its vetter has taken back. A signal for an administrator, not a workflow: nothing records that one looked.";
382
+ };
383
+ readonly RevocationNotice: {
384
+ readonly title: "RevocationNotice";
385
+ readonly type: "object";
386
+ readonly additionalProperties: false;
387
+ readonly required: readonly ["issuer", "statementId", "statementDigestMultibase", "recordedAt", "reviewState", "affectedJoinRequests", "affectedMembers"];
388
+ readonly description: "One withdrawal notice, as vtc/vetting/revoke-statement recorded it, and the admissions it touches.";
389
+ readonly properties: {
390
+ readonly issuer: {
391
+ readonly type: "string";
392
+ readonly pattern: "^did:";
393
+ readonly maxLength: 2048;
394
+ readonly description: "The vetter who withdrew the statement.";
395
+ };
396
+ readonly statementId: {
397
+ readonly type: "string";
398
+ readonly minLength: 1;
399
+ readonly maxLength: 2048;
400
+ readonly description: "The withdrawn statement's `id`.";
401
+ };
402
+ readonly statementDigestMultibase: {
403
+ readonly $ref: "#/$defs/DigestMultibase";
404
+ };
405
+ readonly reason: {
406
+ readonly type: "string";
407
+ readonly enum: readonly ["mistake", "newInformation", "keyCompromise", "other"];
408
+ readonly description: "The vetter's reason, when given, as vtc/vetting/revoke-statement defines it.";
409
+ };
410
+ readonly recordedAt: {
411
+ readonly type: "string";
412
+ readonly format: "date-time";
413
+ readonly description: "When the community recorded the notice.";
414
+ };
415
+ readonly reviewState: {
416
+ readonly $ref: "#/$defs/ReviewState";
417
+ };
418
+ readonly affectedJoinRequests: {
419
+ readonly type: "array";
420
+ readonly maxItems: 64;
421
+ readonly items: {
422
+ readonly type: "string";
423
+ readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$";
424
+ };
425
+ readonly description: "Approved join requests whose recorded vetting facts counted the statement.";
426
+ };
427
+ readonly affectedMembers: {
428
+ readonly type: "array";
429
+ readonly maxItems: 64;
430
+ readonly items: {
431
+ readonly type: "string";
432
+ readonly pattern: "^did:";
433
+ readonly maxLength: 2048;
434
+ };
435
+ readonly description: "Of those requests' applicants, the ones who are current members.";
436
+ };
437
+ };
438
+ };
439
+ readonly Response: {
440
+ readonly $anchor: "response";
441
+ readonly title: "VTC Vetting — Revocations — List — response payload";
442
+ readonly type: "object";
443
+ readonly additionalProperties: false;
444
+ readonly required: readonly ["items"];
445
+ readonly properties: {
446
+ readonly items: {
447
+ readonly type: "array";
448
+ readonly maxItems: 100;
449
+ readonly items: {
450
+ readonly $ref: "#/$defs/RevocationNotice";
451
+ };
452
+ };
453
+ readonly nextCursor: {
454
+ readonly type: "string";
455
+ readonly minLength: 1;
456
+ readonly maxLength: 1024;
457
+ readonly description: "Present when more remain; pass it as `cursor`.";
458
+ };
459
+ readonly ext: {
460
+ readonly $ref: "#/$defs/Ext";
461
+ };
462
+ };
463
+ };
464
+ readonly Ext: {
465
+ readonly title: "Ext";
466
+ 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.";
467
+ readonly type: "object";
468
+ readonly minProperties: 1;
469
+ readonly additionalProperties: true;
470
+ readonly propertyNames: {
471
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
472
+ };
473
+ };
474
+ readonly DigestMultibase: {
475
+ readonly title: "DigestMultibase";
476
+ readonly description: "A cryptographic digest as a multibase-encoded multihash — the encoding the W3C Verifiable Credentials Data Model 2.0 defines for `digestMultibase`, and the one `did:webvh` uses for its SCID and entry hashes.\n\nMultihash carries the hash algorithm in-band, so the value is self-describing and the wire format survives an algorithm change without a schema revision; multibase does the same for the base encoding, so a verifier never infers base58 from base64url by context. A bare hex string or a `sha-256:`-style prefix hard-codes one algorithm into the wire contract and is non-conforming here.\n\nThis definition constrains the *encoding only*. What the digest is computed over is stated by each referencing field, because it differs legitimately: a digest over a JSON document is taken over its RFC 8785 (JCS) canonicalization, while a digest over an opaque artifact is taken over its bytes. A field whose input is a JSON document and which does not name a canonicalization is not reproducible.\n\nRestricted to the two multibase headers W3C Controlled Identifiers 1.0 §2.4 normatively requires — `z` (base58btc) and `u` (base64url-no-pad). CID permits others but states that \"interoperability is not guaranteed between implementations using such values\", and a registry whose purpose is interoperability should not mint digests a conforming verifier may be unable to read. The alphabets are enforced rather than assumed: base58btc excludes 0, O, I and l, and an earlier permissive pattern let three published examples carry digests that were not valid base58 at all. base58btc is RECOMMENDED, for consistency with `did:key` and `did:webvh`.";
477
+ readonly type: "string";
478
+ readonly minLength: 16;
479
+ readonly pattern: "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$";
480
+ readonly examples: readonly ["zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"];
481
+ };
482
+ };
483
+ };
484
+ };
485
+ /**
486
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
487
+ * tracks the *issuer* party's requirement because a response swaps the
488
+ * parties (§7.3 item 5).
489
+ */
490
+ export declare const RESPONSE_SPEC: {
491
+ readonly typeUri: "https://trusttasks.org/spec/vtc/vetting/revocations/list/0.1#response";
492
+ readonly isBearer: false;
493
+ readonly isProofRequired: false;
494
+ readonly isRecipientRequired: true;
495
+ readonly isIssuedAtRequired: false;
496
+ readonly payloadSchema: {
497
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
498
+ readonly $ref: "#/$defs/Response";
499
+ readonly $defs: {
500
+ readonly ReviewState: {
501
+ readonly title: "ReviewState";
502
+ readonly type: "string";
503
+ readonly enum: readonly ["noAdmission", "needsReview"];
504
+ readonly description: "Whether a withdrawn statement touches a standing membership. `noAdmission`: no current member was admitted with the statement counted. `needsReview`: a current member was — their admission rested on evidence its vetter has taken back. A signal for an administrator, not a workflow: nothing records that one looked.";
505
+ };
506
+ readonly RevocationNotice: {
507
+ readonly title: "RevocationNotice";
508
+ readonly type: "object";
509
+ readonly additionalProperties: false;
510
+ readonly required: readonly ["issuer", "statementId", "statementDigestMultibase", "recordedAt", "reviewState", "affectedJoinRequests", "affectedMembers"];
511
+ readonly description: "One withdrawal notice, as vtc/vetting/revoke-statement recorded it, and the admissions it touches.";
512
+ readonly properties: {
513
+ readonly issuer: {
514
+ readonly type: "string";
515
+ readonly pattern: "^did:";
516
+ readonly maxLength: 2048;
517
+ readonly description: "The vetter who withdrew the statement.";
518
+ };
519
+ readonly statementId: {
520
+ readonly type: "string";
521
+ readonly minLength: 1;
522
+ readonly maxLength: 2048;
523
+ readonly description: "The withdrawn statement's `id`.";
524
+ };
525
+ readonly statementDigestMultibase: {
526
+ readonly $ref: "#/$defs/DigestMultibase";
527
+ };
528
+ readonly reason: {
529
+ readonly type: "string";
530
+ readonly enum: readonly ["mistake", "newInformation", "keyCompromise", "other"];
531
+ readonly description: "The vetter's reason, when given, as vtc/vetting/revoke-statement defines it.";
532
+ };
533
+ readonly recordedAt: {
534
+ readonly type: "string";
535
+ readonly format: "date-time";
536
+ readonly description: "When the community recorded the notice.";
537
+ };
538
+ readonly reviewState: {
539
+ readonly $ref: "#/$defs/ReviewState";
540
+ };
541
+ readonly affectedJoinRequests: {
542
+ readonly type: "array";
543
+ readonly maxItems: 64;
544
+ readonly items: {
545
+ readonly type: "string";
546
+ readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$";
547
+ };
548
+ readonly description: "Approved join requests whose recorded vetting facts counted the statement.";
549
+ };
550
+ readonly affectedMembers: {
551
+ readonly type: "array";
552
+ readonly maxItems: 64;
553
+ readonly items: {
554
+ readonly type: "string";
555
+ readonly pattern: "^did:";
556
+ readonly maxLength: 2048;
557
+ };
558
+ readonly description: "Of those requests' applicants, the ones who are current members.";
559
+ };
560
+ };
561
+ };
562
+ readonly Response: {
563
+ readonly $anchor: "response";
564
+ readonly title: "VTC Vetting — Revocations — List — response payload";
565
+ readonly type: "object";
566
+ readonly additionalProperties: false;
567
+ readonly required: readonly ["items"];
568
+ readonly properties: {
569
+ readonly items: {
570
+ readonly type: "array";
571
+ readonly maxItems: 100;
572
+ readonly items: {
573
+ readonly $ref: "#/$defs/RevocationNotice";
574
+ };
575
+ };
576
+ readonly nextCursor: {
577
+ readonly type: "string";
578
+ readonly minLength: 1;
579
+ readonly maxLength: 1024;
580
+ readonly description: "Present when more remain; pass it as `cursor`.";
581
+ };
582
+ readonly ext: {
583
+ readonly $ref: "#/$defs/Ext";
584
+ };
585
+ };
586
+ };
587
+ readonly Ext: {
588
+ readonly title: "Ext";
589
+ 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.";
590
+ readonly type: "object";
591
+ readonly minProperties: 1;
592
+ readonly additionalProperties: true;
593
+ readonly propertyNames: {
594
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
595
+ };
596
+ };
597
+ readonly DigestMultibase: {
598
+ readonly title: "DigestMultibase";
599
+ readonly description: "A cryptographic digest as a multibase-encoded multihash — the encoding the W3C Verifiable Credentials Data Model 2.0 defines for `digestMultibase`, and the one `did:webvh` uses for its SCID and entry hashes.\n\nMultihash carries the hash algorithm in-band, so the value is self-describing and the wire format survives an algorithm change without a schema revision; multibase does the same for the base encoding, so a verifier never infers base58 from base64url by context. A bare hex string or a `sha-256:`-style prefix hard-codes one algorithm into the wire contract and is non-conforming here.\n\nThis definition constrains the *encoding only*. What the digest is computed over is stated by each referencing field, because it differs legitimately: a digest over a JSON document is taken over its RFC 8785 (JCS) canonicalization, while a digest over an opaque artifact is taken over its bytes. A field whose input is a JSON document and which does not name a canonicalization is not reproducible.\n\nRestricted to the two multibase headers W3C Controlled Identifiers 1.0 §2.4 normatively requires — `z` (base58btc) and `u` (base64url-no-pad). CID permits others but states that \"interoperability is not guaranteed between implementations using such values\", and a registry whose purpose is interoperability should not mint digests a conforming verifier may be unable to read. The alphabets are enforced rather than assumed: base58btc excludes 0, O, I and l, and an earlier permissive pattern let three published examples carry digests that were not valid base58 at all. base58btc is RECOMMENDED, for consistency with `did:key` and `did:webvh`.";
600
+ readonly type: "string";
601
+ readonly minLength: 16;
602
+ readonly pattern: "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$";
603
+ readonly examples: readonly ["zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"];
604
+ };
605
+ };
606
+ };
607
+ };
608
+ //# sourceMappingURL=payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vtc/vetting/revocations/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,GAAG,EAAE,MAAM,sCAAsC,CAAC;AAGjF;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,aAAa,GAAG,aAAa,CAAC;AAExD;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C,WAAW,CAAC,EAAE,WAAW,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,wCAAwC;IACvD;;OAEG;IACH,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,wBAAwB,EAAE,eAAe,CAAC;IAC1C;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,GAAG,gBAAgB,GAAG,eAAe,GAAG,OAAO,CAAC;IAClE;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,WAAW,CAAC;IACzB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,EAAE,CAAC;IAC/B;;;;OAIG;IACH,eAAe,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED,kHAAkH;AAClH,YAAY,EAAE,eAAe,EAAE,GAAG,EAAE,CAAC;AAErC,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,8DAAuE,CAAC;AAEhG,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0JjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkI1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}