@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.
- package/CHANGELOG.md +33 -0
- package/dist/_shared/components.d.ts +15 -15
- package/dist/vetting/_shared/0.1/identity-vetting.d.ts +2 -2
- package/dist/vetting/_shared/0.1/identity-vetting.d.ts.map +1 -1
- package/dist/vetting/_shared/0.1/vetting-card.d.ts +1 -1
- package/dist/vetting/_shared/0.1/vetting.d.ts +1 -1
- package/dist/vetting/request/0.1/payload.d.ts +5 -5
- package/dist/vetting/request/0.1/payload.js +2 -2
- package/dist/vetting/request/0.1/payload.js.map +1 -1
- package/dist/vtc/_shared/0.1/endorsement-type.d.ts +1 -1
- package/dist/vtc/_shared/0.1/endorsement.d.ts +1 -1
- package/dist/vtc/auth/recognise/0.2/payload.d.ts +3 -3
- package/dist/vtc/auth/recognise/0.2/payload.js +1 -1
- package/dist/vtc/auth/recognise/0.2/payload.js.map +1 -1
- package/dist/vtc/community/profile/show/0.1/payload.d.ts +4 -4
- package/dist/vtc/community/profile/show/0.1/payload.js +2 -2
- package/dist/vtc/community/profile/show/0.1/payload.js.map +1 -1
- package/dist/vtc/community/profile/update/0.1/payload.d.ts +4 -4
- package/dist/vtc/community/profile/update/0.1/payload.js +2 -2
- package/dist/vtc/community/profile/update/0.1/payload.js.map +1 -1
- package/dist/vtc/config/export/0.1/payload.d.ts +4 -4
- package/dist/vtc/config/export/0.1/payload.js +2 -2
- package/dist/vtc/config/export/0.1/payload.js.map +1 -1
- package/dist/vtc/config/import/0.1/payload.d.ts +4 -4
- package/dist/vtc/config/import/0.1/payload.js +2 -2
- package/dist/vtc/config/import/0.1/payload.js.map +1 -1
- package/dist/vtc/endorsement-types/list/0.1/payload.d.ts +8 -8
- package/dist/vtc/endorsement-types/list/0.1/payload.js +4 -4
- package/dist/vtc/endorsement-types/list/0.1/payload.js.map +1 -1
- package/dist/vtc/endorsement-types/register/0.1/payload.d.ts +16 -11
- package/dist/vtc/endorsement-types/register/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/endorsement-types/register/0.1/payload.js +7 -6
- package/dist/vtc/endorsement-types/register/0.1/payload.js.map +1 -1
- package/dist/vtc/endorsements/issue/0.1/payload.d.ts +42 -42
- package/dist/vtc/endorsements/issue/0.1/payload.js +19 -19
- package/dist/vtc/endorsements/issue/0.1/payload.js.map +1 -1
- package/dist/vtc/endorsements/list/0.1/payload.d.ts +31 -31
- package/dist/vtc/endorsements/list/0.1/payload.js +15 -15
- package/dist/vtc/endorsements/list/0.1/payload.js.map +1 -1
- package/dist/vtc/endorsements/revoke/0.1/payload.d.ts +5 -5
- package/dist/vtc/endorsements/revoke/0.1/payload.js +2 -2
- package/dist/vtc/endorsements/revoke/0.1/payload.js.map +1 -1
- package/dist/vtc/endorsements/show/0.1/payload.d.ts +28 -28
- package/dist/vtc/endorsements/show/0.1/payload.js +14 -14
- package/dist/vtc/endorsements/show/0.1/payload.js.map +1 -1
- package/dist/vtc/join-requests/decide/0.1/payload.d.ts +10 -10
- package/dist/vtc/join-requests/decide/0.1/payload.js +4 -4
- package/dist/vtc/join-requests/decide/0.1/payload.js.map +1 -1
- package/dist/vtc/join-requests/manifest/0.2/payload.d.ts +10 -10
- package/dist/vtc/join-requests/manifest/0.2/payload.js +4 -4
- package/dist/vtc/join-requests/manifest/0.2/payload.js.map +1 -1
- package/dist/vtc/members/credentials/0.1/payload.d.ts +5 -5
- package/dist/vtc/members/credentials/0.1/payload.js +2 -2
- package/dist/vtc/members/credentials/0.1/payload.js.map +1 -1
- package/dist/vtc/members/list/0.1/payload.d.ts +8 -8
- package/dist/vtc/members/list/0.1/payload.js +4 -4
- package/dist/vtc/members/list/0.1/payload.js.map +1 -1
- package/dist/vtc/members/personhood/assert/0.1/payload.d.ts +14 -14
- package/dist/vtc/members/personhood/assert/0.1/payload.js +6 -6
- package/dist/vtc/members/personhood/assert/0.1/payload.js.map +1 -1
- package/dist/vtc/members/personhood/revoke/0.1/payload.d.ts +10 -10
- package/dist/vtc/members/personhood/revoke/0.1/payload.js +4 -4
- package/dist/vtc/members/personhood/revoke/0.1/payload.js.map +1 -1
- package/dist/vtc/members/renew/0.1/payload.d.ts +14 -14
- package/dist/vtc/members/renew/0.1/payload.js +6 -6
- package/dist/vtc/members/renew/0.1/payload.js.map +1 -1
- package/dist/vtc/members/rotate/0.1/payload.d.ts +14 -14
- package/dist/vtc/members/rotate/0.1/payload.js +6 -6
- package/dist/vtc/members/rotate/0.1/payload.js.map +1 -1
- package/dist/vtc/members/show/0.1/payload.d.ts +8 -8
- package/dist/vtc/members/show/0.1/payload.js +4 -4
- package/dist/vtc/members/show/0.1/payload.js.map +1 -1
- package/dist/vtc/members/update/0.1/payload.d.ts +8 -8
- package/dist/vtc/members/update/0.1/payload.js +4 -4
- package/dist/vtc/members/update/0.1/payload.js.map +1 -1
- package/dist/vtc/schemas/accepts/list/0.1/payload.d.ts +8 -8
- package/dist/vtc/schemas/accepts/list/0.1/payload.js +4 -4
- package/dist/vtc/schemas/accepts/list/0.1/payload.js.map +1 -1
- package/dist/vtc/schemas/accepts/register/0.1/payload.d.ts +8 -8
- package/dist/vtc/schemas/accepts/register/0.1/payload.js +4 -4
- package/dist/vtc/schemas/accepts/register/0.1/payload.js.map +1 -1
- package/dist/vtc/schemas/accepts/show/0.1/payload.d.ts +8 -8
- package/dist/vtc/schemas/accepts/show/0.1/payload.js +4 -4
- package/dist/vtc/schemas/accepts/show/0.1/payload.js.map +1 -1
- package/dist/vtc/schemas/list/0.1/payload.d.ts +4 -4
- package/dist/vtc/schemas/list/0.1/payload.js +2 -2
- package/dist/vtc/schemas/list/0.1/payload.js.map +1 -1
- package/dist/vtc/schemas/register/0.1/payload.d.ts +4 -4
- package/dist/vtc/schemas/register/0.1/payload.js +2 -2
- package/dist/vtc/schemas/register/0.1/payload.js.map +1 -1
- package/dist/vtc/schemas/show/0.1/payload.d.ts +4 -4
- package/dist/vtc/schemas/show/0.1/payload.js +2 -2
- package/dist/vtc/schemas/show/0.1/payload.js.map +1 -1
- package/dist/vtc/vetting/vetters/grant/0.1/payload.d.ts +13 -13
- package/dist/vtc/vetting/vetters/grant/0.1/payload.js +5 -5
- package/dist/vtc/vetting/vetters/grant/0.1/payload.js.map +1 -1
- package/dist/witness/session/submit/0.1/payload.d.ts +5 -5
- package/dist/witness/session/submit/0.1/payload.js +2 -2
- package/dist/witness/session/submit/0.1/payload.js.map +1 -1
- package/package.json +1 -1
- package/src/_shared/components.ts +15 -15
- package/src/vetting/_shared/0.1/identity-vetting.ts +2 -2
- package/src/vetting/_shared/0.1/vetting-card.ts +1 -1
- package/src/vetting/_shared/0.1/vetting.ts +1 -1
- package/src/vetting/request/0.1/payload.ts +3 -3
- package/src/vtc/_shared/0.1/endorsement-type.ts +1 -1
- package/src/vtc/_shared/0.1/endorsement.ts +1 -1
- package/src/vtc/auth/recognise/0.2/payload.ts +2 -2
- package/src/vtc/community/profile/show/0.1/payload.ts +2 -2
- package/src/vtc/community/profile/update/0.1/payload.ts +2 -2
- package/src/vtc/config/export/0.1/payload.ts +2 -2
- package/src/vtc/config/import/0.1/payload.ts +2 -2
- package/src/vtc/endorsement-types/list/0.1/payload.ts +4 -4
- package/src/vtc/endorsement-types/register/0.1/payload.ts +11 -7
- package/src/vtc/endorsements/issue/0.1/payload.ts +23 -23
- package/src/vtc/endorsements/list/0.1/payload.ts +16 -16
- package/src/vtc/endorsements/revoke/0.1/payload.ts +3 -3
- package/src/vtc/endorsements/show/0.1/payload.ts +14 -14
- package/src/vtc/join-requests/decide/0.1/payload.ts +6 -6
- package/src/vtc/join-requests/manifest/0.2/payload.ts +6 -6
- package/src/vtc/members/credentials/0.1/payload.ts +3 -3
- package/src/vtc/members/list/0.1/payload.ts +4 -4
- package/src/vtc/members/personhood/assert/0.1/payload.ts +8 -8
- package/src/vtc/members/personhood/revoke/0.1/payload.ts +6 -6
- package/src/vtc/members/renew/0.1/payload.ts +8 -8
- package/src/vtc/members/rotate/0.1/payload.ts +8 -8
- package/src/vtc/members/show/0.1/payload.ts +4 -4
- package/src/vtc/members/update/0.1/payload.ts +4 -4
- package/src/vtc/schemas/accepts/list/0.1/payload.ts +4 -4
- package/src/vtc/schemas/accepts/register/0.1/payload.ts +4 -4
- package/src/vtc/schemas/accepts/show/0.1/payload.ts +4 -4
- package/src/vtc/schemas/list/0.1/payload.ts +2 -2
- package/src/vtc/schemas/register/0.1/payload.ts +2 -2
- package/src/vtc/schemas/show/0.1/payload.ts +2 -2
- package/src/vtc/vetting/vetters/grant/0.1/payload.ts +8 -8
- package/src/witness/session/submit/0.1/payload.ts +3 -3
|
@@ -101,31 +101,31 @@ export const PAYLOAD_SCHEMA = {
|
|
|
101
101
|
"endorsementId": {
|
|
102
102
|
"type": "string",
|
|
103
103
|
"minLength": 1,
|
|
104
|
-
"description": "Community-scoped identifier for this
|
|
104
|
+
"description": "Community-scoped identifier for this row. The name is legacy; it identifies a statement, and vtc/endorsements/revoke also takes the `endorsementId` of a role credential issued by vtc/vetting/vetters/grant."
|
|
105
105
|
},
|
|
106
106
|
"typeUri": {
|
|
107
107
|
"type": "string",
|
|
108
108
|
"minLength": 1,
|
|
109
109
|
"maxLength": 512,
|
|
110
|
-
"description": "
|
|
110
|
+
"description": "What the row records. A registered predicate IRI: a statement (StatementCredential) whose `credentialSubject.predicate` it is — see vtc/endorsement-types/*. `role:vetter`: a vetter role credential (Verifiable Authority Credential) issued by vtc/vetting/vetters/grant. `IdentityVerificationCredential`: the community's identity-verification credential, a plain W3C VC (not a DTGCredential). The two reserved values are not IRIs, so they never collide with a registered predicate."
|
|
111
111
|
},
|
|
112
112
|
"subjectDid": {
|
|
113
113
|
"type": "string",
|
|
114
114
|
"pattern": "^did:",
|
|
115
|
-
"description": "DID of the
|
|
115
|
+
"description": "DID of the statement's subject (becomes credentialSubject.id)."
|
|
116
116
|
},
|
|
117
117
|
"claim": {
|
|
118
118
|
"type": "object",
|
|
119
|
-
"description": "The attested claim body
|
|
119
|
+
"description": "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one."
|
|
120
120
|
},
|
|
121
121
|
"issued": {
|
|
122
122
|
"$ref": "#/$defs/CredentialReference",
|
|
123
|
-
"description": "A pointer to the issued
|
|
123
|
+
"description": "A pointer to the issued statement credential — its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it."
|
|
124
124
|
},
|
|
125
125
|
"statusListIndex": {
|
|
126
126
|
"type": "integer",
|
|
127
127
|
"minimum": 0,
|
|
128
|
-
"description": "The
|
|
128
|
+
"description": "The statement's slot on the community's shared Revocation status list, referenced by its `credentialStatus`. Published, so a foreign verifier can check revocation without contacting this community."
|
|
129
129
|
},
|
|
130
130
|
"revokedAt": {
|
|
131
131
|
"type": [
|
|
@@ -133,7 +133,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
133
133
|
"null"
|
|
134
134
|
],
|
|
135
135
|
"format": "date-time",
|
|
136
|
-
"description": "When the
|
|
136
|
+
"description": "When the statement was revoked, or null while live."
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
},
|
|
@@ -223,31 +223,31 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
223
223
|
"endorsementId": {
|
|
224
224
|
"type": "string",
|
|
225
225
|
"minLength": 1,
|
|
226
|
-
"description": "Community-scoped identifier for this
|
|
226
|
+
"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."
|
|
227
227
|
},
|
|
228
228
|
"typeUri": {
|
|
229
229
|
"type": "string",
|
|
230
230
|
"minLength": 1,
|
|
231
231
|
"maxLength": 512,
|
|
232
|
-
"description": "
|
|
232
|
+
"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."
|
|
233
233
|
},
|
|
234
234
|
"subjectDid": {
|
|
235
235
|
"type": "string",
|
|
236
236
|
"pattern": "^did:",
|
|
237
|
-
"description": "DID of the
|
|
237
|
+
"description": "DID of the statement's subject (becomes credentialSubject.id)."
|
|
238
238
|
},
|
|
239
239
|
"claim": {
|
|
240
240
|
"type": "object",
|
|
241
|
-
"description": "The attested claim body
|
|
241
|
+
"description": "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one."
|
|
242
242
|
},
|
|
243
243
|
"issued": {
|
|
244
244
|
"$ref": "#/$defs/CredentialReference",
|
|
245
|
-
"description": "A pointer to the issued
|
|
245
|
+
"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."
|
|
246
246
|
},
|
|
247
247
|
"statusListIndex": {
|
|
248
248
|
"type": "integer",
|
|
249
249
|
"minimum": 0,
|
|
250
|
-
"description": "The
|
|
250
|
+
"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."
|
|
251
251
|
},
|
|
252
252
|
"revokedAt": {
|
|
253
253
|
"type": [
|
|
@@ -255,7 +255,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
255
255
|
"null"
|
|
256
256
|
],
|
|
257
257
|
"format": "date-time",
|
|
258
|
-
"description": "When the
|
|
258
|
+
"description": "When the statement was revoked, or null while live."
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
},
|
|
@@ -37,9 +37,9 @@ export interface VTCJoinRequestsDecideResponsePayload {
|
|
|
37
37
|
*/
|
|
38
38
|
vmc?: {} | null;
|
|
39
39
|
/**
|
|
40
|
-
* The
|
|
40
|
+
* 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.
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
roleVac?: {} | null;
|
|
43
43
|
ext?: Ext;
|
|
44
44
|
}
|
|
45
45
|
|
|
@@ -131,12 +131,12 @@ export const PAYLOAD_SCHEMA = {
|
|
|
131
131
|
],
|
|
132
132
|
"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."
|
|
133
133
|
},
|
|
134
|
-
"
|
|
134
|
+
"roleVac": {
|
|
135
135
|
"type": [
|
|
136
136
|
"object",
|
|
137
137
|
"null"
|
|
138
138
|
],
|
|
139
|
-
"description": "The
|
|
139
|
+
"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."
|
|
140
140
|
},
|
|
141
141
|
"ext": {
|
|
142
142
|
"$ref": "#/$defs/Ext"
|
|
@@ -191,12 +191,12 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
191
191
|
],
|
|
192
192
|
"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."
|
|
193
193
|
},
|
|
194
|
-
"
|
|
194
|
+
"roleVac": {
|
|
195
195
|
"type": [
|
|
196
196
|
"object",
|
|
197
197
|
"null"
|
|
198
198
|
],
|
|
199
|
-
"description": "The
|
|
199
|
+
"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."
|
|
200
200
|
},
|
|
201
201
|
"ext": {
|
|
202
202
|
"$ref": "#/$defs/Ext"
|
|
@@ -67,7 +67,7 @@ export interface VettingRequirements {
|
|
|
67
67
|
*/
|
|
68
68
|
version: string;
|
|
69
69
|
/**
|
|
70
|
-
* The
|
|
70
|
+
* 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.
|
|
71
71
|
*/
|
|
72
72
|
statementType: string;
|
|
73
73
|
/**
|
|
@@ -106,7 +106,7 @@ export interface VettingRequirements {
|
|
|
106
106
|
*/
|
|
107
107
|
eligibleVetters: {
|
|
108
108
|
/**
|
|
109
|
-
* The role
|
|
109
|
+
* 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.
|
|
110
110
|
*/
|
|
111
111
|
role: string;
|
|
112
112
|
};
|
|
@@ -274,7 +274,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
274
274
|
"format": "uri",
|
|
275
275
|
"minLength": 1,
|
|
276
276
|
"maxLength": 512,
|
|
277
|
-
"description": "The
|
|
277
|
+
"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."
|
|
278
278
|
},
|
|
279
279
|
"minStatements": {
|
|
280
280
|
"type": "integer",
|
|
@@ -341,7 +341,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
341
341
|
"minLength": 1,
|
|
342
342
|
"maxLength": 128,
|
|
343
343
|
"pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
|
|
344
|
-
"description": "The role
|
|
344
|
+
"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."
|
|
345
345
|
}
|
|
346
346
|
},
|
|
347
347
|
"description": "How a vetter's eligibility is established."
|
|
@@ -637,7 +637,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
637
637
|
"format": "uri",
|
|
638
638
|
"minLength": 1,
|
|
639
639
|
"maxLength": 512,
|
|
640
|
-
"description": "The
|
|
640
|
+
"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."
|
|
641
641
|
},
|
|
642
642
|
"minStatements": {
|
|
643
643
|
"type": "integer",
|
|
@@ -704,7 +704,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
704
704
|
"minLength": 1,
|
|
705
705
|
"maxLength": 128,
|
|
706
706
|
"pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
|
|
707
|
-
"description": "The role
|
|
707
|
+
"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."
|
|
708
708
|
}
|
|
709
709
|
},
|
|
710
710
|
"description": "How a vetter's eligibility is established."
|
|
@@ -32,7 +32,7 @@ export interface VTCMembersCredentialsResponsePayload {
|
|
|
32
32
|
*/
|
|
33
33
|
membershipCredential?: {};
|
|
34
34
|
/**
|
|
35
|
-
* The role Verifiable
|
|
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
|
|
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
|
|
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
|
-
"
|
|
197
|
+
"currentRoleVacId": {
|
|
198
198
|
"type": [
|
|
199
199
|
"string",
|
|
200
200
|
"null"
|
|
201
201
|
],
|
|
202
|
-
"description": "Id of the member's current role Verifiable
|
|
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
|
-
"
|
|
358
|
+
"currentRoleVacId": {
|
|
359
359
|
"type": [
|
|
360
360
|
"string",
|
|
361
361
|
"null"
|
|
362
362
|
],
|
|
363
|
-
"description": "Id of the member's current role Verifiable
|
|
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
|
-
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
|
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
|
-
|
|
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
|
-
"
|
|
100
|
+
"roleVac": {
|
|
101
101
|
"type": "object",
|
|
102
|
-
"description": "Newly-minted role credential
|
|
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
|
-
"
|
|
150
|
+
"roleVac": {
|
|
151
151
|
"type": "object",
|
|
152
|
-
"description": "Newly-minted role credential
|
|
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
|
|
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
|
-
|
|
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
|
-
"
|
|
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
|
-
"
|
|
90
|
+
"roleVac": {
|
|
91
91
|
"type": "object",
|
|
92
|
-
"description": "The freshly-issued role Verifiable
|
|
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
|
-
"
|
|
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
|
-
"
|
|
146
|
+
"roleVac": {
|
|
147
147
|
"type": "object",
|
|
148
|
-
"description": "The freshly-issued role Verifiable
|
|
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
|
-
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
157
|
+
"currentRoleVacId": {
|
|
158
158
|
"type": [
|
|
159
159
|
"string",
|
|
160
160
|
"null"
|
|
161
161
|
],
|
|
162
|
-
"description": "Id of the member's current role Verifiable
|
|
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
|
-
"
|
|
301
|
+
"currentRoleVacId": {
|
|
302
302
|
"type": [
|
|
303
303
|
"string",
|
|
304
304
|
"null"
|
|
305
305
|
],
|
|
306
|
-
"description": "Id of the member's current role Verifiable
|
|
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
|
-
"
|
|
204
|
+
"currentRoleVacId": {
|
|
205
205
|
"type": [
|
|
206
206
|
"string",
|
|
207
207
|
"null"
|
|
208
208
|
],
|
|
209
|
-
"description": "Id of the member's current role Verifiable
|
|
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
|
-
"
|
|
348
|
+
"currentRoleVacId": {
|
|
349
349
|
"type": [
|
|
350
350
|
"string",
|
|
351
351
|
"null"
|
|
352
352
|
],
|
|
353
|
-
"description": "Id of the member's current role Verifiable
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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."
|