@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
|
@@ -148,7 +148,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
148
148
|
"format": "uri",
|
|
149
149
|
"minLength": 1,
|
|
150
150
|
"maxLength": 512,
|
|
151
|
-
"description": "The
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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",
|
|
@@ -7,7 +7,7 @@ import type { Ext } from "../../../../../_shared/components.js";
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* A community administrator makes a member a vetter. The community issues the member a revocable `
|
|
10
|
+
* A community administrator makes a member a vetter. The community issues the member a revocable Verifiable Authority Credential (`AuthorityCredential`) whose `authority` is the action `role:vetter` at the community's DID, delivers it over credential-exchange/issue, and returns the identifiers and validity of the grant. A member who already holds a live grant gets that grant back unchanged.
|
|
11
11
|
*/
|
|
12
12
|
export interface VTCVettingVettersGrantPayload {
|
|
13
13
|
/**
|
|
@@ -25,11 +25,11 @@ export interface VTCVettingVettersGrantPayload {
|
|
|
25
25
|
*/
|
|
26
26
|
export interface VTCVettingVettersGrantResponsePayload {
|
|
27
27
|
/**
|
|
28
|
-
* The community's
|
|
28
|
+
* The community's record of this grant's credential and its status-list slot — the identifier vtc/endorsements/revoke takes to revoke it. The name is kept from when the role credential was an endorsement; the credential is a Verifiable Authority Credential.
|
|
29
29
|
*/
|
|
30
30
|
endorsementId: string;
|
|
31
31
|
/**
|
|
32
|
-
* The `id` of the role credential, a URI.
|
|
32
|
+
* The `id` of the role credential (the Verifiable Authority Credential), a URI.
|
|
33
33
|
*/
|
|
34
34
|
credentialId: string;
|
|
35
35
|
/**
|
|
@@ -71,7 +71,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
71
71
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
72
72
|
"$id": "https://trusttasks.org/spec/vtc/vetting/vetters/grant/0.1",
|
|
73
73
|
"title": "VTC Vetting — Vetters Grant — payload",
|
|
74
|
-
"description": "A community administrator makes a member a vetter. The community issues the member a revocable `
|
|
74
|
+
"description": "A community administrator makes a member a vetter. The community issues the member a revocable Verifiable Authority Credential (`AuthorityCredential`) whose `authority` is the action `role:vetter` at the community's DID, delivers it over credential-exchange/issue, and returns the identifiers and validity of the grant. A member who already holds a live grant gets that grant back unchanged.",
|
|
75
75
|
"type": "object",
|
|
76
76
|
"additionalProperties": false,
|
|
77
77
|
"required": [
|
|
@@ -111,14 +111,14 @@ export const PAYLOAD_SCHEMA = {
|
|
|
111
111
|
"type": "string",
|
|
112
112
|
"minLength": 1,
|
|
113
113
|
"maxLength": 128,
|
|
114
|
-
"description": "The community's
|
|
114
|
+
"description": "The community's record of this grant's credential and its status-list slot — the identifier vtc/endorsements/revoke takes to revoke it. The name is kept from when the role credential was an endorsement; the credential is a Verifiable Authority Credential."
|
|
115
115
|
},
|
|
116
116
|
"credentialId": {
|
|
117
117
|
"type": "string",
|
|
118
118
|
"minLength": 1,
|
|
119
119
|
"maxLength": 512,
|
|
120
120
|
"pattern": "^[a-zA-Z][a-zA-Z0-9+.-]*:\\S+$",
|
|
121
|
-
"description": "The `id` of the role credential, a URI."
|
|
121
|
+
"description": "The `id` of the role credential (the Verifiable Authority Credential), a URI."
|
|
122
122
|
},
|
|
123
123
|
"validFrom": {
|
|
124
124
|
"type": "string",
|
|
@@ -170,14 +170,14 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
170
170
|
"type": "string",
|
|
171
171
|
"minLength": 1,
|
|
172
172
|
"maxLength": 128,
|
|
173
|
-
"description": "The community's
|
|
173
|
+
"description": "The community's record of this grant's credential and its status-list slot — the identifier vtc/endorsements/revoke takes to revoke it. The name is kept from when the role credential was an endorsement; the credential is a Verifiable Authority Credential."
|
|
174
174
|
},
|
|
175
175
|
"credentialId": {
|
|
176
176
|
"type": "string",
|
|
177
177
|
"minLength": 1,
|
|
178
178
|
"maxLength": 512,
|
|
179
179
|
"pattern": "^[a-zA-Z][a-zA-Z0-9+.-]*:\\S+$",
|
|
180
|
-
"description": "The `id` of the role credential, a URI."
|
|
180
|
+
"description": "The `id` of the role credential (the Verifiable Authority Credential), a URI."
|
|
181
181
|
},
|
|
182
182
|
"validFrom": {
|
|
183
183
|
"type": "string",
|
|
@@ -21,7 +21,7 @@ export interface WitnessSessionSubmitPayload {
|
|
|
21
21
|
*/
|
|
22
22
|
export interface WitnessSessionSubmitResponsePayload {
|
|
23
23
|
/**
|
|
24
|
-
* A signed Verifiable Witness Credential (opaque here; its schema belongs to DTG Core
|
|
24
|
+
* A signed Verifiable Witness Credential: a DTG Verifiable Statement Credential (`type` including `StatementCredential`) under the predicate `https://registry.trustoverip.org/dtg/vsc/witnessed/1` (opaque here; its schema belongs to the DTG Credentials Core Specification). Its issuer is the witness, with `issuerScope` `directed` or `public`; its `credentialSubject.id` is the submitting party, the issuer of the relationship credential the witness observed; and its `credentialSubject.object.digestMultibase` is that credential's digest. Its taskContext MUST equal the id of the witness/session document that opened this session — the innermost exchange that attests the witnessing (SPEC.md §4.9.1) — and its taskDigestMultibase MUST be that document's task digest (SPEC.md §4.9.3). The id locates the session document; the digest binds it, because an id is a name anyone can reuse on a counterfeit.
|
|
25
25
|
*/
|
|
26
26
|
vwc: {};
|
|
27
27
|
/**
|
|
@@ -88,7 +88,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
88
88
|
"properties": {
|
|
89
89
|
"vwc": {
|
|
90
90
|
"type": "object",
|
|
91
|
-
"description": "A signed Verifiable Witness Credential (opaque here; its schema belongs to DTG Core
|
|
91
|
+
"description": "A signed Verifiable Witness Credential: a DTG Verifiable Statement Credential (`type` including `StatementCredential`) under the predicate `https://registry.trustoverip.org/dtg/vsc/witnessed/1` (opaque here; its schema belongs to the DTG Credentials Core Specification). Its issuer is the witness, with `issuerScope` `directed` or `public`; its `credentialSubject.id` is the submitting party, the issuer of the relationship credential the witness observed; and its `credentialSubject.object.digestMultibase` is that credential's digest. Its taskContext MUST equal the id of the witness/session document that opened this session — the innermost exchange that attests the witnessing (SPEC.md §4.9.1) — and its taskDigestMultibase MUST be that document's task digest (SPEC.md §4.9.3). The id locates the session document; the digest binds it, because an id is a name anyone can reuse on a counterfeit."
|
|
92
92
|
},
|
|
93
93
|
"vwcDigestMultibase": {
|
|
94
94
|
"$ref": "#/$defs/DigestMultibase",
|
|
@@ -140,7 +140,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
140
140
|
"properties": {
|
|
141
141
|
"vwc": {
|
|
142
142
|
"type": "object",
|
|
143
|
-
"description": "A signed Verifiable Witness Credential (opaque here; its schema belongs to DTG Core
|
|
143
|
+
"description": "A signed Verifiable Witness Credential: a DTG Verifiable Statement Credential (`type` including `StatementCredential`) under the predicate `https://registry.trustoverip.org/dtg/vsc/witnessed/1` (opaque here; its schema belongs to the DTG Credentials Core Specification). Its issuer is the witness, with `issuerScope` `directed` or `public`; its `credentialSubject.id` is the submitting party, the issuer of the relationship credential the witness observed; and its `credentialSubject.object.digestMultibase` is that credential's digest. Its taskContext MUST equal the id of the witness/session document that opened this session — the innermost exchange that attests the witnessing (SPEC.md §4.9.1) — and its taskDigestMultibase MUST be that document's task digest (SPEC.md §4.9.3). The id locates the session document; the digest binds it, because an id is a name anyone can reuse on a counterfeit."
|
|
144
144
|
},
|
|
145
145
|
"vwcDigestMultibase": {
|
|
146
146
|
"$ref": "#/$defs/DigestMultibase",
|