@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.
- package/CHANGELOG.md +43 -0
- package/dist/_shared/components.d.ts +14 -14
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- 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/vta/attestation/mnemonic-status/0.1/payload.d.ts +281 -0
- package/dist/vta/attestation/mnemonic-status/0.1/payload.d.ts.map +1 -0
- package/dist/vta/attestation/mnemonic-status/0.1/payload.js +157 -0
- package/dist/vta/attestation/mnemonic-status/0.1/payload.js.map +1 -0
- package/dist/vta/metrics/show/0.1/payload.d.ts +674 -0
- package/dist/vta/metrics/show/0.1/payload.d.ts.map +1 -0
- package/dist/vta/metrics/show/0.1/payload.js +387 -0
- package/dist/vta/metrics/show/0.1/payload.js.map +1 -0
- 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/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/hidden/publish/0.1/payload.d.ts +1385 -0
- package/dist/vtc/vetting/hidden/publish/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/vetting/hidden/publish/0.1/payload.js +735 -0
- package/dist/vtc/vetting/hidden/publish/0.1/payload.js.map +1 -0
- 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 +14 -14
- package/src/index.ts +3 -0
- 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/vta/attestation/mnemonic-status/0.1/payload.ts +203 -0
- package/src/vta/metrics/show/0.1/payload.ts +418 -0
- 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/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/hidden/publish/0.1/payload.ts +905 -0
- package/src/vtc/vetting/vetters/grant/0.1/payload.ts +8 -8
- package/src/witness/session/submit/0.1/payload.ts +3 -3
|
@@ -110,7 +110,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
110
110
|
"type": "string",
|
|
111
111
|
"minLength": 1,
|
|
112
112
|
"maxLength": 512,
|
|
113
|
-
"description": "The
|
|
113
|
+
"description": "The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration."
|
|
114
114
|
},
|
|
115
115
|
"description": {
|
|
116
116
|
"type": "string",
|
|
@@ -118,7 +118,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
118
118
|
},
|
|
119
119
|
"claimSchema": {
|
|
120
120
|
"type": "object",
|
|
121
|
-
"description": "Optional JSON Schema
|
|
121
|
+
"description": "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes."
|
|
122
122
|
},
|
|
123
123
|
"createdAt": {
|
|
124
124
|
"type": "string",
|
|
@@ -187,7 +187,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
187
187
|
"type": "string",
|
|
188
188
|
"minLength": 1,
|
|
189
189
|
"maxLength": 512,
|
|
190
|
-
"description": "The
|
|
190
|
+
"description": "The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration."
|
|
191
191
|
},
|
|
192
192
|
"description": {
|
|
193
193
|
"type": "string",
|
|
@@ -195,7 +195,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
195
195
|
},
|
|
196
196
|
"claimSchema": {
|
|
197
197
|
"type": "object",
|
|
198
|
-
"description": "Optional JSON Schema
|
|
198
|
+
"description": "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes."
|
|
199
199
|
},
|
|
200
200
|
"createdAt": {
|
|
201
201
|
"type": "string",
|
|
@@ -7,10 +7,13 @@ import type { EndorsementType, Ext } from "../../../../_shared/components.js";
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
export interface VTCEndorsementTypesRegisterPayload {
|
|
10
|
+
/**
|
|
11
|
+
* The predicate IRI to accept: a DTG VSC predicate registry IRI or a community-namespace IRI.
|
|
12
|
+
*/
|
|
10
13
|
typeUri: string;
|
|
11
14
|
description?: string;
|
|
12
15
|
/**
|
|
13
|
-
* Optional JSON Schema
|
|
16
|
+
* Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here).
|
|
14
17
|
*/
|
|
15
18
|
claimSchema?: {};
|
|
16
19
|
ext?: Ext;
|
|
@@ -57,7 +60,8 @@ export const PAYLOAD_SCHEMA = {
|
|
|
57
60
|
"typeUri": {
|
|
58
61
|
"type": "string",
|
|
59
62
|
"minLength": 1,
|
|
60
|
-
"maxLength": 512
|
|
63
|
+
"maxLength": 512,
|
|
64
|
+
"description": "The predicate IRI to accept: a DTG VSC predicate registry IRI or a community-namespace IRI."
|
|
61
65
|
},
|
|
62
66
|
"description": {
|
|
63
67
|
"type": "string",
|
|
@@ -65,7 +69,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
65
69
|
},
|
|
66
70
|
"claimSchema": {
|
|
67
71
|
"type": "object",
|
|
68
|
-
"description": "Optional JSON Schema
|
|
72
|
+
"description": "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here)."
|
|
69
73
|
},
|
|
70
74
|
"ext": {
|
|
71
75
|
"$ref": "#/$defs/Ext"
|
|
@@ -112,7 +116,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
112
116
|
"type": "string",
|
|
113
117
|
"minLength": 1,
|
|
114
118
|
"maxLength": 512,
|
|
115
|
-
"description": "The
|
|
119
|
+
"description": "The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration."
|
|
116
120
|
},
|
|
117
121
|
"description": {
|
|
118
122
|
"type": "string",
|
|
@@ -120,7 +124,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
120
124
|
},
|
|
121
125
|
"claimSchema": {
|
|
122
126
|
"type": "object",
|
|
123
|
-
"description": "Optional JSON Schema
|
|
127
|
+
"description": "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes."
|
|
124
128
|
},
|
|
125
129
|
"createdAt": {
|
|
126
130
|
"type": "string",
|
|
@@ -180,7 +184,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
180
184
|
"type": "string",
|
|
181
185
|
"minLength": 1,
|
|
182
186
|
"maxLength": 512,
|
|
183
|
-
"description": "The
|
|
187
|
+
"description": "The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration."
|
|
184
188
|
},
|
|
185
189
|
"description": {
|
|
186
190
|
"type": "string",
|
|
@@ -188,7 +192,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
188
192
|
},
|
|
189
193
|
"claimSchema": {
|
|
190
194
|
"type": "object",
|
|
191
|
-
"description": "Optional JSON Schema
|
|
195
|
+
"description": "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes."
|
|
192
196
|
},
|
|
193
197
|
"createdAt": {
|
|
194
198
|
"type": "string",
|
|
@@ -8,15 +8,15 @@ import type { CredentialId, CredentialReference, Endorsement, Ext } from "../../
|
|
|
8
8
|
|
|
9
9
|
export interface VTCEndorsementsIssuePayload {
|
|
10
10
|
/**
|
|
11
|
-
* DID of the
|
|
11
|
+
* DID of the statement's subject (becomes credentialSubject.id).
|
|
12
12
|
*/
|
|
13
13
|
subjectDid: string;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* The predicate IRI the statement carries as `credentialSubject.predicate` — `https://registry.trustoverip.org/dtg/vsc/endorses/1` for a favourable claim with community-defined content, or another predicate the community registered. It MUST already be registered via vtc/endorsement-types/register; unregistered predicates are refused.
|
|
16
16
|
*/
|
|
17
17
|
typeUri: string;
|
|
18
18
|
/**
|
|
19
|
-
* The claim body to attest. Capped at 8 KiB serialised, and validated against the
|
|
19
|
+
* The claim body to attest, issued as the statement's `credentialSubject.object.value`. Capped at 8 KiB serialised, and validated against the registered predicate's claimSchema when it declares one.
|
|
20
20
|
*/
|
|
21
21
|
claim: {};
|
|
22
22
|
/**
|
|
@@ -28,7 +28,7 @@ export interface VTCEndorsementsIssuePayload {
|
|
|
28
28
|
export interface VTCEndorsementsIssueResponsePayload {
|
|
29
29
|
endorsement: Endorsement;
|
|
30
30
|
/**
|
|
31
|
-
* The signed
|
|
31
|
+
* The signed statement just minted: a DTG Verifiable Statement Credential (`StatementCredential`) issued by the community with `issuerScope` public, `credentialSubject.predicate` = `typeUri` and `credentialSubject.object.value` = `claim`. Present only here: handing back the credential is the point of an issue call, and the issuer is the only party that can. Reads carry `endorsement.issued` — the reference — instead.
|
|
32
32
|
*/
|
|
33
33
|
credential: {};
|
|
34
34
|
ext?: Ext;
|
|
@@ -73,18 +73,18 @@ export const PAYLOAD_SCHEMA = {
|
|
|
73
73
|
"subjectDid": {
|
|
74
74
|
"type": "string",
|
|
75
75
|
"pattern": "^did:",
|
|
76
|
-
"description": "DID of the
|
|
76
|
+
"description": "DID of the statement's subject (becomes credentialSubject.id)."
|
|
77
77
|
},
|
|
78
78
|
"typeUri": {
|
|
79
79
|
"type": "string",
|
|
80
80
|
"minLength": 1,
|
|
81
81
|
"maxLength": 512,
|
|
82
|
-
"description": "
|
|
82
|
+
"description": "The predicate IRI the statement carries as `credentialSubject.predicate` — `https://registry.trustoverip.org/dtg/vsc/endorses/1` for a favourable claim with community-defined content, or another predicate the community registered. It MUST already be registered via vtc/endorsement-types/register; unregistered predicates are refused."
|
|
83
83
|
},
|
|
84
84
|
"claim": {
|
|
85
85
|
"type": "object",
|
|
86
86
|
"minProperties": 1,
|
|
87
|
-
"description": "The claim body to attest. Capped at 8 KiB serialised, and validated against the
|
|
87
|
+
"description": "The claim body to attest, issued as the statement's `credentialSubject.object.value`. Capped at 8 KiB serialised, and validated against the registered predicate's claimSchema when it declares one."
|
|
88
88
|
},
|
|
89
89
|
"validitySeconds": {
|
|
90
90
|
"type": "integer",
|
|
@@ -111,7 +111,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
111
111
|
},
|
|
112
112
|
"credential": {
|
|
113
113
|
"type": "object",
|
|
114
|
-
"description": "The signed
|
|
114
|
+
"description": "The signed statement just minted: a DTG Verifiable Statement Credential (`StatementCredential`) issued by the community with `issuerScope` public, `credentialSubject.predicate` = `typeUri` and `credentialSubject.object.value` = `claim`. Present only here: handing back the credential is the point of an issue call, and the issuer is the only party that can. Reads carry `endorsement.issued` — the reference — instead."
|
|
115
115
|
},
|
|
116
116
|
"ext": {
|
|
117
117
|
"$ref": "#/$defs/Ext"
|
|
@@ -144,31 +144,31 @@ export const PAYLOAD_SCHEMA = {
|
|
|
144
144
|
"endorsementId": {
|
|
145
145
|
"type": "string",
|
|
146
146
|
"minLength": 1,
|
|
147
|
-
"description": "Community-scoped identifier for this
|
|
147
|
+
"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."
|
|
148
148
|
},
|
|
149
149
|
"typeUri": {
|
|
150
150
|
"type": "string",
|
|
151
151
|
"minLength": 1,
|
|
152
152
|
"maxLength": 512,
|
|
153
|
-
"description": "The registered
|
|
153
|
+
"description": "The registered predicate IRI the statement carries as `credentialSubject.predicate`; see vtc/endorsement-types/*."
|
|
154
154
|
},
|
|
155
155
|
"subjectDid": {
|
|
156
156
|
"type": "string",
|
|
157
157
|
"pattern": "^did:",
|
|
158
|
-
"description": "DID of the
|
|
158
|
+
"description": "DID of the statement's subject (becomes credentialSubject.id)."
|
|
159
159
|
},
|
|
160
160
|
"claim": {
|
|
161
161
|
"type": "object",
|
|
162
|
-
"description": "The attested claim body
|
|
162
|
+
"description": "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one."
|
|
163
163
|
},
|
|
164
164
|
"issued": {
|
|
165
165
|
"$ref": "#/$defs/CredentialReference",
|
|
166
|
-
"description": "A pointer to the issued
|
|
166
|
+
"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."
|
|
167
167
|
},
|
|
168
168
|
"statusListIndex": {
|
|
169
169
|
"type": "integer",
|
|
170
170
|
"minimum": 0,
|
|
171
|
-
"description": "The
|
|
171
|
+
"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."
|
|
172
172
|
},
|
|
173
173
|
"revokedAt": {
|
|
174
174
|
"type": [
|
|
@@ -176,7 +176,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
176
176
|
"null"
|
|
177
177
|
],
|
|
178
178
|
"format": "date-time",
|
|
179
|
-
"description": "When the
|
|
179
|
+
"description": "When the statement was revoked, or null while live."
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
},
|
|
@@ -238,7 +238,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
238
238
|
},
|
|
239
239
|
"credential": {
|
|
240
240
|
"type": "object",
|
|
241
|
-
"description": "The signed
|
|
241
|
+
"description": "The signed statement just minted: a DTG Verifiable Statement Credential (`StatementCredential`) issued by the community with `issuerScope` public, `credentialSubject.predicate` = `typeUri` and `credentialSubject.object.value` = `claim`. Present only here: handing back the credential is the point of an issue call, and the issuer is the only party that can. Reads carry `endorsement.issued` — the reference — instead."
|
|
242
242
|
},
|
|
243
243
|
"ext": {
|
|
244
244
|
"$ref": "#/$defs/Ext"
|
|
@@ -271,31 +271,31 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
271
271
|
"endorsementId": {
|
|
272
272
|
"type": "string",
|
|
273
273
|
"minLength": 1,
|
|
274
|
-
"description": "Community-scoped identifier for this
|
|
274
|
+
"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."
|
|
275
275
|
},
|
|
276
276
|
"typeUri": {
|
|
277
277
|
"type": "string",
|
|
278
278
|
"minLength": 1,
|
|
279
279
|
"maxLength": 512,
|
|
280
|
-
"description": "The registered
|
|
280
|
+
"description": "The registered predicate IRI the statement carries as `credentialSubject.predicate`; see vtc/endorsement-types/*."
|
|
281
281
|
},
|
|
282
282
|
"subjectDid": {
|
|
283
283
|
"type": "string",
|
|
284
284
|
"pattern": "^did:",
|
|
285
|
-
"description": "DID of the
|
|
285
|
+
"description": "DID of the statement's subject (becomes credentialSubject.id)."
|
|
286
286
|
},
|
|
287
287
|
"claim": {
|
|
288
288
|
"type": "object",
|
|
289
|
-
"description": "The attested claim body
|
|
289
|
+
"description": "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one."
|
|
290
290
|
},
|
|
291
291
|
"issued": {
|
|
292
292
|
"$ref": "#/$defs/CredentialReference",
|
|
293
|
-
"description": "A pointer to the issued
|
|
293
|
+
"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."
|
|
294
294
|
},
|
|
295
295
|
"statusListIndex": {
|
|
296
296
|
"type": "integer",
|
|
297
297
|
"minimum": 0,
|
|
298
|
-
"description": "The
|
|
298
|
+
"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."
|
|
299
299
|
},
|
|
300
300
|
"revokedAt": {
|
|
301
301
|
"type": [
|
|
@@ -303,7 +303,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
303
303
|
"null"
|
|
304
304
|
],
|
|
305
305
|
"format": "date-time",
|
|
306
|
-
"description": "When the
|
|
306
|
+
"description": "When the statement was revoked, or null while live."
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
309
|
},
|
|
@@ -8,7 +8,7 @@ import type { CredentialId, CredentialReference, Endorsement, Ext } from "../../
|
|
|
8
8
|
|
|
9
9
|
export interface VTCEndorsementsListPayload {
|
|
10
10
|
/**
|
|
11
|
-
* Filter to
|
|
11
|
+
* Filter to statements under this registered predicate IRI (their `credentialSubject.predicate`).
|
|
12
12
|
*/
|
|
13
13
|
typeUri?: string;
|
|
14
14
|
/**
|
|
@@ -77,7 +77,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
77
77
|
"type": "string",
|
|
78
78
|
"minLength": 1,
|
|
79
79
|
"maxLength": 512,
|
|
80
|
-
"description": "Filter to
|
|
80
|
+
"description": "Filter to statements under this registered predicate IRI (their `credentialSubject.predicate`)."
|
|
81
81
|
},
|
|
82
82
|
"subjectDid": {
|
|
83
83
|
"type": "string",
|
|
@@ -163,31 +163,31 @@ export const PAYLOAD_SCHEMA = {
|
|
|
163
163
|
"endorsementId": {
|
|
164
164
|
"type": "string",
|
|
165
165
|
"minLength": 1,
|
|
166
|
-
"description": "Community-scoped identifier for this
|
|
166
|
+
"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."
|
|
167
167
|
},
|
|
168
168
|
"typeUri": {
|
|
169
169
|
"type": "string",
|
|
170
170
|
"minLength": 1,
|
|
171
171
|
"maxLength": 512,
|
|
172
|
-
"description": "The registered
|
|
172
|
+
"description": "The registered predicate IRI the statement carries as `credentialSubject.predicate`; see vtc/endorsement-types/*."
|
|
173
173
|
},
|
|
174
174
|
"subjectDid": {
|
|
175
175
|
"type": "string",
|
|
176
176
|
"pattern": "^did:",
|
|
177
|
-
"description": "DID of the
|
|
177
|
+
"description": "DID of the statement's subject (becomes credentialSubject.id)."
|
|
178
178
|
},
|
|
179
179
|
"claim": {
|
|
180
180
|
"type": "object",
|
|
181
|
-
"description": "The attested claim body
|
|
181
|
+
"description": "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one."
|
|
182
182
|
},
|
|
183
183
|
"issued": {
|
|
184
184
|
"$ref": "#/$defs/CredentialReference",
|
|
185
|
-
"description": "A pointer to the issued
|
|
185
|
+
"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."
|
|
186
186
|
},
|
|
187
187
|
"statusListIndex": {
|
|
188
188
|
"type": "integer",
|
|
189
189
|
"minimum": 0,
|
|
190
|
-
"description": "The
|
|
190
|
+
"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."
|
|
191
191
|
},
|
|
192
192
|
"revokedAt": {
|
|
193
193
|
"type": [
|
|
@@ -195,7 +195,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
195
195
|
"null"
|
|
196
196
|
],
|
|
197
197
|
"format": "date-time",
|
|
198
|
-
"description": "When the
|
|
198
|
+
"description": "When the statement was revoked, or null while live."
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
},
|
|
@@ -302,31 +302,31 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
302
302
|
"endorsementId": {
|
|
303
303
|
"type": "string",
|
|
304
304
|
"minLength": 1,
|
|
305
|
-
"description": "Community-scoped identifier for this
|
|
305
|
+
"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."
|
|
306
306
|
},
|
|
307
307
|
"typeUri": {
|
|
308
308
|
"type": "string",
|
|
309
309
|
"minLength": 1,
|
|
310
310
|
"maxLength": 512,
|
|
311
|
-
"description": "The registered
|
|
311
|
+
"description": "The registered predicate IRI the statement carries as `credentialSubject.predicate`; see vtc/endorsement-types/*."
|
|
312
312
|
},
|
|
313
313
|
"subjectDid": {
|
|
314
314
|
"type": "string",
|
|
315
315
|
"pattern": "^did:",
|
|
316
|
-
"description": "DID of the
|
|
316
|
+
"description": "DID of the statement's subject (becomes credentialSubject.id)."
|
|
317
317
|
},
|
|
318
318
|
"claim": {
|
|
319
319
|
"type": "object",
|
|
320
|
-
"description": "The attested claim body
|
|
320
|
+
"description": "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one."
|
|
321
321
|
},
|
|
322
322
|
"issued": {
|
|
323
323
|
"$ref": "#/$defs/CredentialReference",
|
|
324
|
-
"description": "A pointer to the issued
|
|
324
|
+
"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."
|
|
325
325
|
},
|
|
326
326
|
"statusListIndex": {
|
|
327
327
|
"type": "integer",
|
|
328
328
|
"minimum": 0,
|
|
329
|
-
"description": "The
|
|
329
|
+
"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."
|
|
330
330
|
},
|
|
331
331
|
"revokedAt": {
|
|
332
332
|
"type": [
|
|
@@ -334,7 +334,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
334
334
|
"null"
|
|
335
335
|
],
|
|
336
336
|
"format": "date-time",
|
|
337
|
-
"description": "When the
|
|
337
|
+
"description": "When the statement was revoked, or null while live."
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
},
|
|
@@ -17,7 +17,7 @@ export interface VTCEndorsementsRevokePayload {
|
|
|
17
17
|
export interface VTCEndorsementsRevokeResponsePayload {
|
|
18
18
|
endorsementId: string;
|
|
19
19
|
/**
|
|
20
|
-
* The registry-wide revocation receipt for the underlying
|
|
20
|
+
* The registry-wide revocation receipt for the underlying credential — the statement credential, or a vetter role credential (VAC).
|
|
21
21
|
*/
|
|
22
22
|
revocation: RevocationReceipt;
|
|
23
23
|
/**
|
|
@@ -92,7 +92,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
92
92
|
},
|
|
93
93
|
"revocation": {
|
|
94
94
|
"$ref": "#/$defs/RevocationReceipt",
|
|
95
|
-
"description": "The registry-wide revocation receipt for the underlying
|
|
95
|
+
"description": "The registry-wide revocation receipt for the underlying credential — the statement credential, or a vetter role credential (VAC)."
|
|
96
96
|
},
|
|
97
97
|
"statusListIndex": {
|
|
98
98
|
"type": "integer",
|
|
@@ -167,7 +167,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
167
167
|
},
|
|
168
168
|
"revocation": {
|
|
169
169
|
"$ref": "#/$defs/RevocationReceipt",
|
|
170
|
-
"description": "The registry-wide revocation receipt for the underlying
|
|
170
|
+
"description": "The registry-wide revocation receipt for the underlying credential — the statement credential, or a vetter role credential (VAC)."
|
|
171
171
|
},
|
|
172
172
|
"statusListIndex": {
|
|
173
173
|
"type": "integer",
|
|
@@ -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": "The registered
|
|
110
|
+
"description": "The registered predicate IRI the statement carries as `credentialSubject.predicate`; see vtc/endorsement-types/*."
|
|
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": "The registered
|
|
232
|
+
"description": "The registered predicate IRI the statement carries as `credentialSubject.predicate`; see vtc/endorsement-types/*."
|
|
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."
|