@openvtc/trust-tasks 0.22.0 → 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 +10 -0
- package/dist/_shared/components.d.ts +3 -3
- package/dist/vtc/_shared/0.1/endorsement.d.ts +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 +4 -4
- package/dist/vtc/endorsement-types/list/0.1/payload.js +2 -2
- package/dist/vtc/endorsement-types/list/0.1/payload.js.map +1 -1
- package/dist/vtc/endorsement-types/register/0.1/payload.d.ts +7 -7
- package/dist/vtc/endorsement-types/register/0.1/payload.js +3 -3
- package/dist/vtc/endorsement-types/register/0.1/payload.js.map +1 -1
- package/dist/vtc/endorsements/issue/0.1/payload.d.ts +15 -15
- package/dist/vtc/endorsements/issue/0.1/payload.js +6 -6
- package/dist/vtc/endorsements/issue/0.1/payload.js.map +1 -1
- package/dist/vtc/endorsements/list/0.1/payload.d.ts +7 -7
- package/dist/vtc/endorsements/list/0.1/payload.js +3 -3
- 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 +4 -4
- package/dist/vtc/endorsements/show/0.1/payload.js +2 -2
- package/dist/vtc/endorsements/show/0.1/payload.js.map +1 -1
- package/package.json +1 -1
- package/src/_shared/components.ts +3 -3
- package/src/vtc/_shared/0.1/endorsement.ts +1 -1
- 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 +2 -2
- package/src/vtc/endorsement-types/register/0.1/payload.ts +4 -4
- package/src/vtc/endorsements/issue/0.1/payload.ts +9 -9
- package/src/vtc/endorsements/list/0.1/payload.ts +4 -4
- package/src/vtc/endorsements/revoke/0.1/payload.ts +3 -3
- package/src/vtc/endorsements/show/0.1/payload.ts +2 -2
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import type { EndorsementType, Ext } from "../../../../_shared/components.js";
|
|
6
6
|
export interface VTCEndorsementTypesRegisterPayload {
|
|
7
7
|
/**
|
|
8
|
-
* The predicate IRI to accept: a DTG VSC predicate registry IRI or a community-namespace IRI.
|
|
8
|
+
* The predicate IRI to accept, an absolute IRI: a DTG VSC predicate registry IRI or a community-namespace IRI. The reserved values `IdentityVerificationCredential` and `role:vetter` are refused with `reserved`, and a value that is not an absolute IRI with `invalidUri`.
|
|
9
9
|
*/
|
|
10
10
|
typeUri: string;
|
|
11
11
|
description?: string;
|
|
@@ -50,7 +50,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
50
50
|
readonly type: "string";
|
|
51
51
|
readonly minLength: 1;
|
|
52
52
|
readonly maxLength: 512;
|
|
53
|
-
readonly description: "The predicate IRI to accept: a DTG VSC predicate registry IRI or a community-namespace IRI.";
|
|
53
|
+
readonly description: "The predicate IRI to accept, an absolute IRI: a DTG VSC predicate registry IRI or a community-namespace IRI. The reserved values `IdentityVerificationCredential` and `role:vetter` are refused with `reserved`, and a value that is not an absolute IRI with `invalidUri`.";
|
|
54
54
|
};
|
|
55
55
|
readonly description: {
|
|
56
56
|
readonly type: "string";
|
|
@@ -101,7 +101,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
101
101
|
readonly type: "string";
|
|
102
102
|
readonly minLength: 1;
|
|
103
103
|
readonly maxLength: 512;
|
|
104
|
-
readonly 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.
|
|
104
|
+
readonly description: "The predicate IRI the community accepts, compared as an exact string. Always an absolute IRI: 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. The four core predicates — endorses/1, witnessed/1, vetted/1 and presented/1 under `https://registry.trustoverip.org/dtg/vsc/` — are seeded when the community starts. The reserved values `IdentityVerificationCredential` and `role:vetter`, which name the other kinds of record vtc/endorsements/* keeps, are never registered.";
|
|
105
105
|
};
|
|
106
106
|
readonly description: {
|
|
107
107
|
readonly type: "string";
|
|
@@ -164,7 +164,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
164
164
|
readonly type: "string";
|
|
165
165
|
readonly minLength: 1;
|
|
166
166
|
readonly maxLength: 512;
|
|
167
|
-
readonly 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.
|
|
167
|
+
readonly description: "The predicate IRI the community accepts, compared as an exact string. Always an absolute IRI: 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. The four core predicates — endorses/1, witnessed/1, vetted/1 and presented/1 under `https://registry.trustoverip.org/dtg/vsc/` — are seeded when the community starts. The reserved values `IdentityVerificationCredential` and `role:vetter`, which name the other kinds of record vtc/endorsements/* keeps, are never registered.";
|
|
168
168
|
};
|
|
169
169
|
readonly description: {
|
|
170
170
|
readonly type: "string";
|
|
@@ -210,7 +210,7 @@ export declare const SPEC: {
|
|
|
210
210
|
readonly type: "string";
|
|
211
211
|
readonly minLength: 1;
|
|
212
212
|
readonly maxLength: 512;
|
|
213
|
-
readonly description: "The predicate IRI to accept: a DTG VSC predicate registry IRI or a community-namespace IRI.";
|
|
213
|
+
readonly description: "The predicate IRI to accept, an absolute IRI: a DTG VSC predicate registry IRI or a community-namespace IRI. The reserved values `IdentityVerificationCredential` and `role:vetter` are refused with `reserved`, and a value that is not an absolute IRI with `invalidUri`.";
|
|
214
214
|
};
|
|
215
215
|
readonly description: {
|
|
216
216
|
readonly type: "string";
|
|
@@ -261,7 +261,7 @@ export declare const SPEC: {
|
|
|
261
261
|
readonly type: "string";
|
|
262
262
|
readonly minLength: 1;
|
|
263
263
|
readonly maxLength: 512;
|
|
264
|
-
readonly 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.
|
|
264
|
+
readonly description: "The predicate IRI the community accepts, compared as an exact string. Always an absolute IRI: 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. The four core predicates — endorses/1, witnessed/1, vetted/1 and presented/1 under `https://registry.trustoverip.org/dtg/vsc/` — are seeded when the community starts. The reserved values `IdentityVerificationCredential` and `role:vetter`, which name the other kinds of record vtc/endorsements/* keeps, are never registered.";
|
|
265
265
|
};
|
|
266
266
|
readonly description: {
|
|
267
267
|
readonly type: "string";
|
|
@@ -335,7 +335,7 @@ export declare const RESPONSE_SPEC: {
|
|
|
335
335
|
readonly type: "string";
|
|
336
336
|
readonly minLength: 1;
|
|
337
337
|
readonly maxLength: 512;
|
|
338
|
-
readonly 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.
|
|
338
|
+
readonly description: "The predicate IRI the community accepts, compared as an exact string. Always an absolute IRI: 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. The four core predicates — endorses/1, witnessed/1, vetted/1 and presented/1 under `https://registry.trustoverip.org/dtg/vsc/` — are seeded when the community starts. The reserved values `IdentityVerificationCredential` and `role:vetter`, which name the other kinds of record vtc/endorsements/* keeps, are never registered.";
|
|
339
339
|
};
|
|
340
340
|
readonly description: {
|
|
341
341
|
readonly type: "string";
|
|
@@ -29,7 +29,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
29
29
|
"type": "string",
|
|
30
30
|
"minLength": 1,
|
|
31
31
|
"maxLength": 512,
|
|
32
|
-
"description": "The predicate IRI to accept: a DTG VSC predicate registry IRI or a community-namespace IRI."
|
|
32
|
+
"description": "The predicate IRI to accept, an absolute IRI: a DTG VSC predicate registry IRI or a community-namespace IRI. The reserved values `IdentityVerificationCredential` and `role:vetter` are refused with `reserved`, and a value that is not an absolute IRI with `invalidUri`."
|
|
33
33
|
},
|
|
34
34
|
"description": {
|
|
35
35
|
"type": "string",
|
|
@@ -84,7 +84,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
84
84
|
"type": "string",
|
|
85
85
|
"minLength": 1,
|
|
86
86
|
"maxLength": 512,
|
|
87
|
-
"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.
|
|
87
|
+
"description": "The predicate IRI the community accepts, compared as an exact string. Always an absolute IRI: 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. The four core predicates — endorses/1, witnessed/1, vetted/1 and presented/1 under `https://registry.trustoverip.org/dtg/vsc/` — are seeded when the community starts. The reserved values `IdentityVerificationCredential` and `role:vetter`, which name the other kinds of record vtc/endorsements/* keeps, are never registered."
|
|
88
88
|
},
|
|
89
89
|
"description": {
|
|
90
90
|
"type": "string",
|
|
@@ -151,7 +151,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
151
151
|
"type": "string",
|
|
152
152
|
"minLength": 1,
|
|
153
153
|
"maxLength": 512,
|
|
154
|
-
"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.
|
|
154
|
+
"description": "The predicate IRI the community accepts, compared as an exact string. Always an absolute IRI: 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. The four core predicates — endorses/1, witnessed/1, vetted/1 and presented/1 under `https://registry.trustoverip.org/dtg/vsc/` — are seeded when the community starts. The reserved values `IdentityVerificationCredential` and `role:vetter`, which name the other kinds of record vtc/endorsements/* keeps, are never registered."
|
|
155
155
|
},
|
|
156
156
|
"description": {
|
|
157
157
|
"type": "string",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/endorsement-types/register/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAyBH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,gEAAyE,CAAC;AAKlG,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,yEAAkF,CAAC;AAKpH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,gEAAgE;IACvE,OAAO,EAAE,0CAA0C;IACnD,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,SAAS;KACV;IACD,YAAY,EAAE;QACZ,SAAS,EAAE;YACT,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,GAAG;YAChB,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/endorsement-types/register/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAyBH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,gEAAyE,CAAC;AAKlG,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,yEAAkF,CAAC;AAKpH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,gEAAgE;IACvE,OAAO,EAAE,0CAA0C;IACnD,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,SAAS;KACV;IACD,YAAY,EAAE;QACZ,SAAS,EAAE;YACT,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,GAAG;YAChB,aAAa,EAAE,6QAA6Q;SAC7R;QACD,aAAa,EAAE;YACb,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,IAAI;SAClB;QACD,aAAa,EAAE;YACb,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,iGAAiG;SACjH;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,mDAAmD;YAC5D,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,iBAAiB;aAClB;YACD,YAAY,EAAE;gBACZ,iBA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AAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -9,11 +9,11 @@ export interface VTCEndorsementsIssuePayload {
|
|
|
9
9
|
*/
|
|
10
10
|
subjectDid: string;
|
|
11
11
|
/**
|
|
12
|
-
* 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.
|
|
12
|
+
* 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. The one non-IRI value accepted is the reserved `IdentityVerificationCredential`, which mints the community's identity-verification credential instead of a statement.
|
|
13
13
|
*/
|
|
14
14
|
typeUri: string;
|
|
15
15
|
/**
|
|
16
|
-
* 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.
|
|
16
|
+
* The claim body to attest, issued as the statement's `credentialSubject.object.value` — or, for `IdentityVerificationCredential`, as members of `credentialSubject` beside `id`, in which case it MUST NOT itself carry `id`. Capped at 8 KiB serialised, and validated against the registered predicate's claimSchema when it declares one.
|
|
17
17
|
*/
|
|
18
18
|
claim: {};
|
|
19
19
|
/**
|
|
@@ -25,7 +25,7 @@ export interface VTCEndorsementsIssuePayload {
|
|
|
25
25
|
export interface VTCEndorsementsIssueResponsePayload {
|
|
26
26
|
endorsement: Endorsement;
|
|
27
27
|
/**
|
|
28
|
-
* The signed
|
|
28
|
+
* The signed credential just minted. For `IdentityVerificationCredential`, a plain W3C VC — `@context` [credentials/v2] only, `type` [VerifiableCredential, IdentityVerificationCredential], not a DTGCredential — issued by the community to `subjectDid` with a revocation `credentialStatus`. Otherwise 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.
|
|
29
29
|
*/
|
|
30
30
|
credential: {};
|
|
31
31
|
ext?: Ext;
|
|
@@ -66,12 +66,12 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
66
66
|
readonly type: "string";
|
|
67
67
|
readonly minLength: 1;
|
|
68
68
|
readonly maxLength: 512;
|
|
69
|
-
readonly 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.";
|
|
69
|
+
readonly 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. The one non-IRI value accepted is the reserved `IdentityVerificationCredential`, which mints the community's identity-verification credential instead of a statement.";
|
|
70
70
|
};
|
|
71
71
|
readonly claim: {
|
|
72
72
|
readonly type: "object";
|
|
73
73
|
readonly minProperties: 1;
|
|
74
|
-
readonly 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.";
|
|
74
|
+
readonly description: "The claim body to attest, issued as the statement's `credentialSubject.object.value` — or, for `IdentityVerificationCredential`, as members of `credentialSubject` beside `id`, in which case it MUST NOT itself carry `id`. Capped at 8 KiB serialised, and validated against the registered predicate's claimSchema when it declares one.";
|
|
75
75
|
};
|
|
76
76
|
readonly validitySeconds: {
|
|
77
77
|
readonly type: "integer";
|
|
@@ -95,7 +95,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
95
95
|
};
|
|
96
96
|
readonly credential: {
|
|
97
97
|
readonly type: "object";
|
|
98
|
-
readonly description: "The signed
|
|
98
|
+
readonly description: "The signed credential just minted. For `IdentityVerificationCredential`, a plain W3C VC — `@context` [credentials/v2] only, `type` [VerifiableCredential, IdentityVerificationCredential], not a DTGCredential — issued by the community to `subjectDid` with a revocation `credentialStatus`. Otherwise 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.";
|
|
99
99
|
};
|
|
100
100
|
readonly ext: {
|
|
101
101
|
readonly $ref: "#/$defs/Ext";
|
|
@@ -128,7 +128,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
128
128
|
readonly type: "string";
|
|
129
129
|
readonly minLength: 1;
|
|
130
130
|
readonly maxLength: 512;
|
|
131
|
-
readonly description: "
|
|
131
|
+
readonly description: "What the row records. A registered predicate IRI: a statement (StatementCredential) whose `credentialSubject.predicate` it is — see vtc/endorsement-types/*. `role:vetter`: a vetter role credential (Verifiable Authority Credential) issued by vtc/vetting/vetters/grant. `IdentityVerificationCredential`: the community's identity-verification credential, a plain W3C VC (not a DTGCredential). The two reserved values are not IRIs, so they never collide with a registered predicate.";
|
|
132
132
|
};
|
|
133
133
|
readonly subjectDid: {
|
|
134
134
|
readonly type: "string";
|
|
@@ -204,7 +204,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
204
204
|
};
|
|
205
205
|
readonly credential: {
|
|
206
206
|
readonly type: "object";
|
|
207
|
-
readonly description: "The signed
|
|
207
|
+
readonly description: "The signed credential just minted. For `IdentityVerificationCredential`, a plain W3C VC — `@context` [credentials/v2] only, `type` [VerifiableCredential, IdentityVerificationCredential], not a DTGCredential — issued by the community to `subjectDid` with a revocation `credentialStatus`. Otherwise 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.";
|
|
208
208
|
};
|
|
209
209
|
readonly ext: {
|
|
210
210
|
readonly $ref: "#/$defs/Ext";
|
|
@@ -237,7 +237,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
237
237
|
readonly type: "string";
|
|
238
238
|
readonly minLength: 1;
|
|
239
239
|
readonly maxLength: 512;
|
|
240
|
-
readonly description: "
|
|
240
|
+
readonly description: "What the row records. A registered predicate IRI: a statement (StatementCredential) whose `credentialSubject.predicate` it is — see vtc/endorsement-types/*. `role:vetter`: a vetter role credential (Verifiable Authority Credential) issued by vtc/vetting/vetters/grant. `IdentityVerificationCredential`: the community's identity-verification credential, a plain W3C VC (not a DTGCredential). The two reserved values are not IRIs, so they never collide with a registered predicate.";
|
|
241
241
|
};
|
|
242
242
|
readonly subjectDid: {
|
|
243
243
|
readonly type: "string";
|
|
@@ -325,12 +325,12 @@ export declare const SPEC: {
|
|
|
325
325
|
readonly type: "string";
|
|
326
326
|
readonly minLength: 1;
|
|
327
327
|
readonly maxLength: 512;
|
|
328
|
-
readonly 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.";
|
|
328
|
+
readonly 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. The one non-IRI value accepted is the reserved `IdentityVerificationCredential`, which mints the community's identity-verification credential instead of a statement.";
|
|
329
329
|
};
|
|
330
330
|
readonly claim: {
|
|
331
331
|
readonly type: "object";
|
|
332
332
|
readonly minProperties: 1;
|
|
333
|
-
readonly 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.";
|
|
333
|
+
readonly description: "The claim body to attest, issued as the statement's `credentialSubject.object.value` — or, for `IdentityVerificationCredential`, as members of `credentialSubject` beside `id`, in which case it MUST NOT itself carry `id`. Capped at 8 KiB serialised, and validated against the registered predicate's claimSchema when it declares one.";
|
|
334
334
|
};
|
|
335
335
|
readonly validitySeconds: {
|
|
336
336
|
readonly type: "integer";
|
|
@@ -354,7 +354,7 @@ export declare const SPEC: {
|
|
|
354
354
|
};
|
|
355
355
|
readonly credential: {
|
|
356
356
|
readonly type: "object";
|
|
357
|
-
readonly description: "The signed
|
|
357
|
+
readonly description: "The signed credential just minted. For `IdentityVerificationCredential`, a plain W3C VC — `@context` [credentials/v2] only, `type` [VerifiableCredential, IdentityVerificationCredential], not a DTGCredential — issued by the community to `subjectDid` with a revocation `credentialStatus`. Otherwise 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.";
|
|
358
358
|
};
|
|
359
359
|
readonly ext: {
|
|
360
360
|
readonly $ref: "#/$defs/Ext";
|
|
@@ -387,7 +387,7 @@ export declare const SPEC: {
|
|
|
387
387
|
readonly type: "string";
|
|
388
388
|
readonly minLength: 1;
|
|
389
389
|
readonly maxLength: 512;
|
|
390
|
-
readonly description: "
|
|
390
|
+
readonly description: "What the row records. A registered predicate IRI: a statement (StatementCredential) whose `credentialSubject.predicate` it is — see vtc/endorsement-types/*. `role:vetter`: a vetter role credential (Verifiable Authority Credential) issued by vtc/vetting/vetters/grant. `IdentityVerificationCredential`: the community's identity-verification credential, a plain W3C VC (not a DTGCredential). The two reserved values are not IRIs, so they never collide with a registered predicate.";
|
|
391
391
|
};
|
|
392
392
|
readonly subjectDid: {
|
|
393
393
|
readonly type: "string";
|
|
@@ -474,7 +474,7 @@ export declare const RESPONSE_SPEC: {
|
|
|
474
474
|
};
|
|
475
475
|
readonly credential: {
|
|
476
476
|
readonly type: "object";
|
|
477
|
-
readonly description: "The signed
|
|
477
|
+
readonly description: "The signed credential just minted. For `IdentityVerificationCredential`, a plain W3C VC — `@context` [credentials/v2] only, `type` [VerifiableCredential, IdentityVerificationCredential], not a DTGCredential — issued by the community to `subjectDid` with a revocation `credentialStatus`. Otherwise 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.";
|
|
478
478
|
};
|
|
479
479
|
readonly ext: {
|
|
480
480
|
readonly $ref: "#/$defs/Ext";
|
|
@@ -507,7 +507,7 @@ export declare const RESPONSE_SPEC: {
|
|
|
507
507
|
readonly type: "string";
|
|
508
508
|
readonly minLength: 1;
|
|
509
509
|
readonly maxLength: 512;
|
|
510
|
-
readonly description: "
|
|
510
|
+
readonly description: "What the row records. A registered predicate IRI: a statement (StatementCredential) whose `credentialSubject.predicate` it is — see vtc/endorsement-types/*. `role:vetter`: a vetter role credential (Verifiable Authority Credential) issued by vtc/vetting/vetters/grant. `IdentityVerificationCredential`: the community's identity-verification credential, a plain W3C VC (not a DTGCredential). The two reserved values are not IRIs, so they never collide with a registered predicate.";
|
|
511
511
|
};
|
|
512
512
|
readonly subjectDid: {
|
|
513
513
|
readonly type: "string";
|
|
@@ -36,12 +36,12 @@ export const PAYLOAD_SCHEMA = {
|
|
|
36
36
|
"type": "string",
|
|
37
37
|
"minLength": 1,
|
|
38
38
|
"maxLength": 512,
|
|
39
|
-
"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."
|
|
39
|
+
"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. The one non-IRI value accepted is the reserved `IdentityVerificationCredential`, which mints the community's identity-verification credential instead of a statement."
|
|
40
40
|
},
|
|
41
41
|
"claim": {
|
|
42
42
|
"type": "object",
|
|
43
43
|
"minProperties": 1,
|
|
44
|
-
"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."
|
|
44
|
+
"description": "The claim body to attest, issued as the statement's `credentialSubject.object.value` — or, for `IdentityVerificationCredential`, as members of `credentialSubject` beside `id`, in which case it MUST NOT itself carry `id`. Capped at 8 KiB serialised, and validated against the registered predicate's claimSchema when it declares one."
|
|
45
45
|
},
|
|
46
46
|
"validitySeconds": {
|
|
47
47
|
"type": "integer",
|
|
@@ -68,7 +68,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
68
68
|
},
|
|
69
69
|
"credential": {
|
|
70
70
|
"type": "object",
|
|
71
|
-
"description": "The signed
|
|
71
|
+
"description": "The signed credential just minted. For `IdentityVerificationCredential`, a plain W3C VC — `@context` [credentials/v2] only, `type` [VerifiableCredential, IdentityVerificationCredential], not a DTGCredential — issued by the community to `subjectDid` with a revocation `credentialStatus`. Otherwise 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."
|
|
72
72
|
},
|
|
73
73
|
"ext": {
|
|
74
74
|
"$ref": "#/$defs/Ext"
|
|
@@ -107,7 +107,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
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",
|
|
@@ -194,7 +194,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
194
194
|
},
|
|
195
195
|
"credential": {
|
|
196
196
|
"type": "object",
|
|
197
|
-
"description": "The signed
|
|
197
|
+
"description": "The signed credential just minted. For `IdentityVerificationCredential`, a plain W3C VC — `@context` [credentials/v2] only, `type` [VerifiableCredential, IdentityVerificationCredential], not a DTGCredential — issued by the community to `subjectDid` with a revocation `credentialStatus`. Otherwise 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."
|
|
198
198
|
},
|
|
199
199
|
"ext": {
|
|
200
200
|
"$ref": "#/$defs/Ext"
|
|
@@ -233,7 +233,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
233
233
|
"type": "string",
|
|
234
234
|
"minLength": 1,
|
|
235
235
|
"maxLength": 512,
|
|
236
|
-
"description": "
|
|
236
|
+
"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."
|
|
237
237
|
},
|
|
238
238
|
"subjectDid": {
|
|
239
239
|
"type": "string",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/endorsements/issue/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAoCH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,wDAAiE,CAAC;AAK1F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,iEAA0E,CAAC;AAK5G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,wDAAwD;IAC/D,OAAO,EAAE,kCAAkC;IAC3C,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,YAAY;QACZ,SAAS;QACT,OAAO;KACR;IACD,YAAY,EAAE;QACZ,YAAY,EAAE;YACZ,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,OAAO;YAClB,aAAa,EAAE,gEAAgE;SAChF;QACD,SAAS,EAAE;YACT,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,GAAG;YAChB,aAAa,EAAE
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/endorsements/issue/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAoCH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,wDAAiE,CAAC;AAK1F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,iEAA0E,CAAC;AAK5G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,wDAAwD;IAC/D,OAAO,EAAE,kCAAkC;IAC3C,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,YAAY;QACZ,SAAS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,cAAc;YACzB,OAAO,EAAE,cAAc;YACvB,aAAa,EAAE,0KAA0K;YACzL,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;SACf;KACF;CACO,CAAC;AAEX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,cAAc;CACrB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import type { CredentialId, CredentialReference, Endorsement, Ext } from "../../../../_shared/components.js";
|
|
6
6
|
export interface VTCEndorsementsListPayload {
|
|
7
7
|
/**
|
|
8
|
-
* Filter to
|
|
8
|
+
* Filter to rows of this kind: a registered predicate IRI (statements whose `credentialSubject.predicate` it is), `IdentityVerificationCredential`, or `role:vetter`.
|
|
9
9
|
*/
|
|
10
10
|
typeUri?: string;
|
|
11
11
|
/**
|
|
@@ -68,7 +68,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
68
68
|
readonly type: "string";
|
|
69
69
|
readonly minLength: 1;
|
|
70
70
|
readonly maxLength: 512;
|
|
71
|
-
readonly description: "Filter to
|
|
71
|
+
readonly description: "Filter to rows of this kind: a registered predicate IRI (statements whose `credentialSubject.predicate` it is), `IdentityVerificationCredential`, or `role:vetter`.";
|
|
72
72
|
};
|
|
73
73
|
readonly subjectDid: {
|
|
74
74
|
readonly type: "string";
|
|
@@ -146,7 +146,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
146
146
|
readonly type: "string";
|
|
147
147
|
readonly minLength: 1;
|
|
148
148
|
readonly maxLength: 512;
|
|
149
|
-
readonly description: "
|
|
149
|
+
readonly description: "What the row records. A registered predicate IRI: a statement (StatementCredential) whose `credentialSubject.predicate` it is — see vtc/endorsement-types/*. `role:vetter`: a vetter role credential (Verifiable Authority Credential) issued by vtc/vetting/vetters/grant. `IdentityVerificationCredential`: the community's identity-verification credential, a plain W3C VC (not a DTGCredential). The two reserved values are not IRIs, so they never collide with a registered predicate.";
|
|
150
150
|
};
|
|
151
151
|
readonly subjectDid: {
|
|
152
152
|
readonly type: "string";
|
|
@@ -262,7 +262,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
262
262
|
readonly type: "string";
|
|
263
263
|
readonly minLength: 1;
|
|
264
264
|
readonly maxLength: 512;
|
|
265
|
-
readonly description: "
|
|
265
|
+
readonly description: "What the row records. A registered predicate IRI: a statement (StatementCredential) whose `credentialSubject.predicate` it is — see vtc/endorsement-types/*. `role:vetter`: a vetter role credential (Verifiable Authority Credential) issued by vtc/vetting/vetters/grant. `IdentityVerificationCredential`: the community's identity-verification credential, a plain W3C VC (not a DTGCredential). The two reserved values are not IRIs, so they never collide with a registered predicate.";
|
|
266
266
|
};
|
|
267
267
|
readonly subjectDid: {
|
|
268
268
|
readonly type: "string";
|
|
@@ -344,7 +344,7 @@ export declare const SPEC: {
|
|
|
344
344
|
readonly type: "string";
|
|
345
345
|
readonly minLength: 1;
|
|
346
346
|
readonly maxLength: 512;
|
|
347
|
-
readonly description: "Filter to
|
|
347
|
+
readonly description: "Filter to rows of this kind: a registered predicate IRI (statements whose `credentialSubject.predicate` it is), `IdentityVerificationCredential`, or `role:vetter`.";
|
|
348
348
|
};
|
|
349
349
|
readonly subjectDid: {
|
|
350
350
|
readonly type: "string";
|
|
@@ -422,7 +422,7 @@ export declare const SPEC: {
|
|
|
422
422
|
readonly type: "string";
|
|
423
423
|
readonly minLength: 1;
|
|
424
424
|
readonly maxLength: 512;
|
|
425
|
-
readonly description: "
|
|
425
|
+
readonly description: "What the row records. A registered predicate IRI: a statement (StatementCredential) whose `credentialSubject.predicate` it is — see vtc/endorsement-types/*. `role:vetter`: a vetter role credential (Verifiable Authority Credential) issued by vtc/vetting/vetters/grant. `IdentityVerificationCredential`: the community's identity-verification credential, a plain W3C VC (not a DTGCredential). The two reserved values are not IRIs, so they never collide with a registered predicate.";
|
|
426
426
|
};
|
|
427
427
|
readonly subjectDid: {
|
|
428
428
|
readonly type: "string";
|
|
@@ -549,7 +549,7 @@ export declare const RESPONSE_SPEC: {
|
|
|
549
549
|
readonly type: "string";
|
|
550
550
|
readonly minLength: 1;
|
|
551
551
|
readonly maxLength: 512;
|
|
552
|
-
readonly description: "
|
|
552
|
+
readonly description: "What the row records. A registered predicate IRI: a statement (StatementCredential) whose `credentialSubject.predicate` it is — see vtc/endorsement-types/*. `role:vetter`: a vetter role credential (Verifiable Authority Credential) issued by vtc/vetting/vetters/grant. `IdentityVerificationCredential`: the community's identity-verification credential, a plain W3C VC (not a DTGCredential). The two reserved values are not IRIs, so they never collide with a registered predicate.";
|
|
553
553
|
};
|
|
554
554
|
readonly subjectDid: {
|
|
555
555
|
readonly type: "string";
|
|
@@ -26,7 +26,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
26
26
|
"type": "string",
|
|
27
27
|
"minLength": 1,
|
|
28
28
|
"maxLength": 512,
|
|
29
|
-
"description": "Filter to
|
|
29
|
+
"description": "Filter to rows of this kind: a registered predicate IRI (statements whose `credentialSubject.predicate` it is), `IdentityVerificationCredential`, or `role:vetter`."
|
|
30
30
|
},
|
|
31
31
|
"subjectDid": {
|
|
32
32
|
"type": "string",
|
|
@@ -118,7 +118,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
118
118
|
"type": "string",
|
|
119
119
|
"minLength": 1,
|
|
120
120
|
"maxLength": 512,
|
|
121
|
-
"description": "
|
|
121
|
+
"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."
|
|
122
122
|
},
|
|
123
123
|
"subjectDid": {
|
|
124
124
|
"type": "string",
|
|
@@ -256,7 +256,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
256
256
|
"type": "string",
|
|
257
257
|
"minLength": 1,
|
|
258
258
|
"maxLength": 512,
|
|
259
|
-
"description": "
|
|
259
|
+
"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."
|
|
260
260
|
},
|
|
261
261
|
"subjectDid": {
|
|
262
262
|
"type": "string",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/endorsements/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA4CH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,uDAAgE,CAAC;AAKzF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,gEAAyE,CAAC;AAK3G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,uDAAuD;IAC9D,OAAO,EAAE,iCAAiC;IAC1C,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,YAAY,EAAE;QACZ,SAAS,EAAE;YACT,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,GAAG;YAChB,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/endorsements/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA4CH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,uDAAgE,CAAC;AAKzF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,gEAAyE,CAAC;AAK3G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,uDAAuD;IAC9D,OAAO,EAAE,iCAAiC;IAC1C,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,YAAY,EAAE;QACZ,SAAS,EAAE;YACT,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,GAAG;YAChB,aAAa,EAAE,qKAAqK;SACrL;QACD,YAAY,EAAE;YACZ,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,OAAO;YAClB,aAAa,EAAE,4CAA4C;SAC5D;QACD,gBAAgB,EAAE;YAChB,MAAM,EAAE,SAAS;YACjB,aAAa,EAAE,6GAA6G;SAC7H;QACD,QAAQ,EAAE;YACR,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,8DAA8D;SAC9E;QACD,OAAO,EAAE;YACP,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,CAAC;YACZ,SAAS,EAAE,GAAG;YACd,aAAa,EAAE,2DAA2D;SAC3E;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,0CAA0C;YACnD,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,OAAO;aACR;YACD,YAAY,EAAE;gBACZ,OAAO,EAAE;oBACP,MAAM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AiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,KAAK;IACtB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -14,7 +14,7 @@ export interface VTCEndorsementsRevokePayload {
|
|
|
14
14
|
export interface VTCEndorsementsRevokeResponsePayload {
|
|
15
15
|
endorsementId: string;
|
|
16
16
|
/**
|
|
17
|
-
* The registry-wide revocation receipt for the underlying credential — the statement credential, or a vetter role credential (VAC).
|
|
17
|
+
* The registry-wide revocation receipt for the underlying credential — the statement credential, the identity-verification credential, or a vetter role credential (VAC).
|
|
18
18
|
*/
|
|
19
19
|
revocation: RevocationReceipt;
|
|
20
20
|
/**
|
|
@@ -77,7 +77,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
77
77
|
};
|
|
78
78
|
readonly revocation: {
|
|
79
79
|
readonly $ref: "#/$defs/RevocationReceipt";
|
|
80
|
-
readonly description: "The registry-wide revocation receipt for the underlying credential — the statement credential, or a vetter role credential (VAC).";
|
|
80
|
+
readonly description: "The registry-wide revocation receipt for the underlying credential — the statement credential, the identity-verification credential, or a vetter role credential (VAC).";
|
|
81
81
|
};
|
|
82
82
|
readonly statusListIndex: {
|
|
83
83
|
readonly type: "integer";
|
|
@@ -144,7 +144,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
144
144
|
};
|
|
145
145
|
readonly revocation: {
|
|
146
146
|
readonly $ref: "#/$defs/RevocationReceipt";
|
|
147
|
-
readonly description: "The registry-wide revocation receipt for the underlying credential — the statement credential, or a vetter role credential (VAC).";
|
|
147
|
+
readonly description: "The registry-wide revocation receipt for the underlying credential — the statement credential, the identity-verification credential, or a vetter role credential (VAC).";
|
|
148
148
|
};
|
|
149
149
|
readonly statusListIndex: {
|
|
150
150
|
readonly type: "integer";
|
|
@@ -240,7 +240,7 @@ export declare const SPEC: {
|
|
|
240
240
|
};
|
|
241
241
|
readonly revocation: {
|
|
242
242
|
readonly $ref: "#/$defs/RevocationReceipt";
|
|
243
|
-
readonly description: "The registry-wide revocation receipt for the underlying credential — the statement credential, or a vetter role credential (VAC).";
|
|
243
|
+
readonly description: "The registry-wide revocation receipt for the underlying credential — the statement credential, the identity-verification credential, or a vetter role credential (VAC).";
|
|
244
244
|
};
|
|
245
245
|
readonly statusListIndex: {
|
|
246
246
|
readonly type: "integer";
|
|
@@ -318,7 +318,7 @@ export declare const RESPONSE_SPEC: {
|
|
|
318
318
|
};
|
|
319
319
|
readonly revocation: {
|
|
320
320
|
readonly $ref: "#/$defs/RevocationReceipt";
|
|
321
|
-
readonly description: "The registry-wide revocation receipt for the underlying credential — the statement credential, or a vetter role credential (VAC).";
|
|
321
|
+
readonly description: "The registry-wide revocation receipt for the underlying credential — the statement credential, the identity-verification credential, or a vetter role credential (VAC).";
|
|
322
322
|
};
|
|
323
323
|
readonly statusListIndex: {
|
|
324
324
|
readonly type: "integer";
|
|
@@ -56,7 +56,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
56
56
|
},
|
|
57
57
|
"revocation": {
|
|
58
58
|
"$ref": "#/$defs/RevocationReceipt",
|
|
59
|
-
"description": "The registry-wide revocation receipt for the underlying credential — the statement credential, or a vetter role credential (VAC)."
|
|
59
|
+
"description": "The registry-wide revocation receipt for the underlying credential — the statement credential, the identity-verification credential, or a vetter role credential (VAC)."
|
|
60
60
|
},
|
|
61
61
|
"statusListIndex": {
|
|
62
62
|
"type": "integer",
|
|
@@ -130,7 +130,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
130
130
|
},
|
|
131
131
|
"revocation": {
|
|
132
132
|
"$ref": "#/$defs/RevocationReceipt",
|
|
133
|
-
"description": "The registry-wide revocation receipt for the underlying credential — the statement credential, or a vetter role credential (VAC)."
|
|
133
|
+
"description": "The registry-wide revocation receipt for the underlying credential — the statement credential, the identity-verification credential, or a vetter role credential (VAC)."
|
|
134
134
|
},
|
|
135
135
|
"statusListIndex": {
|
|
136
136
|
"type": "integer",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/endorsements/revoke/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA6BH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,yDAAkE,CAAC;AAK3F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,kEAA2E,CAAC;AAK7G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,yDAAyD;IAChE,OAAO,EAAE,mCAAmC;IAC5C,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,eAAe;KAChB;IACD,YAAY,EAAE;QACZ,eAAe,EAAE;YACf,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;SACf;QACD,QAAQ,EAAE;YACR,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,IAAI;YACjB,aAAa,EAAE,wDAAwD;SACxE;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,4CAA4C;YACrD,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,eAAe;gBACf,YAAY;gBACZ,iBAAiB;aAClB;YACD,YAAY,EAAE;gBACZ,eAAe,EAAE;oBACf,MAAM,EAAE,QAAQ;oBAChB,WAAW,EAAE,CAAC;iBACf;gBACD,YAAY,EAAE;oBACZ,MAAM,EAAE,2BAA2B;oBACnC,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/endorsements/revoke/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GA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EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -88,7 +88,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
88
88
|
readonly type: "string";
|
|
89
89
|
readonly minLength: 1;
|
|
90
90
|
readonly maxLength: 512;
|
|
91
|
-
readonly description: "
|
|
91
|
+
readonly description: "What the row records. A registered predicate IRI: a statement (StatementCredential) whose `credentialSubject.predicate` it is — see vtc/endorsement-types/*. `role:vetter`: a vetter role credential (Verifiable Authority Credential) issued by vtc/vetting/vetters/grant. `IdentityVerificationCredential`: the community's identity-verification credential, a plain W3C VC (not a DTGCredential). The two reserved values are not IRIs, so they never collide with a registered predicate.";
|
|
92
92
|
};
|
|
93
93
|
readonly subjectDid: {
|
|
94
94
|
readonly type: "string";
|
|
@@ -193,7 +193,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
193
193
|
readonly type: "string";
|
|
194
194
|
readonly minLength: 1;
|
|
195
195
|
readonly maxLength: 512;
|
|
196
|
-
readonly description: "
|
|
196
|
+
readonly description: "What the row records. A registered predicate IRI: a statement (StatementCredential) whose `credentialSubject.predicate` it is — see vtc/endorsement-types/*. `role:vetter`: a vetter role credential (Verifiable Authority Credential) issued by vtc/vetting/vetters/grant. `IdentityVerificationCredential`: the community's identity-verification credential, a plain W3C VC (not a DTGCredential). The two reserved values are not IRIs, so they never collide with a registered predicate.";
|
|
197
197
|
};
|
|
198
198
|
readonly subjectDid: {
|
|
199
199
|
readonly type: "string";
|
|
@@ -322,7 +322,7 @@ export declare const SPEC: {
|
|
|
322
322
|
readonly type: "string";
|
|
323
323
|
readonly minLength: 1;
|
|
324
324
|
readonly maxLength: 512;
|
|
325
|
-
readonly description: "
|
|
325
|
+
readonly description: "What the row records. A registered predicate IRI: a statement (StatementCredential) whose `credentialSubject.predicate` it is — see vtc/endorsement-types/*. `role:vetter`: a vetter role credential (Verifiable Authority Credential) issued by vtc/vetting/vetters/grant. `IdentityVerificationCredential`: the community's identity-verification credential, a plain W3C VC (not a DTGCredential). The two reserved values are not IRIs, so they never collide with a registered predicate.";
|
|
326
326
|
};
|
|
327
327
|
readonly subjectDid: {
|
|
328
328
|
readonly type: "string";
|
|
@@ -438,7 +438,7 @@ export declare const RESPONSE_SPEC: {
|
|
|
438
438
|
readonly type: "string";
|
|
439
439
|
readonly minLength: 1;
|
|
440
440
|
readonly maxLength: 512;
|
|
441
|
-
readonly description: "
|
|
441
|
+
readonly description: "What the row records. A registered predicate IRI: a statement (StatementCredential) whose `credentialSubject.predicate` it is — see vtc/endorsement-types/*. `role:vetter`: a vetter role credential (Verifiable Authority Credential) issued by vtc/vetting/vetters/grant. `IdentityVerificationCredential`: the community's identity-verification credential, a plain W3C VC (not a DTGCredential). The two reserved values are not IRIs, so they never collide with a registered predicate.";
|
|
442
442
|
};
|
|
443
443
|
readonly subjectDid: {
|
|
444
444
|
readonly type: "string";
|