@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
@@ -82,36 +82,36 @@ export declare const PAYLOAD_SCHEMA: {
82
82
  readonly endorsementId: {
83
83
  readonly type: "string";
84
84
  readonly minLength: 1;
85
- readonly description: "Community-scoped identifier for this endorsement row.";
85
+ 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.";
86
86
  };
87
87
  readonly typeUri: {
88
88
  readonly type: "string";
89
89
  readonly minLength: 1;
90
90
  readonly maxLength: 512;
91
- readonly description: "The registered endorsement type this VEC asserts; see vtc/endorsement-types/*.";
91
+ 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.";
92
92
  };
93
93
  readonly subjectDid: {
94
94
  readonly type: "string";
95
95
  readonly pattern: "^did:";
96
- readonly description: "DID of the endorsement's subject (becomes credentialSubject.id).";
96
+ readonly description: "DID of the statement's subject (becomes credentialSubject.id).";
97
97
  };
98
98
  readonly claim: {
99
99
  readonly type: "object";
100
- readonly description: "The attested claim body, validated against the endorsement type's claimSchema when it declares one.";
100
+ readonly description: "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one.";
101
101
  };
102
102
  readonly issued: {
103
103
  readonly $ref: "#/$defs/CredentialReference";
104
- 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.";
104
+ 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.";
105
105
  };
106
106
  readonly statusListIndex: {
107
107
  readonly type: "integer";
108
108
  readonly minimum: 0;
109
- 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.";
109
+ 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.";
110
110
  };
111
111
  readonly revokedAt: {
112
112
  readonly type: readonly ["string", "null"];
113
113
  readonly format: "date-time";
114
- readonly description: "When the endorsement was revoked, or null while live.";
114
+ readonly description: "When the statement was revoked, or null while live.";
115
115
  };
116
116
  };
117
117
  };
@@ -187,36 +187,36 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
187
187
  readonly endorsementId: {
188
188
  readonly type: "string";
189
189
  readonly minLength: 1;
190
- readonly description: "Community-scoped identifier for this endorsement row.";
190
+ 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.";
191
191
  };
192
192
  readonly typeUri: {
193
193
  readonly type: "string";
194
194
  readonly minLength: 1;
195
195
  readonly maxLength: 512;
196
- readonly description: "The registered endorsement type this VEC asserts; see vtc/endorsement-types/*.";
196
+ 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.";
197
197
  };
198
198
  readonly subjectDid: {
199
199
  readonly type: "string";
200
200
  readonly pattern: "^did:";
201
- readonly description: "DID of the endorsement's subject (becomes credentialSubject.id).";
201
+ readonly description: "DID of the statement's subject (becomes credentialSubject.id).";
202
202
  };
203
203
  readonly claim: {
204
204
  readonly type: "object";
205
- readonly description: "The attested claim body, validated against the endorsement type's claimSchema when it declares one.";
205
+ readonly description: "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one.";
206
206
  };
207
207
  readonly issued: {
208
208
  readonly $ref: "#/$defs/CredentialReference";
209
- 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.";
209
+ 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.";
210
210
  };
211
211
  readonly statusListIndex: {
212
212
  readonly type: "integer";
213
213
  readonly minimum: 0;
214
- 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.";
214
+ 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.";
215
215
  };
216
216
  readonly revokedAt: {
217
217
  readonly type: readonly ["string", "null"];
218
218
  readonly format: "date-time";
219
- readonly description: "When the endorsement was revoked, or null while live.";
219
+ readonly description: "When the statement was revoked, or null while live.";
220
220
  };
221
221
  };
222
222
  };
@@ -316,36 +316,36 @@ export declare const SPEC: {
316
316
  readonly endorsementId: {
317
317
  readonly type: "string";
318
318
  readonly minLength: 1;
319
- readonly description: "Community-scoped identifier for this endorsement row.";
319
+ 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.";
320
320
  };
321
321
  readonly typeUri: {
322
322
  readonly type: "string";
323
323
  readonly minLength: 1;
324
324
  readonly maxLength: 512;
325
- readonly description: "The registered endorsement type this VEC asserts; see vtc/endorsement-types/*.";
325
+ 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.";
326
326
  };
327
327
  readonly subjectDid: {
328
328
  readonly type: "string";
329
329
  readonly pattern: "^did:";
330
- readonly description: "DID of the endorsement's subject (becomes credentialSubject.id).";
330
+ readonly description: "DID of the statement's subject (becomes credentialSubject.id).";
331
331
  };
332
332
  readonly claim: {
333
333
  readonly type: "object";
334
- readonly description: "The attested claim body, validated against the endorsement type's claimSchema when it declares one.";
334
+ readonly description: "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one.";
335
335
  };
336
336
  readonly issued: {
337
337
  readonly $ref: "#/$defs/CredentialReference";
338
- 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.";
338
+ 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.";
339
339
  };
340
340
  readonly statusListIndex: {
341
341
  readonly type: "integer";
342
342
  readonly minimum: 0;
343
- 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.";
343
+ 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.";
344
344
  };
345
345
  readonly revokedAt: {
346
346
  readonly type: readonly ["string", "null"];
347
347
  readonly format: "date-time";
348
- readonly description: "When the endorsement was revoked, or null while live.";
348
+ readonly description: "When the statement was revoked, or null while live.";
349
349
  };
350
350
  };
351
351
  };
@@ -432,36 +432,36 @@ export declare const RESPONSE_SPEC: {
432
432
  readonly endorsementId: {
433
433
  readonly type: "string";
434
434
  readonly minLength: 1;
435
- readonly description: "Community-scoped identifier for this endorsement row.";
435
+ 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.";
436
436
  };
437
437
  readonly typeUri: {
438
438
  readonly type: "string";
439
439
  readonly minLength: 1;
440
440
  readonly maxLength: 512;
441
- readonly description: "The registered endorsement type this VEC asserts; see vtc/endorsement-types/*.";
441
+ 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.";
442
442
  };
443
443
  readonly subjectDid: {
444
444
  readonly type: "string";
445
445
  readonly pattern: "^did:";
446
- readonly description: "DID of the endorsement's subject (becomes credentialSubject.id).";
446
+ readonly description: "DID of the statement's subject (becomes credentialSubject.id).";
447
447
  };
448
448
  readonly claim: {
449
449
  readonly type: "object";
450
- readonly description: "The attested claim body, validated against the endorsement type's claimSchema when it declares one.";
450
+ readonly description: "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one.";
451
451
  };
452
452
  readonly issued: {
453
453
  readonly $ref: "#/$defs/CredentialReference";
454
- 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.";
454
+ 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.";
455
455
  };
456
456
  readonly statusListIndex: {
457
457
  readonly type: "integer";
458
458
  readonly minimum: 0;
459
- 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.";
459
+ 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.";
460
460
  };
461
461
  readonly revokedAt: {
462
462
  readonly type: readonly ["string", "null"];
463
463
  readonly format: "date-time";
464
- readonly description: "When the endorsement was revoked, or null while live.";
464
+ readonly description: "When the statement was revoked, or null while live.";
465
465
  };
466
466
  };
467
467
  };
@@ -77,31 +77,31 @@ export const PAYLOAD_SCHEMA = {
77
77
  "endorsementId": {
78
78
  "type": "string",
79
79
  "minLength": 1,
80
- "description": "Community-scoped identifier for this endorsement row."
80
+ "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."
81
81
  },
82
82
  "typeUri": {
83
83
  "type": "string",
84
84
  "minLength": 1,
85
85
  "maxLength": 512,
86
- "description": "The registered endorsement type this VEC asserts; see vtc/endorsement-types/*."
86
+ "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."
87
87
  },
88
88
  "subjectDid": {
89
89
  "type": "string",
90
90
  "pattern": "^did:",
91
- "description": "DID of the endorsement's subject (becomes credentialSubject.id)."
91
+ "description": "DID of the statement's subject (becomes credentialSubject.id)."
92
92
  },
93
93
  "claim": {
94
94
  "type": "object",
95
- "description": "The attested claim body, validated against the endorsement type's claimSchema when it declares one."
95
+ "description": "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one."
96
96
  },
97
97
  "issued": {
98
98
  "$ref": "#/$defs/CredentialReference",
99
- "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."
99
+ "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."
100
100
  },
101
101
  "statusListIndex": {
102
102
  "type": "integer",
103
103
  "minimum": 0,
104
- "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."
104
+ "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."
105
105
  },
106
106
  "revokedAt": {
107
107
  "type": [
@@ -109,7 +109,7 @@ export const PAYLOAD_SCHEMA = {
109
109
  "null"
110
110
  ],
111
111
  "format": "date-time",
112
- "description": "When the endorsement was revoked, or null while live."
112
+ "description": "When the statement was revoked, or null while live."
113
113
  }
114
114
  }
115
115
  },
@@ -198,31 +198,31 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
198
198
  "endorsementId": {
199
199
  "type": "string",
200
200
  "minLength": 1,
201
- "description": "Community-scoped identifier for this endorsement row."
201
+ "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."
202
202
  },
203
203
  "typeUri": {
204
204
  "type": "string",
205
205
  "minLength": 1,
206
206
  "maxLength": 512,
207
- "description": "The registered endorsement type this VEC asserts; see vtc/endorsement-types/*."
207
+ "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."
208
208
  },
209
209
  "subjectDid": {
210
210
  "type": "string",
211
211
  "pattern": "^did:",
212
- "description": "DID of the endorsement's subject (becomes credentialSubject.id)."
212
+ "description": "DID of the statement's subject (becomes credentialSubject.id)."
213
213
  },
214
214
  "claim": {
215
215
  "type": "object",
216
- "description": "The attested claim body, validated against the endorsement type's claimSchema when it declares one."
216
+ "description": "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one."
217
217
  },
218
218
  "issued": {
219
219
  "$ref": "#/$defs/CredentialReference",
220
- "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."
220
+ "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."
221
221
  },
222
222
  "statusListIndex": {
223
223
  "type": "integer",
224
224
  "minimum": 0,
225
- "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."
225
+ "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."
226
226
  },
227
227
  "revokedAt": {
228
228
  "type": [
@@ -230,7 +230,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
230
230
  "null"
231
231
  ],
232
232
  "format": "date-time",
233
- "description": "When the endorsement was revoked, or null while live."
233
+ "description": "When the statement was revoked, or null while live."
234
234
  }
235
235
  }
236
236
  },
@@ -1 +1 @@
1
- {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/endorsements/show/0.1/pay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,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,KAAK;IACtB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;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,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/endorsements/show/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAiBH,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,uDAAuD;IAC9D,OAAO,EAAE,iCAAiC;IAC1C,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,eAAe;KAChB;IACD,YAAY,EAAE;QACZ,eAAe,EAAE;YACf,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;SACf;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,0CAA0C;YACnD,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,aAAa;aACd;YACD,YAAY,EAAE;gBACZ,aAAa,EAAE;oBACb,MAAM,EAAE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oBACd,MAAM,EAAE,sBAAsB;iBAC/B;gBACD,UAAU,EAAE;oBACV,MAAM,EAAE,QAAQ;oBAChB,QAAQ,EAAE,WAAW;oBACrB,aAAa,EAAE,iCAAiC;iBACjD;gBACD,WAAW,EAAE;oBACX,MAAM,EAAE;wBACN,QAAQ;wBACR,MAAM;qBACP;oBACD,QAAQ,EAAE,WAAW;oBACrB,aAAa,EAAE,2CAA2C;iBAC3D;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,kBAAkB,EAAE,KAAK;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,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
@@ -34,9 +34,9 @@ export interface VTCJoinRequestsDecideResponsePayload {
34
34
  */
35
35
  vmc?: {} | null;
36
36
  /**
37
- * The endorsement credential carrying the role this decision granted, delivered inline alongside `vmc` and on the same reasoning. Present only where the decision admitted the applicant and granted a role.
37
+ * The role credential this decision issued: a Verifiable Authority Credential (`type` including `AuthorityCredential`) issued by the community with `issuerScope` `public`, whose `credentialSubject.authority` is `{ scope: <community DID>, actions: ["role:<name>"] }` — the shape vtc/vetting/vetters/grant/0.1 issues. Delivered inline alongside `vmc` and on the same reasoning. Present only where the decision admitted the applicant and granted a role. Formerly `roleVec`; roles are authority, not endorsements.
38
38
  */
39
- roleVec?: {} | null;
39
+ roleVac?: {} | null;
40
40
  ext?: Ext;
41
41
  }
42
42
  /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
@@ -107,9 +107,9 @@ export declare const PAYLOAD_SCHEMA: {
107
107
  readonly type: readonly ["object", "null"];
108
108
  readonly description: "The membership credential issued by this decision, delivered inline. Present only where the decision admitted the applicant.\n\nInline because the alternative is worse: the applicant would poll for a status, learn they were admitted, and then fetch the credential separately — a second round trip whose only purpose is to collect something the community already had in hand when it decided.";
109
109
  };
110
- readonly roleVec: {
110
+ readonly roleVac: {
111
111
  readonly type: readonly ["object", "null"];
112
- readonly description: "The endorsement credential carrying the role this decision granted, delivered inline alongside `vmc` and on the same reasoning. Present only where the decision admitted the applicant and granted a role.";
112
+ readonly description: "The role credential this decision issued: a Verifiable Authority Credential (`type` including `AuthorityCredential`) issued by the community with `issuerScope` `public`, whose `credentialSubject.authority` is `{ scope: <community DID>, actions: [\"role:<name>\"] }` — the shape vtc/vetting/vetters/grant/0.1 issues. Delivered inline alongside `vmc` and on the same reasoning. Present only where the decision admitted the applicant and granted a role. Formerly `roleVec`; roles are authority, not endorsements.";
113
113
  };
114
114
  readonly ext: {
115
115
  readonly $ref: "#/$defs/Ext";
@@ -154,9 +154,9 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
154
154
  readonly type: readonly ["object", "null"];
155
155
  readonly description: "The membership credential issued by this decision, delivered inline. Present only where the decision admitted the applicant.\n\nInline because the alternative is worse: the applicant would poll for a status, learn they were admitted, and then fetch the credential separately — a second round trip whose only purpose is to collect something the community already had in hand when it decided.";
156
156
  };
157
- readonly roleVec: {
157
+ readonly roleVac: {
158
158
  readonly type: readonly ["object", "null"];
159
- readonly description: "The endorsement credential carrying the role this decision granted, delivered inline alongside `vmc` and on the same reasoning. Present only where the decision admitted the applicant and granted a role.";
159
+ readonly description: "The role credential this decision issued: a Verifiable Authority Credential (`type` including `AuthorityCredential`) issued by the community with `issuerScope` `public`, whose `credentialSubject.authority` is `{ scope: <community DID>, actions: [\"role:<name>\"] }` — the shape vtc/vetting/vetters/grant/0.1 issues. Delivered inline alongside `vmc` and on the same reasoning. Present only where the decision admitted the applicant and granted a role. Formerly `roleVec`; roles are authority, not endorsements.";
160
160
  };
161
161
  readonly ext: {
162
162
  readonly $ref: "#/$defs/Ext";
@@ -236,9 +236,9 @@ export declare const SPEC: {
236
236
  readonly type: readonly ["object", "null"];
237
237
  readonly description: "The membership credential issued by this decision, delivered inline. Present only where the decision admitted the applicant.\n\nInline because the alternative is worse: the applicant would poll for a status, learn they were admitted, and then fetch the credential separately — a second round trip whose only purpose is to collect something the community already had in hand when it decided.";
238
238
  };
239
- readonly roleVec: {
239
+ readonly roleVac: {
240
240
  readonly type: readonly ["object", "null"];
241
- readonly description: "The endorsement credential carrying the role this decision granted, delivered inline alongside `vmc` and on the same reasoning. Present only where the decision admitted the applicant and granted a role.";
241
+ readonly description: "The role credential this decision issued: a Verifiable Authority Credential (`type` including `AuthorityCredential`) issued by the community with `issuerScope` `public`, whose `credentialSubject.authority` is `{ scope: <community DID>, actions: [\"role:<name>\"] }` — the shape vtc/vetting/vetters/grant/0.1 issues. Delivered inline alongside `vmc` and on the same reasoning. Present only where the decision admitted the applicant and granted a role. Formerly `roleVec`; roles are authority, not endorsements.";
242
242
  };
243
243
  readonly ext: {
244
244
  readonly $ref: "#/$defs/Ext";
@@ -294,9 +294,9 @@ export declare const RESPONSE_SPEC: {
294
294
  readonly type: readonly ["object", "null"];
295
295
  readonly description: "The membership credential issued by this decision, delivered inline. Present only where the decision admitted the applicant.\n\nInline because the alternative is worse: the applicant would poll for a status, learn they were admitted, and then fetch the credential separately — a second round trip whose only purpose is to collect something the community already had in hand when it decided.";
296
296
  };
297
- readonly roleVec: {
297
+ readonly roleVac: {
298
298
  readonly type: readonly ["object", "null"];
299
- readonly description: "The endorsement credential carrying the role this decision granted, delivered inline alongside `vmc` and on the same reasoning. Present only where the decision admitted the applicant and granted a role.";
299
+ readonly description: "The role credential this decision issued: a Verifiable Authority Credential (`type` including `AuthorityCredential`) issued by the community with `issuerScope` `public`, whose `credentialSubject.authority` is `{ scope: <community DID>, actions: [\"role:<name>\"] }` — the shape vtc/vetting/vetters/grant/0.1 issues. Delivered inline alongside `vmc` and on the same reasoning. Present only where the decision admitted the applicant and granted a role. Formerly `roleVec`; roles are authority, not endorsements.";
300
300
  };
301
301
  readonly ext: {
302
302
  readonly $ref: "#/$defs/Ext";
@@ -79,12 +79,12 @@ export const PAYLOAD_SCHEMA = {
79
79
  ],
80
80
  "description": "The membership credential issued by this decision, delivered inline. Present only where the decision admitted the applicant.\n\nInline because the alternative is worse: the applicant would poll for a status, learn they were admitted, and then fetch the credential separately — a second round trip whose only purpose is to collect something the community already had in hand when it decided."
81
81
  },
82
- "roleVec": {
82
+ "roleVac": {
83
83
  "type": [
84
84
  "object",
85
85
  "null"
86
86
  ],
87
- "description": "The endorsement credential carrying the role this decision granted, delivered inline alongside `vmc` and on the same reasoning. Present only where the decision admitted the applicant and granted a role."
87
+ "description": "The role credential this decision issued: a Verifiable Authority Credential (`type` including `AuthorityCredential`) issued by the community with `issuerScope` `public`, whose `credentialSubject.authority` is `{ scope: <community DID>, actions: [\"role:<name>\"] }` — the shape vtc/vetting/vetters/grant/0.1 issues. Delivered inline alongside `vmc` and on the same reasoning. Present only where the decision admitted the applicant and granted a role. Formerly `roleVec`; roles are authority, not endorsements."
88
88
  },
89
89
  "ext": {
90
90
  "$ref": "#/$defs/Ext"
@@ -138,12 +138,12 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
138
138
  ],
139
139
  "description": "The membership credential issued by this decision, delivered inline. Present only where the decision admitted the applicant.\n\nInline because the alternative is worse: the applicant would poll for a status, learn they were admitted, and then fetch the credential separately — a second round trip whose only purpose is to collect something the community already had in hand when it decided."
140
140
  },
141
- "roleVec": {
141
+ "roleVac": {
142
142
  "type": [
143
143
  "object",
144
144
  "null"
145
145
  ],
146
- "description": "The endorsement credential carrying the role this decision granted, delivered inline alongside `vmc` and on the same reasoning. Present only where the decision admitted the applicant and granted a role."
146
+ "description": "The role credential this decision issued: a Verifiable Authority Credential (`type` including `AuthorityCredential`) issued by the community with `issuerScope` `public`, whose `credentialSubject.authority` is `{ scope: <community DID>, actions: [\"role:<name>\"] }` — the shape vtc/vetting/vetters/grant/0.1 issues. Delivered inline alongside `vmc` and on the same reasoning. Present only where the decision admitted the applicant and granted a role. Formerly `roleVec`; roles are authority, not endorsements."
147
147
  },
148
148
  "ext": {
149
149
  "$ref": "#/$defs/Ext"
@@ -1 +1 @@
1
- {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/join-requests/decide/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA6CH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,0DAAmE,CAAC;AAK5F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,mEAA4E,CAAC;AAK9G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,0DAA0D;IACjE,OAAO,EAAE,oCAAoC;IAC7C,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,IAAI;QACJ,UAAU;KACX;IACD,YAAY,EAAE;QACZ,IAAI,EAAE;YACJ,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,aAAa,EAAE,iCAAiC;SACjD;QACD,UAAU,EAAE;YACV,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE;gBACN,UAAU;gBACV,UAAU;aACX;YACD,aAAa,EAAE,gGAAgG;SAChH;QACD,QAAQ,EAAE;YACR,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,IAAI;YACjB,aAAa,EAAE,+GAA+G;SAC/H;QACD,KAAK,EAAE;YACL,MAAM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AW;gBACX,QAAQ;aACT;YACD,YAAY,EAAE;gBACZ,WAAW,EAAE;oBACX,MAAM,EAAE,QAAQ;oBAChB,WAAW,EAAE,CAAC;iBACf;gBACD,QAAQ,EAAE;oBACR,MAAM,EAAE,QAAQ;oBAChB,MAAM,EAAE;wBACN,UAAU;wBACV,UAAU;qBACX;oBACD,aAAa,EAAE,yDAAyD;iBACzE;gBACD,KAAK,EAAE;oBACL,MAAM,EAAE;wBACN,QAAQ;wBACR,MAAM;qBACP;oBACD,aAAa,EAAE,wYAAwY;iBACxZ;gBACD,SAAS,EAAE;oBACT,MAAM,EAAE;wBACN,QAAQ;wBACR,MAAM;qBACP;oBACD,aAAa,EAAE,4MAA4M;iBAC5N;gBACD,KAAK,EAAE;oBACL,MAAM,EAAE,aAAa;iBACtB;aACF;SACF;QACD,KAAK,EAAE;YACL,OAAO,EAAE,KAAK;YACd,aAAa,EAAE,uKAAuK;YACtL,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,CAAC;YAClB,sBAAsB,EAAE,IAAI;YAC5B,eAAe,EAAE;gBACf,SAAS,EAAE,mCAAmC;aAC/C;SACF;KACF;CACO,CAAC;AAEX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,cAAc;CACrB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/join-requests/decide/0.1/payload.ts"],"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L,MAAM,EAAE,aAAa;iBACtB;aACF;SACF;QACD,KAAK,EAAE;YACL,OAAO,EAAE,KAAK;YACd,aAAa,EAAE,uKAAuK;YACtL,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,CAAC;YAClB,sBAAsB,EAAE,IAAI;YAC5B,eAAe,EAAE;gBACf,SAAS,EAAE,mCAAmC;aAC/C;SACF;KACF;CACO,CAAC;AAEX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,cAAc;CACrB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
@@ -63,7 +63,7 @@ export interface VettingRequirements {
63
63
  */
64
64
  version: string;
65
65
  /**
66
- * The endorsement type URI a counted vetting statement carries as `credentialSubject.endorsement.type`, as registered with the community via vtc/endorsement-types/register.
66
+ * The predicate IRI a counted vetting statement carries in `credentialSubject.predicate` — `https://registry.trustoverip.org/dtg/vsc/vetted/1`, the DTG VSC registry's identity-vetting predicate, or a predicate in a namespace the community controls — registered as one the community accepts via vtc/endorsement-types/register. A statement under any other predicate does not count.
67
67
  */
68
68
  statementType: string;
69
69
  /**
@@ -102,7 +102,7 @@ export interface VettingRequirements {
102
102
  */
103
103
  eligibleVetters: {
104
104
  /**
105
- * The role named in a community-issued `CommunityRole` endorsement credential (see `vtc/vetting/vetters/grant/0.1`). A statement counts only if its issuer holds that credential.
105
+ * The role a statement's issuer must hold, matched as the action `role:<role>` in a Verifiable Authority Credential (`AuthorityCredential`) the community issued to that issuer, whose `authority.scope` is the community's DID (see `vtc/vetting/vetters/grant/0.1`). A statement counts only if its issuer holds such a credential.
106
106
  */
107
107
  role: string;
108
108
  };
@@ -253,7 +253,7 @@ export declare const PAYLOAD_SCHEMA: {
253
253
  readonly format: "uri";
254
254
  readonly minLength: 1;
255
255
  readonly maxLength: 512;
256
- readonly description: "The endorsement type URI a counted vetting statement carries as `credentialSubject.endorsement.type`, as registered with the community via vtc/endorsement-types/register.";
256
+ readonly description: "The predicate IRI a counted vetting statement carries in `credentialSubject.predicate` — `https://registry.trustoverip.org/dtg/vsc/vetted/1`, the DTG VSC registry's identity-vetting predicate, or a predicate in a namespace the community controls — registered as one the community accepts via vtc/endorsement-types/register. A statement under any other predicate does not count.";
257
257
  };
258
258
  readonly minStatements: {
259
259
  readonly type: "integer";
@@ -318,7 +318,7 @@ export declare const PAYLOAD_SCHEMA: {
318
318
  readonly minLength: 1;
319
319
  readonly maxLength: 128;
320
320
  readonly pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$";
321
- readonly description: "The role named in a community-issued `CommunityRole` endorsement credential (see `vtc/vetting/vetters/grant/0.1`). A statement counts only if its issuer holds that credential.";
321
+ readonly description: "The role a statement's issuer must hold, matched as the action `role:<role>` in a Verifiable Authority Credential (`AuthorityCredential`) the community issued to that issuer, whose `authority.scope` is the community's DID (see `vtc/vetting/vetters/grant/0.1`). A statement counts only if its issuer holds such a credential.";
322
322
  };
323
323
  };
324
324
  readonly description: "How a vetter's eligibility is established.";
@@ -577,7 +577,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
577
577
  readonly format: "uri";
578
578
  readonly minLength: 1;
579
579
  readonly maxLength: 512;
580
- readonly description: "The endorsement type URI a counted vetting statement carries as `credentialSubject.endorsement.type`, as registered with the community via vtc/endorsement-types/register.";
580
+ readonly description: "The predicate IRI a counted vetting statement carries in `credentialSubject.predicate` — `https://registry.trustoverip.org/dtg/vsc/vetted/1`, the DTG VSC registry's identity-vetting predicate, or a predicate in a namespace the community controls — registered as one the community accepts via vtc/endorsement-types/register. A statement under any other predicate does not count.";
581
581
  };
582
582
  readonly minStatements: {
583
583
  readonly type: "integer";
@@ -642,7 +642,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
642
642
  readonly minLength: 1;
643
643
  readonly maxLength: 128;
644
644
  readonly pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$";
645
- readonly description: "The role named in a community-issued `CommunityRole` endorsement credential (see `vtc/vetting/vetters/grant/0.1`). A statement counts only if its issuer holds that credential.";
645
+ readonly description: "The role a statement's issuer must hold, matched as the action `role:<role>` in a Verifiable Authority Credential (`AuthorityCredential`) the community issued to that issuer, whose `authority.scope` is the community's DID (see `vtc/vetting/vetters/grant/0.1`). A statement counts only if its issuer holds such a credential.";
646
646
  };
647
647
  };
648
648
  readonly description: "How a vetter's eligibility is established.";
@@ -921,7 +921,7 @@ export declare const SPEC: {
921
921
  readonly format: "uri";
922
922
  readonly minLength: 1;
923
923
  readonly maxLength: 512;
924
- readonly description: "The endorsement type URI a counted vetting statement carries as `credentialSubject.endorsement.type`, as registered with the community via vtc/endorsement-types/register.";
924
+ readonly description: "The predicate IRI a counted vetting statement carries in `credentialSubject.predicate` — `https://registry.trustoverip.org/dtg/vsc/vetted/1`, the DTG VSC registry's identity-vetting predicate, or a predicate in a namespace the community controls — registered as one the community accepts via vtc/endorsement-types/register. A statement under any other predicate does not count.";
925
925
  };
926
926
  readonly minStatements: {
927
927
  readonly type: "integer";
@@ -986,7 +986,7 @@ export declare const SPEC: {
986
986
  readonly minLength: 1;
987
987
  readonly maxLength: 128;
988
988
  readonly pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$";
989
- readonly description: "The role named in a community-issued `CommunityRole` endorsement credential (see `vtc/vetting/vetters/grant/0.1`). A statement counts only if its issuer holds that credential.";
989
+ readonly description: "The role a statement's issuer must hold, matched as the action `role:<role>` in a Verifiable Authority Credential (`AuthorityCredential`) the community issued to that issuer, whose `authority.scope` is the community's DID (see `vtc/vetting/vetters/grant/0.1`). A statement counts only if its issuer holds such a credential.";
990
990
  };
991
991
  };
992
992
  readonly description: "How a vetter's eligibility is established.";
@@ -1256,7 +1256,7 @@ export declare const RESPONSE_SPEC: {
1256
1256
  readonly format: "uri";
1257
1257
  readonly minLength: 1;
1258
1258
  readonly maxLength: 512;
1259
- readonly description: "The endorsement type URI a counted vetting statement carries as `credentialSubject.endorsement.type`, as registered with the community via vtc/endorsement-types/register.";
1259
+ readonly description: "The predicate IRI a counted vetting statement carries in `credentialSubject.predicate` — `https://registry.trustoverip.org/dtg/vsc/vetted/1`, the DTG VSC registry's identity-vetting predicate, or a predicate in a namespace the community controls — registered as one the community accepts via vtc/endorsement-types/register. A statement under any other predicate does not count.";
1260
1260
  };
1261
1261
  readonly minStatements: {
1262
1262
  readonly type: "integer";
@@ -1321,7 +1321,7 @@ export declare const RESPONSE_SPEC: {
1321
1321
  readonly minLength: 1;
1322
1322
  readonly maxLength: 128;
1323
1323
  readonly pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$";
1324
- readonly description: "The role named in a community-issued `CommunityRole` endorsement credential (see `vtc/vetting/vetters/grant/0.1`). A statement counts only if its issuer holds that credential.";
1324
+ readonly description: "The role a statement's issuer must hold, matched as the action `role:<role>` in a Verifiable Authority Credential (`AuthorityCredential`) the community issued to that issuer, whose `authority.scope` is the community's DID (see `vtc/vetting/vetters/grant/0.1`). A statement counts only if its issuer holds such a credential.";
1325
1325
  };
1326
1326
  };
1327
1327
  readonly description: "How a vetter's eligibility is established.";
@@ -95,7 +95,7 @@ export const PAYLOAD_SCHEMA = {
95
95
  "format": "uri",
96
96
  "minLength": 1,
97
97
  "maxLength": 512,
98
- "description": "The endorsement type URI a counted vetting statement carries as `credentialSubject.endorsement.type`, as registered with the community via vtc/endorsement-types/register."
98
+ "description": "The predicate IRI a counted vetting statement carries in `credentialSubject.predicate` — `https://registry.trustoverip.org/dtg/vsc/vetted/1`, the DTG VSC registry's identity-vetting predicate, or a predicate in a namespace the community controls — registered as one the community accepts via vtc/endorsement-types/register. A statement under any other predicate does not count."
99
99
  },
100
100
  "minStatements": {
101
101
  "type": "integer",
@@ -162,7 +162,7 @@ export const PAYLOAD_SCHEMA = {
162
162
  "minLength": 1,
163
163
  "maxLength": 128,
164
164
  "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
165
- "description": "The role named in a community-issued `CommunityRole` endorsement credential (see `vtc/vetting/vetters/grant/0.1`). A statement counts only if its issuer holds that credential."
165
+ "description": "The role a statement's issuer must hold, matched as the action `role:<role>` in a Verifiable Authority Credential (`AuthorityCredential`) the community issued to that issuer, whose `authority.scope` is the community's DID (see `vtc/vetting/vetters/grant/0.1`). A statement counts only if its issuer holds such a credential."
166
166
  }
167
167
  },
168
168
  "description": "How a vetter's eligibility is established."
@@ -457,7 +457,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
457
457
  "format": "uri",
458
458
  "minLength": 1,
459
459
  "maxLength": 512,
460
- "description": "The endorsement type URI a counted vetting statement carries as `credentialSubject.endorsement.type`, as registered with the community via vtc/endorsement-types/register."
460
+ "description": "The predicate IRI a counted vetting statement carries in `credentialSubject.predicate` — `https://registry.trustoverip.org/dtg/vsc/vetted/1`, the DTG VSC registry's identity-vetting predicate, or a predicate in a namespace the community controls — registered as one the community accepts via vtc/endorsement-types/register. A statement under any other predicate does not count."
461
461
  },
462
462
  "minStatements": {
463
463
  "type": "integer",
@@ -524,7 +524,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
524
524
  "minLength": 1,
525
525
  "maxLength": 128,
526
526
  "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
527
- "description": "The role named in a community-issued `CommunityRole` endorsement credential (see `vtc/vetting/vetters/grant/0.1`). A statement counts only if its issuer holds that credential."
527
+ "description": "The role a statement's issuer must hold, matched as the action `role:<role>` in a Verifiable Authority Credential (`AuthorityCredential`) the community issued to that issuer, whose `authority.scope` is the community's DID (see `vtc/vetting/vetters/grant/0.1`). A statement counts only if its issuer holds such a credential."
528
528
  }
529
529
  },
530
530
  "description": "How a vetter's eligibility is established."