@openvtc/trust-tasks 0.16.3 → 0.16.4
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.
- package/CHANGELOG.md +63 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/vault/credentials/archive/0.1/payload.d.ts +297 -0
- package/dist/vault/credentials/archive/0.1/payload.d.ts.map +1 -0
- package/dist/vault/credentials/archive/0.1/payload.js +171 -0
- package/dist/vault/credentials/archive/0.1/payload.js.map +1 -0
- package/dist/vault/credentials/delete/0.1/payload.d.ts +333 -0
- package/dist/vault/credentials/delete/0.1/payload.d.ts.map +1 -0
- package/dist/vault/credentials/delete/0.1/payload.js +185 -0
- package/dist/vault/credentials/delete/0.1/payload.js.map +1 -0
- package/dist/vault/credentials/get/0.1/payload.d.ts +244 -0
- package/dist/vault/credentials/get/0.1/payload.d.ts.map +1 -0
- package/dist/vault/credentials/get/0.1/payload.js +137 -0
- package/dist/vault/credentials/get/0.1/payload.js.map +1 -0
- package/dist/vault/credentials/purge/0.1/payload.d.ts +297 -0
- package/dist/vault/credentials/purge/0.1/payload.d.ts.map +1 -0
- package/dist/vault/credentials/purge/0.1/payload.js +171 -0
- package/dist/vault/credentials/purge/0.1/payload.js.map +1 -0
- package/dist/vault/credentials/query/0.1/payload.d.ts +689 -0
- package/dist/vault/credentials/query/0.1/payload.d.ts.map +1 -0
- package/dist/vault/credentials/query/0.1/payload.js +350 -0
- package/dist/vault/credentials/query/0.1/payload.js.map +1 -0
- package/dist/vault/credentials/receive/0.1/payload.d.ts +414 -0
- package/dist/vault/credentials/receive/0.1/payload.d.ts.map +1 -0
- package/dist/vault/credentials/receive/0.1/payload.js +226 -0
- package/dist/vault/credentials/receive/0.1/payload.js.map +1 -0
- package/dist/vault/credentials/restore/0.1/payload.d.ts +297 -0
- package/dist/vault/credentials/restore/0.1/payload.d.ts.map +1 -0
- package/dist/vault/credentials/restore/0.1/payload.js +171 -0
- package/dist/vault/credentials/restore/0.1/payload.js.map +1 -0
- package/dist/vault/credentials/unarchive/0.1/payload.d.ts +297 -0
- package/dist/vault/credentials/unarchive/0.1/payload.d.ts.map +1 -0
- package/dist/vault/credentials/unarchive/0.1/payload.js +171 -0
- package/dist/vault/credentials/unarchive/0.1/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/index.ts +8 -0
- package/src/vault/credentials/archive/0.1/payload.ts +217 -0
- package/src/vault/credentials/delete/0.1/payload.ts +239 -0
- package/src/vault/credentials/get/0.1/payload.ts +178 -0
- package/src/vault/credentials/purge/0.1/payload.ts +217 -0
- package/src/vault/credentials/query/0.1/payload.ts +459 -0
- package/src/vault/credentials/receive/0.1/payload.ts +298 -0
- package/src/vault/credentials/restore/0.1/payload.ts +217 -0
- package/src/vault/credentials/unarchive/0.1/payload.ts +217 -0
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vault/credentials/receive/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
import type { Ext } from "../../../../_shared/components.js";
|
|
6
|
+
/**
|
|
7
|
+
* Verify and store a W3C verifiable credential. Exactly one of `credential` or `credentialBase64` must be present.
|
|
8
|
+
*/
|
|
9
|
+
export type VaultCredentialsReceive = {
|
|
10
|
+
/**
|
|
11
|
+
* The verifiable credential as a JSON object.
|
|
12
|
+
*/
|
|
13
|
+
credential?: {};
|
|
14
|
+
/**
|
|
15
|
+
* The credential base64url-encoded without padding, for formats whose canonical form is not JSON.
|
|
16
|
+
*/
|
|
17
|
+
credentialBase64?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Credential format, when not evident from the body. An unimplemented format is refused, not stored.
|
|
20
|
+
*/
|
|
21
|
+
format?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Local handle to store under. Absent, derived from the credential's own id. A handle, not a description — see Data carried.
|
|
24
|
+
*/
|
|
25
|
+
id?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Context to hold the credential in. Absent, the consumer's own.
|
|
28
|
+
*/
|
|
29
|
+
contextId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Ecosystem-defined extension members per SPEC.md §4.5.1.
|
|
32
|
+
*/
|
|
33
|
+
ext?: Ext;
|
|
34
|
+
} & {
|
|
35
|
+
[k: string]: unknown | undefined;
|
|
36
|
+
};
|
|
37
|
+
export interface VaultCredentialsReceiveResponsePayload {
|
|
38
|
+
/**
|
|
39
|
+
* The handle the credential can now be fetched by.
|
|
40
|
+
*/
|
|
41
|
+
id: string;
|
|
42
|
+
/**
|
|
43
|
+
* VC `type` tags the maintainer read.
|
|
44
|
+
*/
|
|
45
|
+
types: string[];
|
|
46
|
+
/**
|
|
47
|
+
* Classification the maintainer derived. Never supplied by the consumer.
|
|
48
|
+
*/
|
|
49
|
+
purpose?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Validity the maintainer computed at storage time.
|
|
52
|
+
*/
|
|
53
|
+
status: "valid" | "expired" | "revoked" | "unknown";
|
|
54
|
+
/**
|
|
55
|
+
* Ecosystem-defined extension members per SPEC.md §4.5.1.
|
|
56
|
+
*/
|
|
57
|
+
ext?: Ext;
|
|
58
|
+
}
|
|
59
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
60
|
+
export type { Ext };
|
|
61
|
+
/** Trust Task type URI. */
|
|
62
|
+
export declare const TYPE_URI: "https://trusttasks.org/spec/vault/credentials/receive/0.1";
|
|
63
|
+
/** Stable alias for this specification's request payload shape. */
|
|
64
|
+
export type Payload = VaultCredentialsReceive;
|
|
65
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
66
|
+
export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vault/credentials/receive/0.1#response";
|
|
67
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
68
|
+
export type Response = VaultCredentialsReceiveResponsePayload;
|
|
69
|
+
/**
|
|
70
|
+
* This specification's payload schema, as a value.
|
|
71
|
+
*
|
|
72
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
73
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
74
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
75
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
76
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
77
|
+
*/
|
|
78
|
+
export declare const PAYLOAD_SCHEMA: {
|
|
79
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
80
|
+
readonly $id: "https://trusttasks.org/spec/vault/credentials/receive/0.1";
|
|
81
|
+
readonly title: "Vault Credentials — Receive";
|
|
82
|
+
readonly description: "Verify and store a W3C verifiable credential. Exactly one of `credential` or `credentialBase64` must be present.";
|
|
83
|
+
readonly type: "object";
|
|
84
|
+
readonly additionalProperties: false;
|
|
85
|
+
readonly oneOf: readonly [{
|
|
86
|
+
readonly required: readonly ["credential"];
|
|
87
|
+
}, {
|
|
88
|
+
readonly required: readonly ["credentialBase64"];
|
|
89
|
+
}];
|
|
90
|
+
readonly properties: {
|
|
91
|
+
readonly credential: {
|
|
92
|
+
readonly type: "object";
|
|
93
|
+
readonly minProperties: 1;
|
|
94
|
+
readonly description: "The verifiable credential as a JSON object.";
|
|
95
|
+
};
|
|
96
|
+
readonly credentialBase64: {
|
|
97
|
+
readonly type: "string";
|
|
98
|
+
readonly minLength: 1;
|
|
99
|
+
readonly maxLength: 1048576;
|
|
100
|
+
readonly pattern: "^[A-Za-z0-9_-]+$";
|
|
101
|
+
readonly description: "The credential base64url-encoded without padding, for formats whose canonical form is not JSON.";
|
|
102
|
+
};
|
|
103
|
+
readonly format: {
|
|
104
|
+
readonly type: "string";
|
|
105
|
+
readonly minLength: 1;
|
|
106
|
+
readonly maxLength: 128;
|
|
107
|
+
readonly description: "Credential format, when not evident from the body. An unimplemented format is refused, not stored.";
|
|
108
|
+
};
|
|
109
|
+
readonly id: {
|
|
110
|
+
readonly type: "string";
|
|
111
|
+
readonly minLength: 1;
|
|
112
|
+
readonly maxLength: 256;
|
|
113
|
+
readonly description: "Local handle to store under. Absent, derived from the credential's own id. A handle, not a description — see Data carried.";
|
|
114
|
+
};
|
|
115
|
+
readonly contextId: {
|
|
116
|
+
readonly type: "string";
|
|
117
|
+
readonly minLength: 1;
|
|
118
|
+
readonly maxLength: 256;
|
|
119
|
+
readonly description: "Context to hold the credential in. Absent, the consumer's own.";
|
|
120
|
+
};
|
|
121
|
+
readonly ext: {
|
|
122
|
+
readonly $ref: "#/$defs/Ext";
|
|
123
|
+
readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
readonly $defs: {
|
|
127
|
+
readonly Response: {
|
|
128
|
+
readonly $anchor: "response";
|
|
129
|
+
readonly title: "Vault Credentials Receive — response payload";
|
|
130
|
+
readonly type: "object";
|
|
131
|
+
readonly additionalProperties: false;
|
|
132
|
+
readonly required: readonly ["id", "types", "status"];
|
|
133
|
+
readonly properties: {
|
|
134
|
+
readonly id: {
|
|
135
|
+
readonly type: "string";
|
|
136
|
+
readonly minLength: 1;
|
|
137
|
+
readonly maxLength: 256;
|
|
138
|
+
readonly description: "The handle the credential can now be fetched by.";
|
|
139
|
+
};
|
|
140
|
+
readonly types: {
|
|
141
|
+
readonly type: "array";
|
|
142
|
+
readonly items: {
|
|
143
|
+
readonly type: "string";
|
|
144
|
+
readonly minLength: 1;
|
|
145
|
+
readonly maxLength: 256;
|
|
146
|
+
};
|
|
147
|
+
readonly description: "VC `type` tags the maintainer read.";
|
|
148
|
+
};
|
|
149
|
+
readonly purpose: {
|
|
150
|
+
readonly type: "string";
|
|
151
|
+
readonly minLength: 1;
|
|
152
|
+
readonly maxLength: 128;
|
|
153
|
+
readonly description: "Classification the maintainer derived. Never supplied by the consumer.";
|
|
154
|
+
};
|
|
155
|
+
readonly status: {
|
|
156
|
+
readonly type: "string";
|
|
157
|
+
readonly enum: readonly ["valid", "expired", "revoked", "unknown"];
|
|
158
|
+
readonly description: "Validity the maintainer computed at storage time.";
|
|
159
|
+
};
|
|
160
|
+
readonly ext: {
|
|
161
|
+
readonly $ref: "#/$defs/Ext";
|
|
162
|
+
readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
readonly Ext: {
|
|
167
|
+
readonly title: "Ext";
|
|
168
|
+
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.";
|
|
169
|
+
readonly type: "object";
|
|
170
|
+
readonly minProperties: 1;
|
|
171
|
+
readonly additionalProperties: true;
|
|
172
|
+
readonly propertyNames: {
|
|
173
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
179
|
+
export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
180
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
181
|
+
readonly $ref: "#/$defs/Response";
|
|
182
|
+
readonly $defs: {
|
|
183
|
+
readonly Response: {
|
|
184
|
+
readonly $anchor: "response";
|
|
185
|
+
readonly title: "Vault Credentials Receive — response payload";
|
|
186
|
+
readonly type: "object";
|
|
187
|
+
readonly additionalProperties: false;
|
|
188
|
+
readonly required: readonly ["id", "types", "status"];
|
|
189
|
+
readonly properties: {
|
|
190
|
+
readonly id: {
|
|
191
|
+
readonly type: "string";
|
|
192
|
+
readonly minLength: 1;
|
|
193
|
+
readonly maxLength: 256;
|
|
194
|
+
readonly description: "The handle the credential can now be fetched by.";
|
|
195
|
+
};
|
|
196
|
+
readonly types: {
|
|
197
|
+
readonly type: "array";
|
|
198
|
+
readonly items: {
|
|
199
|
+
readonly type: "string";
|
|
200
|
+
readonly minLength: 1;
|
|
201
|
+
readonly maxLength: 256;
|
|
202
|
+
};
|
|
203
|
+
readonly description: "VC `type` tags the maintainer read.";
|
|
204
|
+
};
|
|
205
|
+
readonly purpose: {
|
|
206
|
+
readonly type: "string";
|
|
207
|
+
readonly minLength: 1;
|
|
208
|
+
readonly maxLength: 128;
|
|
209
|
+
readonly description: "Classification the maintainer derived. Never supplied by the consumer.";
|
|
210
|
+
};
|
|
211
|
+
readonly status: {
|
|
212
|
+
readonly type: "string";
|
|
213
|
+
readonly enum: readonly ["valid", "expired", "revoked", "unknown"];
|
|
214
|
+
readonly description: "Validity the maintainer computed at storage time.";
|
|
215
|
+
};
|
|
216
|
+
readonly ext: {
|
|
217
|
+
readonly $ref: "#/$defs/Ext";
|
|
218
|
+
readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
readonly Ext: {
|
|
223
|
+
readonly title: "Ext";
|
|
224
|
+
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.";
|
|
225
|
+
readonly type: "object";
|
|
226
|
+
readonly minProperties: 1;
|
|
227
|
+
readonly additionalProperties: true;
|
|
228
|
+
readonly propertyNames: {
|
|
229
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
/**
|
|
235
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
236
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
237
|
+
* per-specification and cannot be derived from the document alone, and
|
|
238
|
+
* item 2 needs the schema this carries.
|
|
239
|
+
*/
|
|
240
|
+
export declare const SPEC: {
|
|
241
|
+
readonly typeUri: "https://trusttasks.org/spec/vault/credentials/receive/0.1";
|
|
242
|
+
readonly isBearer: false;
|
|
243
|
+
readonly isProofRequired: true;
|
|
244
|
+
readonly isRecipientRequired: true;
|
|
245
|
+
readonly isIssuedAtRequired: true;
|
|
246
|
+
readonly payloadSchema: {
|
|
247
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
248
|
+
readonly $id: "https://trusttasks.org/spec/vault/credentials/receive/0.1";
|
|
249
|
+
readonly title: "Vault Credentials — Receive";
|
|
250
|
+
readonly description: "Verify and store a W3C verifiable credential. Exactly one of `credential` or `credentialBase64` must be present.";
|
|
251
|
+
readonly type: "object";
|
|
252
|
+
readonly additionalProperties: false;
|
|
253
|
+
readonly oneOf: readonly [{
|
|
254
|
+
readonly required: readonly ["credential"];
|
|
255
|
+
}, {
|
|
256
|
+
readonly required: readonly ["credentialBase64"];
|
|
257
|
+
}];
|
|
258
|
+
readonly properties: {
|
|
259
|
+
readonly credential: {
|
|
260
|
+
readonly type: "object";
|
|
261
|
+
readonly minProperties: 1;
|
|
262
|
+
readonly description: "The verifiable credential as a JSON object.";
|
|
263
|
+
};
|
|
264
|
+
readonly credentialBase64: {
|
|
265
|
+
readonly type: "string";
|
|
266
|
+
readonly minLength: 1;
|
|
267
|
+
readonly maxLength: 1048576;
|
|
268
|
+
readonly pattern: "^[A-Za-z0-9_-]+$";
|
|
269
|
+
readonly description: "The credential base64url-encoded without padding, for formats whose canonical form is not JSON.";
|
|
270
|
+
};
|
|
271
|
+
readonly format: {
|
|
272
|
+
readonly type: "string";
|
|
273
|
+
readonly minLength: 1;
|
|
274
|
+
readonly maxLength: 128;
|
|
275
|
+
readonly description: "Credential format, when not evident from the body. An unimplemented format is refused, not stored.";
|
|
276
|
+
};
|
|
277
|
+
readonly id: {
|
|
278
|
+
readonly type: "string";
|
|
279
|
+
readonly minLength: 1;
|
|
280
|
+
readonly maxLength: 256;
|
|
281
|
+
readonly description: "Local handle to store under. Absent, derived from the credential's own id. A handle, not a description — see Data carried.";
|
|
282
|
+
};
|
|
283
|
+
readonly contextId: {
|
|
284
|
+
readonly type: "string";
|
|
285
|
+
readonly minLength: 1;
|
|
286
|
+
readonly maxLength: 256;
|
|
287
|
+
readonly description: "Context to hold the credential in. Absent, the consumer's own.";
|
|
288
|
+
};
|
|
289
|
+
readonly ext: {
|
|
290
|
+
readonly $ref: "#/$defs/Ext";
|
|
291
|
+
readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
readonly $defs: {
|
|
295
|
+
readonly Response: {
|
|
296
|
+
readonly $anchor: "response";
|
|
297
|
+
readonly title: "Vault Credentials Receive — response payload";
|
|
298
|
+
readonly type: "object";
|
|
299
|
+
readonly additionalProperties: false;
|
|
300
|
+
readonly required: readonly ["id", "types", "status"];
|
|
301
|
+
readonly properties: {
|
|
302
|
+
readonly id: {
|
|
303
|
+
readonly type: "string";
|
|
304
|
+
readonly minLength: 1;
|
|
305
|
+
readonly maxLength: 256;
|
|
306
|
+
readonly description: "The handle the credential can now be fetched by.";
|
|
307
|
+
};
|
|
308
|
+
readonly types: {
|
|
309
|
+
readonly type: "array";
|
|
310
|
+
readonly items: {
|
|
311
|
+
readonly type: "string";
|
|
312
|
+
readonly minLength: 1;
|
|
313
|
+
readonly maxLength: 256;
|
|
314
|
+
};
|
|
315
|
+
readonly description: "VC `type` tags the maintainer read.";
|
|
316
|
+
};
|
|
317
|
+
readonly purpose: {
|
|
318
|
+
readonly type: "string";
|
|
319
|
+
readonly minLength: 1;
|
|
320
|
+
readonly maxLength: 128;
|
|
321
|
+
readonly description: "Classification the maintainer derived. Never supplied by the consumer.";
|
|
322
|
+
};
|
|
323
|
+
readonly status: {
|
|
324
|
+
readonly type: "string";
|
|
325
|
+
readonly enum: readonly ["valid", "expired", "revoked", "unknown"];
|
|
326
|
+
readonly description: "Validity the maintainer computed at storage time.";
|
|
327
|
+
};
|
|
328
|
+
readonly ext: {
|
|
329
|
+
readonly $ref: "#/$defs/Ext";
|
|
330
|
+
readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
|
|
331
|
+
};
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
readonly Ext: {
|
|
335
|
+
readonly title: "Ext";
|
|
336
|
+
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.";
|
|
337
|
+
readonly type: "object";
|
|
338
|
+
readonly minProperties: 1;
|
|
339
|
+
readonly additionalProperties: true;
|
|
340
|
+
readonly propertyNames: {
|
|
341
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
/**
|
|
348
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
349
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
350
|
+
* parties (§7.3 item 5).
|
|
351
|
+
*/
|
|
352
|
+
export declare const RESPONSE_SPEC: {
|
|
353
|
+
readonly typeUri: "https://trusttasks.org/spec/vault/credentials/receive/0.1#response";
|
|
354
|
+
readonly isBearer: false;
|
|
355
|
+
readonly isProofRequired: true;
|
|
356
|
+
readonly isRecipientRequired: true;
|
|
357
|
+
readonly isIssuedAtRequired: true;
|
|
358
|
+
readonly payloadSchema: {
|
|
359
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
360
|
+
readonly $ref: "#/$defs/Response";
|
|
361
|
+
readonly $defs: {
|
|
362
|
+
readonly Response: {
|
|
363
|
+
readonly $anchor: "response";
|
|
364
|
+
readonly title: "Vault Credentials Receive — response payload";
|
|
365
|
+
readonly type: "object";
|
|
366
|
+
readonly additionalProperties: false;
|
|
367
|
+
readonly required: readonly ["id", "types", "status"];
|
|
368
|
+
readonly properties: {
|
|
369
|
+
readonly id: {
|
|
370
|
+
readonly type: "string";
|
|
371
|
+
readonly minLength: 1;
|
|
372
|
+
readonly maxLength: 256;
|
|
373
|
+
readonly description: "The handle the credential can now be fetched by.";
|
|
374
|
+
};
|
|
375
|
+
readonly types: {
|
|
376
|
+
readonly type: "array";
|
|
377
|
+
readonly items: {
|
|
378
|
+
readonly type: "string";
|
|
379
|
+
readonly minLength: 1;
|
|
380
|
+
readonly maxLength: 256;
|
|
381
|
+
};
|
|
382
|
+
readonly description: "VC `type` tags the maintainer read.";
|
|
383
|
+
};
|
|
384
|
+
readonly purpose: {
|
|
385
|
+
readonly type: "string";
|
|
386
|
+
readonly minLength: 1;
|
|
387
|
+
readonly maxLength: 128;
|
|
388
|
+
readonly description: "Classification the maintainer derived. Never supplied by the consumer.";
|
|
389
|
+
};
|
|
390
|
+
readonly status: {
|
|
391
|
+
readonly type: "string";
|
|
392
|
+
readonly enum: readonly ["valid", "expired", "revoked", "unknown"];
|
|
393
|
+
readonly description: "Validity the maintainer computed at storage time.";
|
|
394
|
+
};
|
|
395
|
+
readonly ext: {
|
|
396
|
+
readonly $ref: "#/$defs/Ext";
|
|
397
|
+
readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
|
|
398
|
+
};
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
readonly Ext: {
|
|
402
|
+
readonly title: "Ext";
|
|
403
|
+
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.";
|
|
404
|
+
readonly type: "object";
|
|
405
|
+
readonly minProperties: 1;
|
|
406
|
+
readonly additionalProperties: true;
|
|
407
|
+
readonly propertyNames: {
|
|
408
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
409
|
+
};
|
|
410
|
+
};
|
|
411
|
+
};
|
|
412
|
+
};
|
|
413
|
+
};
|
|
414
|
+
//# sourceMappingURL=payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmHjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+D1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vault/credentials/receive/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
/** Trust Task type URI. */
|
|
6
|
+
export const TYPE_URI = "https://trusttasks.org/spec/vault/credentials/receive/0.1";
|
|
7
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
8
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vault/credentials/receive/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/vault/credentials/receive/0.1",
|
|
21
|
+
"title": "Vault Credentials — Receive",
|
|
22
|
+
"description": "Verify and store a W3C verifiable credential. Exactly one of `credential` or `credentialBase64` must be present.",
|
|
23
|
+
"type": "object",
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"oneOf": [
|
|
26
|
+
{
|
|
27
|
+
"required": [
|
|
28
|
+
"credential"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"required": [
|
|
33
|
+
"credentialBase64"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"properties": {
|
|
38
|
+
"credential": {
|
|
39
|
+
"type": "object",
|
|
40
|
+
"minProperties": 1,
|
|
41
|
+
"description": "The verifiable credential as a JSON object."
|
|
42
|
+
},
|
|
43
|
+
"credentialBase64": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"minLength": 1,
|
|
46
|
+
"maxLength": 1048576,
|
|
47
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
48
|
+
"description": "The credential base64url-encoded without padding, for formats whose canonical form is not JSON."
|
|
49
|
+
},
|
|
50
|
+
"format": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"minLength": 1,
|
|
53
|
+
"maxLength": 128,
|
|
54
|
+
"description": "Credential format, when not evident from the body. An unimplemented format is refused, not stored."
|
|
55
|
+
},
|
|
56
|
+
"id": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"minLength": 1,
|
|
59
|
+
"maxLength": 256,
|
|
60
|
+
"description": "Local handle to store under. Absent, derived from the credential's own id. A handle, not a description — see Data carried."
|
|
61
|
+
},
|
|
62
|
+
"contextId": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"minLength": 1,
|
|
65
|
+
"maxLength": 256,
|
|
66
|
+
"description": "Context to hold the credential in. Absent, the consumer's own."
|
|
67
|
+
},
|
|
68
|
+
"ext": {
|
|
69
|
+
"$ref": "#/$defs/Ext",
|
|
70
|
+
"description": "Ecosystem-defined extension members per SPEC.md §4.5.1."
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"$defs": {
|
|
74
|
+
"Response": {
|
|
75
|
+
"$anchor": "response",
|
|
76
|
+
"title": "Vault Credentials Receive — response payload",
|
|
77
|
+
"type": "object",
|
|
78
|
+
"additionalProperties": false,
|
|
79
|
+
"required": [
|
|
80
|
+
"id",
|
|
81
|
+
"types",
|
|
82
|
+
"status"
|
|
83
|
+
],
|
|
84
|
+
"properties": {
|
|
85
|
+
"id": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"minLength": 1,
|
|
88
|
+
"maxLength": 256,
|
|
89
|
+
"description": "The handle the credential can now be fetched by."
|
|
90
|
+
},
|
|
91
|
+
"types": {
|
|
92
|
+
"type": "array",
|
|
93
|
+
"items": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"minLength": 1,
|
|
96
|
+
"maxLength": 256
|
|
97
|
+
},
|
|
98
|
+
"description": "VC `type` tags the maintainer read."
|
|
99
|
+
},
|
|
100
|
+
"purpose": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"minLength": 1,
|
|
103
|
+
"maxLength": 128,
|
|
104
|
+
"description": "Classification the maintainer derived. Never supplied by the consumer."
|
|
105
|
+
},
|
|
106
|
+
"status": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"enum": [
|
|
109
|
+
"valid",
|
|
110
|
+
"expired",
|
|
111
|
+
"revoked",
|
|
112
|
+
"unknown"
|
|
113
|
+
],
|
|
114
|
+
"description": "Validity the maintainer computed at storage time."
|
|
115
|
+
},
|
|
116
|
+
"ext": {
|
|
117
|
+
"$ref": "#/$defs/Ext",
|
|
118
|
+
"description": "Ecosystem-defined extension members per SPEC.md §4.5.1."
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"Ext": {
|
|
123
|
+
"title": "Ext",
|
|
124
|
+
"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.",
|
|
125
|
+
"type": "object",
|
|
126
|
+
"minProperties": 1,
|
|
127
|
+
"additionalProperties": true,
|
|
128
|
+
"propertyNames": {
|
|
129
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
135
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
136
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
137
|
+
"$ref": "#/$defs/Response",
|
|
138
|
+
"$defs": {
|
|
139
|
+
"Response": {
|
|
140
|
+
"$anchor": "response",
|
|
141
|
+
"title": "Vault Credentials Receive — response payload",
|
|
142
|
+
"type": "object",
|
|
143
|
+
"additionalProperties": false,
|
|
144
|
+
"required": [
|
|
145
|
+
"id",
|
|
146
|
+
"types",
|
|
147
|
+
"status"
|
|
148
|
+
],
|
|
149
|
+
"properties": {
|
|
150
|
+
"id": {
|
|
151
|
+
"type": "string",
|
|
152
|
+
"minLength": 1,
|
|
153
|
+
"maxLength": 256,
|
|
154
|
+
"description": "The handle the credential can now be fetched by."
|
|
155
|
+
},
|
|
156
|
+
"types": {
|
|
157
|
+
"type": "array",
|
|
158
|
+
"items": {
|
|
159
|
+
"type": "string",
|
|
160
|
+
"minLength": 1,
|
|
161
|
+
"maxLength": 256
|
|
162
|
+
},
|
|
163
|
+
"description": "VC `type` tags the maintainer read."
|
|
164
|
+
},
|
|
165
|
+
"purpose": {
|
|
166
|
+
"type": "string",
|
|
167
|
+
"minLength": 1,
|
|
168
|
+
"maxLength": 128,
|
|
169
|
+
"description": "Classification the maintainer derived. Never supplied by the consumer."
|
|
170
|
+
},
|
|
171
|
+
"status": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"enum": [
|
|
174
|
+
"valid",
|
|
175
|
+
"expired",
|
|
176
|
+
"revoked",
|
|
177
|
+
"unknown"
|
|
178
|
+
],
|
|
179
|
+
"description": "Validity the maintainer computed at storage time."
|
|
180
|
+
},
|
|
181
|
+
"ext": {
|
|
182
|
+
"$ref": "#/$defs/Ext",
|
|
183
|
+
"description": "Ecosystem-defined extension members per SPEC.md §4.5.1."
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"Ext": {
|
|
188
|
+
"title": "Ext",
|
|
189
|
+
"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.",
|
|
190
|
+
"type": "object",
|
|
191
|
+
"minProperties": 1,
|
|
192
|
+
"additionalProperties": true,
|
|
193
|
+
"propertyNames": {
|
|
194
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
201
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
202
|
+
* per-specification and cannot be derived from the document alone, and
|
|
203
|
+
* item 2 needs the schema this carries.
|
|
204
|
+
*/
|
|
205
|
+
export const SPEC = {
|
|
206
|
+
typeUri: TYPE_URI,
|
|
207
|
+
isBearer: false,
|
|
208
|
+
isProofRequired: true,
|
|
209
|
+
isRecipientRequired: true,
|
|
210
|
+
isIssuedAtRequired: true,
|
|
211
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
215
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
216
|
+
* parties (§7.3 item 5).
|
|
217
|
+
*/
|
|
218
|
+
export const RESPONSE_SPEC = {
|
|
219
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
220
|
+
isBearer: false,
|
|
221
|
+
isProofRequired: true,
|
|
222
|
+
isRecipientRequired: true,
|
|
223
|
+
isIssuedAtRequired: true,
|
|
224
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
225
|
+
};
|
|
226
|
+
//# sourceMappingURL=payload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vault/credentials/receive/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA+DH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,2DAAoE,CAAC;AAK7F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,oEAA6E,CAAC;AAK/G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,2DAA2D;IAClE,OAAO,EAAE,6BAA6B;IACtC,aAAa,EAAE,kHAAkH;IACjI,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,OAAO,EAAE;QACP;YACE,UAAU,EAAE;gBACV,YAAY;aACb;SACF;QACD;YACE,UAAU,EAAE;gBACV,kBAAkB;aACnB;SACF;KACF;IACD,YAAY,EAAE;QACZ,YAAY,EAAE;YACZ,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,CAAC;YAClB,aAAa,EAAE,6CAA6C;SAC7D;QACD,kBAAkB,EAAE;YAClB,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,OAAO;YACpB,SAAS,EAAE,kBAAkB;YAC7B,aAAa,EAAE,iGAAiG;SACjH;QACD,QAAQ,EAAE;YACR,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,GAAG;YAChB,aAAa,EAAE,oGAAoG;SACpH;QACD,IAAI,EAAE;YACJ,MAAM,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