@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
@@ -64,7 +64,7 @@ export interface Endorsement {
64
64
  * The attested claim body, validated against the endorsement type's claimSchema when it declares one.
65
65
  */
66
66
  claim?: {};
67
- issued: IssuedCredential;
67
+ issued: CredentialReference;
68
68
  /**
69
69
  * The endorsement's slot on the community's shared Revocation status list. Published, so a foreign verifier can check revocation without contacting this community.
70
70
  */
@@ -75,22 +75,18 @@ export interface Endorsement {
75
75
  revokedAt?: string | null;
76
76
  }
77
77
  /**
78
- * The registry-wide issuance receiptcredentialId, the signed VEC, and expiry.
78
+ * 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.
79
79
  */
80
- export interface IssuedCredential {
80
+ export interface CredentialReference {
81
81
  credentialId: CredentialId;
82
- /**
83
- * The issued Verifiable Credential (W3C VC Data Model 2.0), signed by the issuer's key. Opaque to the framework.
84
- */
85
- credential: {};
86
82
  /**
87
83
  * When the credential was minted.
88
84
  */
89
85
  issuedAt?: string;
90
86
  /**
91
- * When the credential's validUntil falls due.
87
+ * When it lapses, or null when it does not.
92
88
  */
93
- expiresAt: string;
89
+ expiresAt?: string | null;
94
90
  }
95
91
  /** Trust Task type URI. */
96
92
  export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/endorsements/list/0.1";
@@ -210,8 +206,8 @@ export declare const PAYLOAD_SCHEMA: {
210
206
  readonly description: "The attested claim body, validated against the endorsement type's claimSchema when it declares one.";
211
207
  };
212
208
  readonly issued: {
213
- readonly $ref: "#/$defs/IssuedCredential";
214
- readonly description: "The registry-wide issuance receiptcredentialId, the signed VEC, and expiry.";
209
+ readonly $ref: "#/$defs/CredentialReference";
210
+ 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.";
215
211
  };
216
212
  readonly statusListIndex: {
217
213
  readonly type: "integer";
@@ -225,30 +221,26 @@ export declare const PAYLOAD_SCHEMA: {
225
221
  };
226
222
  };
227
223
  };
228
- readonly IssuedCredential: {
229
- readonly $anchor: "issuedCredential";
230
- readonly title: "IssuedCredential";
231
- 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.";
224
+ readonly CredentialReference: {
225
+ readonly $anchor: "credentialReference";
226
+ readonly title: "CredentialReference";
232
227
  readonly type: "object";
233
228
  readonly additionalProperties: false;
234
- readonly required: readonly ["credentialId", "credential", "expiresAt"];
229
+ 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.";
230
+ readonly required: readonly ["credentialId"];
235
231
  readonly properties: {
236
232
  readonly credentialId: {
237
233
  readonly $ref: "#/$defs/CredentialId";
238
234
  };
239
- readonly credential: {
240
- readonly type: "object";
241
- readonly description: "The issued Verifiable Credential (W3C VC Data Model 2.0), signed by the issuer's key. Opaque to the framework.";
242
- };
243
235
  readonly issuedAt: {
244
236
  readonly type: "string";
245
237
  readonly format: "date-time";
246
238
  readonly description: "When the credential was minted.";
247
239
  };
248
240
  readonly expiresAt: {
249
- readonly type: "string";
241
+ readonly type: readonly ["string", "null"];
250
242
  readonly format: "date-time";
251
- readonly description: "When the credential's validUntil falls due.";
243
+ readonly description: "When it lapses, or null when it does not.";
252
244
  };
253
245
  };
254
246
  };
@@ -330,8 +322,8 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
330
322
  readonly description: "The attested claim body, validated against the endorsement type's claimSchema when it declares one.";
331
323
  };
332
324
  readonly issued: {
333
- readonly $ref: "#/$defs/IssuedCredential";
334
- readonly description: "The registry-wide issuance receiptcredentialId, the signed VEC, and expiry.";
325
+ readonly $ref: "#/$defs/CredentialReference";
326
+ 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.";
335
327
  };
336
328
  readonly statusListIndex: {
337
329
  readonly type: "integer";
@@ -345,30 +337,26 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
345
337
  };
346
338
  };
347
339
  };
348
- readonly IssuedCredential: {
349
- readonly $anchor: "issuedCredential";
350
- readonly title: "IssuedCredential";
351
- 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.";
340
+ readonly CredentialReference: {
341
+ readonly $anchor: "credentialReference";
342
+ readonly title: "CredentialReference";
352
343
  readonly type: "object";
353
344
  readonly additionalProperties: false;
354
- readonly required: readonly ["credentialId", "credential", "expiresAt"];
345
+ 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.";
346
+ readonly required: readonly ["credentialId"];
355
347
  readonly properties: {
356
348
  readonly credentialId: {
357
349
  readonly $ref: "#/$defs/CredentialId";
358
350
  };
359
- readonly credential: {
360
- readonly type: "object";
361
- readonly description: "The issued Verifiable Credential (W3C VC Data Model 2.0), signed by the issuer's key. Opaque to the framework.";
362
- };
363
351
  readonly issuedAt: {
364
352
  readonly type: "string";
365
353
  readonly format: "date-time";
366
354
  readonly description: "When the credential was minted.";
367
355
  };
368
356
  readonly expiresAt: {
369
- readonly type: "string";
357
+ readonly type: readonly ["string", "null"];
370
358
  readonly format: "date-time";
371
- readonly description: "When the credential's validUntil falls due.";
359
+ readonly description: "When it lapses, or null when it does not.";
372
360
  };
373
361
  };
374
362
  };
@@ -493,8 +481,8 @@ export declare const SPEC: {
493
481
  readonly description: "The attested claim body, validated against the endorsement type's claimSchema when it declares one.";
494
482
  };
495
483
  readonly issued: {
496
- readonly $ref: "#/$defs/IssuedCredential";
497
- readonly description: "The registry-wide issuance receiptcredentialId, the signed VEC, and expiry.";
484
+ readonly $ref: "#/$defs/CredentialReference";
485
+ 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.";
498
486
  };
499
487
  readonly statusListIndex: {
500
488
  readonly type: "integer";
@@ -508,30 +496,26 @@ export declare const SPEC: {
508
496
  };
509
497
  };
510
498
  };
511
- readonly IssuedCredential: {
512
- readonly $anchor: "issuedCredential";
513
- readonly title: "IssuedCredential";
514
- 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.";
499
+ readonly CredentialReference: {
500
+ readonly $anchor: "credentialReference";
501
+ readonly title: "CredentialReference";
515
502
  readonly type: "object";
516
503
  readonly additionalProperties: false;
517
- readonly required: readonly ["credentialId", "credential", "expiresAt"];
504
+ 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.";
505
+ readonly required: readonly ["credentialId"];
518
506
  readonly properties: {
519
507
  readonly credentialId: {
520
508
  readonly $ref: "#/$defs/CredentialId";
521
509
  };
522
- readonly credential: {
523
- readonly type: "object";
524
- readonly description: "The issued Verifiable Credential (W3C VC Data Model 2.0), signed by the issuer's key. Opaque to the framework.";
525
- };
526
510
  readonly issuedAt: {
527
511
  readonly type: "string";
528
512
  readonly format: "date-time";
529
513
  readonly description: "When the credential was minted.";
530
514
  };
531
515
  readonly expiresAt: {
532
- readonly type: "string";
516
+ readonly type: readonly ["string", "null"];
533
517
  readonly format: "date-time";
534
- readonly description: "When the credential's validUntil falls due.";
518
+ readonly description: "When it lapses, or null when it does not.";
535
519
  };
536
520
  };
537
521
  };
@@ -623,8 +607,8 @@ export declare const RESPONSE_SPEC: {
623
607
  readonly description: "The attested claim body, validated against the endorsement type's claimSchema when it declares one.";
624
608
  };
625
609
  readonly issued: {
626
- readonly $ref: "#/$defs/IssuedCredential";
627
- readonly description: "The registry-wide issuance receiptcredentialId, the signed VEC, and expiry.";
610
+ readonly $ref: "#/$defs/CredentialReference";
611
+ 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.";
628
612
  };
629
613
  readonly statusListIndex: {
630
614
  readonly type: "integer";
@@ -638,30 +622,26 @@ export declare const RESPONSE_SPEC: {
638
622
  };
639
623
  };
640
624
  };
641
- readonly IssuedCredential: {
642
- readonly $anchor: "issuedCredential";
643
- readonly title: "IssuedCredential";
644
- 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.";
625
+ readonly CredentialReference: {
626
+ readonly $anchor: "credentialReference";
627
+ readonly title: "CredentialReference";
645
628
  readonly type: "object";
646
629
  readonly additionalProperties: false;
647
- readonly required: readonly ["credentialId", "credential", "expiresAt"];
630
+ 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.";
631
+ readonly required: readonly ["credentialId"];
648
632
  readonly properties: {
649
633
  readonly credentialId: {
650
634
  readonly $ref: "#/$defs/CredentialId";
651
635
  };
652
- readonly credential: {
653
- readonly type: "object";
654
- readonly description: "The issued Verifiable Credential (W3C VC Data Model 2.0), signed by the issuer's key. Opaque to the framework.";
655
- };
656
636
  readonly issuedAt: {
657
637
  readonly type: "string";
658
638
  readonly format: "date-time";
659
639
  readonly description: "When the credential was minted.";
660
640
  };
661
641
  readonly expiresAt: {
662
- readonly type: "string";
642
+ readonly type: readonly ["string", "null"];
663
643
  readonly format: "date-time";
664
- readonly description: "When the credential's validUntil falls due.";
644
+ readonly description: "When it lapses, or null when it does not.";
665
645
  };
666
646
  };
667
647
  };
@@ -1 +1 @@
1
- {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/endorsements/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MA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AG,uDAAgE,CAAC;AAEzF,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,0BAA0B,CAAC;AAEjD,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,gEAAyE,CAAC;AAE3G,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,kCAAkC,CAAC;AAE1D;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyKjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwI1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhB,CAAC"}
@@ -130,8 +130,8 @@ export const PAYLOAD_SCHEMA = {
130
130
  "description": "The attested claim body, validated against the endorsement type's claimSchema when it declares one."
131
131
  },
132
132
  "issued": {
133
- "$ref": "#/$defs/IssuedCredential",
134
- "description": "The registry-wide issuance receiptcredentialId, the signed VEC, and expiry."
133
+ "$ref": "#/$defs/CredentialReference",
134
+ "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."
135
135
  },
136
136
  "statusListIndex": {
137
137
  "type": "integer",
@@ -148,34 +148,31 @@ export const PAYLOAD_SCHEMA = {
148
148
  }
149
149
  }
150
150
  },
151
- "IssuedCredential": {
152
- "$anchor": "issuedCredential",
153
- "title": "IssuedCredential",
154
- "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.",
151
+ "CredentialReference": {
152
+ "$anchor": "credentialReference",
153
+ "title": "CredentialReference",
155
154
  "type": "object",
156
155
  "additionalProperties": false,
156
+ "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.",
157
157
  "required": [
158
- "credentialId",
159
- "credential",
160
- "expiresAt"
158
+ "credentialId"
161
159
  ],
162
160
  "properties": {
163
161
  "credentialId": {
164
162
  "$ref": "#/$defs/CredentialId"
165
163
  },
166
- "credential": {
167
- "type": "object",
168
- "description": "The issued Verifiable Credential (W3C VC Data Model 2.0), signed by the issuer's key. Opaque to the framework."
169
- },
170
164
  "issuedAt": {
171
165
  "type": "string",
172
166
  "format": "date-time",
173
167
  "description": "When the credential was minted."
174
168
  },
175
169
  "expiresAt": {
176
- "type": "string",
170
+ "type": [
171
+ "string",
172
+ "null"
173
+ ],
177
174
  "format": "date-time",
178
- "description": "When the credential's validUntil falls due."
175
+ "description": "When it lapses, or null when it does not."
179
176
  }
180
177
  }
181
178
  },
@@ -271,8 +268,8 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
271
268
  "description": "The attested claim body, validated against the endorsement type's claimSchema when it declares one."
272
269
  },
273
270
  "issued": {
274
- "$ref": "#/$defs/IssuedCredential",
275
- "description": "The registry-wide issuance receiptcredentialId, the signed VEC, and expiry."
271
+ "$ref": "#/$defs/CredentialReference",
272
+ "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."
276
273
  },
277
274
  "statusListIndex": {
278
275
  "type": "integer",
@@ -289,34 +286,31 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
289
286
  }
290
287
  }
291
288
  },
292
- "IssuedCredential": {
293
- "$anchor": "issuedCredential",
294
- "title": "IssuedCredential",
295
- "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.",
289
+ "CredentialReference": {
290
+ "$anchor": "credentialReference",
291
+ "title": "CredentialReference",
296
292
  "type": "object",
297
293
  "additionalProperties": false,
294
+ "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.",
298
295
  "required": [
299
- "credentialId",
300
- "credential",
301
- "expiresAt"
296
+ "credentialId"
302
297
  ],
303
298
  "properties": {
304
299
  "credentialId": {
305
300
  "$ref": "#/$defs/CredentialId"
306
301
  },
307
- "credential": {
308
- "type": "object",
309
- "description": "The issued Verifiable Credential (W3C VC Data Model 2.0), signed by the issuer's key. Opaque to the framework."
310
- },
311
302
  "issuedAt": {
312
303
  "type": "string",
313
304
  "format": "date-time",
314
305
  "description": "When the credential was minted."
315
306
  },
316
307
  "expiresAt": {
317
- "type": "string",
308
+ "type": [
309
+ "string",
310
+ "null"
311
+ ],
318
312
  "format": "date-time",
319
- "description": "When the credential's validUntil falls due."
313
+ "description": "When it lapses, or null when it does not."
320
314
  }
321
315
  }
322
316
  },
@@ -1 +1 @@
1
- {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/endorsements/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA8FH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,uDAAgE,CAAC;AAKzF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,gEAAyE,CAAC;AAK3G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,uD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QACD,kBAAkB,EAAE;YAClB,SAAS,EAAE,kBAAkB;YAC7B,OAAO,EAAE,kBAAkB;YAC3B,aAAa,EAAE,uhCAAuhC;YACtiC,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,cAAc;gBACd,YAAY;gBACZ,WAAW;aACZ;YACD,YAAY,EAAE;gBACZ,cAAc,EAAE;oBACd,MAAM,EAAE,sBAAsB;iBAC/B;gBACD,YAAY,EAAE;oBACZ,MAAM,EAAE,QAAQ;oBAChB,aAAa,EAAE,gHAAgH;iBAChI;gBACD,UAAU,EAAE;oBACV,MAAM,EAAE,QAAQ;oBAChB,QAAQ,EAAE,WAAW;oBACrB,aAAa,EAAE,iCAAiC;iBACjD;gBACD,WAAW,EAAE;oBACX,MAAM,EAAE,QAAQ;oBAChB,QAAQ,EAAE,WAAW;oBACrB,aAAa,EAAE,6CAA6C;iBAC7D;aACF;SACF;QACD,cAAc,EAAE;YACd,SAAS,EAAE,cAAc;YACzB,OAAO,EAAE,cAAc;YACvB,aAAa,EAAE,0KAA0K;YACzL,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;SACf;KACF;CACO,CAAC;AAEX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,KAAK;IACtB,mBAAmB,EAAE,IAAI;IACzB,aAAa,EAAE,cAAc;CACrB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,KAAK;IACtB,mBAAmB,EAAE,IAAI;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/endorsements/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAG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