@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/schemas/register/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAwBH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,sDAA+D,CAAC;AAKxF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,+DAAwE,CAAC;AAK1G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,sDAAsD;IAC7D,OAAO,EAAE,kCAAkC;IAC3C,aAAa,EAAE,qLAAqL;IACpM,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,SAAS;QACT,MAAM;KACP;IACD,YAAY,EAAE;QACZ,SAAS,EAAE;YACT,MAAM,EAAE,2BAA2B;SACpC;QACD,MAAM,EAAE;YACN,MAAM,EAAE,oBAAoB;SAC7B;QACD,SAAS,EAAE;YACT,MAAM,EAAE,iBAAiB;SAC1B;QACD,kBAAkB,EAAE;YAClB,MAAM,EAAE,0BAA0B;SACnC;QACD,aAAa,EAAE;YACb,MAAM,EAAE,2BAA2B;SACpC;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SAC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,mBAAmB,EAAE;YACnB,OAAO,EAAE,mBAAmB;YAC5B,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,IAAI;YACjB,aAAa,EAAE,mRAAmR;SACnS;QACD,YAAY,EAAE;YACZ,OAAO,EAAE,YAAY;YACrB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE;gBACN,QAAQ;gBACR,SAAS;aACV;YACD,aAAa,EAAE,qSAAqS;SACrT;QACD,kBAAkB,EAAE;YAClB,OAAO,EAAE,kBAAkB;YAC3B,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,IAAI;YAC5B,aAAa,EAAE,8QAA8Q;SAC9R;QACD,SAAS,EAAE;YACT,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,GAAG;YAChB,SAAS,EAAE,wBAAwB;YACnC,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/schemas/register/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAwBH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,sDAA+D,CAAC;AAKxF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,+DAAwE,CAAC;AAK1G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,sDAAsD;IAC7D,OAAO,EAAE,kCAAkC;IAC3C,aAAa,EAAE,qLAAqL;IACpM,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,SAAS;QACT,MAAM;KACP;IACD,YAAY,EAAE;QACZ,SAAS,EAAE;YACT,MAAM,EAAE,2BAA2B;SACpC;QACD,MAAM,EAAE;YACN,MAAM,EAAE,oBAAoB;SAC7B;QACD,SAAS,EAAE;YACT,MAAM,EAAE,iBAAiB;SAC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,aAAa,EAAE,qSAAqS;SACrT;QACD,kBAAkB,EAAE;YAClB,OAAO,EAAE,kBAAkB;YAC3B,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,IAAI;YAC5B,aAAa,EAAE,8QAA8Q;SAC9R;QACD,SAAS,EAAE;YACT,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,GAAG;YAChB,SAAS,EAAE,wBAAwB;YACnC,aAAa,EAAE,saAAsa;SACtb;QACD,mBAAmB,EAAE;YACnB,OAAO,EAAE,mBAAmB;YAC5B,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,GAAG;YAChB,aAAa,EAAE,uQAAuQ;SACvR;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"}
|
|
@@ -134,7 +134,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
134
134
|
readonly minLength: 1;
|
|
135
135
|
readonly maxLength: 128;
|
|
136
136
|
readonly pattern: "^[A-Za-z][A-Za-z0-9]*$";
|
|
137
|
-
readonly description: "The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`. Absent for a community-defined
|
|
137
|
+
readonly 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.";
|
|
138
138
|
};
|
|
139
139
|
readonly CredentialTypeUri: {
|
|
140
140
|
readonly title: "CredentialTypeUri";
|
|
@@ -234,7 +234,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
234
234
|
readonly minLength: 1;
|
|
235
235
|
readonly maxLength: 128;
|
|
236
236
|
readonly pattern: "^[A-Za-z][A-Za-z0-9]*$";
|
|
237
|
-
readonly description: "The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`. Absent for a community-defined
|
|
237
|
+
readonly 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.";
|
|
238
238
|
};
|
|
239
239
|
readonly CredentialTypeUri: {
|
|
240
240
|
readonly title: "CredentialTypeUri";
|
|
@@ -358,7 +358,7 @@ export declare const SPEC: {
|
|
|
358
358
|
readonly minLength: 1;
|
|
359
359
|
readonly maxLength: 128;
|
|
360
360
|
readonly pattern: "^[A-Za-z][A-Za-z0-9]*$";
|
|
361
|
-
readonly description: "The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`. Absent for a community-defined
|
|
361
|
+
readonly 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.";
|
|
362
362
|
};
|
|
363
363
|
readonly CredentialTypeUri: {
|
|
364
364
|
readonly title: "CredentialTypeUri";
|
|
@@ -469,7 +469,7 @@ export declare const RESPONSE_SPEC: {
|
|
|
469
469
|
readonly minLength: 1;
|
|
470
470
|
readonly maxLength: 128;
|
|
471
471
|
readonly pattern: "^[A-Za-z][A-Za-z0-9]*$";
|
|
472
|
-
readonly description: "The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`. Absent for a community-defined
|
|
472
|
+
readonly 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.";
|
|
473
473
|
};
|
|
474
474
|
readonly CredentialTypeUri: {
|
|
475
475
|
readonly title: "CredentialTypeUri";
|
|
@@ -128,7 +128,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
128
128
|
"minLength": 1,
|
|
129
129
|
"maxLength": 128,
|
|
130
130
|
"pattern": "^[A-Za-z][A-Za-z0-9]*$",
|
|
131
|
-
"description": "The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`. Absent for a community-defined
|
|
131
|
+
"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."
|
|
132
132
|
},
|
|
133
133
|
"CredentialTypeUri": {
|
|
134
134
|
"title": "CredentialTypeUri",
|
|
@@ -238,7 +238,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
238
238
|
"minLength": 1,
|
|
239
239
|
"maxLength": 128,
|
|
240
240
|
"pattern": "^[A-Za-z][A-Za-z0-9]*$",
|
|
241
|
-
"description": "The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`. Absent for a community-defined
|
|
241
|
+
"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."
|
|
242
242
|
},
|
|
243
243
|
"CredentialTypeUri": {
|
|
244
244
|
"title": "CredentialTypeUri",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/schemas/show/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAoBH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,kDAA2D,CAAC;AAKpF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,2DAAoE,CAAC;AAKtG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,kDAAkD;IACzD,OAAO,EAAE,8BAA8B;IACvC,aAAa,EAAE,oHAAoH;IACnI,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,SAAS;KACV;IACD,YAAY,EAAE;QACZ,SAAS,EAAE;YACT,MAAM,EAAE,2BAA2B;SACpC;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,uCAAuC;YAChD,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,QAAQ;aACT;YACD,YAAY,EAAE;gBACZ,QAAQ,EAAE;oBACR,MAAM,EAAE,qBAAqB;iBAC9B;gBACD,KAAK,EAAE;oBACL,MAAM,EAAE,aAAa;iBACtB;aACF;SACF;QACD,KAAK,EAAE;YACL,OAAO,EAAE,KAAK;YACd,aAAa,EAAE,uKAAuK;YACtL,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,CAAC;YAClB,sBAAsB,EAAE,IAAI;YAC5B,eAAe,EA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;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,GAAG;YAChB,SAAS,EAAE,wBAAwB;YACnC,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/schemas/show/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAoBH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,kDAA2D,CAAC;AAKpF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,2DAAoE,CAAC;AAKtG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,kDAAkD;IACzD,OAAO,EAAE,8BAA8B;IACvC,aAAa,EAAE,oHAAoH;IACnI,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,SAAS;KACV;IACD,YAAY,EAAE;QACZ,SAAS,EAAE;YACT,MAAM,EAAE,2BAA2B;SACpC;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,uCAAuC;YAChD,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,QAAQ;aACT;YACD,YAAY,EAAE;gBACZ,QAAQ,EAAE;oBACR,MAAM,EAAE,qBAAqB;iBAC9B;gBACD,KAAK,EAAE;oBACL,MAAM,EAAE,aAAa;iBACtB;aACF;SACF;QACD,KAAK,EAAE;YACL,OAAO,EAAE,KAAK;YACd,aAAa,EAAE,uKAAuK;YACtL,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,CAAC;YAClB,sBAAsB,EAAE,IAAI;YAC5B,eAAe,EAAE;gBACf,SAAS,EAAE,mCAAmC;aAC/C;SACF;QACD,aAAa,EAAE;YACb,OA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ACzB,aAAa,EAAE,cAAc;CACrB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,KAAK;IACtB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { Ext } from "../../../../../_shared/components.js";
|
|
6
6
|
/**
|
|
7
|
-
* A community administrator makes a member a vetter. The community issues the member a revocable `
|
|
7
|
+
* 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.
|
|
8
8
|
*/
|
|
9
9
|
export interface VTCVettingVettersGrantPayload {
|
|
10
10
|
/**
|
|
@@ -22,11 +22,11 @@ export interface VTCVettingVettersGrantPayload {
|
|
|
22
22
|
*/
|
|
23
23
|
export interface VTCVettingVettersGrantResponsePayload {
|
|
24
24
|
/**
|
|
25
|
-
* The community's
|
|
25
|
+
* 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.
|
|
26
26
|
*/
|
|
27
27
|
endorsementId: string;
|
|
28
28
|
/**
|
|
29
|
-
* The `id` of the role credential, a URI.
|
|
29
|
+
* The `id` of the role credential (the Verifiable Authority Credential), a URI.
|
|
30
30
|
*/
|
|
31
31
|
credentialId: string;
|
|
32
32
|
/**
|
|
@@ -62,7 +62,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
62
62
|
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
63
63
|
readonly $id: "https://trusttasks.org/spec/vtc/vetting/vetters/grant/0.1";
|
|
64
64
|
readonly title: "VTC Vetting — Vetters Grant — payload";
|
|
65
|
-
readonly description: "A community administrator makes a member a vetter. The community issues the member a revocable `
|
|
65
|
+
readonly 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.";
|
|
66
66
|
readonly type: "object";
|
|
67
67
|
readonly additionalProperties: false;
|
|
68
68
|
readonly required: readonly ["memberDid"];
|
|
@@ -95,14 +95,14 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
95
95
|
readonly type: "string";
|
|
96
96
|
readonly minLength: 1;
|
|
97
97
|
readonly maxLength: 128;
|
|
98
|
-
readonly description: "The community's
|
|
98
|
+
readonly 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.";
|
|
99
99
|
};
|
|
100
100
|
readonly credentialId: {
|
|
101
101
|
readonly type: "string";
|
|
102
102
|
readonly minLength: 1;
|
|
103
103
|
readonly maxLength: 512;
|
|
104
104
|
readonly pattern: "^[a-zA-Z][a-zA-Z0-9+.-]*:\\S+$";
|
|
105
|
-
readonly description: "The `id` of the role credential, a URI.";
|
|
105
|
+
readonly description: "The `id` of the role credential (the Verifiable Authority Credential), a URI.";
|
|
106
106
|
};
|
|
107
107
|
readonly validFrom: {
|
|
108
108
|
readonly type: "string";
|
|
@@ -148,14 +148,14 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
148
148
|
readonly type: "string";
|
|
149
149
|
readonly minLength: 1;
|
|
150
150
|
readonly maxLength: 128;
|
|
151
|
-
readonly description: "The community's
|
|
151
|
+
readonly 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.";
|
|
152
152
|
};
|
|
153
153
|
readonly credentialId: {
|
|
154
154
|
readonly type: "string";
|
|
155
155
|
readonly minLength: 1;
|
|
156
156
|
readonly maxLength: 512;
|
|
157
157
|
readonly pattern: "^[a-zA-Z][a-zA-Z0-9+.-]*:\\S+$";
|
|
158
|
-
readonly description: "The `id` of the role credential, a URI.";
|
|
158
|
+
readonly description: "The `id` of the role credential (the Verifiable Authority Credential), a URI.";
|
|
159
159
|
};
|
|
160
160
|
readonly validFrom: {
|
|
161
161
|
readonly type: "string";
|
|
@@ -200,7 +200,7 @@ export declare const SPEC: {
|
|
|
200
200
|
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
201
201
|
readonly $id: "https://trusttasks.org/spec/vtc/vetting/vetters/grant/0.1";
|
|
202
202
|
readonly title: "VTC Vetting — Vetters Grant — payload";
|
|
203
|
-
readonly description: "A community administrator makes a member a vetter. The community issues the member a revocable `
|
|
203
|
+
readonly 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.";
|
|
204
204
|
readonly type: "object";
|
|
205
205
|
readonly additionalProperties: false;
|
|
206
206
|
readonly required: readonly ["memberDid"];
|
|
@@ -233,14 +233,14 @@ export declare const SPEC: {
|
|
|
233
233
|
readonly type: "string";
|
|
234
234
|
readonly minLength: 1;
|
|
235
235
|
readonly maxLength: 128;
|
|
236
|
-
readonly description: "The community's
|
|
236
|
+
readonly 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.";
|
|
237
237
|
};
|
|
238
238
|
readonly credentialId: {
|
|
239
239
|
readonly type: "string";
|
|
240
240
|
readonly minLength: 1;
|
|
241
241
|
readonly maxLength: 512;
|
|
242
242
|
readonly pattern: "^[a-zA-Z][a-zA-Z0-9+.-]*:\\S+$";
|
|
243
|
-
readonly description: "The `id` of the role credential, a URI.";
|
|
243
|
+
readonly description: "The `id` of the role credential (the Verifiable Authority Credential), a URI.";
|
|
244
244
|
};
|
|
245
245
|
readonly validFrom: {
|
|
246
246
|
readonly type: "string";
|
|
@@ -297,14 +297,14 @@ export declare const RESPONSE_SPEC: {
|
|
|
297
297
|
readonly type: "string";
|
|
298
298
|
readonly minLength: 1;
|
|
299
299
|
readonly maxLength: 128;
|
|
300
|
-
readonly description: "The community's
|
|
300
|
+
readonly 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.";
|
|
301
301
|
};
|
|
302
302
|
readonly credentialId: {
|
|
303
303
|
readonly type: "string";
|
|
304
304
|
readonly minLength: 1;
|
|
305
305
|
readonly maxLength: 512;
|
|
306
306
|
readonly pattern: "^[a-zA-Z][a-zA-Z0-9+.-]*:\\S+$";
|
|
307
|
-
readonly description: "The `id` of the role credential, a URI.";
|
|
307
|
+
readonly description: "The `id` of the role credential (the Verifiable Authority Credential), a URI.";
|
|
308
308
|
};
|
|
309
309
|
readonly validFrom: {
|
|
310
310
|
readonly type: "string";
|
|
@@ -19,7 +19,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
19
19
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
20
20
|
"$id": "https://trusttasks.org/spec/vtc/vetting/vetters/grant/0.1",
|
|
21
21
|
"title": "VTC Vetting — Vetters Grant — payload",
|
|
22
|
-
"description": "A community administrator makes a member a vetter. The community issues the member a revocable `
|
|
22
|
+
"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.",
|
|
23
23
|
"type": "object",
|
|
24
24
|
"additionalProperties": false,
|
|
25
25
|
"required": [
|
|
@@ -59,14 +59,14 @@ export const PAYLOAD_SCHEMA = {
|
|
|
59
59
|
"type": "string",
|
|
60
60
|
"minLength": 1,
|
|
61
61
|
"maxLength": 128,
|
|
62
|
-
"description": "The community's
|
|
62
|
+
"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."
|
|
63
63
|
},
|
|
64
64
|
"credentialId": {
|
|
65
65
|
"type": "string",
|
|
66
66
|
"minLength": 1,
|
|
67
67
|
"maxLength": 512,
|
|
68
68
|
"pattern": "^[a-zA-Z][a-zA-Z0-9+.-]*:\\S+$",
|
|
69
|
-
"description": "The `id` of the role credential, a URI."
|
|
69
|
+
"description": "The `id` of the role credential (the Verifiable Authority Credential), a URI."
|
|
70
70
|
},
|
|
71
71
|
"validFrom": {
|
|
72
72
|
"type": "string",
|
|
@@ -117,14 +117,14 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
117
117
|
"type": "string",
|
|
118
118
|
"minLength": 1,
|
|
119
119
|
"maxLength": 128,
|
|
120
|
-
"description": "The community's
|
|
120
|
+
"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."
|
|
121
121
|
},
|
|
122
122
|
"credentialId": {
|
|
123
123
|
"type": "string",
|
|
124
124
|
"minLength": 1,
|
|
125
125
|
"maxLength": 512,
|
|
126
126
|
"pattern": "^[a-zA-Z][a-zA-Z0-9+.-]*:\\S+$",
|
|
127
|
-
"description": "The `id` of the role credential, a URI."
|
|
127
|
+
"description": "The `id` of the role credential (the Verifiable Authority Credential), a URI."
|
|
128
128
|
},
|
|
129
129
|
"validFrom": {
|
|
130
130
|
"type": "string",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/vtc/vetting/vetters/grant/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA6CH,2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export interface WitnessSessionSubmitPayload {
|
|
|
18
18
|
*/
|
|
19
19
|
export interface WitnessSessionSubmitResponsePayload {
|
|
20
20
|
/**
|
|
21
|
-
* A signed Verifiable Witness Credential (opaque here; its schema belongs to DTG Core
|
|
21
|
+
* 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.
|
|
22
22
|
*/
|
|
23
23
|
vwc: {};
|
|
24
24
|
/**
|
|
@@ -74,7 +74,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
74
74
|
readonly properties: {
|
|
75
75
|
readonly vwc: {
|
|
76
76
|
readonly type: "object";
|
|
77
|
-
readonly description: "A signed Verifiable Witness Credential (opaque here; its schema belongs to DTG Core
|
|
77
|
+
readonly 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.";
|
|
78
78
|
};
|
|
79
79
|
readonly vwcDigestMultibase: {
|
|
80
80
|
readonly $ref: "#/$defs/DigestMultibase";
|
|
@@ -120,7 +120,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
120
120
|
readonly properties: {
|
|
121
121
|
readonly vwc: {
|
|
122
122
|
readonly type: "object";
|
|
123
|
-
readonly description: "A signed Verifiable Witness Credential (opaque here; its schema belongs to DTG Core
|
|
123
|
+
readonly 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.";
|
|
124
124
|
};
|
|
125
125
|
readonly vwcDigestMultibase: {
|
|
126
126
|
readonly $ref: "#/$defs/DigestMultibase";
|
|
@@ -191,7 +191,7 @@ export declare const SPEC: {
|
|
|
191
191
|
readonly properties: {
|
|
192
192
|
readonly vwc: {
|
|
193
193
|
readonly type: "object";
|
|
194
|
-
readonly description: "A signed Verifiable Witness Credential (opaque here; its schema belongs to DTG Core
|
|
194
|
+
readonly 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.";
|
|
195
195
|
};
|
|
196
196
|
readonly vwcDigestMultibase: {
|
|
197
197
|
readonly $ref: "#/$defs/DigestMultibase";
|
|
@@ -248,7 +248,7 @@ export declare const RESPONSE_SPEC: {
|
|
|
248
248
|
readonly properties: {
|
|
249
249
|
readonly vwc: {
|
|
250
250
|
readonly type: "object";
|
|
251
|
-
readonly description: "A signed Verifiable Witness Credential (opaque here; its schema belongs to DTG Core
|
|
251
|
+
readonly 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.";
|
|
252
252
|
};
|
|
253
253
|
readonly vwcDigestMultibase: {
|
|
254
254
|
readonly $ref: "#/$defs/DigestMultibase";
|
|
@@ -48,7 +48,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
48
48
|
"properties": {
|
|
49
49
|
"vwc": {
|
|
50
50
|
"type": "object",
|
|
51
|
-
"description": "A signed Verifiable Witness Credential (opaque here; its schema belongs to DTG Core
|
|
51
|
+
"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."
|
|
52
52
|
},
|
|
53
53
|
"vwcDigestMultibase": {
|
|
54
54
|
"$ref": "#/$defs/DigestMultibase",
|
|
@@ -99,7 +99,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
99
99
|
"properties": {
|
|
100
100
|
"vwc": {
|
|
101
101
|
"type": "object",
|
|
102
|
-
"description": "A signed Verifiable Witness Credential (opaque here; its schema belongs to DTG Core
|
|
102
|
+
"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."
|
|
103
103
|
},
|
|
104
104
|
"vwcDigestMultibase": {
|
|
105
105
|
"$ref": "#/$defs/DigestMultibase",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/witness/session/submit/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAiCH,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,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E;gBACZ,KAAK,EAAE;oBACL,MAAM,EAAE,QAAQ;oBAChB,aAAa,EAAE,o4BAAo4B;iBACp5B;gBACD,oBAAoB,EAAE;oBACpB,MAAM,EAAE,yBAAyB;oBACjC,aAAa,EAAE,qpBAAqpB;iBACrqB;gBACD,KAAK,EAAE;oBACL,MAAM,EAAE,aAAa;iBACtB;aACF;SACF;QACD,KAAK,EAAE;YACL,OAAO,EAAE,KAAK;YACd,aAAa,EAAE,uKAAuK;YACtL,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,CAAC;YAClB,sBAAsB,EAAE,IAAI;YAC5B,eAAe,EAAE;gBACf,SAAS,EAAE,mCAAmC;aAC/C;SACF;QACD,iBAAiB,EAAE;YACjB,OAAO,EAAE,iBAAiB;YAC1B,aAAa,EAAE,gnDAAgnD;YAC/nD,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,EAAE;YACf,SAAS,EAAE,4CAA4C;YACvD,UAAU,EAAE;gBACV,iDAAiD;aAClD;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"}
|
package/package.json
CHANGED
|
@@ -235,7 +235,7 @@ export type DriftType =
|
|
|
235
235
|
| "protectionWeakened"
|
|
236
236
|
| "bootstrapMissing";
|
|
237
237
|
/**
|
|
238
|
-
* The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`. Absent for a community-defined
|
|
238
|
+
* 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.
|
|
239
239
|
*/
|
|
240
240
|
export type DtgType = string;
|
|
241
241
|
/**
|
|
@@ -2830,42 +2830,42 @@ export interface EncryptionParams {
|
|
|
2830
2830
|
}
|
|
2831
2831
|
export interface Endorsement {
|
|
2832
2832
|
/**
|
|
2833
|
-
* Community-scoped identifier for this
|
|
2833
|
+
* 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.
|
|
2834
2834
|
*/
|
|
2835
2835
|
endorsementId: string;
|
|
2836
2836
|
/**
|
|
2837
|
-
*
|
|
2837
|
+
* 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.
|
|
2838
2838
|
*/
|
|
2839
2839
|
typeUri: string;
|
|
2840
2840
|
/**
|
|
2841
|
-
* DID of the
|
|
2841
|
+
* DID of the statement's subject (becomes credentialSubject.id).
|
|
2842
2842
|
*/
|
|
2843
2843
|
subjectDid: string;
|
|
2844
2844
|
/**
|
|
2845
|
-
* The attested claim body
|
|
2845
|
+
* The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one.
|
|
2846
2846
|
*/
|
|
2847
2847
|
claim?: {};
|
|
2848
2848
|
/**
|
|
2849
|
-
* A pointer to the issued
|
|
2849
|
+
* 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.
|
|
2850
2850
|
*/
|
|
2851
2851
|
issued: CredentialReference;
|
|
2852
2852
|
/**
|
|
2853
|
-
* The
|
|
2853
|
+
* 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.
|
|
2854
2854
|
*/
|
|
2855
2855
|
statusListIndex: number;
|
|
2856
2856
|
/**
|
|
2857
|
-
* When the
|
|
2857
|
+
* When the statement was revoked, or null while live.
|
|
2858
2858
|
*/
|
|
2859
2859
|
revokedAt?: string | null;
|
|
2860
2860
|
}
|
|
2861
2861
|
export interface EndorsementType {
|
|
2862
2862
|
/**
|
|
2863
|
-
* The
|
|
2863
|
+
* 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.
|
|
2864
2864
|
*/
|
|
2865
2865
|
typeUri: string;
|
|
2866
2866
|
description?: string;
|
|
2867
2867
|
/**
|
|
2868
|
-
* Optional JSON Schema
|
|
2868
|
+
* Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes.
|
|
2869
2869
|
*/
|
|
2870
2870
|
claimSchema?: {};
|
|
2871
2871
|
createdAt?: string;
|
|
@@ -3462,9 +3462,9 @@ export interface MemberResponse {
|
|
|
3462
3462
|
*/
|
|
3463
3463
|
currentVmcId?: string | null;
|
|
3464
3464
|
/**
|
|
3465
|
-
* Id of the member's current role Verifiable
|
|
3465
|
+
* Id of the member's current role credential — a community-issued Verifiable Authority Credential conferring `role:<name>` — if issued. Formerly `currentRoleVecId`.
|
|
3466
3466
|
*/
|
|
3467
|
-
|
|
3467
|
+
currentRoleVacId?: string | null;
|
|
3468
3468
|
/**
|
|
3469
3469
|
* Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision.
|
|
3470
3470
|
*/
|
|
@@ -3834,7 +3834,7 @@ export interface PersonhoodGovernance {
|
|
|
3834
3834
|
*/
|
|
3835
3835
|
singleMembership?: boolean;
|
|
3836
3836
|
/**
|
|
3837
|
-
* DIDs of the identity-verification providers whose credentials this community accepts as personhood evidence. A community that vets its own members in person lists its own community DID here — it is acting as its own IDVP, which §IDVC permits. An empty list means no list has been published, not that everything is accepted.
|
|
3837
|
+
* DIDs of the identity-verification providers whose credentials this community accepts as personhood evidence. A community that vets its own members in person lists its own community DID here — it is acting as its own IDVP, which §IDVC permits — and issues the evidence as an `IdentityVerificationCredential` (a plain W3C VC, not a DTGCredential) through vtc/endorsements/issue. An empty list means no list has been published, not that everything is accepted.
|
|
3838
3838
|
*/
|
|
3839
3839
|
acceptedIdvps?: string[];
|
|
3840
3840
|
/**
|
|
@@ -5878,7 +5878,7 @@ export interface VettingRequirements {
|
|
|
5878
5878
|
*/
|
|
5879
5879
|
version: string;
|
|
5880
5880
|
/**
|
|
5881
|
-
* The
|
|
5881
|
+
* 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.
|
|
5882
5882
|
*/
|
|
5883
5883
|
statementType: string;
|
|
5884
5884
|
/**
|
|
@@ -5917,7 +5917,7 @@ export interface VettingRequirements {
|
|
|
5917
5917
|
*/
|
|
5918
5918
|
eligibleVetters: {
|
|
5919
5919
|
/**
|
|
5920
|
-
* The role
|
|
5920
|
+
* 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.
|
|
5921
5921
|
*/
|
|
5922
5922
|
role: string;
|
|
5923
5923
|
};
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* The `credentialSubject.
|
|
7
|
+
* The `credentialSubject.object.value` of a Vetting Statement: a DTG Verifiable Statement Credential (`StatementCredential`) under the predicate `https://registry.trustoverip.org/dtg/vsc/vetted/1`, issued by a vetter's member DID about an applicant's DID, attesting that the vetter checked the applicant's claimed identity in a vetting session. The member set, the required set and the enumerated values are exactly those of the predicate's object schema in the DTG VSC predicate registry (`https://registry.trustoverip.org/dtg/vsc/vetted/1/vetting.schema.json`); where this definition is narrower — claim and document types use the vetting vocabularies — every value it accepts is also valid under the registry schema. There is no `type` member: the statement's `predicate` carries its meaning. A community names that predicate in its manifest as `vetting.statementType`. The credential envelope — `issuer`, `issuerScope`, validity, `taskContext`, `taskDigestMultibase`, proof — belongs to DTG credentials; only the object value is defined here. It records what the vetter did and relied on, never what they saw: no document number, no image, no claimed name. Not itself a Trust Task specification (the `_shared` folder is skipped by the registry build and the codegen).
|
|
8
8
|
*/
|
|
9
|
-
export interface
|
|
9
|
+
export interface IdentityVettingStatementValueSharedDefinition {
|
|
10
10
|
[k: string]: unknown | undefined;
|
|
11
11
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* The Vetting Card: a signed, audience-bound profile of the relationship card (r-card) an applicant presents to one vetter in one vetting session. A Verifiable Data Structure — its publisher signs it so the recipient can verify it — bound by `audience`, `challenge` and `domain` to exactly one vetter and one session, and valid for minutes. It carries the identity claims the vetter checks against the person and their documentation, and a salted `identityCommitment` over the required claims so a community can later confirm every vetter checked the same claimed identity without ever seeing it. It never carries a document number, a document image, or a portrait. Returned by vetting/session#response; its digest is carried in the
|
|
7
|
+
* The Vetting Card: a signed, audience-bound profile of the relationship card (r-card) an applicant presents to one vetter in one vetting session. A Verifiable Data Structure — its publisher signs it so the recipient can verify it — bound by `audience`, `challenge` and `domain` to exactly one vetter and one session, and valid for minutes. It carries the identity claims the vetter checks against the person and their documentation, and a salted `identityCommitment` over the required claims so a community can later confirm every vetter checked the same claimed identity without ever seeing it. It never carries a document number, a document image, or a portrait. Returned by vetting/session#response; its digest is carried in the Vetting Statement as `credentialSubject.object.value.cardDigestMultibase`. Not itself a Trust Task specification (the `_shared` folder is skipped by the registry build and the codegen).
|
|
8
8
|
*/
|
|
9
9
|
export interface VettingCardSharedDefinition {
|
|
10
10
|
[k: string]: unknown | undefined;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* The vocabularies every identity-vetting artifact is written in: how a vetter established who an applicant is (VettingMethod), what documentation is accepted or was relied on (VettingDocumentation), and how the vetter knows the applicant (VettingRelationship). Used by vtc/join-requests/manifest (what a community requires), the vetting/* peer tasks (what a vetter offers and does), and the identity-vetting
|
|
7
|
+
* The vocabularies every identity-vetting artifact is written in: how a vetter established who an applicant is (VettingMethod), what documentation is accepted or was relied on (VettingDocumentation), and how the vetter knows the applicant (VettingRelationship). Used by vtc/join-requests/manifest (what a community requires), the vetting/* peer tasks (what a vetter offers and does), and the identity-vetting statement's object value under the `vetted` predicate (what a vetter attested). One definition, so a community's requirement and a vetter's statement are compared value-for-value rather than by translation. Claim types are not redefined here: they are the persona family's ClaimType (persona/_shared/0.1/persona-record), because a Vetting Card is rendered from a persona. Not itself a Trust Task specification (the `_shared` folder is skipped by the registry build and the codegen).
|
|
8
8
|
*/
|
|
9
9
|
export interface VettingSharedVocabulary {
|
|
10
10
|
[k: string]: unknown | undefined;
|
|
@@ -157,7 +157,7 @@ export interface EligibilityPresentation {
|
|
|
157
157
|
*/
|
|
158
158
|
holder: string;
|
|
159
159
|
/**
|
|
160
|
-
* Credentials presented (opaque here). MUST include the
|
|
160
|
+
* Credentials presented (opaque here). MUST include the vetter role credential: a Verifiable Authority Credential (`type` including `AuthorityCredential`) issued by the community, whose `credentialSubject.id` is `holder`, whose `authority.scope` is the community's DID, and whose `authority.actions` include `role:<role>` for the manifest's `eligibleVetters.role` — see vtc/vetting/vetters/grant/0.1. MAY include others, such as the membership credential.
|
|
161
161
|
*
|
|
162
162
|
* @minItems 1
|
|
163
163
|
*/
|
|
@@ -386,7 +386,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
386
386
|
"items": {
|
|
387
387
|
"type": "object"
|
|
388
388
|
},
|
|
389
|
-
"description": "Credentials presented (opaque here). MUST include the
|
|
389
|
+
"description": "Credentials presented (opaque here). MUST include the vetter role credential: a Verifiable Authority Credential (`type` including `AuthorityCredential`) issued by the community, whose `credentialSubject.id` is `holder`, whose `authority.scope` is the community's DID, and whose `authority.actions` include `role:<role>` for the manifest's `eligibleVetters.role` — see vtc/vetting/vetters/grant/0.1. MAY include others, such as the membership credential."
|
|
390
390
|
},
|
|
391
391
|
"nonce": {
|
|
392
392
|
"type": "string",
|
|
@@ -628,7 +628,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
628
628
|
"items": {
|
|
629
629
|
"type": "object"
|
|
630
630
|
},
|
|
631
|
-
"description": "Credentials presented (opaque here). MUST include the
|
|
631
|
+
"description": "Credentials presented (opaque here). MUST include the vetter role credential: a Verifiable Authority Credential (`type` including `AuthorityCredential`) issued by the community, whose `credentialSubject.id` is `holder`, whose `authority.scope` is the community's DID, and whose `authority.actions` include `role:<role>` for the manifest's `eligibleVetters.role` — see vtc/vetting/vetters/grant/0.1. MAY include others, such as the membership credential."
|
|
632
632
|
},
|
|
633
633
|
"nonce": {
|
|
634
634
|
"type": "string",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* Shared type for the vtc/endorsement-types/* family: one operator-registered
|
|
7
|
+
* Shared type for the vtc/endorsement-types/* family: one operator-registered statement predicate a community accepts. Each entry is a predicate IRI a DTG Verifiable Statement Credential (`StatementCredential`) carries in `credentialSubject.predicate` — a DTG VSC predicate registry IRI such as `https://registry.trustoverip.org/dtg/vsc/vetted/1`, or an IRI in a namespace the community controls whose definition follows the registry's predicate definition format. The registered set is the community's accept-list: a verifier applying the community's policy fails closed, rejecting a statement whose predicate is not registered rather than processing it as a generic statement. Roles are not endorsements and are never registered here — a role is conferred by a Verifiable Authority Credential (see vtc/vetting/vetters/grant). The family and field names are kept from when statements were endorsement types.
|
|
8
8
|
*/
|
|
9
9
|
export interface VTCSharedEndorsementTypeDefinitions {
|
|
10
10
|
[k: string]: unknown | undefined;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* Shared type for the vtc/endorsements/* family: one issued Verifiable Endorsement Credential (VEC)
|
|
7
|
+
* Shared type for the vtc/endorsements/* family: one community-issued, community-revocable credential row. Usually a statement — `typeUri` says which kind of row it is. The statement credential is a DTG Verifiable Statement Credential (`type` [VerifiableCredential, DTGCredential, StatementCredential], `issuerScope` public) — a Verifiable Endorsement Credential (VEC) when its predicate is `https://registry.trustoverip.org/dtg/vsc/endorses/1`. Embeds the registry-wide credentials/_shared CredentialReference and adds the VTC-specific parts — the registered predicate and the shared status-list slot that makes the statement third-party revocation-checkable. The family and member names (`endorsementId`, `typeUri`, `claim`) are kept from when these were `EndorsementCredential`s.
|
|
8
8
|
*/
|
|
9
9
|
export interface VTCSharedEndorsementDefinitions {
|
|
10
10
|
[k: string]: unknown | undefined;
|