@openvtc/trust-tasks 0.21.16 → 0.22.1

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 (136) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist/_shared/components.d.ts +15 -15
  3. package/dist/vetting/_shared/0.1/identity-vetting.d.ts +2 -2
  4. package/dist/vetting/_shared/0.1/identity-vetting.d.ts.map +1 -1
  5. package/dist/vetting/_shared/0.1/vetting-card.d.ts +1 -1
  6. package/dist/vetting/_shared/0.1/vetting.d.ts +1 -1
  7. package/dist/vetting/request/0.1/payload.d.ts +5 -5
  8. package/dist/vetting/request/0.1/payload.js +2 -2
  9. package/dist/vetting/request/0.1/payload.js.map +1 -1
  10. package/dist/vtc/_shared/0.1/endorsement-type.d.ts +1 -1
  11. package/dist/vtc/_shared/0.1/endorsement.d.ts +1 -1
  12. package/dist/vtc/auth/recognise/0.2/payload.d.ts +3 -3
  13. package/dist/vtc/auth/recognise/0.2/payload.js +1 -1
  14. package/dist/vtc/auth/recognise/0.2/payload.js.map +1 -1
  15. package/dist/vtc/community/profile/show/0.1/payload.d.ts +4 -4
  16. package/dist/vtc/community/profile/show/0.1/payload.js +2 -2
  17. package/dist/vtc/community/profile/show/0.1/payload.js.map +1 -1
  18. package/dist/vtc/community/profile/update/0.1/payload.d.ts +4 -4
  19. package/dist/vtc/community/profile/update/0.1/payload.js +2 -2
  20. package/dist/vtc/community/profile/update/0.1/payload.js.map +1 -1
  21. package/dist/vtc/config/export/0.1/payload.d.ts +4 -4
  22. package/dist/vtc/config/export/0.1/payload.js +2 -2
  23. package/dist/vtc/config/export/0.1/payload.js.map +1 -1
  24. package/dist/vtc/config/import/0.1/payload.d.ts +4 -4
  25. package/dist/vtc/config/import/0.1/payload.js +2 -2
  26. package/dist/vtc/config/import/0.1/payload.js.map +1 -1
  27. package/dist/vtc/endorsement-types/list/0.1/payload.d.ts +8 -8
  28. package/dist/vtc/endorsement-types/list/0.1/payload.js +4 -4
  29. package/dist/vtc/endorsement-types/list/0.1/payload.js.map +1 -1
  30. package/dist/vtc/endorsement-types/register/0.1/payload.d.ts +16 -11
  31. package/dist/vtc/endorsement-types/register/0.1/payload.d.ts.map +1 -1
  32. package/dist/vtc/endorsement-types/register/0.1/payload.js +7 -6
  33. package/dist/vtc/endorsement-types/register/0.1/payload.js.map +1 -1
  34. package/dist/vtc/endorsements/issue/0.1/payload.d.ts +42 -42
  35. package/dist/vtc/endorsements/issue/0.1/payload.js +19 -19
  36. package/dist/vtc/endorsements/issue/0.1/payload.js.map +1 -1
  37. package/dist/vtc/endorsements/list/0.1/payload.d.ts +31 -31
  38. package/dist/vtc/endorsements/list/0.1/payload.js +15 -15
  39. package/dist/vtc/endorsements/list/0.1/payload.js.map +1 -1
  40. package/dist/vtc/endorsements/revoke/0.1/payload.d.ts +5 -5
  41. package/dist/vtc/endorsements/revoke/0.1/payload.js +2 -2
  42. package/dist/vtc/endorsements/revoke/0.1/payload.js.map +1 -1
  43. package/dist/vtc/endorsements/show/0.1/payload.d.ts +28 -28
  44. package/dist/vtc/endorsements/show/0.1/payload.js +14 -14
  45. package/dist/vtc/endorsements/show/0.1/payload.js.map +1 -1
  46. package/dist/vtc/join-requests/decide/0.1/payload.d.ts +10 -10
  47. package/dist/vtc/join-requests/decide/0.1/payload.js +4 -4
  48. package/dist/vtc/join-requests/decide/0.1/payload.js.map +1 -1
  49. package/dist/vtc/join-requests/manifest/0.2/payload.d.ts +10 -10
  50. package/dist/vtc/join-requests/manifest/0.2/payload.js +4 -4
  51. package/dist/vtc/join-requests/manifest/0.2/payload.js.map +1 -1
  52. package/dist/vtc/members/credentials/0.1/payload.d.ts +5 -5
  53. package/dist/vtc/members/credentials/0.1/payload.js +2 -2
  54. package/dist/vtc/members/credentials/0.1/payload.js.map +1 -1
  55. package/dist/vtc/members/list/0.1/payload.d.ts +8 -8
  56. package/dist/vtc/members/list/0.1/payload.js +4 -4
  57. package/dist/vtc/members/list/0.1/payload.js.map +1 -1
  58. package/dist/vtc/members/personhood/assert/0.1/payload.d.ts +14 -14
  59. package/dist/vtc/members/personhood/assert/0.1/payload.js +6 -6
  60. package/dist/vtc/members/personhood/assert/0.1/payload.js.map +1 -1
  61. package/dist/vtc/members/personhood/revoke/0.1/payload.d.ts +10 -10
  62. package/dist/vtc/members/personhood/revoke/0.1/payload.js +4 -4
  63. package/dist/vtc/members/personhood/revoke/0.1/payload.js.map +1 -1
  64. package/dist/vtc/members/renew/0.1/payload.d.ts +14 -14
  65. package/dist/vtc/members/renew/0.1/payload.js +6 -6
  66. package/dist/vtc/members/renew/0.1/payload.js.map +1 -1
  67. package/dist/vtc/members/rotate/0.1/payload.d.ts +14 -14
  68. package/dist/vtc/members/rotate/0.1/payload.js +6 -6
  69. package/dist/vtc/members/rotate/0.1/payload.js.map +1 -1
  70. package/dist/vtc/members/show/0.1/payload.d.ts +8 -8
  71. package/dist/vtc/members/show/0.1/payload.js +4 -4
  72. package/dist/vtc/members/show/0.1/payload.js.map +1 -1
  73. package/dist/vtc/members/update/0.1/payload.d.ts +8 -8
  74. package/dist/vtc/members/update/0.1/payload.js +4 -4
  75. package/dist/vtc/members/update/0.1/payload.js.map +1 -1
  76. package/dist/vtc/schemas/accepts/list/0.1/payload.d.ts +8 -8
  77. package/dist/vtc/schemas/accepts/list/0.1/payload.js +4 -4
  78. package/dist/vtc/schemas/accepts/list/0.1/payload.js.map +1 -1
  79. package/dist/vtc/schemas/accepts/register/0.1/payload.d.ts +8 -8
  80. package/dist/vtc/schemas/accepts/register/0.1/payload.js +4 -4
  81. package/dist/vtc/schemas/accepts/register/0.1/payload.js.map +1 -1
  82. package/dist/vtc/schemas/accepts/show/0.1/payload.d.ts +8 -8
  83. package/dist/vtc/schemas/accepts/show/0.1/payload.js +4 -4
  84. package/dist/vtc/schemas/accepts/show/0.1/payload.js.map +1 -1
  85. package/dist/vtc/schemas/list/0.1/payload.d.ts +4 -4
  86. package/dist/vtc/schemas/list/0.1/payload.js +2 -2
  87. package/dist/vtc/schemas/list/0.1/payload.js.map +1 -1
  88. package/dist/vtc/schemas/register/0.1/payload.d.ts +4 -4
  89. package/dist/vtc/schemas/register/0.1/payload.js +2 -2
  90. package/dist/vtc/schemas/register/0.1/payload.js.map +1 -1
  91. package/dist/vtc/schemas/show/0.1/payload.d.ts +4 -4
  92. package/dist/vtc/schemas/show/0.1/payload.js +2 -2
  93. package/dist/vtc/schemas/show/0.1/payload.js.map +1 -1
  94. package/dist/vtc/vetting/vetters/grant/0.1/payload.d.ts +13 -13
  95. package/dist/vtc/vetting/vetters/grant/0.1/payload.js +5 -5
  96. package/dist/vtc/vetting/vetters/grant/0.1/payload.js.map +1 -1
  97. package/dist/witness/session/submit/0.1/payload.d.ts +5 -5
  98. package/dist/witness/session/submit/0.1/payload.js +2 -2
  99. package/dist/witness/session/submit/0.1/payload.js.map +1 -1
  100. package/package.json +1 -1
  101. package/src/_shared/components.ts +15 -15
  102. package/src/vetting/_shared/0.1/identity-vetting.ts +2 -2
  103. package/src/vetting/_shared/0.1/vetting-card.ts +1 -1
  104. package/src/vetting/_shared/0.1/vetting.ts +1 -1
  105. package/src/vetting/request/0.1/payload.ts +3 -3
  106. package/src/vtc/_shared/0.1/endorsement-type.ts +1 -1
  107. package/src/vtc/_shared/0.1/endorsement.ts +1 -1
  108. package/src/vtc/auth/recognise/0.2/payload.ts +2 -2
  109. package/src/vtc/community/profile/show/0.1/payload.ts +2 -2
  110. package/src/vtc/community/profile/update/0.1/payload.ts +2 -2
  111. package/src/vtc/config/export/0.1/payload.ts +2 -2
  112. package/src/vtc/config/import/0.1/payload.ts +2 -2
  113. package/src/vtc/endorsement-types/list/0.1/payload.ts +4 -4
  114. package/src/vtc/endorsement-types/register/0.1/payload.ts +11 -7
  115. package/src/vtc/endorsements/issue/0.1/payload.ts +23 -23
  116. package/src/vtc/endorsements/list/0.1/payload.ts +16 -16
  117. package/src/vtc/endorsements/revoke/0.1/payload.ts +3 -3
  118. package/src/vtc/endorsements/show/0.1/payload.ts +14 -14
  119. package/src/vtc/join-requests/decide/0.1/payload.ts +6 -6
  120. package/src/vtc/join-requests/manifest/0.2/payload.ts +6 -6
  121. package/src/vtc/members/credentials/0.1/payload.ts +3 -3
  122. package/src/vtc/members/list/0.1/payload.ts +4 -4
  123. package/src/vtc/members/personhood/assert/0.1/payload.ts +8 -8
  124. package/src/vtc/members/personhood/revoke/0.1/payload.ts +6 -6
  125. package/src/vtc/members/renew/0.1/payload.ts +8 -8
  126. package/src/vtc/members/rotate/0.1/payload.ts +8 -8
  127. package/src/vtc/members/show/0.1/payload.ts +4 -4
  128. package/src/vtc/members/update/0.1/payload.ts +4 -4
  129. package/src/vtc/schemas/accepts/list/0.1/payload.ts +4 -4
  130. package/src/vtc/schemas/accepts/register/0.1/payload.ts +4 -4
  131. package/src/vtc/schemas/accepts/show/0.1/payload.ts +4 -4
  132. package/src/vtc/schemas/list/0.1/payload.ts +2 -2
  133. package/src/vtc/schemas/register/0.1/payload.ts +2 -2
  134. package/src/vtc/schemas/show/0.1/payload.ts +2 -2
  135. package/src/vtc/vetting/vetters/grant/0.1/payload.ts +8 -8
  136. package/src/witness/session/submit/0.1/payload.ts +3 -3
@@ -5,15 +5,15 @@
5
5
  import type { CredentialId, CredentialReference, Endorsement, Ext } from "../../../../_shared/components.js";
6
6
  export interface VTCEndorsementsIssuePayload {
7
7
  /**
8
- * DID of the endorsement's subject (becomes credentialSubject.id).
8
+ * DID of the statement's subject (becomes credentialSubject.id).
9
9
  */
10
10
  subjectDid: string;
11
11
  /**
12
- * A type already registered via vtc/endorsement-types/register; unregistered types are refused.
12
+ * The predicate IRI the statement carries as `credentialSubject.predicate` — `https://registry.trustoverip.org/dtg/vsc/endorses/1` for a favourable claim with community-defined content, or another predicate the community registered. It MUST already be registered via vtc/endorsement-types/register; unregistered predicates are refused. The one non-IRI value accepted is the reserved `IdentityVerificationCredential`, which mints the community's identity-verification credential instead of a statement.
13
13
  */
14
14
  typeUri: string;
15
15
  /**
16
- * The claim body to attest. Capped at 8 KiB serialised, and validated against the type's claimSchema when it declares one.
16
+ * The claim body to attest, issued as the statement's `credentialSubject.object.value` — or, for `IdentityVerificationCredential`, as members of `credentialSubject` beside `id`, in which case it MUST NOT itself carry `id`. Capped at 8 KiB serialised, and validated against the registered predicate's claimSchema when it declares one.
17
17
  */
18
18
  claim: {};
19
19
  /**
@@ -25,7 +25,7 @@ export interface VTCEndorsementsIssuePayload {
25
25
  export interface VTCEndorsementsIssueResponsePayload {
26
26
  endorsement: Endorsement;
27
27
  /**
28
- * 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.
28
+ * The signed credential just minted. For `IdentityVerificationCredential`, a plain W3C VC — `@context` [credentials/v2] only, `type` [VerifiableCredential, IdentityVerificationCredential], not a DTGCredential — issued by the community to `subjectDid` with a revocation `credentialStatus`. Otherwise a DTG Verifiable Statement Credential (`StatementCredential`) issued by the community with `issuerScope` public, `credentialSubject.predicate` = `typeUri` and `credentialSubject.object.value` = `claim`. 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.
29
29
  */
30
30
  credential: {};
31
31
  ext?: Ext;
@@ -60,18 +60,18 @@ export declare const PAYLOAD_SCHEMA: {
60
60
  readonly subjectDid: {
61
61
  readonly type: "string";
62
62
  readonly pattern: "^did:";
63
- readonly description: "DID of the endorsement's subject (becomes credentialSubject.id).";
63
+ readonly description: "DID of the statement's subject (becomes credentialSubject.id).";
64
64
  };
65
65
  readonly typeUri: {
66
66
  readonly type: "string";
67
67
  readonly minLength: 1;
68
68
  readonly maxLength: 512;
69
- readonly description: "A type already registered via vtc/endorsement-types/register; unregistered types are refused.";
69
+ readonly description: "The predicate IRI the statement carries as `credentialSubject.predicate` — `https://registry.trustoverip.org/dtg/vsc/endorses/1` for a favourable claim with community-defined content, or another predicate the community registered. It MUST already be registered via vtc/endorsement-types/register; unregistered predicates are refused. The one non-IRI value accepted is the reserved `IdentityVerificationCredential`, which mints the community's identity-verification credential instead of a statement.";
70
70
  };
71
71
  readonly claim: {
72
72
  readonly type: "object";
73
73
  readonly minProperties: 1;
74
- readonly description: "The claim body to attest. Capped at 8 KiB serialised, and validated against the type's claimSchema when it declares one.";
74
+ readonly description: "The claim body to attest, issued as the statement's `credentialSubject.object.value` — or, for `IdentityVerificationCredential`, as members of `credentialSubject` beside `id`, in which case it MUST NOT itself carry `id`. Capped at 8 KiB serialised, and validated against the registered predicate's claimSchema when it declares one.";
75
75
  };
76
76
  readonly validitySeconds: {
77
77
  readonly type: "integer";
@@ -95,7 +95,7 @@ export declare const PAYLOAD_SCHEMA: {
95
95
  };
96
96
  readonly credential: {
97
97
  readonly type: "object";
98
- 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.";
98
+ readonly description: "The signed credential just minted. For `IdentityVerificationCredential`, a plain W3C VC — `@context` [credentials/v2] only, `type` [VerifiableCredential, IdentityVerificationCredential], not a DTGCredential — issued by the community to `subjectDid` with a revocation `credentialStatus`. Otherwise a DTG Verifiable Statement Credential (`StatementCredential`) issued by the community with `issuerScope` public, `credentialSubject.predicate` = `typeUri` and `credentialSubject.object.value` = `claim`. 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.";
99
99
  };
100
100
  readonly ext: {
101
101
  readonly $ref: "#/$defs/Ext";
@@ -122,36 +122,36 @@ export declare const PAYLOAD_SCHEMA: {
122
122
  readonly endorsementId: {
123
123
  readonly type: "string";
124
124
  readonly minLength: 1;
125
- readonly description: "Community-scoped identifier for this endorsement row.";
125
+ readonly description: "Community-scoped identifier for this row. The name is legacy; it identifies a statement, and vtc/endorsements/revoke also takes the `endorsementId` of a role credential issued by vtc/vetting/vetters/grant.";
126
126
  };
127
127
  readonly typeUri: {
128
128
  readonly type: "string";
129
129
  readonly minLength: 1;
130
130
  readonly maxLength: 512;
131
- readonly description: "The registered endorsement type this VEC asserts; see vtc/endorsement-types/*.";
131
+ readonly description: "What the row records. A registered predicate IRI: a statement (StatementCredential) whose `credentialSubject.predicate` it is — see vtc/endorsement-types/*. `role:vetter`: a vetter role credential (Verifiable Authority Credential) issued by vtc/vetting/vetters/grant. `IdentityVerificationCredential`: the community's identity-verification credential, a plain W3C VC (not a DTGCredential). The two reserved values are not IRIs, so they never collide with a registered predicate.";
132
132
  };
133
133
  readonly subjectDid: {
134
134
  readonly type: "string";
135
135
  readonly pattern: "^did:";
136
- readonly description: "DID of the endorsement's subject (becomes credentialSubject.id).";
136
+ readonly description: "DID of the statement's subject (becomes credentialSubject.id).";
137
137
  };
138
138
  readonly claim: {
139
139
  readonly type: "object";
140
- readonly description: "The attested claim body, validated against the endorsement type's claimSchema when it declares one.";
140
+ readonly description: "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one.";
141
141
  };
142
142
  readonly issued: {
143
143
  readonly $ref: "#/$defs/CredentialReference";
144
- 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.";
144
+ readonly description: "A pointer to the issued statement credential — 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.";
145
145
  };
146
146
  readonly statusListIndex: {
147
147
  readonly type: "integer";
148
148
  readonly minimum: 0;
149
- readonly description: "The endorsement's slot on the community's shared Revocation status list. Published, so a foreign verifier can check revocation without contacting this community.";
149
+ readonly description: "The statement's slot on the community's shared Revocation status list, referenced by its `credentialStatus`. Published, so a foreign verifier can check revocation without contacting this community.";
150
150
  };
151
151
  readonly revokedAt: {
152
152
  readonly type: readonly ["string", "null"];
153
153
  readonly format: "date-time";
154
- readonly description: "When the endorsement was revoked, or null while live.";
154
+ readonly description: "When the statement was revoked, or null while live.";
155
155
  };
156
156
  };
157
157
  };
@@ -204,7 +204,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
204
204
  };
205
205
  readonly credential: {
206
206
  readonly type: "object";
207
- 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.";
207
+ readonly description: "The signed credential just minted. For `IdentityVerificationCredential`, a plain W3C VC — `@context` [credentials/v2] only, `type` [VerifiableCredential, IdentityVerificationCredential], not a DTGCredential — issued by the community to `subjectDid` with a revocation `credentialStatus`. Otherwise a DTG Verifiable Statement Credential (`StatementCredential`) issued by the community with `issuerScope` public, `credentialSubject.predicate` = `typeUri` and `credentialSubject.object.value` = `claim`. 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.";
208
208
  };
209
209
  readonly ext: {
210
210
  readonly $ref: "#/$defs/Ext";
@@ -231,36 +231,36 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
231
231
  readonly endorsementId: {
232
232
  readonly type: "string";
233
233
  readonly minLength: 1;
234
- readonly description: "Community-scoped identifier for this endorsement row.";
234
+ readonly description: "Community-scoped identifier for this row. The name is legacy; it identifies a statement, and vtc/endorsements/revoke also takes the `endorsementId` of a role credential issued by vtc/vetting/vetters/grant.";
235
235
  };
236
236
  readonly typeUri: {
237
237
  readonly type: "string";
238
238
  readonly minLength: 1;
239
239
  readonly maxLength: 512;
240
- readonly description: "The registered endorsement type this VEC asserts; see vtc/endorsement-types/*.";
240
+ readonly description: "What the row records. A registered predicate IRI: a statement (StatementCredential) whose `credentialSubject.predicate` it is — see vtc/endorsement-types/*. `role:vetter`: a vetter role credential (Verifiable Authority Credential) issued by vtc/vetting/vetters/grant. `IdentityVerificationCredential`: the community's identity-verification credential, a plain W3C VC (not a DTGCredential). The two reserved values are not IRIs, so they never collide with a registered predicate.";
241
241
  };
242
242
  readonly subjectDid: {
243
243
  readonly type: "string";
244
244
  readonly pattern: "^did:";
245
- readonly description: "DID of the endorsement's subject (becomes credentialSubject.id).";
245
+ readonly description: "DID of the statement's subject (becomes credentialSubject.id).";
246
246
  };
247
247
  readonly claim: {
248
248
  readonly type: "object";
249
- readonly description: "The attested claim body, validated against the endorsement type's claimSchema when it declares one.";
249
+ readonly description: "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one.";
250
250
  };
251
251
  readonly issued: {
252
252
  readonly $ref: "#/$defs/CredentialReference";
253
- 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.";
253
+ readonly description: "A pointer to the issued statement credential — 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.";
254
254
  };
255
255
  readonly statusListIndex: {
256
256
  readonly type: "integer";
257
257
  readonly minimum: 0;
258
- readonly description: "The endorsement's slot on the community's shared Revocation status list. Published, so a foreign verifier can check revocation without contacting this community.";
258
+ readonly description: "The statement's slot on the community's shared Revocation status list, referenced by its `credentialStatus`. Published, so a foreign verifier can check revocation without contacting this community.";
259
259
  };
260
260
  readonly revokedAt: {
261
261
  readonly type: readonly ["string", "null"];
262
262
  readonly format: "date-time";
263
- readonly description: "When the endorsement was revoked, or null while live.";
263
+ readonly description: "When the statement was revoked, or null while live.";
264
264
  };
265
265
  };
266
266
  };
@@ -319,18 +319,18 @@ export declare const SPEC: {
319
319
  readonly subjectDid: {
320
320
  readonly type: "string";
321
321
  readonly pattern: "^did:";
322
- readonly description: "DID of the endorsement's subject (becomes credentialSubject.id).";
322
+ readonly description: "DID of the statement's subject (becomes credentialSubject.id).";
323
323
  };
324
324
  readonly typeUri: {
325
325
  readonly type: "string";
326
326
  readonly minLength: 1;
327
327
  readonly maxLength: 512;
328
- readonly description: "A type already registered via vtc/endorsement-types/register; unregistered types are refused.";
328
+ readonly description: "The predicate IRI the statement carries as `credentialSubject.predicate` — `https://registry.trustoverip.org/dtg/vsc/endorses/1` for a favourable claim with community-defined content, or another predicate the community registered. It MUST already be registered via vtc/endorsement-types/register; unregistered predicates are refused. The one non-IRI value accepted is the reserved `IdentityVerificationCredential`, which mints the community's identity-verification credential instead of a statement.";
329
329
  };
330
330
  readonly claim: {
331
331
  readonly type: "object";
332
332
  readonly minProperties: 1;
333
- readonly description: "The claim body to attest. Capped at 8 KiB serialised, and validated against the type's claimSchema when it declares one.";
333
+ readonly description: "The claim body to attest, issued as the statement's `credentialSubject.object.value` — or, for `IdentityVerificationCredential`, as members of `credentialSubject` beside `id`, in which case it MUST NOT itself carry `id`. Capped at 8 KiB serialised, and validated against the registered predicate's claimSchema when it declares one.";
334
334
  };
335
335
  readonly validitySeconds: {
336
336
  readonly type: "integer";
@@ -354,7 +354,7 @@ export declare const SPEC: {
354
354
  };
355
355
  readonly credential: {
356
356
  readonly type: "object";
357
- 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.";
357
+ readonly description: "The signed credential just minted. For `IdentityVerificationCredential`, a plain W3C VC — `@context` [credentials/v2] only, `type` [VerifiableCredential, IdentityVerificationCredential], not a DTGCredential — issued by the community to `subjectDid` with a revocation `credentialStatus`. Otherwise a DTG Verifiable Statement Credential (`StatementCredential`) issued by the community with `issuerScope` public, `credentialSubject.predicate` = `typeUri` and `credentialSubject.object.value` = `claim`. 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.";
358
358
  };
359
359
  readonly ext: {
360
360
  readonly $ref: "#/$defs/Ext";
@@ -381,36 +381,36 @@ export declare const SPEC: {
381
381
  readonly endorsementId: {
382
382
  readonly type: "string";
383
383
  readonly minLength: 1;
384
- readonly description: "Community-scoped identifier for this endorsement row.";
384
+ readonly description: "Community-scoped identifier for this row. The name is legacy; it identifies a statement, and vtc/endorsements/revoke also takes the `endorsementId` of a role credential issued by vtc/vetting/vetters/grant.";
385
385
  };
386
386
  readonly typeUri: {
387
387
  readonly type: "string";
388
388
  readonly minLength: 1;
389
389
  readonly maxLength: 512;
390
- readonly description: "The registered endorsement type this VEC asserts; see vtc/endorsement-types/*.";
390
+ readonly description: "What the row records. A registered predicate IRI: a statement (StatementCredential) whose `credentialSubject.predicate` it is — see vtc/endorsement-types/*. `role:vetter`: a vetter role credential (Verifiable Authority Credential) issued by vtc/vetting/vetters/grant. `IdentityVerificationCredential`: the community's identity-verification credential, a plain W3C VC (not a DTGCredential). The two reserved values are not IRIs, so they never collide with a registered predicate.";
391
391
  };
392
392
  readonly subjectDid: {
393
393
  readonly type: "string";
394
394
  readonly pattern: "^did:";
395
- readonly description: "DID of the endorsement's subject (becomes credentialSubject.id).";
395
+ readonly description: "DID of the statement's subject (becomes credentialSubject.id).";
396
396
  };
397
397
  readonly claim: {
398
398
  readonly type: "object";
399
- readonly description: "The attested claim body, validated against the endorsement type's claimSchema when it declares one.";
399
+ readonly description: "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one.";
400
400
  };
401
401
  readonly issued: {
402
402
  readonly $ref: "#/$defs/CredentialReference";
403
- 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.";
403
+ readonly description: "A pointer to the issued statement credential — 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.";
404
404
  };
405
405
  readonly statusListIndex: {
406
406
  readonly type: "integer";
407
407
  readonly minimum: 0;
408
- readonly description: "The endorsement's slot on the community's shared Revocation status list. Published, so a foreign verifier can check revocation without contacting this community.";
408
+ readonly description: "The statement's slot on the community's shared Revocation status list, referenced by its `credentialStatus`. Published, so a foreign verifier can check revocation without contacting this community.";
409
409
  };
410
410
  readonly revokedAt: {
411
411
  readonly type: readonly ["string", "null"];
412
412
  readonly format: "date-time";
413
- readonly description: "When the endorsement was revoked, or null while live.";
413
+ readonly description: "When the statement was revoked, or null while live.";
414
414
  };
415
415
  };
416
416
  };
@@ -474,7 +474,7 @@ export declare const RESPONSE_SPEC: {
474
474
  };
475
475
  readonly credential: {
476
476
  readonly type: "object";
477
- 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.";
477
+ readonly description: "The signed credential just minted. For `IdentityVerificationCredential`, a plain W3C VC — `@context` [credentials/v2] only, `type` [VerifiableCredential, IdentityVerificationCredential], not a DTGCredential — issued by the community to `subjectDid` with a revocation `credentialStatus`. Otherwise a DTG Verifiable Statement Credential (`StatementCredential`) issued by the community with `issuerScope` public, `credentialSubject.predicate` = `typeUri` and `credentialSubject.object.value` = `claim`. 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.";
478
478
  };
479
479
  readonly ext: {
480
480
  readonly $ref: "#/$defs/Ext";
@@ -501,36 +501,36 @@ export declare const RESPONSE_SPEC: {
501
501
  readonly endorsementId: {
502
502
  readonly type: "string";
503
503
  readonly minLength: 1;
504
- readonly description: "Community-scoped identifier for this endorsement row.";
504
+ readonly description: "Community-scoped identifier for this row. The name is legacy; it identifies a statement, and vtc/endorsements/revoke also takes the `endorsementId` of a role credential issued by vtc/vetting/vetters/grant.";
505
505
  };
506
506
  readonly typeUri: {
507
507
  readonly type: "string";
508
508
  readonly minLength: 1;
509
509
  readonly maxLength: 512;
510
- readonly description: "The registered endorsement type this VEC asserts; see vtc/endorsement-types/*.";
510
+ readonly description: "What the row records. A registered predicate IRI: a statement (StatementCredential) whose `credentialSubject.predicate` it is — see vtc/endorsement-types/*. `role:vetter`: a vetter role credential (Verifiable Authority Credential) issued by vtc/vetting/vetters/grant. `IdentityVerificationCredential`: the community's identity-verification credential, a plain W3C VC (not a DTGCredential). The two reserved values are not IRIs, so they never collide with a registered predicate.";
511
511
  };
512
512
  readonly subjectDid: {
513
513
  readonly type: "string";
514
514
  readonly pattern: "^did:";
515
- readonly description: "DID of the endorsement's subject (becomes credentialSubject.id).";
515
+ readonly description: "DID of the statement's subject (becomes credentialSubject.id).";
516
516
  };
517
517
  readonly claim: {
518
518
  readonly type: "object";
519
- readonly description: "The attested claim body, validated against the endorsement type's claimSchema when it declares one.";
519
+ readonly description: "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one.";
520
520
  };
521
521
  readonly issued: {
522
522
  readonly $ref: "#/$defs/CredentialReference";
523
- 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.";
523
+ readonly description: "A pointer to the issued statement credential — 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.";
524
524
  };
525
525
  readonly statusListIndex: {
526
526
  readonly type: "integer";
527
527
  readonly minimum: 0;
528
- readonly description: "The endorsement's slot on the community's shared Revocation status list. Published, so a foreign verifier can check revocation without contacting this community.";
528
+ readonly description: "The statement's slot on the community's shared Revocation status list, referenced by its `credentialStatus`. Published, so a foreign verifier can check revocation without contacting this community.";
529
529
  };
530
530
  readonly revokedAt: {
531
531
  readonly type: readonly ["string", "null"];
532
532
  readonly format: "date-time";
533
- readonly description: "When the endorsement was revoked, or null while live.";
533
+ readonly description: "When the statement was revoked, or null while live.";
534
534
  };
535
535
  };
536
536
  };
@@ -30,18 +30,18 @@ export const PAYLOAD_SCHEMA = {
30
30
  "subjectDid": {
31
31
  "type": "string",
32
32
  "pattern": "^did:",
33
- "description": "DID of the endorsement's subject (becomes credentialSubject.id)."
33
+ "description": "DID of the statement's subject (becomes credentialSubject.id)."
34
34
  },
35
35
  "typeUri": {
36
36
  "type": "string",
37
37
  "minLength": 1,
38
38
  "maxLength": 512,
39
- "description": "A type already registered via vtc/endorsement-types/register; unregistered types are refused."
39
+ "description": "The predicate IRI the statement carries as `credentialSubject.predicate` — `https://registry.trustoverip.org/dtg/vsc/endorses/1` for a favourable claim with community-defined content, or another predicate the community registered. It MUST already be registered via vtc/endorsement-types/register; unregistered predicates are refused. The one non-IRI value accepted is the reserved `IdentityVerificationCredential`, which mints the community's identity-verification credential instead of a statement."
40
40
  },
41
41
  "claim": {
42
42
  "type": "object",
43
43
  "minProperties": 1,
44
- "description": "The claim body to attest. Capped at 8 KiB serialised, and validated against the type's claimSchema when it declares one."
44
+ "description": "The claim body to attest, issued as the statement's `credentialSubject.object.value` — or, for `IdentityVerificationCredential`, as members of `credentialSubject` beside `id`, in which case it MUST NOT itself carry `id`. Capped at 8 KiB serialised, and validated against the registered predicate's claimSchema when it declares one."
45
45
  },
46
46
  "validitySeconds": {
47
47
  "type": "integer",
@@ -68,7 +68,7 @@ export const PAYLOAD_SCHEMA = {
68
68
  },
69
69
  "credential": {
70
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."
71
+ "description": "The signed credential just minted. For `IdentityVerificationCredential`, a plain W3C VC — `@context` [credentials/v2] only, `type` [VerifiableCredential, IdentityVerificationCredential], not a DTGCredential — issued by the community to `subjectDid` with a revocation `credentialStatus`. Otherwise a DTG Verifiable Statement Credential (`StatementCredential`) issued by the community with `issuerScope` public, `credentialSubject.predicate` = `typeUri` and `credentialSubject.object.value` = `claim`. 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
72
  },
73
73
  "ext": {
74
74
  "$ref": "#/$defs/Ext"
@@ -101,31 +101,31 @@ export const PAYLOAD_SCHEMA = {
101
101
  "endorsementId": {
102
102
  "type": "string",
103
103
  "minLength": 1,
104
- "description": "Community-scoped identifier for this endorsement row."
104
+ "description": "Community-scoped identifier for this row. The name is legacy; it identifies a statement, and vtc/endorsements/revoke also takes the `endorsementId` of a role credential issued by vtc/vetting/vetters/grant."
105
105
  },
106
106
  "typeUri": {
107
107
  "type": "string",
108
108
  "minLength": 1,
109
109
  "maxLength": 512,
110
- "description": "The registered endorsement type this VEC asserts; see vtc/endorsement-types/*."
110
+ "description": "What the row records. A registered predicate IRI: a statement (StatementCredential) whose `credentialSubject.predicate` it is — see vtc/endorsement-types/*. `role:vetter`: a vetter role credential (Verifiable Authority Credential) issued by vtc/vetting/vetters/grant. `IdentityVerificationCredential`: the community's identity-verification credential, a plain W3C VC (not a DTGCredential). The two reserved values are not IRIs, so they never collide with a registered predicate."
111
111
  },
112
112
  "subjectDid": {
113
113
  "type": "string",
114
114
  "pattern": "^did:",
115
- "description": "DID of the endorsement's subject (becomes credentialSubject.id)."
115
+ "description": "DID of the statement's subject (becomes credentialSubject.id)."
116
116
  },
117
117
  "claim": {
118
118
  "type": "object",
119
- "description": "The attested claim body, validated against the endorsement type's claimSchema when it declares one."
119
+ "description": "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one."
120
120
  },
121
121
  "issued": {
122
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."
123
+ "description": "A pointer to the issued statement credential — 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."
124
124
  },
125
125
  "statusListIndex": {
126
126
  "type": "integer",
127
127
  "minimum": 0,
128
- "description": "The endorsement's slot on the community's shared Revocation status list. Published, so a foreign verifier can check revocation without contacting this community."
128
+ "description": "The statement's slot on the community's shared Revocation status list, referenced by its `credentialStatus`. Published, so a foreign verifier can check revocation without contacting this community."
129
129
  },
130
130
  "revokedAt": {
131
131
  "type": [
@@ -133,7 +133,7 @@ export const PAYLOAD_SCHEMA = {
133
133
  "null"
134
134
  ],
135
135
  "format": "date-time",
136
- "description": "When the endorsement was revoked, or null while live."
136
+ "description": "When the statement was revoked, or null while live."
137
137
  }
138
138
  }
139
139
  },
@@ -194,7 +194,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
194
194
  },
195
195
  "credential": {
196
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."
197
+ "description": "The signed credential just minted. For `IdentityVerificationCredential`, a plain W3C VC — `@context` [credentials/v2] only, `type` [VerifiableCredential, IdentityVerificationCredential], not a DTGCredential — issued by the community to `subjectDid` with a revocation `credentialStatus`. Otherwise a DTG Verifiable Statement Credential (`StatementCredential`) issued by the community with `issuerScope` public, `credentialSubject.predicate` = `typeUri` and `credentialSubject.object.value` = `claim`. 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
198
  },
199
199
  "ext": {
200
200
  "$ref": "#/$defs/Ext"
@@ -227,31 +227,31 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
227
227
  "endorsementId": {
228
228
  "type": "string",
229
229
  "minLength": 1,
230
- "description": "Community-scoped identifier for this endorsement row."
230
+ "description": "Community-scoped identifier for this row. The name is legacy; it identifies a statement, and vtc/endorsements/revoke also takes the `endorsementId` of a role credential issued by vtc/vetting/vetters/grant."
231
231
  },
232
232
  "typeUri": {
233
233
  "type": "string",
234
234
  "minLength": 1,
235
235
  "maxLength": 512,
236
- "description": "The registered endorsement type this VEC asserts; see vtc/endorsement-types/*."
236
+ "description": "What the row records. A registered predicate IRI: a statement (StatementCredential) whose `credentialSubject.predicate` it is — see vtc/endorsement-types/*. `role:vetter`: a vetter role credential (Verifiable Authority Credential) issued by vtc/vetting/vetters/grant. `IdentityVerificationCredential`: the community's identity-verification credential, a plain W3C VC (not a DTGCredential). The two reserved values are not IRIs, so they never collide with a registered predicate."
237
237
  },
238
238
  "subjectDid": {
239
239
  "type": "string",
240
240
  "pattern": "^did:",
241
- "description": "DID of the endorsement's subject (becomes credentialSubject.id)."
241
+ "description": "DID of the statement's subject (becomes credentialSubject.id)."
242
242
  },
243
243
  "claim": {
244
244
  "type": "object",
245
- "description": "The attested claim body, validated against the endorsement type's claimSchema when it declares one."
245
+ "description": "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one."
246
246
  },
247
247
  "issued": {
248
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."
249
+ "description": "A pointer to the issued statement credential — 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."
250
250
  },
251
251
  "statusListIndex": {
252
252
  "type": "integer",
253
253
  "minimum": 0,
254
- "description": "The endorsement's slot on the community's shared Revocation status list. Published, so a foreign verifier can check revocation without contacting this community."
254
+ "description": "The statement's slot on the community's shared Revocation status list, referenced by its `credentialStatus`. Published, so a foreign verifier can check revocation without contacting this community."
255
255
  },
256
256
  "revokedAt": {
257
257
  "type": [
@@ -259,7 +259,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
259
259
  "null"
260
260
  ],
261
261
  "format": "date-time",
262
- "description": "When the endorsement was revoked, or null while live."
262
+ "description": "When the statement was revoked, or null while live."
263
263
  }
264
264
  }
265
265
  },
@@ -1 +1 @@
1
- {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/endorsements/issue/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAoCH,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,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