@openvtc/trust-tasks 0.12.9 → 0.12.11

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 (68) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +2 -0
  4. package/dist/index.js.map +1 -1
  5. package/dist/vtc/_shared/0.1/endorsement.d.ts +1 -1
  6. package/dist/vtc/ceremonies/list/0.1/payload.d.ts +22 -0
  7. package/dist/vtc/ceremonies/list/0.1/payload.d.ts.map +1 -1
  8. package/dist/vtc/ceremonies/list/0.1/payload.js +8 -0
  9. package/dist/vtc/ceremonies/list/0.1/payload.js.map +1 -1
  10. package/dist/vtc/community/profile/show/0.1/payload.d.ts +81 -22
  11. package/dist/vtc/community/profile/show/0.1/payload.d.ts.map +1 -1
  12. package/dist/vtc/community/profile/show/0.1/payload.js +34 -8
  13. package/dist/vtc/community/profile/show/0.1/payload.js.map +1 -1
  14. package/dist/vtc/community/profile/update/0.1/payload.d.ts +81 -22
  15. package/dist/vtc/community/profile/update/0.1/payload.d.ts.map +1 -1
  16. package/dist/vtc/community/profile/update/0.1/payload.js +34 -8
  17. package/dist/vtc/community/profile/update/0.1/payload.js.map +1 -1
  18. package/dist/vtc/endorsements/issue/0.1/payload.d.ts +65 -65
  19. package/dist/vtc/endorsements/issue/0.1/payload.d.ts.map +1 -1
  20. package/dist/vtc/endorsements/issue/0.1/payload.js +36 -32
  21. package/dist/vtc/endorsements/issue/0.1/payload.js.map +1 -1
  22. package/dist/vtc/endorsements/list/0.1/payload.d.ts +41 -61
  23. package/dist/vtc/endorsements/list/0.1/payload.d.ts.map +1 -1
  24. package/dist/vtc/endorsements/list/0.1/payload.js +24 -30
  25. package/dist/vtc/endorsements/list/0.1/payload.js.map +1 -1
  26. package/dist/vtc/endorsements/show/0.1/payload.d.ts +41 -61
  27. package/dist/vtc/endorsements/show/0.1/payload.d.ts.map +1 -1
  28. package/dist/vtc/endorsements/show/0.1/payload.js +24 -30
  29. package/dist/vtc/endorsements/show/0.1/payload.js.map +1 -1
  30. package/dist/vtc/install/claim/finish/0.2/payload.d.ts +271 -0
  31. package/dist/vtc/install/claim/finish/0.2/payload.d.ts.map +1 -0
  32. package/dist/vtc/install/claim/finish/0.2/payload.js +152 -0
  33. package/dist/vtc/install/claim/finish/0.2/payload.js.map +1 -0
  34. package/dist/vtc/install/claim/start/0.1/payload.d.ts +18 -0
  35. package/dist/vtc/install/claim/start/0.1/payload.d.ts.map +1 -1
  36. package/dist/vtc/install/claim/start/0.1/payload.js +5 -0
  37. package/dist/vtc/install/claim/start/0.1/payload.js.map +1 -1
  38. package/dist/vtc/install/claim/start/0.2/payload.d.ts +264 -0
  39. package/dist/vtc/install/claim/start/0.2/payload.d.ts.map +1 -0
  40. package/dist/vtc/install/claim/start/0.2/payload.js +145 -0
  41. package/dist/vtc/install/claim/start/0.2/payload.js.map +1 -0
  42. package/dist/vtc/registry/diagnostics/0.1/payload.d.ts +491 -0
  43. package/dist/vtc/registry/diagnostics/0.1/payload.d.ts.map +1 -1
  44. package/dist/vtc/registry/diagnostics/0.1/payload.js +260 -0
  45. package/dist/vtc/registry/diagnostics/0.1/payload.js.map +1 -1
  46. package/dist/vtc/website/files/list/0.1/payload.d.ts +24 -0
  47. package/dist/vtc/website/files/list/0.1/payload.d.ts.map +1 -1
  48. package/dist/vtc/website/files/list/0.1/payload.js +10 -0
  49. package/dist/vtc/website/files/list/0.1/payload.js.map +1 -1
  50. package/dist/vtc/website/generations/list/0.1/payload.d.ts +48 -0
  51. package/dist/vtc/website/generations/list/0.1/payload.d.ts.map +1 -1
  52. package/dist/vtc/website/generations/list/0.1/payload.js +20 -0
  53. package/dist/vtc/website/generations/list/0.1/payload.js.map +1 -1
  54. package/package.json +1 -1
  55. package/src/index.ts +2 -0
  56. package/src/vtc/_shared/0.1/endorsement.ts +1 -1
  57. package/src/vtc/ceremonies/list/0.1/payload.ts +14 -0
  58. package/src/vtc/community/profile/show/0.1/payload.ts +47 -10
  59. package/src/vtc/community/profile/update/0.1/payload.ts +47 -10
  60. package/src/vtc/endorsements/issue/0.1/payload.ts +45 -41
  61. package/src/vtc/endorsements/list/0.1/payload.ts +29 -39
  62. package/src/vtc/endorsements/show/0.1/payload.ts +29 -39
  63. package/src/vtc/install/claim/finish/0.2/payload.ts +193 -0
  64. package/src/vtc/install/claim/start/0.1/payload.ts +13 -0
  65. package/src/vtc/install/claim/start/0.2/payload.ts +189 -0
  66. package/src/vtc/registry/diagnostics/0.1/payload.ts +343 -0
  67. package/src/vtc/website/files/list/0.1/payload.ts +14 -0
  68. package/src/vtc/website/generations/list/0.1/payload.ts +28 -0
@@ -33,6 +33,10 @@ export interface Ext {
33
33
  }
34
34
  export interface VTCEndorsementsIssueResponsePayload {
35
35
  endorsement: Endorsement;
36
+ /**
37
+ * The signed VEC just minted. Present only here: handing back the credential is the point of an issue call, and the issuer is the only party that can. Reads carry `endorsement.issued` — the reference — instead.
38
+ */
39
+ credential: {};
36
40
  ext?: Ext;
37
41
  }
38
42
  export interface Endorsement {
@@ -52,7 +56,7 @@ export interface Endorsement {
52
56
  * The attested claim body, validated against the endorsement type's claimSchema when it declares one.
53
57
  */
54
58
  claim?: {};
55
- issued: IssuedCredential;
59
+ issued: CredentialReference;
56
60
  /**
57
61
  * The endorsement's slot on the community's shared Revocation status list. Published, so a foreign verifier can check revocation without contacting this community.
58
62
  */
@@ -63,22 +67,18 @@ export interface Endorsement {
63
67
  revokedAt?: string | null;
64
68
  }
65
69
  /**
66
- * The registry-wide issuance receiptcredentialId, the signed VEC, and expiry.
70
+ * A pointer to the issued VEC its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it.
67
71
  */
68
- export interface IssuedCredential {
72
+ export interface CredentialReference {
69
73
  credentialId: CredentialId;
70
- /**
71
- * The issued Verifiable Credential (W3C VC Data Model 2.0), signed by the issuer's key. Opaque to the framework.
72
- */
73
- credential: {};
74
74
  /**
75
75
  * When the credential was minted.
76
76
  */
77
77
  issuedAt?: string;
78
78
  /**
79
- * When the credential's validUntil falls due.
79
+ * When it lapses, or null when it does not.
80
80
  */
81
- expiresAt: string;
81
+ expiresAt?: string | null;
82
82
  }
83
83
  /** Trust Task type URI. */
84
84
  export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/endorsements/issue/0.1";
@@ -136,11 +136,15 @@ export declare const PAYLOAD_SCHEMA: {
136
136
  readonly title: "VTC Endorsements Issue — response payload";
137
137
  readonly type: "object";
138
138
  readonly additionalProperties: false;
139
- readonly required: readonly ["endorsement"];
139
+ readonly required: readonly ["endorsement", "credential"];
140
140
  readonly properties: {
141
141
  readonly endorsement: {
142
142
  readonly $ref: "#/$defs/Endorsement";
143
143
  };
144
+ readonly credential: {
145
+ readonly type: "object";
146
+ readonly description: "The signed VEC just minted. Present only here: handing back the credential is the point of an issue call, and the issuer is the only party that can. Reads carry `endorsement.issued` — the reference — instead.";
147
+ };
144
148
  readonly ext: {
145
149
  readonly $ref: "#/$defs/Ext";
146
150
  };
@@ -184,8 +188,8 @@ export declare const PAYLOAD_SCHEMA: {
184
188
  readonly description: "The attested claim body, validated against the endorsement type's claimSchema when it declares one.";
185
189
  };
186
190
  readonly issued: {
187
- readonly $ref: "#/$defs/IssuedCredential";
188
- readonly description: "The registry-wide issuance receiptcredentialId, the signed VEC, and expiry.";
191
+ readonly $ref: "#/$defs/CredentialReference";
192
+ readonly description: "A pointer to the issued VEC its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it.";
189
193
  };
190
194
  readonly statusListIndex: {
191
195
  readonly type: "integer";
@@ -199,30 +203,26 @@ export declare const PAYLOAD_SCHEMA: {
199
203
  };
200
204
  };
201
205
  };
202
- readonly IssuedCredential: {
203
- readonly $anchor: "issuedCredential";
204
- readonly title: "IssuedCredential";
205
- readonly description: "The receipt for a successfully-minted Verifiable Credential: a stable handle for revocation and audit, the signed credential itself, and when it lapses.\n\nSCOPE — this is an *issuance* receipt, returned by the party that minted the credential. It is not the shape for a *delivery* receipt, where a holder hands an already-issued credential to a party that stores it: such a task returns a receipt naming what was stored (see vtc/members/vmc and vtc/join-requests/accept) and MUST NOT echo the credential back to the party that just sent it. Reaching for this definition on a delivery task is the mistake this paragraph exists to prevent.\n\n`additionalProperties` is false, so a specification needing extra members cannot compose this by `$ref` — `allOf` evaluates each subschema against the whole object and this one would reject them. vta/credentials/issue is that case: its response is this shape plus `supersedes` and `ext`, and it therefore states the members inline while `$ref`-ing the shared CredentialId. That is deliberate, not drift.";
206
+ readonly CredentialReference: {
207
+ readonly $anchor: "credentialReference";
208
+ readonly title: "CredentialReference";
206
209
  readonly type: "object";
207
210
  readonly additionalProperties: false;
208
- readonly required: readonly ["credentialId", "credential", "expiresAt"];
211
+ readonly description: "A pointer to an issued credential, without the credential itself.\n\nThe counterpart to IssuedCredential, for the far more common case of *reading about* a credential rather than being handed one. A listing that embedded the signed credential in every row would grow with the size of the credentials rather than the number of them — a page of fifty is megabytes — and a reader that only needs to know a credential exists, when it lapses, and how to revoke it does not need the bytes.\n\nThe holder can always fetch the credential itself by `credentialId`, and a verifier can check revocation from the row's status-list slot without either. Reach for IssuedCredential only at the moment of minting, where the caller has no other way to receive what was just made for them.";
212
+ readonly required: readonly ["credentialId"];
209
213
  readonly properties: {
210
214
  readonly credentialId: {
211
215
  readonly $ref: "#/$defs/CredentialId";
212
216
  };
213
- readonly credential: {
214
- readonly type: "object";
215
- readonly description: "The issued Verifiable Credential (W3C VC Data Model 2.0), signed by the issuer's key. Opaque to the framework.";
216
- };
217
217
  readonly issuedAt: {
218
218
  readonly type: "string";
219
219
  readonly format: "date-time";
220
220
  readonly description: "When the credential was minted.";
221
221
  };
222
222
  readonly expiresAt: {
223
- readonly type: "string";
223
+ readonly type: readonly ["string", "null"];
224
224
  readonly format: "date-time";
225
- readonly description: "When the credential's validUntil falls due.";
225
+ readonly description: "When it lapses, or null when it does not.";
226
226
  };
227
227
  };
228
228
  };
@@ -245,11 +245,15 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
245
245
  readonly title: "VTC Endorsements Issue — response payload";
246
246
  readonly type: "object";
247
247
  readonly additionalProperties: false;
248
- readonly required: readonly ["endorsement"];
248
+ readonly required: readonly ["endorsement", "credential"];
249
249
  readonly properties: {
250
250
  readonly endorsement: {
251
251
  readonly $ref: "#/$defs/Endorsement";
252
252
  };
253
+ readonly credential: {
254
+ readonly type: "object";
255
+ readonly description: "The signed VEC just minted. Present only here: handing back the credential is the point of an issue call, and the issuer is the only party that can. Reads carry `endorsement.issued` — the reference — instead.";
256
+ };
253
257
  readonly ext: {
254
258
  readonly $ref: "#/$defs/Ext";
255
259
  };
@@ -293,8 +297,8 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
293
297
  readonly description: "The attested claim body, validated against the endorsement type's claimSchema when it declares one.";
294
298
  };
295
299
  readonly issued: {
296
- readonly $ref: "#/$defs/IssuedCredential";
297
- readonly description: "The registry-wide issuance receiptcredentialId, the signed VEC, and expiry.";
300
+ readonly $ref: "#/$defs/CredentialReference";
301
+ readonly description: "A pointer to the issued VEC its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it.";
298
302
  };
299
303
  readonly statusListIndex: {
300
304
  readonly type: "integer";
@@ -308,30 +312,26 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
308
312
  };
309
313
  };
310
314
  };
311
- readonly IssuedCredential: {
312
- readonly $anchor: "issuedCredential";
313
- readonly title: "IssuedCredential";
314
- readonly description: "The receipt for a successfully-minted Verifiable Credential: a stable handle for revocation and audit, the signed credential itself, and when it lapses.\n\nSCOPE — this is an *issuance* receipt, returned by the party that minted the credential. It is not the shape for a *delivery* receipt, where a holder hands an already-issued credential to a party that stores it: such a task returns a receipt naming what was stored (see vtc/members/vmc and vtc/join-requests/accept) and MUST NOT echo the credential back to the party that just sent it. Reaching for this definition on a delivery task is the mistake this paragraph exists to prevent.\n\n`additionalProperties` is false, so a specification needing extra members cannot compose this by `$ref` — `allOf` evaluates each subschema against the whole object and this one would reject them. vta/credentials/issue is that case: its response is this shape plus `supersedes` and `ext`, and it therefore states the members inline while `$ref`-ing the shared CredentialId. That is deliberate, not drift.";
315
+ readonly CredentialReference: {
316
+ readonly $anchor: "credentialReference";
317
+ readonly title: "CredentialReference";
315
318
  readonly type: "object";
316
319
  readonly additionalProperties: false;
317
- readonly required: readonly ["credentialId", "credential", "expiresAt"];
320
+ readonly description: "A pointer to an issued credential, without the credential itself.\n\nThe counterpart to IssuedCredential, for the far more common case of *reading about* a credential rather than being handed one. A listing that embedded the signed credential in every row would grow with the size of the credentials rather than the number of them — a page of fifty is megabytes — and a reader that only needs to know a credential exists, when it lapses, and how to revoke it does not need the bytes.\n\nThe holder can always fetch the credential itself by `credentialId`, and a verifier can check revocation from the row's status-list slot without either. Reach for IssuedCredential only at the moment of minting, where the caller has no other way to receive what was just made for them.";
321
+ readonly required: readonly ["credentialId"];
318
322
  readonly properties: {
319
323
  readonly credentialId: {
320
324
  readonly $ref: "#/$defs/CredentialId";
321
325
  };
322
- readonly credential: {
323
- readonly type: "object";
324
- readonly description: "The issued Verifiable Credential (W3C VC Data Model 2.0), signed by the issuer's key. Opaque to the framework.";
325
- };
326
326
  readonly issuedAt: {
327
327
  readonly type: "string";
328
328
  readonly format: "date-time";
329
329
  readonly description: "When the credential was minted.";
330
330
  };
331
331
  readonly expiresAt: {
332
- readonly type: "string";
332
+ readonly type: readonly ["string", "null"];
333
333
  readonly format: "date-time";
334
- readonly description: "When the credential's validUntil falls due.";
334
+ readonly description: "When it lapses, or null when it does not.";
335
335
  };
336
336
  };
337
337
  };
@@ -394,11 +394,15 @@ export declare const SPEC: {
394
394
  readonly title: "VTC Endorsements Issue — response payload";
395
395
  readonly type: "object";
396
396
  readonly additionalProperties: false;
397
- readonly required: readonly ["endorsement"];
397
+ readonly required: readonly ["endorsement", "credential"];
398
398
  readonly properties: {
399
399
  readonly endorsement: {
400
400
  readonly $ref: "#/$defs/Endorsement";
401
401
  };
402
+ readonly credential: {
403
+ readonly type: "object";
404
+ readonly description: "The signed VEC just minted. Present only here: handing back the credential is the point of an issue call, and the issuer is the only party that can. Reads carry `endorsement.issued` — the reference — instead.";
405
+ };
402
406
  readonly ext: {
403
407
  readonly $ref: "#/$defs/Ext";
404
408
  };
@@ -442,8 +446,8 @@ export declare const SPEC: {
442
446
  readonly description: "The attested claim body, validated against the endorsement type's claimSchema when it declares one.";
443
447
  };
444
448
  readonly issued: {
445
- readonly $ref: "#/$defs/IssuedCredential";
446
- readonly description: "The registry-wide issuance receiptcredentialId, the signed VEC, and expiry.";
449
+ readonly $ref: "#/$defs/CredentialReference";
450
+ readonly description: "A pointer to the issued VEC its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it.";
447
451
  };
448
452
  readonly statusListIndex: {
449
453
  readonly type: "integer";
@@ -457,30 +461,26 @@ export declare const SPEC: {
457
461
  };
458
462
  };
459
463
  };
460
- readonly IssuedCredential: {
461
- readonly $anchor: "issuedCredential";
462
- readonly title: "IssuedCredential";
463
- readonly description: "The receipt for a successfully-minted Verifiable Credential: a stable handle for revocation and audit, the signed credential itself, and when it lapses.\n\nSCOPE — this is an *issuance* receipt, returned by the party that minted the credential. It is not the shape for a *delivery* receipt, where a holder hands an already-issued credential to a party that stores it: such a task returns a receipt naming what was stored (see vtc/members/vmc and vtc/join-requests/accept) and MUST NOT echo the credential back to the party that just sent it. Reaching for this definition on a delivery task is the mistake this paragraph exists to prevent.\n\n`additionalProperties` is false, so a specification needing extra members cannot compose this by `$ref` — `allOf` evaluates each subschema against the whole object and this one would reject them. vta/credentials/issue is that case: its response is this shape plus `supersedes` and `ext`, and it therefore states the members inline while `$ref`-ing the shared CredentialId. That is deliberate, not drift.";
464
+ readonly CredentialReference: {
465
+ readonly $anchor: "credentialReference";
466
+ readonly title: "CredentialReference";
464
467
  readonly type: "object";
465
468
  readonly additionalProperties: false;
466
- readonly required: readonly ["credentialId", "credential", "expiresAt"];
469
+ readonly description: "A pointer to an issued credential, without the credential itself.\n\nThe counterpart to IssuedCredential, for the far more common case of *reading about* a credential rather than being handed one. A listing that embedded the signed credential in every row would grow with the size of the credentials rather than the number of them — a page of fifty is megabytes — and a reader that only needs to know a credential exists, when it lapses, and how to revoke it does not need the bytes.\n\nThe holder can always fetch the credential itself by `credentialId`, and a verifier can check revocation from the row's status-list slot without either. Reach for IssuedCredential only at the moment of minting, where the caller has no other way to receive what was just made for them.";
470
+ readonly required: readonly ["credentialId"];
467
471
  readonly properties: {
468
472
  readonly credentialId: {
469
473
  readonly $ref: "#/$defs/CredentialId";
470
474
  };
471
- readonly credential: {
472
- readonly type: "object";
473
- readonly description: "The issued Verifiable Credential (W3C VC Data Model 2.0), signed by the issuer's key. Opaque to the framework.";
474
- };
475
475
  readonly issuedAt: {
476
476
  readonly type: "string";
477
477
  readonly format: "date-time";
478
478
  readonly description: "When the credential was minted.";
479
479
  };
480
480
  readonly expiresAt: {
481
- readonly type: "string";
481
+ readonly type: readonly ["string", "null"];
482
482
  readonly format: "date-time";
483
- readonly description: "When the credential's validUntil falls due.";
483
+ readonly description: "When it lapses, or null when it does not.";
484
484
  };
485
485
  };
486
486
  };
@@ -513,11 +513,15 @@ export declare const RESPONSE_SPEC: {
513
513
  readonly title: "VTC Endorsements Issue — response payload";
514
514
  readonly type: "object";
515
515
  readonly additionalProperties: false;
516
- readonly required: readonly ["endorsement"];
516
+ readonly required: readonly ["endorsement", "credential"];
517
517
  readonly properties: {
518
518
  readonly endorsement: {
519
519
  readonly $ref: "#/$defs/Endorsement";
520
520
  };
521
+ readonly credential: {
522
+ readonly type: "object";
523
+ readonly description: "The signed VEC just minted. Present only here: handing back the credential is the point of an issue call, and the issuer is the only party that can. Reads carry `endorsement.issued` — the reference — instead.";
524
+ };
521
525
  readonly ext: {
522
526
  readonly $ref: "#/$defs/Ext";
523
527
  };
@@ -561,8 +565,8 @@ export declare const RESPONSE_SPEC: {
561
565
  readonly description: "The attested claim body, validated against the endorsement type's claimSchema when it declares one.";
562
566
  };
563
567
  readonly issued: {
564
- readonly $ref: "#/$defs/IssuedCredential";
565
- readonly description: "The registry-wide issuance receiptcredentialId, the signed VEC, and expiry.";
568
+ readonly $ref: "#/$defs/CredentialReference";
569
+ readonly description: "A pointer to the issued VEC its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it.";
566
570
  };
567
571
  readonly statusListIndex: {
568
572
  readonly type: "integer";
@@ -576,30 +580,26 @@ export declare const RESPONSE_SPEC: {
576
580
  };
577
581
  };
578
582
  };
579
- readonly IssuedCredential: {
580
- readonly $anchor: "issuedCredential";
581
- readonly title: "IssuedCredential";
582
- readonly description: "The receipt for a successfully-minted Verifiable Credential: a stable handle for revocation and audit, the signed credential itself, and when it lapses.\n\nSCOPE — this is an *issuance* receipt, returned by the party that minted the credential. It is not the shape for a *delivery* receipt, where a holder hands an already-issued credential to a party that stores it: such a task returns a receipt naming what was stored (see vtc/members/vmc and vtc/join-requests/accept) and MUST NOT echo the credential back to the party that just sent it. Reaching for this definition on a delivery task is the mistake this paragraph exists to prevent.\n\n`additionalProperties` is false, so a specification needing extra members cannot compose this by `$ref` — `allOf` evaluates each subschema against the whole object and this one would reject them. vta/credentials/issue is that case: its response is this shape plus `supersedes` and `ext`, and it therefore states the members inline while `$ref`-ing the shared CredentialId. That is deliberate, not drift.";
583
+ readonly CredentialReference: {
584
+ readonly $anchor: "credentialReference";
585
+ readonly title: "CredentialReference";
583
586
  readonly type: "object";
584
587
  readonly additionalProperties: false;
585
- readonly required: readonly ["credentialId", "credential", "expiresAt"];
588
+ readonly description: "A pointer to an issued credential, without the credential itself.\n\nThe counterpart to IssuedCredential, for the far more common case of *reading about* a credential rather than being handed one. A listing that embedded the signed credential in every row would grow with the size of the credentials rather than the number of them — a page of fifty is megabytes — and a reader that only needs to know a credential exists, when it lapses, and how to revoke it does not need the bytes.\n\nThe holder can always fetch the credential itself by `credentialId`, and a verifier can check revocation from the row's status-list slot without either. Reach for IssuedCredential only at the moment of minting, where the caller has no other way to receive what was just made for them.";
589
+ readonly required: readonly ["credentialId"];
586
590
  readonly properties: {
587
591
  readonly credentialId: {
588
592
  readonly $ref: "#/$defs/CredentialId";
589
593
  };
590
- readonly credential: {
591
- readonly type: "object";
592
- readonly description: "The issued Verifiable Credential (W3C VC Data Model 2.0), signed by the issuer's key. Opaque to the framework.";
593
- };
594
594
  readonly issuedAt: {
595
595
  readonly type: "string";
596
596
  readonly format: "date-time";
597
597
  readonly description: "When the credential was minted.";
598
598
  };
599
599
  readonly expiresAt: {
600
- readonly type: "string";
600
+ readonly type: readonly ["string", "null"];
601
601
  readonly format: "date-time";
602
- readonly description: "When the credential's validUntil falls due.";
602
+ readonly description: "When it lapses, or null when it does not.";
603
603
  };
604
604
  };
605
605
  };
@@ -1 +1 @@
1
- {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/endorsements/issue/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC;AAElC,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,EAAE,EAAE,CAAC;IACV;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,GAAG;IAClB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AACD,MAAM,WAAW,mCAAmC;IAClD,WAAW,EAAE,WAAW,CAAC;IACzB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,aAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhB,CAAC"}
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/endorsements/issue/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC;AAElC,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,EAAE,EAAE,CAAC;IACV;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,GAAG;IAClB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AACD,MAAM,WAAW,mCAAmC;IAClD,WAAW,EAAE,WAAW,CAAC;IACzB;;OAEG;IACH,UAAU,EAAE,EAAE,CAAC;IACf,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,EAAE,CAAC;IACX,MAAM,EAAE,mBAAmB,CAAC;IAC5B;;OAEG;IACH,eAAe,EAAE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhB,CAAC"}
@@ -59,12 +59,17 @@ export const PAYLOAD_SCHEMA = {
59
59
  "type": "object",
60
60
  "additionalProperties": false,
61
61
  "required": [
62
- "endorsement"
62
+ "endorsement",
63
+ "credential"
63
64
  ],
64
65
  "properties": {
65
66
  "endorsement": {
66
67
  "$ref": "#/$defs/Endorsement"
67
68
  },
69
+ "credential": {
70
+ "type": "object",
71
+ "description": "The signed VEC just minted. Present only here: handing back the credential is the point of an issue call, and the issuer is the only party that can. Reads carry `endorsement.issued` — the reference — instead."
72
+ },
68
73
  "ext": {
69
74
  "$ref": "#/$defs/Ext"
70
75
  }
@@ -114,8 +119,8 @@ export const PAYLOAD_SCHEMA = {
114
119
  "description": "The attested claim body, validated against the endorsement type's claimSchema when it declares one."
115
120
  },
116
121
  "issued": {
117
- "$ref": "#/$defs/IssuedCredential",
118
- "description": "The registry-wide issuance receiptcredentialId, the signed VEC, and expiry."
122
+ "$ref": "#/$defs/CredentialReference",
123
+ "description": "A pointer to the issued VEC its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it."
119
124
  },
120
125
  "statusListIndex": {
121
126
  "type": "integer",
@@ -132,34 +137,31 @@ export const PAYLOAD_SCHEMA = {
132
137
  }
133
138
  }
134
139
  },
135
- "IssuedCredential": {
136
- "$anchor": "issuedCredential",
137
- "title": "IssuedCredential",
138
- "description": "The receipt for a successfully-minted Verifiable Credential: a stable handle for revocation and audit, the signed credential itself, and when it lapses.\n\nSCOPE — this is an *issuance* receipt, returned by the party that minted the credential. It is not the shape for a *delivery* receipt, where a holder hands an already-issued credential to a party that stores it: such a task returns a receipt naming what was stored (see vtc/members/vmc and vtc/join-requests/accept) and MUST NOT echo the credential back to the party that just sent it. Reaching for this definition on a delivery task is the mistake this paragraph exists to prevent.\n\n`additionalProperties` is false, so a specification needing extra members cannot compose this by `$ref` — `allOf` evaluates each subschema against the whole object and this one would reject them. vta/credentials/issue is that case: its response is this shape plus `supersedes` and `ext`, and it therefore states the members inline while `$ref`-ing the shared CredentialId. That is deliberate, not drift.",
140
+ "CredentialReference": {
141
+ "$anchor": "credentialReference",
142
+ "title": "CredentialReference",
139
143
  "type": "object",
140
144
  "additionalProperties": false,
145
+ "description": "A pointer to an issued credential, without the credential itself.\n\nThe counterpart to IssuedCredential, for the far more common case of *reading about* a credential rather than being handed one. A listing that embedded the signed credential in every row would grow with the size of the credentials rather than the number of them — a page of fifty is megabytes — and a reader that only needs to know a credential exists, when it lapses, and how to revoke it does not need the bytes.\n\nThe holder can always fetch the credential itself by `credentialId`, and a verifier can check revocation from the row's status-list slot without either. Reach for IssuedCredential only at the moment of minting, where the caller has no other way to receive what was just made for them.",
141
146
  "required": [
142
- "credentialId",
143
- "credential",
144
- "expiresAt"
147
+ "credentialId"
145
148
  ],
146
149
  "properties": {
147
150
  "credentialId": {
148
151
  "$ref": "#/$defs/CredentialId"
149
152
  },
150
- "credential": {
151
- "type": "object",
152
- "description": "The issued Verifiable Credential (W3C VC Data Model 2.0), signed by the issuer's key. Opaque to the framework."
153
- },
154
153
  "issuedAt": {
155
154
  "type": "string",
156
155
  "format": "date-time",
157
156
  "description": "When the credential was minted."
158
157
  },
159
158
  "expiresAt": {
160
- "type": "string",
159
+ "type": [
160
+ "string",
161
+ "null"
162
+ ],
161
163
  "format": "date-time",
162
- "description": "When the credential's validUntil falls due."
164
+ "description": "When it lapses, or null when it does not."
163
165
  }
164
166
  }
165
167
  },
@@ -183,12 +185,17 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
183
185
  "type": "object",
184
186
  "additionalProperties": false,
185
187
  "required": [
186
- "endorsement"
188
+ "endorsement",
189
+ "credential"
187
190
  ],
188
191
  "properties": {
189
192
  "endorsement": {
190
193
  "$ref": "#/$defs/Endorsement"
191
194
  },
195
+ "credential": {
196
+ "type": "object",
197
+ "description": "The signed VEC just minted. Present only here: handing back the credential is the point of an issue call, and the issuer is the only party that can. Reads carry `endorsement.issued` — the reference — instead."
198
+ },
192
199
  "ext": {
193
200
  "$ref": "#/$defs/Ext"
194
201
  }
@@ -238,8 +245,8 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
238
245
  "description": "The attested claim body, validated against the endorsement type's claimSchema when it declares one."
239
246
  },
240
247
  "issued": {
241
- "$ref": "#/$defs/IssuedCredential",
242
- "description": "The registry-wide issuance receiptcredentialId, the signed VEC, and expiry."
248
+ "$ref": "#/$defs/CredentialReference",
249
+ "description": "A pointer to the issued VEC its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it."
243
250
  },
244
251
  "statusListIndex": {
245
252
  "type": "integer",
@@ -256,34 +263,31 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
256
263
  }
257
264
  }
258
265
  },
259
- "IssuedCredential": {
260
- "$anchor": "issuedCredential",
261
- "title": "IssuedCredential",
262
- "description": "The receipt for a successfully-minted Verifiable Credential: a stable handle for revocation and audit, the signed credential itself, and when it lapses.\n\nSCOPE — this is an *issuance* receipt, returned by the party that minted the credential. It is not the shape for a *delivery* receipt, where a holder hands an already-issued credential to a party that stores it: such a task returns a receipt naming what was stored (see vtc/members/vmc and vtc/join-requests/accept) and MUST NOT echo the credential back to the party that just sent it. Reaching for this definition on a delivery task is the mistake this paragraph exists to prevent.\n\n`additionalProperties` is false, so a specification needing extra members cannot compose this by `$ref` — `allOf` evaluates each subschema against the whole object and this one would reject them. vta/credentials/issue is that case: its response is this shape plus `supersedes` and `ext`, and it therefore states the members inline while `$ref`-ing the shared CredentialId. That is deliberate, not drift.",
266
+ "CredentialReference": {
267
+ "$anchor": "credentialReference",
268
+ "title": "CredentialReference",
263
269
  "type": "object",
264
270
  "additionalProperties": false,
271
+ "description": "A pointer to an issued credential, without the credential itself.\n\nThe counterpart to IssuedCredential, for the far more common case of *reading about* a credential rather than being handed one. A listing that embedded the signed credential in every row would grow with the size of the credentials rather than the number of them — a page of fifty is megabytes — and a reader that only needs to know a credential exists, when it lapses, and how to revoke it does not need the bytes.\n\nThe holder can always fetch the credential itself by `credentialId`, and a verifier can check revocation from the row's status-list slot without either. Reach for IssuedCredential only at the moment of minting, where the caller has no other way to receive what was just made for them.",
265
272
  "required": [
266
- "credentialId",
267
- "credential",
268
- "expiresAt"
273
+ "credentialId"
269
274
  ],
270
275
  "properties": {
271
276
  "credentialId": {
272
277
  "$ref": "#/$defs/CredentialId"
273
278
  },
274
- "credential": {
275
- "type": "object",
276
- "description": "The issued Verifiable Credential (W3C VC Data Model 2.0), signed by the issuer's key. Opaque to the framework."
277
- },
278
279
  "issuedAt": {
279
280
  "type": "string",
280
281
  "format": "date-time",
281
282
  "description": "When the credential was minted."
282
283
  },
283
284
  "expiresAt": {
284
- "type": "string",
285
+ "type": [
286
+ "string",
287
+ "null"
288
+ ],
285
289
  "format": "date-time",
286
- "description": "When the credential's validUntil falls due."
290
+ "description": "When it lapses, or null when it does not."
287
291
  }
288
292
  }
289
293
  },
@@ -1 +1 @@
1
- {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/endorsements/issue/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAkFH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,wDAAiE,CAAC;AAK1F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,iEAA0E,CAAC;AAK5G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,wDAAwD;IAC/D,OAAO,EAAE,kCAAkC;IAC3C,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,YAAY;QACZ,SAAS;QACT,OAAO;KACR;IACD,YAAY,EAAE;QACZ,YAAY,EAAE;YACZ,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE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