@openvtc/trust-tasks 0.21.15 → 0.22.0

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 (140) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/dist/_shared/components.d.ts +14 -14
  3. package/dist/index.d.ts +3 -0
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +3 -0
  6. package/dist/index.js.map +1 -1
  7. package/dist/vetting/_shared/0.1/identity-vetting.d.ts +2 -2
  8. package/dist/vetting/_shared/0.1/identity-vetting.d.ts.map +1 -1
  9. package/dist/vetting/_shared/0.1/vetting-card.d.ts +1 -1
  10. package/dist/vetting/_shared/0.1/vetting.d.ts +1 -1
  11. package/dist/vetting/request/0.1/payload.d.ts +5 -5
  12. package/dist/vetting/request/0.1/payload.js +2 -2
  13. package/dist/vetting/request/0.1/payload.js.map +1 -1
  14. package/dist/vta/attestation/mnemonic-status/0.1/payload.d.ts +281 -0
  15. package/dist/vta/attestation/mnemonic-status/0.1/payload.d.ts.map +1 -0
  16. package/dist/vta/attestation/mnemonic-status/0.1/payload.js +157 -0
  17. package/dist/vta/attestation/mnemonic-status/0.1/payload.js.map +1 -0
  18. package/dist/vta/metrics/show/0.1/payload.d.ts +674 -0
  19. package/dist/vta/metrics/show/0.1/payload.d.ts.map +1 -0
  20. package/dist/vta/metrics/show/0.1/payload.js +387 -0
  21. package/dist/vta/metrics/show/0.1/payload.js.map +1 -0
  22. package/dist/vtc/_shared/0.1/endorsement-type.d.ts +1 -1
  23. package/dist/vtc/_shared/0.1/endorsement.d.ts +1 -1
  24. package/dist/vtc/auth/recognise/0.2/payload.d.ts +3 -3
  25. package/dist/vtc/auth/recognise/0.2/payload.js +1 -1
  26. package/dist/vtc/auth/recognise/0.2/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/hidden/publish/0.1/payload.d.ts +1385 -0
  95. package/dist/vtc/vetting/hidden/publish/0.1/payload.d.ts.map +1 -0
  96. package/dist/vtc/vetting/hidden/publish/0.1/payload.js +735 -0
  97. package/dist/vtc/vetting/hidden/publish/0.1/payload.js.map +1 -0
  98. package/dist/vtc/vetting/vetters/grant/0.1/payload.d.ts +13 -13
  99. package/dist/vtc/vetting/vetters/grant/0.1/payload.js +5 -5
  100. package/dist/vtc/vetting/vetters/grant/0.1/payload.js.map +1 -1
  101. package/dist/witness/session/submit/0.1/payload.d.ts +5 -5
  102. package/dist/witness/session/submit/0.1/payload.js +2 -2
  103. package/dist/witness/session/submit/0.1/payload.js.map +1 -1
  104. package/package.json +1 -1
  105. package/src/_shared/components.ts +14 -14
  106. package/src/index.ts +3 -0
  107. package/src/vetting/_shared/0.1/identity-vetting.ts +2 -2
  108. package/src/vetting/_shared/0.1/vetting-card.ts +1 -1
  109. package/src/vetting/_shared/0.1/vetting.ts +1 -1
  110. package/src/vetting/request/0.1/payload.ts +3 -3
  111. package/src/vta/attestation/mnemonic-status/0.1/payload.ts +203 -0
  112. package/src/vta/metrics/show/0.1/payload.ts +418 -0
  113. package/src/vtc/_shared/0.1/endorsement-type.ts +1 -1
  114. package/src/vtc/_shared/0.1/endorsement.ts +1 -1
  115. package/src/vtc/auth/recognise/0.2/payload.ts +2 -2
  116. package/src/vtc/endorsement-types/list/0.1/payload.ts +4 -4
  117. package/src/vtc/endorsement-types/register/0.1/payload.ts +11 -7
  118. package/src/vtc/endorsements/issue/0.1/payload.ts +23 -23
  119. package/src/vtc/endorsements/list/0.1/payload.ts +16 -16
  120. package/src/vtc/endorsements/revoke/0.1/payload.ts +3 -3
  121. package/src/vtc/endorsements/show/0.1/payload.ts +14 -14
  122. package/src/vtc/join-requests/decide/0.1/payload.ts +6 -6
  123. package/src/vtc/join-requests/manifest/0.2/payload.ts +6 -6
  124. package/src/vtc/members/credentials/0.1/payload.ts +3 -3
  125. package/src/vtc/members/list/0.1/payload.ts +4 -4
  126. package/src/vtc/members/personhood/assert/0.1/payload.ts +8 -8
  127. package/src/vtc/members/personhood/revoke/0.1/payload.ts +6 -6
  128. package/src/vtc/members/renew/0.1/payload.ts +8 -8
  129. package/src/vtc/members/rotate/0.1/payload.ts +8 -8
  130. package/src/vtc/members/show/0.1/payload.ts +4 -4
  131. package/src/vtc/members/update/0.1/payload.ts +4 -4
  132. package/src/vtc/schemas/accepts/list/0.1/payload.ts +4 -4
  133. package/src/vtc/schemas/accepts/register/0.1/payload.ts +4 -4
  134. package/src/vtc/schemas/accepts/show/0.1/payload.ts +4 -4
  135. package/src/vtc/schemas/list/0.1/payload.ts +2 -2
  136. package/src/vtc/schemas/register/0.1/payload.ts +2 -2
  137. package/src/vtc/schemas/show/0.1/payload.ts +2 -2
  138. package/src/vtc/vetting/hidden/publish/0.1/payload.ts +905 -0
  139. package/src/vtc/vetting/vetters/grant/0.1/payload.ts +8 -8
  140. package/src/witness/session/submit/0.1/payload.ts +3 -3
@@ -32,7 +32,7 @@ export interface VTCMembersCredentialsResponsePayload {
32
32
  */
33
33
  membershipCredential?: {};
34
34
  /**
35
- * The role Verifiable Endorsement Credential. A verifiable credential, carried verbatim and opaque to this schema. Maintainers must not re-serialise it — the bytes carry a proof over themselves. Matches the `vrcJsonld` idiom in vtc/relationships/list/0.2.
35
+ * The role credential: a community-issued Verifiable Authority Credential (`AuthorityCredential`) conferring `role:<name>` at the community's DID. A verifiable credential, carried verbatim and opaque to this schema. Maintainers must not re-serialise it — the bytes carry a proof over themselves. Matches the `vrcJsonld` idiom in vtc/relationships/list/0.2.
36
36
  */
37
37
  roleCredential?: {};
38
38
  /**
@@ -121,7 +121,7 @@ export const PAYLOAD_SCHEMA = {
121
121
  "roleCredential": {
122
122
  "type": "object",
123
123
  "minProperties": 1,
124
- "description": "The role Verifiable Endorsement Credential. A verifiable credential, carried verbatim and opaque to this schema. Maintainers must not re-serialise it — the bytes carry a proof over themselves. Matches the `vrcJsonld` idiom in vtc/relationships/list/0.2."
124
+ "description": "The role credential: a community-issued Verifiable Authority Credential (`AuthorityCredential`) conferring `role:<name>` at the community's DID. A verifiable credential, carried verbatim and opaque to this schema. Maintainers must not re-serialise it — the bytes carry a proof over themselves. Matches the `vrcJsonld` idiom in vtc/relationships/list/0.2."
125
125
  },
126
126
  "memberVmc": {
127
127
  "type": "object",
@@ -189,7 +189,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
189
189
  "roleCredential": {
190
190
  "type": "object",
191
191
  "minProperties": 1,
192
- "description": "The role Verifiable Endorsement Credential. A verifiable credential, carried verbatim and opaque to this schema. Maintainers must not re-serialise it — the bytes carry a proof over themselves. Matches the `vrcJsonld` idiom in vtc/relationships/list/0.2."
192
+ "description": "The role credential: a community-issued Verifiable Authority Credential (`AuthorityCredential`) conferring `role:<name>` at the community's DID. A verifiable credential, carried verbatim and opaque to this schema. Maintainers must not re-serialise it — the bytes carry a proof over themselves. Matches the `vrcJsonld` idiom in vtc/relationships/list/0.2."
193
193
  },
194
194
  "memberVmc": {
195
195
  "type": "object",
@@ -194,12 +194,12 @@ export const PAYLOAD_SCHEMA = {
194
194
  ],
195
195
  "description": "Id of the member's current Verifiable Membership Credential, if issued."
196
196
  },
197
- "currentRoleVecId": {
197
+ "currentRoleVacId": {
198
198
  "type": [
199
199
  "string",
200
200
  "null"
201
201
  ],
202
- "description": "Id of the member's current role Verifiable Endorsement Credential, if issued."
202
+ "description": "Id of the member's current role credential — a community-issued Verifiable Authority Credential conferring `role:<name>` — if issued. Formerly `currentRoleVecId`."
203
203
  },
204
204
  "personhood": {
205
205
  "type": "boolean",
@@ -355,12 +355,12 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
355
355
  ],
356
356
  "description": "Id of the member's current Verifiable Membership Credential, if issued."
357
357
  },
358
- "currentRoleVecId": {
358
+ "currentRoleVacId": {
359
359
  "type": [
360
360
  "string",
361
361
  "null"
362
362
  ],
363
- "description": "Id of the member's current role Verifiable Endorsement Credential, if issued."
363
+ "description": "Id of the member's current role credential — a community-issued Verifiable Authority Credential conferring `role:<name>` — if issued. Formerly `currentRoleVecId`."
364
364
  },
365
365
  "personhood": {
366
366
  "type": "boolean",
@@ -28,9 +28,9 @@ export interface VTCMembersPersonhoodAssertResponsePayload {
28
28
  */
29
29
  vmc: {};
30
30
  /**
31
- * Re-issued role credential (opaque here).
31
+ * Re-issued role credential (opaque here): 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.
32
32
  */
33
- roleVec: {};
33
+ roleVac: {};
34
34
  ext?: Ext;
35
35
  }
36
36
 
@@ -92,7 +92,7 @@ export const PAYLOAD_SCHEMA = {
92
92
  "did",
93
93
  "personhood",
94
94
  "vmc",
95
- "roleVec"
95
+ "roleVac"
96
96
  ],
97
97
  "properties": {
98
98
  "did": {
@@ -108,9 +108,9 @@ export const PAYLOAD_SCHEMA = {
108
108
  "type": "object",
109
109
  "description": "Re-issued membership credential carrying the asserted personhood (opaque here)."
110
110
  },
111
- "roleVec": {
111
+ "roleVac": {
112
112
  "type": "object",
113
- "description": "Re-issued role credential (opaque here)."
113
+ "description": "Re-issued role credential (opaque here): 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."
114
114
  },
115
115
  "ext": {
116
116
  "$ref": "#/$defs/Ext"
@@ -144,7 +144,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
144
144
  "did",
145
145
  "personhood",
146
146
  "vmc",
147
- "roleVec"
147
+ "roleVac"
148
148
  ],
149
149
  "properties": {
150
150
  "did": {
@@ -160,9 +160,9 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
160
160
  "type": "object",
161
161
  "description": "Re-issued membership credential carrying the asserted personhood (opaque here)."
162
162
  },
163
- "roleVec": {
163
+ "roleVac": {
164
164
  "type": "object",
165
- "description": "Re-issued role credential (opaque here)."
165
+ "description": "Re-issued role credential (opaque here): 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."
166
166
  },
167
167
  "ext": {
168
168
  "$ref": "#/$defs/Ext"
@@ -24,9 +24,9 @@ export interface VTCMembersPersonhoodRevokeResponsePayload {
24
24
  */
25
25
  vmc?: {};
26
26
  /**
27
- * Newly-minted role credential; omitted on an idempotent no-op.
27
+ * Newly-minted role credential (opaque here): 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. Omitted on an idempotent no-op.
28
28
  */
29
- roleVec?: {};
29
+ roleVac?: {};
30
30
  ext?: Ext;
31
31
  }
32
32
 
@@ -97,9 +97,9 @@ export const PAYLOAD_SCHEMA = {
97
97
  "type": "object",
98
98
  "description": "Newly-minted membership credential carrying personhood false; omitted on an idempotent no-op."
99
99
  },
100
- "roleVec": {
100
+ "roleVac": {
101
101
  "type": "object",
102
- "description": "Newly-minted role credential; omitted on an idempotent no-op."
102
+ "description": "Newly-minted role credential (opaque here): 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. Omitted on an idempotent no-op."
103
103
  },
104
104
  "ext": {
105
105
  "$ref": "#/$defs/Ext"
@@ -147,9 +147,9 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
147
147
  "type": "object",
148
148
  "description": "Newly-minted membership credential carrying personhood false; omitted on an idempotent no-op."
149
149
  },
150
- "roleVec": {
150
+ "roleVac": {
151
151
  "type": "object",
152
- "description": "Newly-minted role credential; omitted on an idempotent no-op."
152
+ "description": "Newly-minted role credential (opaque here): 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. Omitted on an idempotent no-op."
153
153
  },
154
154
  "ext": {
155
155
  "$ref": "#/$defs/Ext"
@@ -16,9 +16,9 @@ export interface VTCMembersRenewResponsePayload {
16
16
  */
17
17
  vmc: {};
18
18
  /**
19
- * The freshly-issued role Verifiable Endorsement Credential (opaque here).
19
+ * The freshly-issued role credential (opaque here): 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.
20
20
  */
21
- roleVec: {};
21
+ roleVac: {};
22
22
  /**
23
23
  * Whether the renewed membership carries a personhood assertion.
24
24
  */
@@ -74,7 +74,7 @@ export const PAYLOAD_SCHEMA = {
74
74
  "required": [
75
75
  "did",
76
76
  "vmc",
77
- "roleVec",
77
+ "roleVac",
78
78
  "personhood",
79
79
  "personhoodChanged"
80
80
  ],
@@ -87,9 +87,9 @@ export const PAYLOAD_SCHEMA = {
87
87
  "type": "object",
88
88
  "description": "The freshly-issued W3C Verifiable Membership Credential (opaque here)."
89
89
  },
90
- "roleVec": {
90
+ "roleVac": {
91
91
  "type": "object",
92
- "description": "The freshly-issued role Verifiable Endorsement Credential (opaque here)."
92
+ "description": "The freshly-issued role credential (opaque here): 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."
93
93
  },
94
94
  "personhood": {
95
95
  "type": "boolean",
@@ -130,7 +130,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
130
130
  "required": [
131
131
  "did",
132
132
  "vmc",
133
- "roleVec",
133
+ "roleVac",
134
134
  "personhood",
135
135
  "personhoodChanged"
136
136
  ],
@@ -143,9 +143,9 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
143
143
  "type": "object",
144
144
  "description": "The freshly-issued W3C Verifiable Membership Credential (opaque here)."
145
145
  },
146
- "roleVec": {
146
+ "roleVac": {
147
147
  "type": "object",
148
- "description": "The freshly-issued role Verifiable Endorsement Credential (opaque here)."
148
+ "description": "The freshly-issued role credential (opaque here): 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."
149
149
  },
150
150
  "personhood": {
151
151
  "type": "boolean",
@@ -31,9 +31,9 @@ export interface VTCMembersRotateResponsePayload {
31
31
  */
32
32
  vmc: {};
33
33
  /**
34
- * Role credential re-issued to the new DID (opaque here).
34
+ * Role credential re-issued to the new DID (opaque here): 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.
35
35
  */
36
- roleVec: {};
36
+ roleVac: {};
37
37
  ext?: Ext;
38
38
  }
39
39
 
@@ -111,7 +111,7 @@ export const PAYLOAD_SCHEMA = {
111
111
  "newDid",
112
112
  "method",
113
113
  "vmc",
114
- "roleVec"
114
+ "roleVac"
115
115
  ],
116
116
  "properties": {
117
117
  "newDid": {
@@ -129,9 +129,9 @@ export const PAYLOAD_SCHEMA = {
129
129
  "type": "object",
130
130
  "description": "Membership credential re-issued to the new DID (opaque here)."
131
131
  },
132
- "roleVec": {
132
+ "roleVac": {
133
133
  "type": "object",
134
- "description": "Role credential re-issued to the new DID (opaque here)."
134
+ "description": "Role credential re-issued to the new DID (opaque here): 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."
135
135
  },
136
136
  "ext": {
137
137
  "$ref": "#/$defs/Ext"
@@ -165,7 +165,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
165
165
  "newDid",
166
166
  "method",
167
167
  "vmc",
168
- "roleVec"
168
+ "roleVac"
169
169
  ],
170
170
  "properties": {
171
171
  "newDid": {
@@ -183,9 +183,9 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
183
183
  "type": "object",
184
184
  "description": "Membership credential re-issued to the new DID (opaque here)."
185
185
  },
186
- "roleVec": {
186
+ "roleVac": {
187
187
  "type": "object",
188
- "description": "Role credential re-issued to the new DID (opaque here)."
188
+ "description": "Role credential re-issued to the new DID (opaque here): 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."
189
189
  },
190
190
  "ext": {
191
191
  "$ref": "#/$defs/Ext"
@@ -154,12 +154,12 @@ export const PAYLOAD_SCHEMA = {
154
154
  ],
155
155
  "description": "Id of the member's current Verifiable Membership Credential, if issued."
156
156
  },
157
- "currentRoleVecId": {
157
+ "currentRoleVacId": {
158
158
  "type": [
159
159
  "string",
160
160
  "null"
161
161
  ],
162
- "description": "Id of the member's current role Verifiable Endorsement Credential, if issued."
162
+ "description": "Id of the member's current role credential — a community-issued Verifiable Authority Credential conferring `role:<name>` — if issued. Formerly `currentRoleVecId`."
163
163
  },
164
164
  "personhood": {
165
165
  "type": "boolean",
@@ -298,12 +298,12 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
298
298
  ],
299
299
  "description": "Id of the member's current Verifiable Membership Credential, if issued."
300
300
  },
301
- "currentRoleVecId": {
301
+ "currentRoleVacId": {
302
302
  "type": [
303
303
  "string",
304
304
  "null"
305
305
  ],
306
- "description": "Id of the member's current role Verifiable Endorsement Credential, if issued."
306
+ "description": "Id of the member's current role credential — a community-issued Verifiable Authority Credential conferring `role:<name>` — if issued. Formerly `currentRoleVecId`."
307
307
  },
308
308
  "personhood": {
309
309
  "type": "boolean",
@@ -201,12 +201,12 @@ export const PAYLOAD_SCHEMA = {
201
201
  ],
202
202
  "description": "Id of the member's current Verifiable Membership Credential, if issued."
203
203
  },
204
- "currentRoleVecId": {
204
+ "currentRoleVacId": {
205
205
  "type": [
206
206
  "string",
207
207
  "null"
208
208
  ],
209
- "description": "Id of the member's current role Verifiable Endorsement Credential, if issued."
209
+ "description": "Id of the member's current role credential — a community-issued Verifiable Authority Credential conferring `role:<name>` — if issued. Formerly `currentRoleVecId`."
210
210
  },
211
211
  "personhood": {
212
212
  "type": "boolean",
@@ -345,12 +345,12 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
345
345
  ],
346
346
  "description": "Id of the member's current Verifiable Membership Credential, if issued."
347
347
  },
348
- "currentRoleVecId": {
348
+ "currentRoleVacId": {
349
349
  "type": [
350
350
  "string",
351
351
  "null"
352
352
  ],
353
- "description": "Id of the member's current role Verifiable Endorsement Credential, if issued."
353
+ "description": "Id of the member's current role credential — a community-issued Verifiable Authority Credential conferring `role:<name>` — if issued. Formerly `currentRoleVecId`."
354
354
  },
355
355
  "personhood": {
356
356
  "type": "boolean",
@@ -178,7 +178,7 @@ export const PAYLOAD_SCHEMA = {
178
178
  "format": "uri",
179
179
  "minLength": 1,
180
180
  "maxLength": 512,
181
- "description": "The endorsement type URI a counted vetting statement carries as `credentialSubject.endorsement.type`, as registered with the community via vtc/endorsement-types/register."
181
+ "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."
182
182
  },
183
183
  "minStatements": {
184
184
  "type": "integer",
@@ -245,7 +245,7 @@ export const PAYLOAD_SCHEMA = {
245
245
  "minLength": 1,
246
246
  "maxLength": 128,
247
247
  "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
248
- "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."
248
+ "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."
249
249
  }
250
250
  },
251
251
  "description": "How a vetter's eligibility is established."
@@ -487,7 +487,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
487
487
  "format": "uri",
488
488
  "minLength": 1,
489
489
  "maxLength": 512,
490
- "description": "The endorsement type URI a counted vetting statement carries as `credentialSubject.endorsement.type`, as registered with the community via vtc/endorsement-types/register."
490
+ "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."
491
491
  },
492
492
  "minStatements": {
493
493
  "type": "integer",
@@ -554,7 +554,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
554
554
  "minLength": 1,
555
555
  "maxLength": 128,
556
556
  "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
557
- "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."
557
+ "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."
558
558
  }
559
559
  },
560
560
  "description": "How a vetter's eligibility is established."
@@ -161,7 +161,7 @@ export const PAYLOAD_SCHEMA = {
161
161
  "format": "uri",
162
162
  "minLength": 1,
163
163
  "maxLength": 512,
164
- "description": "The endorsement type URI a counted vetting statement carries as `credentialSubject.endorsement.type`, as registered with the community via vtc/endorsement-types/register."
164
+ "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."
165
165
  },
166
166
  "minStatements": {
167
167
  "type": "integer",
@@ -228,7 +228,7 @@ export const PAYLOAD_SCHEMA = {
228
228
  "minLength": 1,
229
229
  "maxLength": 128,
230
230
  "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
231
- "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."
231
+ "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."
232
232
  }
233
233
  },
234
234
  "description": "How a vetter's eligibility is established."
@@ -460,7 +460,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
460
460
  "format": "uri",
461
461
  "minLength": 1,
462
462
  "maxLength": 512,
463
- "description": "The endorsement type URI a counted vetting statement carries as `credentialSubject.endorsement.type`, as registered with the community via vtc/endorsement-types/register."
463
+ "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."
464
464
  },
465
465
  "minStatements": {
466
466
  "type": "integer",
@@ -527,7 +527,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
527
527
  "minLength": 1,
528
528
  "maxLength": 128,
529
529
  "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
530
- "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."
530
+ "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."
531
531
  }
532
532
  },
533
533
  "description": "How a vetter's eligibility is established."
@@ -148,7 +148,7 @@ export const PAYLOAD_SCHEMA = {
148
148
  "format": "uri",
149
149
  "minLength": 1,
150
150
  "maxLength": 512,
151
- "description": "The endorsement type URI a counted vetting statement carries as `credentialSubject.endorsement.type`, as registered with the community via vtc/endorsement-types/register."
151
+ "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."
152
152
  },
153
153
  "minStatements": {
154
154
  "type": "integer",
@@ -215,7 +215,7 @@ export const PAYLOAD_SCHEMA = {
215
215
  "minLength": 1,
216
216
  "maxLength": 128,
217
217
  "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
218
- "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."
218
+ "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."
219
219
  }
220
220
  },
221
221
  "description": "How a vetter's eligibility is established."
@@ -447,7 +447,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
447
447
  "format": "uri",
448
448
  "minLength": 1,
449
449
  "maxLength": 512,
450
- "description": "The endorsement type URI a counted vetting statement carries as `credentialSubject.endorsement.type`, as registered with the community via vtc/endorsement-types/register."
450
+ "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."
451
451
  },
452
452
  "minStatements": {
453
453
  "type": "integer",
@@ -514,7 +514,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
514
514
  "minLength": 1,
515
515
  "maxLength": 128,
516
516
  "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
517
- "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."
517
+ "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."
518
518
  }
519
519
  },
520
520
  "description": "How a vetter's eligibility is established."
@@ -185,7 +185,7 @@ export const PAYLOAD_SCHEMA = {
185
185
  "minLength": 1,
186
186
  "maxLength": 128,
187
187
  "pattern": "^[A-Za-z][A-Za-z0-9]*$",
188
- "description": "The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`. Absent for a community-defined endorsement type that maps onto the generic `EndorsementCredential`."
188
+ "description": "The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`, `AuthorityCredential` or `StatementCredential`. Absent for a community-defined type outside the DTG catalog. A statement type is identified by its predicate, not by a subtype: every DTG statement is a `StatementCredential`, and which statements a community accepts is the set of predicates it registers with vtc/endorsement-types/register."
189
189
  },
190
190
  "CredentialTypeUri": {
191
191
  "title": "CredentialTypeUri",
@@ -302,7 +302,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
302
302
  "minLength": 1,
303
303
  "maxLength": 128,
304
304
  "pattern": "^[A-Za-z][A-Za-z0-9]*$",
305
- "description": "The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`. Absent for a community-defined endorsement type that maps onto the generic `EndorsementCredential`."
305
+ "description": "The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`, `AuthorityCredential` or `StatementCredential`. Absent for a community-defined type outside the DTG catalog. A statement type is identified by its predicate, not by a subtype: every DTG statement is a `StatementCredential`, and which statements a community accepts is the set of predicates it registers with vtc/endorsement-types/register."
306
306
  },
307
307
  "CredentialTypeUri": {
308
308
  "title": "CredentialTypeUri",
@@ -172,7 +172,7 @@ export const PAYLOAD_SCHEMA = {
172
172
  "minLength": 1,
173
173
  "maxLength": 128,
174
174
  "pattern": "^[A-Za-z][A-Za-z0-9]*$",
175
- "description": "The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`. Absent for a community-defined endorsement type that maps onto the generic `EndorsementCredential`."
175
+ "description": "The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`, `AuthorityCredential` or `StatementCredential`. Absent for a community-defined type outside the DTG catalog. A statement type is identified by its predicate, not by a subtype: every DTG statement is a `StatementCredential`, and which statements a community accepts is the set of predicates it registers with vtc/endorsement-types/register."
176
176
  },
177
177
  "CredentialTypeUri": {
178
178
  "title": "CredentialTypeUri",
@@ -283,7 +283,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
283
283
  "minLength": 1,
284
284
  "maxLength": 128,
285
285
  "pattern": "^[A-Za-z][A-Za-z0-9]*$",
286
- "description": "The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`. Absent for a community-defined endorsement type that maps onto the generic `EndorsementCredential`."
286
+ "description": "The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`, `AuthorityCredential` or `StatementCredential`. Absent for a community-defined type outside the DTG catalog. A statement type is identified by its predicate, not by a subtype: every DTG statement is a `StatementCredential`, and which statements a community accepts is the set of predicates it registers with vtc/endorsement-types/register."
287
287
  },
288
288
  "CredentialTypeUri": {
289
289
  "title": "CredentialTypeUri",
@@ -155,7 +155,7 @@ export const PAYLOAD_SCHEMA = {
155
155
  "minLength": 1,
156
156
  "maxLength": 128,
157
157
  "pattern": "^[A-Za-z][A-Za-z0-9]*$",
158
- "description": "The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`. Absent for a community-defined endorsement type that maps onto the generic `EndorsementCredential`."
158
+ "description": "The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`, `AuthorityCredential` or `StatementCredential`. Absent for a community-defined type outside the DTG catalog. A statement type is identified by its predicate, not by a subtype: every DTG statement is a `StatementCredential`, and which statements a community accepts is the set of predicates it registers with vtc/endorsement-types/register."
159
159
  },
160
160
  "CredentialTypeUri": {
161
161
  "title": "CredentialTypeUri",
@@ -266,7 +266,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
266
266
  "minLength": 1,
267
267
  "maxLength": 128,
268
268
  "pattern": "^[A-Za-z][A-Za-z0-9]*$",
269
- "description": "The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`. Absent for a community-defined endorsement type that maps onto the generic `EndorsementCredential`."
269
+ "description": "The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`, `AuthorityCredential` or `StatementCredential`. Absent for a community-defined type outside the DTG catalog. A statement type is identified by its predicate, not by a subtype: every DTG statement is a `StatementCredential`, and which statements a community accepts is the set of predicates it registers with vtc/endorsement-types/register."
270
270
  },
271
271
  "CredentialTypeUri": {
272
272
  "title": "CredentialTypeUri",