@openvtc/trust-tasks 0.19.3 → 0.19.5

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 (80) hide show
  1. package/CHANGELOG.md +209 -0
  2. package/dist/_shared/components.d.ts +298 -0
  3. package/dist/_shared/components.d.ts.map +1 -1
  4. package/dist/index.d.ts +14 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +14 -0
  7. package/dist/index.js.map +1 -1
  8. package/dist/vetting/_shared/0.1/identity-vetting.d.ts +11 -0
  9. package/dist/vetting/_shared/0.1/identity-vetting.d.ts.map +1 -0
  10. package/dist/vetting/_shared/0.1/identity-vetting.js +6 -0
  11. package/dist/vetting/_shared/0.1/identity-vetting.js.map +1 -0
  12. package/dist/vetting/_shared/0.1/vetting-card.d.ts +16 -0
  13. package/dist/vetting/_shared/0.1/vetting-card.d.ts.map +1 -0
  14. package/dist/vetting/_shared/0.1/vetting-card.js +6 -0
  15. package/dist/vetting/_shared/0.1/vetting-card.js.map +1 -0
  16. package/dist/vetting/_shared/0.1/vetting.d.ts +16 -0
  17. package/dist/vetting/_shared/0.1/vetting.d.ts.map +1 -0
  18. package/dist/vetting/_shared/0.1/vetting.js +6 -0
  19. package/dist/vetting/_shared/0.1/vetting.js.map +1 -0
  20. package/dist/vetting/decline/0.1/payload.d.ts +138 -0
  21. package/dist/vetting/decline/0.1/payload.d.ts.map +1 -0
  22. package/dist/vetting/decline/0.1/payload.js +81 -0
  23. package/dist/vetting/decline/0.1/payload.js.map +1 -0
  24. package/dist/vetting/request/0.1/payload.d.ts +1188 -0
  25. package/dist/vetting/request/0.1/payload.d.ts.map +1 -0
  26. package/dist/vetting/request/0.1/payload.js +596 -0
  27. package/dist/vetting/request/0.1/payload.js.map +1 -0
  28. package/dist/vetting/session/0.1/payload.d.ts +978 -0
  29. package/dist/vetting/session/0.1/payload.d.ts.map +1 -0
  30. package/dist/vetting/session/0.1/payload.js +570 -0
  31. package/dist/vetting/session/0.1/payload.js.map +1 -0
  32. package/dist/vta/webvh/dids/realign-keys/1.0/payload.d.ts +484 -0
  33. package/dist/vta/webvh/dids/realign-keys/1.0/payload.d.ts.map +1 -0
  34. package/dist/vta/webvh/dids/realign-keys/1.0/payload.js +259 -0
  35. package/dist/vta/webvh/dids/realign-keys/1.0/payload.js.map +1 -0
  36. package/dist/vtc/_shared/0.1/vetter-profile.d.ts +16 -0
  37. package/dist/vtc/_shared/0.1/vetter-profile.d.ts.map +1 -0
  38. package/dist/vtc/_shared/0.1/vetter-profile.js +6 -0
  39. package/dist/vtc/_shared/0.1/vetter-profile.js.map +1 -0
  40. package/dist/vtc/join-requests/manifest/0.2/payload.d.ts +1294 -0
  41. package/dist/vtc/join-requests/manifest/0.2/payload.d.ts.map +1 -0
  42. package/dist/vtc/join-requests/manifest/0.2/payload.js +667 -0
  43. package/dist/vtc/join-requests/manifest/0.2/payload.js.map +1 -0
  44. package/dist/vtc/vetting/revoke-statement/0.1/payload.d.ts +299 -0
  45. package/dist/vtc/vetting/revoke-statement/0.1/payload.d.ts.map +1 -0
  46. package/dist/vtc/vetting/revoke-statement/0.1/payload.js +172 -0
  47. package/dist/vtc/vetting/revoke-statement/0.1/payload.js.map +1 -0
  48. package/dist/vtc/vetting/vetters/grant/0.1/payload.d.ts +337 -0
  49. package/dist/vtc/vetting/vetters/grant/0.1/payload.d.ts.map +1 -0
  50. package/dist/vtc/vetting/vetters/grant/0.1/payload.js +183 -0
  51. package/dist/vtc/vetting/vetters/grant/0.1/payload.js.map +1 -0
  52. package/dist/vtc/vetting/vetters/list/0.1/payload.d.ts +1257 -0
  53. package/dist/vtc/vetting/vetters/list/0.1/payload.d.ts.map +1 -0
  54. package/dist/vtc/vetting/vetters/list/0.1/payload.js +597 -0
  55. package/dist/vtc/vetting/vetters/list/0.1/payload.js.map +1 -0
  56. package/dist/vtc/vetting/vetters/profile/0.1/payload.d.ts +970 -0
  57. package/dist/vtc/vetting/vetters/profile/0.1/payload.d.ts.map +1 -0
  58. package/dist/vtc/vetting/vetters/profile/0.1/payload.js +463 -0
  59. package/dist/vtc/vetting/vetters/profile/0.1/payload.js.map +1 -0
  60. package/dist/vtc/vetting/vetters/resend/0.1/payload.d.ts +240 -0
  61. package/dist/vtc/vetting/vetters/resend/0.1/payload.d.ts.map +1 -0
  62. package/dist/vtc/vetting/vetters/resend/0.1/payload.js +137 -0
  63. package/dist/vtc/vetting/vetters/resend/0.1/payload.js.map +1 -0
  64. package/package.json +1 -1
  65. package/src/_shared/components.ts +318 -0
  66. package/src/index.ts +14 -0
  67. package/src/vetting/_shared/0.1/identity-vetting.ts +11 -0
  68. package/src/vetting/_shared/0.1/vetting-card.ts +17 -0
  69. package/src/vetting/_shared/0.1/vetting.ts +17 -0
  70. package/src/vetting/decline/0.1/payload.ts +111 -0
  71. package/src/vetting/request/0.1/payload.ts +799 -0
  72. package/src/vetting/session/0.1/payload.ts +629 -0
  73. package/src/vta/webvh/dids/realign-keys/1.0/payload.ts +332 -0
  74. package/src/vtc/_shared/0.1/vetter-profile.ts +17 -0
  75. package/src/vtc/join-requests/manifest/0.2/payload.ts +815 -0
  76. package/src/vtc/vetting/revoke-statement/0.1/payload.ts +218 -0
  77. package/src/vtc/vetting/vetters/grant/0.1/payload.ts +237 -0
  78. package/src/vtc/vetting/vetters/list/0.1/payload.ts +816 -0
  79. package/src/vtc/vetting/vetters/profile/0.1/payload.ts +647 -0
  80. package/src/vtc/vetting/vetters/resend/0.1/payload.ts +174 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/join-requests/manifest/0.2/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA2IH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,4DAAqE,CAAC;AAK9F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,qEAA8E,CAAC;AAKhH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,c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tc/vetting/revoke-statement/0.1/payload.schema.json
4
+ */
5
+ import type { DigestMultibase, Ext } from "../../../../_shared/components.js";
6
+ /**
7
+ * A vetter tells the community it withdraws a Vetting Statement it issued. The community records the notice against the statement's id and digest, and from then on that statement does not count. The response is the time the community recorded the notice; repeating a notice returns the original time.
8
+ */
9
+ export interface VTCVettingRevokeStatementPayload {
10
+ /**
11
+ * The withdrawn statement's `id`, a URI (e.g. `urn:uuid:…`).
12
+ */
13
+ statementId: string;
14
+ /**
15
+ * Digest over the RFC 8785 canonicalization of the withdrawn statement exactly as issued, `proof` included (SHA-256 RECOMMENDED). Pins the notice to one credential, so it cannot be aimed at a different statement that reuses the id.
16
+ */
17
+ statementDigestMultibase: DigestMultibase;
18
+ /**
19
+ * OPTIONAL. `mistake` — the vetter attested in error. `newInformation` — the vetter learned something that changes its view. `keyCompromise` — the key that signed the statement may be in someone else's hands. `other` — none of these.
20
+ */
21
+ reason?: "mistake" | "newInformation" | "keyCompromise" | "other";
22
+ ext?: Ext;
23
+ }
24
+ /**
25
+ * The community recorded the notice.
26
+ */
27
+ export interface VTCVettingRevokeStatementResponsePayload {
28
+ /**
29
+ * When the community recorded the notice. A repeated notice for the same statement returns the time the first was recorded: revocation converges, and a vetter retrying cannot move it.
30
+ */
31
+ recordedAt: string;
32
+ ext?: Ext;
33
+ }
34
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
35
+ export type { DigestMultibase, Ext };
36
+ /** Trust Task type URI. */
37
+ export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/vetting/revoke-statement/0.1";
38
+ /** Stable alias for this specification's request payload shape. */
39
+ export type Payload = VTCVettingRevokeStatementPayload;
40
+ /** Trust Task response type URI (request type URI + "#response"). */
41
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtc/vetting/revoke-statement/0.1#response";
42
+ /** Stable alias for this specification's success-response payload shape. */
43
+ export type Response = VTCVettingRevokeStatementResponsePayload;
44
+ /**
45
+ * This specification's payload schema, as a value.
46
+ *
47
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
48
+ * rather than only as a `.json` file because TypeScript types are erased
49
+ * at runtime: without a schema a consumer has nothing to validate, and
50
+ * every REQUIRED payload member is optional in practice. Cross-file
51
+ * `$ref`s are already inlined, so it needs no resolver.
52
+ */
53
+ export declare const PAYLOAD_SCHEMA: {
54
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
55
+ readonly $id: "https://trusttasks.org/spec/vtc/vetting/revoke-statement/0.1";
56
+ readonly title: "VTC Vetting — Revoke Statement — payload";
57
+ readonly description: "A vetter tells the community it withdraws a Vetting Statement it issued. The community records the notice against the statement's id and digest, and from then on that statement does not count. The response is the time the community recorded the notice; repeating a notice returns the original time.";
58
+ readonly type: "object";
59
+ readonly additionalProperties: false;
60
+ readonly required: readonly ["statementId", "statementDigestMultibase"];
61
+ readonly properties: {
62
+ readonly statementId: {
63
+ readonly type: "string";
64
+ readonly minLength: 1;
65
+ readonly maxLength: 512;
66
+ readonly pattern: "^[a-zA-Z][a-zA-Z0-9+.-]*:\\S+$";
67
+ readonly description: "The withdrawn statement's `id`, a URI (e.g. `urn:uuid:…`).";
68
+ };
69
+ readonly statementDigestMultibase: {
70
+ readonly $ref: "#/$defs/DigestMultibase";
71
+ readonly description: "Digest over the RFC 8785 canonicalization of the withdrawn statement exactly as issued, `proof` included (SHA-256 RECOMMENDED). Pins the notice to one credential, so it cannot be aimed at a different statement that reuses the id.";
72
+ };
73
+ readonly reason: {
74
+ readonly type: "string";
75
+ readonly enum: readonly ["mistake", "newInformation", "keyCompromise", "other"];
76
+ readonly description: "OPTIONAL. `mistake` — the vetter attested in error. `newInformation` — the vetter learned something that changes its view. `keyCompromise` — the key that signed the statement may be in someone else's hands. `other` — none of these.";
77
+ };
78
+ readonly ext: {
79
+ readonly $ref: "#/$defs/Ext";
80
+ };
81
+ };
82
+ readonly $defs: {
83
+ readonly Response: {
84
+ readonly $anchor: "response";
85
+ readonly title: "VTC Vetting — Revoke Statement — response payload";
86
+ readonly description: "The community recorded the notice.";
87
+ readonly type: "object";
88
+ readonly additionalProperties: false;
89
+ readonly required: readonly ["recordedAt"];
90
+ readonly properties: {
91
+ readonly recordedAt: {
92
+ readonly type: "string";
93
+ readonly format: "date-time";
94
+ readonly description: "When the community recorded the notice. A repeated notice for the same statement returns the time the first was recorded: revocation converges, and a vetter retrying cannot move it.";
95
+ };
96
+ readonly ext: {
97
+ readonly $ref: "#/$defs/Ext";
98
+ };
99
+ };
100
+ };
101
+ readonly Ext: {
102
+ readonly title: "Ext";
103
+ 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.";
104
+ readonly type: "object";
105
+ readonly minProperties: 1;
106
+ readonly additionalProperties: true;
107
+ readonly propertyNames: {
108
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
109
+ };
110
+ };
111
+ readonly DigestMultibase: {
112
+ readonly title: "DigestMultibase";
113
+ 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`.";
114
+ readonly type: "string";
115
+ readonly minLength: 16;
116
+ readonly pattern: "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$";
117
+ readonly examples: readonly ["zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"];
118
+ };
119
+ };
120
+ };
121
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
122
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
123
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
124
+ readonly $ref: "#/$defs/Response";
125
+ readonly $defs: {
126
+ readonly Response: {
127
+ readonly $anchor: "response";
128
+ readonly title: "VTC Vetting — Revoke Statement — response payload";
129
+ readonly description: "The community recorded the notice.";
130
+ readonly type: "object";
131
+ readonly additionalProperties: false;
132
+ readonly required: readonly ["recordedAt"];
133
+ readonly properties: {
134
+ readonly recordedAt: {
135
+ readonly type: "string";
136
+ readonly format: "date-time";
137
+ readonly description: "When the community recorded the notice. A repeated notice for the same statement returns the time the first was recorded: revocation converges, and a vetter retrying cannot move it.";
138
+ };
139
+ readonly ext: {
140
+ readonly $ref: "#/$defs/Ext";
141
+ };
142
+ };
143
+ };
144
+ readonly Ext: {
145
+ readonly title: "Ext";
146
+ 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.";
147
+ readonly type: "object";
148
+ readonly minProperties: 1;
149
+ readonly additionalProperties: true;
150
+ readonly propertyNames: {
151
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
152
+ };
153
+ };
154
+ readonly DigestMultibase: {
155
+ readonly title: "DigestMultibase";
156
+ 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`.";
157
+ readonly type: "string";
158
+ readonly minLength: 16;
159
+ readonly pattern: "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$";
160
+ readonly examples: readonly ["zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"];
161
+ };
162
+ };
163
+ };
164
+ /**
165
+ * SPEC.md §7.2 policy for the request variant, from this specification's
166
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
167
+ * per-specification and cannot be derived from the document alone, and
168
+ * item 2 needs the schema this carries.
169
+ */
170
+ export declare const SPEC: {
171
+ readonly typeUri: "https://trusttasks.org/spec/vtc/vetting/revoke-statement/0.1";
172
+ readonly isBearer: false;
173
+ readonly isProofRequired: true;
174
+ readonly isRecipientRequired: true;
175
+ readonly isIssuedAtRequired: true;
176
+ readonly payloadSchema: {
177
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
178
+ readonly $id: "https://trusttasks.org/spec/vtc/vetting/revoke-statement/0.1";
179
+ readonly title: "VTC Vetting — Revoke Statement — payload";
180
+ readonly description: "A vetter tells the community it withdraws a Vetting Statement it issued. The community records the notice against the statement's id and digest, and from then on that statement does not count. The response is the time the community recorded the notice; repeating a notice returns the original time.";
181
+ readonly type: "object";
182
+ readonly additionalProperties: false;
183
+ readonly required: readonly ["statementId", "statementDigestMultibase"];
184
+ readonly properties: {
185
+ readonly statementId: {
186
+ readonly type: "string";
187
+ readonly minLength: 1;
188
+ readonly maxLength: 512;
189
+ readonly pattern: "^[a-zA-Z][a-zA-Z0-9+.-]*:\\S+$";
190
+ readonly description: "The withdrawn statement's `id`, a URI (e.g. `urn:uuid:…`).";
191
+ };
192
+ readonly statementDigestMultibase: {
193
+ readonly $ref: "#/$defs/DigestMultibase";
194
+ readonly description: "Digest over the RFC 8785 canonicalization of the withdrawn statement exactly as issued, `proof` included (SHA-256 RECOMMENDED). Pins the notice to one credential, so it cannot be aimed at a different statement that reuses the id.";
195
+ };
196
+ readonly reason: {
197
+ readonly type: "string";
198
+ readonly enum: readonly ["mistake", "newInformation", "keyCompromise", "other"];
199
+ readonly description: "OPTIONAL. `mistake` — the vetter attested in error. `newInformation` — the vetter learned something that changes its view. `keyCompromise` — the key that signed the statement may be in someone else's hands. `other` — none of these.";
200
+ };
201
+ readonly ext: {
202
+ readonly $ref: "#/$defs/Ext";
203
+ };
204
+ };
205
+ readonly $defs: {
206
+ readonly Response: {
207
+ readonly $anchor: "response";
208
+ readonly title: "VTC Vetting — Revoke Statement — response payload";
209
+ readonly description: "The community recorded the notice.";
210
+ readonly type: "object";
211
+ readonly additionalProperties: false;
212
+ readonly required: readonly ["recordedAt"];
213
+ readonly properties: {
214
+ readonly recordedAt: {
215
+ readonly type: "string";
216
+ readonly format: "date-time";
217
+ readonly description: "When the community recorded the notice. A repeated notice for the same statement returns the time the first was recorded: revocation converges, and a vetter retrying cannot move it.";
218
+ };
219
+ readonly ext: {
220
+ readonly $ref: "#/$defs/Ext";
221
+ };
222
+ };
223
+ };
224
+ readonly Ext: {
225
+ readonly title: "Ext";
226
+ 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.";
227
+ readonly type: "object";
228
+ readonly minProperties: 1;
229
+ readonly additionalProperties: true;
230
+ readonly propertyNames: {
231
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
232
+ };
233
+ };
234
+ readonly DigestMultibase: {
235
+ readonly title: "DigestMultibase";
236
+ 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`.";
237
+ readonly type: "string";
238
+ readonly minLength: 16;
239
+ readonly pattern: "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$";
240
+ readonly examples: readonly ["zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"];
241
+ };
242
+ };
243
+ };
244
+ };
245
+ /**
246
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
247
+ * tracks the *issuer* party's requirement because a response swaps the
248
+ * parties (§7.3 item 5).
249
+ */
250
+ export declare const RESPONSE_SPEC: {
251
+ readonly typeUri: "https://trusttasks.org/spec/vtc/vetting/revoke-statement/0.1#response";
252
+ readonly isBearer: false;
253
+ readonly isProofRequired: true;
254
+ readonly isRecipientRequired: true;
255
+ readonly isIssuedAtRequired: true;
256
+ readonly payloadSchema: {
257
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
258
+ readonly $ref: "#/$defs/Response";
259
+ readonly $defs: {
260
+ readonly Response: {
261
+ readonly $anchor: "response";
262
+ readonly title: "VTC Vetting — Revoke Statement — response payload";
263
+ readonly description: "The community recorded the notice.";
264
+ readonly type: "object";
265
+ readonly additionalProperties: false;
266
+ readonly required: readonly ["recordedAt"];
267
+ readonly properties: {
268
+ readonly recordedAt: {
269
+ readonly type: "string";
270
+ readonly format: "date-time";
271
+ readonly description: "When the community recorded the notice. A repeated notice for the same statement returns the time the first was recorded: revocation converges, and a vetter retrying cannot move it.";
272
+ };
273
+ readonly ext: {
274
+ readonly $ref: "#/$defs/Ext";
275
+ };
276
+ };
277
+ };
278
+ readonly Ext: {
279
+ readonly title: "Ext";
280
+ 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.";
281
+ readonly type: "object";
282
+ readonly minProperties: 1;
283
+ readonly additionalProperties: true;
284
+ readonly propertyNames: {
285
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
286
+ };
287
+ };
288
+ readonly DigestMultibase: {
289
+ readonly title: "DigestMultibase";
290
+ 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`.";
291
+ readonly type: "string";
292
+ readonly minLength: 16;
293
+ readonly pattern: "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$";
294
+ readonly examples: readonly ["zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"];
295
+ };
296
+ };
297
+ };
298
+ };
299
+ //# sourceMappingURL=payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/vetting/revoke-statement/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,GAAG,EAAE,MAAM,mCAAmC,CAAC;AAG9E;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,wBAAwB,EAAE,eAAe,CAAC;IAC1C;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,GAAG,gBAAgB,GAAG,eAAe,GAAG,OAAO,CAAC;IAClE,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACvD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+EjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6C1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
@@ -0,0 +1,172 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vtc/vetting/revoke-statement/0.1/payload.schema.json
4
+ */
5
+ /** Trust Task type URI. */
6
+ export const TYPE_URI = "https://trusttasks.org/spec/vtc/vetting/revoke-statement/0.1";
7
+ /** Trust Task response type URI (request type URI + "#response"). */
8
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vtc/vetting/revoke-statement/0.1#response";
9
+ /**
10
+ * This specification's payload schema, as a value.
11
+ *
12
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
13
+ * rather than only as a `.json` file because TypeScript types are erased
14
+ * at runtime: without a schema a consumer has nothing to validate, and
15
+ * every REQUIRED payload member is optional in practice. Cross-file
16
+ * `$ref`s are already inlined, so it needs no resolver.
17
+ */
18
+ export const PAYLOAD_SCHEMA = {
19
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
20
+ "$id": "https://trusttasks.org/spec/vtc/vetting/revoke-statement/0.1",
21
+ "title": "VTC Vetting — Revoke Statement — payload",
22
+ "description": "A vetter tells the community it withdraws a Vetting Statement it issued. The community records the notice against the statement's id and digest, and from then on that statement does not count. The response is the time the community recorded the notice; repeating a notice returns the original time.",
23
+ "type": "object",
24
+ "additionalProperties": false,
25
+ "required": [
26
+ "statementId",
27
+ "statementDigestMultibase"
28
+ ],
29
+ "properties": {
30
+ "statementId": {
31
+ "type": "string",
32
+ "minLength": 1,
33
+ "maxLength": 512,
34
+ "pattern": "^[a-zA-Z][a-zA-Z0-9+.-]*:\\S+$",
35
+ "description": "The withdrawn statement's `id`, a URI (e.g. `urn:uuid:…`)."
36
+ },
37
+ "statementDigestMultibase": {
38
+ "$ref": "#/$defs/DigestMultibase",
39
+ "description": "Digest over the RFC 8785 canonicalization of the withdrawn statement exactly as issued, `proof` included (SHA-256 RECOMMENDED). Pins the notice to one credential, so it cannot be aimed at a different statement that reuses the id."
40
+ },
41
+ "reason": {
42
+ "type": "string",
43
+ "enum": [
44
+ "mistake",
45
+ "newInformation",
46
+ "keyCompromise",
47
+ "other"
48
+ ],
49
+ "description": "OPTIONAL. `mistake` — the vetter attested in error. `newInformation` — the vetter learned something that changes its view. `keyCompromise` — the key that signed the statement may be in someone else's hands. `other` — none of these."
50
+ },
51
+ "ext": {
52
+ "$ref": "#/$defs/Ext"
53
+ }
54
+ },
55
+ "$defs": {
56
+ "Response": {
57
+ "$anchor": "response",
58
+ "title": "VTC Vetting — Revoke Statement — response payload",
59
+ "description": "The community recorded the notice.",
60
+ "type": "object",
61
+ "additionalProperties": false,
62
+ "required": [
63
+ "recordedAt"
64
+ ],
65
+ "properties": {
66
+ "recordedAt": {
67
+ "type": "string",
68
+ "format": "date-time",
69
+ "description": "When the community recorded the notice. A repeated notice for the same statement returns the time the first was recorded: revocation converges, and a vetter retrying cannot move it."
70
+ },
71
+ "ext": {
72
+ "$ref": "#/$defs/Ext"
73
+ }
74
+ }
75
+ },
76
+ "Ext": {
77
+ "title": "Ext",
78
+ "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.",
79
+ "type": "object",
80
+ "minProperties": 1,
81
+ "additionalProperties": true,
82
+ "propertyNames": {
83
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
84
+ }
85
+ },
86
+ "DigestMultibase": {
87
+ "title": "DigestMultibase",
88
+ "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`.",
89
+ "type": "string",
90
+ "minLength": 16,
91
+ "pattern": "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$",
92
+ "examples": [
93
+ "zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"
94
+ ]
95
+ }
96
+ }
97
+ };
98
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
99
+ export const RESPONSE_PAYLOAD_SCHEMA = {
100
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
101
+ "$ref": "#/$defs/Response",
102
+ "$defs": {
103
+ "Response": {
104
+ "$anchor": "response",
105
+ "title": "VTC Vetting — Revoke Statement — response payload",
106
+ "description": "The community recorded the notice.",
107
+ "type": "object",
108
+ "additionalProperties": false,
109
+ "required": [
110
+ "recordedAt"
111
+ ],
112
+ "properties": {
113
+ "recordedAt": {
114
+ "type": "string",
115
+ "format": "date-time",
116
+ "description": "When the community recorded the notice. A repeated notice for the same statement returns the time the first was recorded: revocation converges, and a vetter retrying cannot move it."
117
+ },
118
+ "ext": {
119
+ "$ref": "#/$defs/Ext"
120
+ }
121
+ }
122
+ },
123
+ "Ext": {
124
+ "title": "Ext",
125
+ "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.",
126
+ "type": "object",
127
+ "minProperties": 1,
128
+ "additionalProperties": true,
129
+ "propertyNames": {
130
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
131
+ }
132
+ },
133
+ "DigestMultibase": {
134
+ "title": "DigestMultibase",
135
+ "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`.",
136
+ "type": "string",
137
+ "minLength": 16,
138
+ "pattern": "^(z[1-9A-HJ-NP-Za-km-z]+|u[A-Za-z0-9_-]+)$",
139
+ "examples": [
140
+ "zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"
141
+ ]
142
+ }
143
+ }
144
+ };
145
+ /**
146
+ * SPEC.md §7.2 policy for the request variant, from this specification's
147
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
148
+ * per-specification and cannot be derived from the document alone, and
149
+ * item 2 needs the schema this carries.
150
+ */
151
+ export const SPEC = {
152
+ typeUri: TYPE_URI,
153
+ isBearer: false,
154
+ isProofRequired: true,
155
+ isRecipientRequired: true,
156
+ isIssuedAtRequired: true,
157
+ payloadSchema: PAYLOAD_SCHEMA,
158
+ };
159
+ /**
160
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
161
+ * tracks the *issuer* party's requirement because a response swaps the
162
+ * parties (§7.3 item 5).
163
+ */
164
+ export const RESPONSE_SPEC = {
165
+ typeUri: RESPONSE_TYPE_URI,
166
+ isBearer: false,
167
+ isProofRequired: true,
168
+ isRecipientRequired: true,
169
+ isIssuedAtRequired: true,
170
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
171
+ };
172
+ //# sourceMappingURL=payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/vetting/revoke-statement/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAqCH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,8DAAuE,CAAC;AAKhG,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,uEAAgF,CAAC;AAKlH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,8DAA8D;IACrE,OAAO,EAAE,0CAA0C;IACnD,aAAa,EAAE,4SAA4S;IAC3T,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,aAAa;QACb,0BAA0B;KAC3B;IACD,YAAY,EAAE;QACZ,aAAa,EAAE;YACb,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,GAAG;YAChB,SAAS,EAAE,gCAAgC;YAC3C,aAAa,EAAE,4DAA4D;SAC5E;QACD,0BAA0B,EAAE;YAC1B,MAAM,EAAE,yBAAyB;YACjC,aAAa,EAAE,uOAAuO;SACvP;QACD,QAAQ,EAAE;YACR,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE;gBACN,SAAS;gBACT,gBAAgB;gBAChB,eAAe;gBACf,OAAO;aACR;YACD,aAAa,EAAE,yOAAyO;SACzP;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,mDAAmD;YAC5D,aAAa,EAAE,oCAAoC;YACnD,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,YAAY;aACb;YACD,YAAY,EAAE;gBACZ,YAAY,EAAE;oBACZ,MAAM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