@openvtc/trust-tasks 0.21.16 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/dist/_shared/components.d.ts +14 -14
- 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/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 +14 -14
- 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/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
|
@@ -82,36 +82,36 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
82
82
|
readonly endorsementId: {
|
|
83
83
|
readonly type: "string";
|
|
84
84
|
readonly minLength: 1;
|
|
85
|
-
readonly description: "Community-scoped identifier for this
|
|
85
|
+
readonly description: "Community-scoped identifier for this row. The name is legacy; it identifies a statement, and vtc/endorsements/revoke also takes the `endorsementId` of a role credential issued by vtc/vetting/vetters/grant.";
|
|
86
86
|
};
|
|
87
87
|
readonly typeUri: {
|
|
88
88
|
readonly type: "string";
|
|
89
89
|
readonly minLength: 1;
|
|
90
90
|
readonly maxLength: 512;
|
|
91
|
-
readonly description: "The registered
|
|
91
|
+
readonly description: "The registered predicate IRI the statement carries as `credentialSubject.predicate`; see vtc/endorsement-types/*.";
|
|
92
92
|
};
|
|
93
93
|
readonly subjectDid: {
|
|
94
94
|
readonly type: "string";
|
|
95
95
|
readonly pattern: "^did:";
|
|
96
|
-
readonly description: "DID of the
|
|
96
|
+
readonly description: "DID of the statement's subject (becomes credentialSubject.id).";
|
|
97
97
|
};
|
|
98
98
|
readonly claim: {
|
|
99
99
|
readonly type: "object";
|
|
100
|
-
readonly description: "The attested claim body
|
|
100
|
+
readonly description: "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one.";
|
|
101
101
|
};
|
|
102
102
|
readonly issued: {
|
|
103
103
|
readonly $ref: "#/$defs/CredentialReference";
|
|
104
|
-
readonly description: "A pointer to the issued
|
|
104
|
+
readonly description: "A pointer to the issued statement credential — its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it.";
|
|
105
105
|
};
|
|
106
106
|
readonly statusListIndex: {
|
|
107
107
|
readonly type: "integer";
|
|
108
108
|
readonly minimum: 0;
|
|
109
|
-
readonly description: "The
|
|
109
|
+
readonly description: "The statement's slot on the community's shared Revocation status list, referenced by its `credentialStatus`. Published, so a foreign verifier can check revocation without contacting this community.";
|
|
110
110
|
};
|
|
111
111
|
readonly revokedAt: {
|
|
112
112
|
readonly type: readonly ["string", "null"];
|
|
113
113
|
readonly format: "date-time";
|
|
114
|
-
readonly description: "When the
|
|
114
|
+
readonly description: "When the statement was revoked, or null while live.";
|
|
115
115
|
};
|
|
116
116
|
};
|
|
117
117
|
};
|
|
@@ -187,36 +187,36 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
187
187
|
readonly endorsementId: {
|
|
188
188
|
readonly type: "string";
|
|
189
189
|
readonly minLength: 1;
|
|
190
|
-
readonly description: "Community-scoped identifier for this
|
|
190
|
+
readonly description: "Community-scoped identifier for this row. The name is legacy; it identifies a statement, and vtc/endorsements/revoke also takes the `endorsementId` of a role credential issued by vtc/vetting/vetters/grant.";
|
|
191
191
|
};
|
|
192
192
|
readonly typeUri: {
|
|
193
193
|
readonly type: "string";
|
|
194
194
|
readonly minLength: 1;
|
|
195
195
|
readonly maxLength: 512;
|
|
196
|
-
readonly description: "The registered
|
|
196
|
+
readonly description: "The registered predicate IRI the statement carries as `credentialSubject.predicate`; see vtc/endorsement-types/*.";
|
|
197
197
|
};
|
|
198
198
|
readonly subjectDid: {
|
|
199
199
|
readonly type: "string";
|
|
200
200
|
readonly pattern: "^did:";
|
|
201
|
-
readonly description: "DID of the
|
|
201
|
+
readonly description: "DID of the statement's subject (becomes credentialSubject.id).";
|
|
202
202
|
};
|
|
203
203
|
readonly claim: {
|
|
204
204
|
readonly type: "object";
|
|
205
|
-
readonly description: "The attested claim body
|
|
205
|
+
readonly description: "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one.";
|
|
206
206
|
};
|
|
207
207
|
readonly issued: {
|
|
208
208
|
readonly $ref: "#/$defs/CredentialReference";
|
|
209
|
-
readonly description: "A pointer to the issued
|
|
209
|
+
readonly description: "A pointer to the issued statement credential — its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it.";
|
|
210
210
|
};
|
|
211
211
|
readonly statusListIndex: {
|
|
212
212
|
readonly type: "integer";
|
|
213
213
|
readonly minimum: 0;
|
|
214
|
-
readonly description: "The
|
|
214
|
+
readonly description: "The statement's slot on the community's shared Revocation status list, referenced by its `credentialStatus`. Published, so a foreign verifier can check revocation without contacting this community.";
|
|
215
215
|
};
|
|
216
216
|
readonly revokedAt: {
|
|
217
217
|
readonly type: readonly ["string", "null"];
|
|
218
218
|
readonly format: "date-time";
|
|
219
|
-
readonly description: "When the
|
|
219
|
+
readonly description: "When the statement was revoked, or null while live.";
|
|
220
220
|
};
|
|
221
221
|
};
|
|
222
222
|
};
|
|
@@ -316,36 +316,36 @@ export declare const SPEC: {
|
|
|
316
316
|
readonly endorsementId: {
|
|
317
317
|
readonly type: "string";
|
|
318
318
|
readonly minLength: 1;
|
|
319
|
-
readonly description: "Community-scoped identifier for this
|
|
319
|
+
readonly description: "Community-scoped identifier for this row. The name is legacy; it identifies a statement, and vtc/endorsements/revoke also takes the `endorsementId` of a role credential issued by vtc/vetting/vetters/grant.";
|
|
320
320
|
};
|
|
321
321
|
readonly typeUri: {
|
|
322
322
|
readonly type: "string";
|
|
323
323
|
readonly minLength: 1;
|
|
324
324
|
readonly maxLength: 512;
|
|
325
|
-
readonly description: "The registered
|
|
325
|
+
readonly description: "The registered predicate IRI the statement carries as `credentialSubject.predicate`; see vtc/endorsement-types/*.";
|
|
326
326
|
};
|
|
327
327
|
readonly subjectDid: {
|
|
328
328
|
readonly type: "string";
|
|
329
329
|
readonly pattern: "^did:";
|
|
330
|
-
readonly description: "DID of the
|
|
330
|
+
readonly description: "DID of the statement's subject (becomes credentialSubject.id).";
|
|
331
331
|
};
|
|
332
332
|
readonly claim: {
|
|
333
333
|
readonly type: "object";
|
|
334
|
-
readonly description: "The attested claim body
|
|
334
|
+
readonly description: "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one.";
|
|
335
335
|
};
|
|
336
336
|
readonly issued: {
|
|
337
337
|
readonly $ref: "#/$defs/CredentialReference";
|
|
338
|
-
readonly description: "A pointer to the issued
|
|
338
|
+
readonly description: "A pointer to the issued statement credential — its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it.";
|
|
339
339
|
};
|
|
340
340
|
readonly statusListIndex: {
|
|
341
341
|
readonly type: "integer";
|
|
342
342
|
readonly minimum: 0;
|
|
343
|
-
readonly description: "The
|
|
343
|
+
readonly description: "The statement's slot on the community's shared Revocation status list, referenced by its `credentialStatus`. Published, so a foreign verifier can check revocation without contacting this community.";
|
|
344
344
|
};
|
|
345
345
|
readonly revokedAt: {
|
|
346
346
|
readonly type: readonly ["string", "null"];
|
|
347
347
|
readonly format: "date-time";
|
|
348
|
-
readonly description: "When the
|
|
348
|
+
readonly description: "When the statement was revoked, or null while live.";
|
|
349
349
|
};
|
|
350
350
|
};
|
|
351
351
|
};
|
|
@@ -432,36 +432,36 @@ export declare const RESPONSE_SPEC: {
|
|
|
432
432
|
readonly endorsementId: {
|
|
433
433
|
readonly type: "string";
|
|
434
434
|
readonly minLength: 1;
|
|
435
|
-
readonly description: "Community-scoped identifier for this
|
|
435
|
+
readonly description: "Community-scoped identifier for this row. The name is legacy; it identifies a statement, and vtc/endorsements/revoke also takes the `endorsementId` of a role credential issued by vtc/vetting/vetters/grant.";
|
|
436
436
|
};
|
|
437
437
|
readonly typeUri: {
|
|
438
438
|
readonly type: "string";
|
|
439
439
|
readonly minLength: 1;
|
|
440
440
|
readonly maxLength: 512;
|
|
441
|
-
readonly description: "The registered
|
|
441
|
+
readonly description: "The registered predicate IRI the statement carries as `credentialSubject.predicate`; see vtc/endorsement-types/*.";
|
|
442
442
|
};
|
|
443
443
|
readonly subjectDid: {
|
|
444
444
|
readonly type: "string";
|
|
445
445
|
readonly pattern: "^did:";
|
|
446
|
-
readonly description: "DID of the
|
|
446
|
+
readonly description: "DID of the statement's subject (becomes credentialSubject.id).";
|
|
447
447
|
};
|
|
448
448
|
readonly claim: {
|
|
449
449
|
readonly type: "object";
|
|
450
|
-
readonly description: "The attested claim body
|
|
450
|
+
readonly description: "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one.";
|
|
451
451
|
};
|
|
452
452
|
readonly issued: {
|
|
453
453
|
readonly $ref: "#/$defs/CredentialReference";
|
|
454
|
-
readonly description: "A pointer to the issued
|
|
454
|
+
readonly description: "A pointer to the issued statement credential — its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it.";
|
|
455
455
|
};
|
|
456
456
|
readonly statusListIndex: {
|
|
457
457
|
readonly type: "integer";
|
|
458
458
|
readonly minimum: 0;
|
|
459
|
-
readonly description: "The
|
|
459
|
+
readonly description: "The statement's slot on the community's shared Revocation status list, referenced by its `credentialStatus`. Published, so a foreign verifier can check revocation without contacting this community.";
|
|
460
460
|
};
|
|
461
461
|
readonly revokedAt: {
|
|
462
462
|
readonly type: readonly ["string", "null"];
|
|
463
463
|
readonly format: "date-time";
|
|
464
|
-
readonly description: "When the
|
|
464
|
+
readonly description: "When the statement was revoked, or null while live.";
|
|
465
465
|
};
|
|
466
466
|
};
|
|
467
467
|
};
|
|
@@ -77,31 +77,31 @@ export const PAYLOAD_SCHEMA = {
|
|
|
77
77
|
"endorsementId": {
|
|
78
78
|
"type": "string",
|
|
79
79
|
"minLength": 1,
|
|
80
|
-
"description": "Community-scoped identifier for this
|
|
80
|
+
"description": "Community-scoped identifier for this row. The name is legacy; it identifies a statement, and vtc/endorsements/revoke also takes the `endorsementId` of a role credential issued by vtc/vetting/vetters/grant."
|
|
81
81
|
},
|
|
82
82
|
"typeUri": {
|
|
83
83
|
"type": "string",
|
|
84
84
|
"minLength": 1,
|
|
85
85
|
"maxLength": 512,
|
|
86
|
-
"description": "The registered
|
|
86
|
+
"description": "The registered predicate IRI the statement carries as `credentialSubject.predicate`; see vtc/endorsement-types/*."
|
|
87
87
|
},
|
|
88
88
|
"subjectDid": {
|
|
89
89
|
"type": "string",
|
|
90
90
|
"pattern": "^did:",
|
|
91
|
-
"description": "DID of the
|
|
91
|
+
"description": "DID of the statement's subject (becomes credentialSubject.id)."
|
|
92
92
|
},
|
|
93
93
|
"claim": {
|
|
94
94
|
"type": "object",
|
|
95
|
-
"description": "The attested claim body
|
|
95
|
+
"description": "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one."
|
|
96
96
|
},
|
|
97
97
|
"issued": {
|
|
98
98
|
"$ref": "#/$defs/CredentialReference",
|
|
99
|
-
"description": "A pointer to the issued
|
|
99
|
+
"description": "A pointer to the issued statement credential — its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it."
|
|
100
100
|
},
|
|
101
101
|
"statusListIndex": {
|
|
102
102
|
"type": "integer",
|
|
103
103
|
"minimum": 0,
|
|
104
|
-
"description": "The
|
|
104
|
+
"description": "The statement's slot on the community's shared Revocation status list, referenced by its `credentialStatus`. Published, so a foreign verifier can check revocation without contacting this community."
|
|
105
105
|
},
|
|
106
106
|
"revokedAt": {
|
|
107
107
|
"type": [
|
|
@@ -109,7 +109,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
109
109
|
"null"
|
|
110
110
|
],
|
|
111
111
|
"format": "date-time",
|
|
112
|
-
"description": "When the
|
|
112
|
+
"description": "When the statement was revoked, or null while live."
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
},
|
|
@@ -198,31 +198,31 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
198
198
|
"endorsementId": {
|
|
199
199
|
"type": "string",
|
|
200
200
|
"minLength": 1,
|
|
201
|
-
"description": "Community-scoped identifier for this
|
|
201
|
+
"description": "Community-scoped identifier for this row. The name is legacy; it identifies a statement, and vtc/endorsements/revoke also takes the `endorsementId` of a role credential issued by vtc/vetting/vetters/grant."
|
|
202
202
|
},
|
|
203
203
|
"typeUri": {
|
|
204
204
|
"type": "string",
|
|
205
205
|
"minLength": 1,
|
|
206
206
|
"maxLength": 512,
|
|
207
|
-
"description": "The registered
|
|
207
|
+
"description": "The registered predicate IRI the statement carries as `credentialSubject.predicate`; see vtc/endorsement-types/*."
|
|
208
208
|
},
|
|
209
209
|
"subjectDid": {
|
|
210
210
|
"type": "string",
|
|
211
211
|
"pattern": "^did:",
|
|
212
|
-
"description": "DID of the
|
|
212
|
+
"description": "DID of the statement's subject (becomes credentialSubject.id)."
|
|
213
213
|
},
|
|
214
214
|
"claim": {
|
|
215
215
|
"type": "object",
|
|
216
|
-
"description": "The attested claim body
|
|
216
|
+
"description": "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one."
|
|
217
217
|
},
|
|
218
218
|
"issued": {
|
|
219
219
|
"$ref": "#/$defs/CredentialReference",
|
|
220
|
-
"description": "A pointer to the issued
|
|
220
|
+
"description": "A pointer to the issued statement credential — its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it."
|
|
221
221
|
},
|
|
222
222
|
"statusListIndex": {
|
|
223
223
|
"type": "integer",
|
|
224
224
|
"minimum": 0,
|
|
225
|
-
"description": "The
|
|
225
|
+
"description": "The statement's slot on the community's shared Revocation status list, referenced by its `credentialStatus`. Published, so a foreign verifier can check revocation without contacting this community."
|
|
226
226
|
},
|
|
227
227
|
"revokedAt": {
|
|
228
228
|
"type": [
|
|
@@ -230,7 +230,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
230
230
|
"null"
|
|
231
231
|
],
|
|
232
232
|
"format": "date-time",
|
|
233
|
-
"description": "When the
|
|
233
|
+
"description": "When the statement was revoked, or null while live."
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/endorsements/show/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAiBH,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,UAAU,EAAE;QACV,eAAe;KAChB;IACD,YAAY,EAAE;QACZ,eAAe,EAAE;YACf,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;SACf;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,aAAa;aACd;YACD,YAAY,EAAE;gBACZ,aAAa,EAAE;oBACb,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,SAAS,EAAE,aAAa;YACxB,OAAO,EAAE,aAAa;YACtB,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,eAAe;gBACf,SAAS;gBACT,YAAY;gBACZ,QAAQ;gBACR,iBAAiB;aAClB;YACD,YAAY,EAAE;gBACZ,eAAe,EAAE;oBACf,MAAM,EAAE,QAAQ;oBAChB,WAAW,EAAE,CAAC;oBACd,aAAa,EAAE
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/endorsements/show/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAiBH,2BAA2B;AAC3B,MAAM,CAAC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KAAK;IACf,eAAe,EAAE,KAAK;IACtB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;IACzB,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"}
|
|
@@ -34,9 +34,9 @@ export interface VTCJoinRequestsDecideResponsePayload {
|
|
|
34
34
|
*/
|
|
35
35
|
vmc?: {} | null;
|
|
36
36
|
/**
|
|
37
|
-
* The
|
|
37
|
+
* The role credential this decision issued: a Verifiable Authority Credential (`type` including `AuthorityCredential`) issued by the community with `issuerScope` `public`, whose `credentialSubject.authority` is `{ scope: <community DID>, actions: ["role:<name>"] }` — the shape vtc/vetting/vetters/grant/0.1 issues. Delivered inline alongside `vmc` and on the same reasoning. Present only where the decision admitted the applicant and granted a role. Formerly `roleVec`; roles are authority, not endorsements.
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
roleVac?: {} | null;
|
|
40
40
|
ext?: Ext;
|
|
41
41
|
}
|
|
42
42
|
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
@@ -107,9 +107,9 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
107
107
|
readonly type: readonly ["object", "null"];
|
|
108
108
|
readonly description: "The membership credential issued by this decision, delivered inline. Present only where the decision admitted the applicant.\n\nInline because the alternative is worse: the applicant would poll for a status, learn they were admitted, and then fetch the credential separately — a second round trip whose only purpose is to collect something the community already had in hand when it decided.";
|
|
109
109
|
};
|
|
110
|
-
readonly
|
|
110
|
+
readonly roleVac: {
|
|
111
111
|
readonly type: readonly ["object", "null"];
|
|
112
|
-
readonly description: "The
|
|
112
|
+
readonly description: "The role credential this decision issued: a Verifiable Authority Credential (`type` including `AuthorityCredential`) issued by the community with `issuerScope` `public`, whose `credentialSubject.authority` is `{ scope: <community DID>, actions: [\"role:<name>\"] }` — the shape vtc/vetting/vetters/grant/0.1 issues. Delivered inline alongside `vmc` and on the same reasoning. Present only where the decision admitted the applicant and granted a role. Formerly `roleVec`; roles are authority, not endorsements.";
|
|
113
113
|
};
|
|
114
114
|
readonly ext: {
|
|
115
115
|
readonly $ref: "#/$defs/Ext";
|
|
@@ -154,9 +154,9 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
154
154
|
readonly type: readonly ["object", "null"];
|
|
155
155
|
readonly description: "The membership credential issued by this decision, delivered inline. Present only where the decision admitted the applicant.\n\nInline because the alternative is worse: the applicant would poll for a status, learn they were admitted, and then fetch the credential separately — a second round trip whose only purpose is to collect something the community already had in hand when it decided.";
|
|
156
156
|
};
|
|
157
|
-
readonly
|
|
157
|
+
readonly roleVac: {
|
|
158
158
|
readonly type: readonly ["object", "null"];
|
|
159
|
-
readonly description: "The
|
|
159
|
+
readonly description: "The role credential this decision issued: a Verifiable Authority Credential (`type` including `AuthorityCredential`) issued by the community with `issuerScope` `public`, whose `credentialSubject.authority` is `{ scope: <community DID>, actions: [\"role:<name>\"] }` — the shape vtc/vetting/vetters/grant/0.1 issues. Delivered inline alongside `vmc` and on the same reasoning. Present only where the decision admitted the applicant and granted a role. Formerly `roleVec`; roles are authority, not endorsements.";
|
|
160
160
|
};
|
|
161
161
|
readonly ext: {
|
|
162
162
|
readonly $ref: "#/$defs/Ext";
|
|
@@ -236,9 +236,9 @@ export declare const SPEC: {
|
|
|
236
236
|
readonly type: readonly ["object", "null"];
|
|
237
237
|
readonly description: "The membership credential issued by this decision, delivered inline. Present only where the decision admitted the applicant.\n\nInline because the alternative is worse: the applicant would poll for a status, learn they were admitted, and then fetch the credential separately — a second round trip whose only purpose is to collect something the community already had in hand when it decided.";
|
|
238
238
|
};
|
|
239
|
-
readonly
|
|
239
|
+
readonly roleVac: {
|
|
240
240
|
readonly type: readonly ["object", "null"];
|
|
241
|
-
readonly description: "The
|
|
241
|
+
readonly description: "The role credential this decision issued: a Verifiable Authority Credential (`type` including `AuthorityCredential`) issued by the community with `issuerScope` `public`, whose `credentialSubject.authority` is `{ scope: <community DID>, actions: [\"role:<name>\"] }` — the shape vtc/vetting/vetters/grant/0.1 issues. Delivered inline alongside `vmc` and on the same reasoning. Present only where the decision admitted the applicant and granted a role. Formerly `roleVec`; roles are authority, not endorsements.";
|
|
242
242
|
};
|
|
243
243
|
readonly ext: {
|
|
244
244
|
readonly $ref: "#/$defs/Ext";
|
|
@@ -294,9 +294,9 @@ export declare const RESPONSE_SPEC: {
|
|
|
294
294
|
readonly type: readonly ["object", "null"];
|
|
295
295
|
readonly description: "The membership credential issued by this decision, delivered inline. Present only where the decision admitted the applicant.\n\nInline because the alternative is worse: the applicant would poll for a status, learn they were admitted, and then fetch the credential separately — a second round trip whose only purpose is to collect something the community already had in hand when it decided.";
|
|
296
296
|
};
|
|
297
|
-
readonly
|
|
297
|
+
readonly roleVac: {
|
|
298
298
|
readonly type: readonly ["object", "null"];
|
|
299
|
-
readonly description: "The
|
|
299
|
+
readonly description: "The role credential this decision issued: a Verifiable Authority Credential (`type` including `AuthorityCredential`) issued by the community with `issuerScope` `public`, whose `credentialSubject.authority` is `{ scope: <community DID>, actions: [\"role:<name>\"] }` — the shape vtc/vetting/vetters/grant/0.1 issues. Delivered inline alongside `vmc` and on the same reasoning. Present only where the decision admitted the applicant and granted a role. Formerly `roleVec`; roles are authority, not endorsements.";
|
|
300
300
|
};
|
|
301
301
|
readonly ext: {
|
|
302
302
|
readonly $ref: "#/$defs/Ext";
|
|
@@ -79,12 +79,12 @@ export const PAYLOAD_SCHEMA = {
|
|
|
79
79
|
],
|
|
80
80
|
"description": "The membership credential issued by this decision, delivered inline. Present only where the decision admitted the applicant.\n\nInline because the alternative is worse: the applicant would poll for a status, learn they were admitted, and then fetch the credential separately — a second round trip whose only purpose is to collect something the community already had in hand when it decided."
|
|
81
81
|
},
|
|
82
|
-
"
|
|
82
|
+
"roleVac": {
|
|
83
83
|
"type": [
|
|
84
84
|
"object",
|
|
85
85
|
"null"
|
|
86
86
|
],
|
|
87
|
-
"description": "The
|
|
87
|
+
"description": "The role credential this decision issued: a Verifiable Authority Credential (`type` including `AuthorityCredential`) issued by the community with `issuerScope` `public`, whose `credentialSubject.authority` is `{ scope: <community DID>, actions: [\"role:<name>\"] }` — the shape vtc/vetting/vetters/grant/0.1 issues. Delivered inline alongside `vmc` and on the same reasoning. Present only where the decision admitted the applicant and granted a role. Formerly `roleVec`; roles are authority, not endorsements."
|
|
88
88
|
},
|
|
89
89
|
"ext": {
|
|
90
90
|
"$ref": "#/$defs/Ext"
|
|
@@ -138,12 +138,12 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
138
138
|
],
|
|
139
139
|
"description": "The membership credential issued by this decision, delivered inline. Present only where the decision admitted the applicant.\n\nInline because the alternative is worse: the applicant would poll for a status, learn they were admitted, and then fetch the credential separately — a second round trip whose only purpose is to collect something the community already had in hand when it decided."
|
|
140
140
|
},
|
|
141
|
-
"
|
|
141
|
+
"roleVac": {
|
|
142
142
|
"type": [
|
|
143
143
|
"object",
|
|
144
144
|
"null"
|
|
145
145
|
],
|
|
146
|
-
"description": "The
|
|
146
|
+
"description": "The role credential this decision issued: a Verifiable Authority Credential (`type` including `AuthorityCredential`) issued by the community with `issuerScope` `public`, whose `credentialSubject.authority` is `{ scope: <community DID>, actions: [\"role:<name>\"] }` — the shape vtc/vetting/vetters/grant/0.1 issues. Delivered inline alongside `vmc` and on the same reasoning. Present only where the decision admitted the applicant and granted a role. Formerly `roleVec`; roles are authority, not endorsements."
|
|
147
147
|
},
|
|
148
148
|
"ext": {
|
|
149
149
|
"$ref": "#/$defs/Ext"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/join-requests/decide/0.1/payload.ts"],"names":[],"mappings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MAAM,EAAE;wBACN,QAAQ;wBACR,MAAM;qBACP;oBACD,aAAa,EAAE,wYAAwY;iBACxZ;gBACD,SAAS,EAAE;oBACT,MAAM,EAAE;wBACN,QAAQ;wBACR,MAAM;qBACP;oBACD,aAAa,EAAE
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/join-requests/decide/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA6CH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,0DAAmE,CAAC;AAK5F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,mEAA4E,CAAC;AAK9G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,0DAA0D;IACjE,OAAO,EAAE,oCAAoC;IAC7C,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,IAAI;QACJ,UAAU;KACX;IACD,YAAY,EAAE;QACZ,IAAI,EAAE;YACJ,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,aAAa,EAAE,iCAAiC;SACjD;QACD,UAAU,EAAE;YACV,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE;gBACN,UAAU;gBACV,UAAU;aACX;YACD,aAAa,EAAE,gGAAgG;SAChH;QACD,QAAQ,EAAE;YACR,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,IAAI;YACjB,aAAa,EAAE,+GAA+G;SAC/H;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,6CAA6C;YACtD,aAAa,EAAE,+KAA+K;YAC9L,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,WAAW;gBACX,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AE,yDAAyD;iBACzE;gBACD,KAAK,EAAE;oBACL,MAAM,EAAE;wBACN,QAAQ;wBACR,MAAM;qBACP;oBACD,aAAa,EAAE,wYAAwY;iBACxZ;gBACD,SAAS,EAAE;oBACT,MAAM,EAAE;wBACN,QAAQ;wBACR,MAAM;qBACP;oBACD,aAAa,EAAE,+fAA+f;iBAC/gB;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;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"}
|
|
@@ -63,7 +63,7 @@ export interface VettingRequirements {
|
|
|
63
63
|
*/
|
|
64
64
|
version: string;
|
|
65
65
|
/**
|
|
66
|
-
* The
|
|
66
|
+
* 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.
|
|
67
67
|
*/
|
|
68
68
|
statementType: string;
|
|
69
69
|
/**
|
|
@@ -102,7 +102,7 @@ export interface VettingRequirements {
|
|
|
102
102
|
*/
|
|
103
103
|
eligibleVetters: {
|
|
104
104
|
/**
|
|
105
|
-
* The role
|
|
105
|
+
* 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.
|
|
106
106
|
*/
|
|
107
107
|
role: string;
|
|
108
108
|
};
|
|
@@ -253,7 +253,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
253
253
|
readonly format: "uri";
|
|
254
254
|
readonly minLength: 1;
|
|
255
255
|
readonly maxLength: 512;
|
|
256
|
-
readonly description: "The
|
|
256
|
+
readonly description: "The predicate IRI a counted vetting statement carries in `credentialSubject.predicate` — `https://registry.trustoverip.org/dtg/vsc/vetted/1`, the DTG VSC registry's identity-vetting predicate, or a predicate in a namespace the community controls — registered as one the community accepts via vtc/endorsement-types/register. A statement under any other predicate does not count.";
|
|
257
257
|
};
|
|
258
258
|
readonly minStatements: {
|
|
259
259
|
readonly type: "integer";
|
|
@@ -318,7 +318,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
318
318
|
readonly minLength: 1;
|
|
319
319
|
readonly maxLength: 128;
|
|
320
320
|
readonly pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$";
|
|
321
|
-
readonly description: "The role
|
|
321
|
+
readonly description: "The role a statement's issuer must hold, matched as the action `role:<role>` in a Verifiable Authority Credential (`AuthorityCredential`) the community issued to that issuer, whose `authority.scope` is the community's DID (see `vtc/vetting/vetters/grant/0.1`). A statement counts only if its issuer holds such a credential.";
|
|
322
322
|
};
|
|
323
323
|
};
|
|
324
324
|
readonly description: "How a vetter's eligibility is established.";
|
|
@@ -577,7 +577,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
577
577
|
readonly format: "uri";
|
|
578
578
|
readonly minLength: 1;
|
|
579
579
|
readonly maxLength: 512;
|
|
580
|
-
readonly description: "The
|
|
580
|
+
readonly description: "The predicate IRI a counted vetting statement carries in `credentialSubject.predicate` — `https://registry.trustoverip.org/dtg/vsc/vetted/1`, the DTG VSC registry's identity-vetting predicate, or a predicate in a namespace the community controls — registered as one the community accepts via vtc/endorsement-types/register. A statement under any other predicate does not count.";
|
|
581
581
|
};
|
|
582
582
|
readonly minStatements: {
|
|
583
583
|
readonly type: "integer";
|
|
@@ -642,7 +642,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
642
642
|
readonly minLength: 1;
|
|
643
643
|
readonly maxLength: 128;
|
|
644
644
|
readonly pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$";
|
|
645
|
-
readonly description: "The role
|
|
645
|
+
readonly description: "The role a statement's issuer must hold, matched as the action `role:<role>` in a Verifiable Authority Credential (`AuthorityCredential`) the community issued to that issuer, whose `authority.scope` is the community's DID (see `vtc/vetting/vetters/grant/0.1`). A statement counts only if its issuer holds such a credential.";
|
|
646
646
|
};
|
|
647
647
|
};
|
|
648
648
|
readonly description: "How a vetter's eligibility is established.";
|
|
@@ -921,7 +921,7 @@ export declare const SPEC: {
|
|
|
921
921
|
readonly format: "uri";
|
|
922
922
|
readonly minLength: 1;
|
|
923
923
|
readonly maxLength: 512;
|
|
924
|
-
readonly description: "The
|
|
924
|
+
readonly description: "The predicate IRI a counted vetting statement carries in `credentialSubject.predicate` — `https://registry.trustoverip.org/dtg/vsc/vetted/1`, the DTG VSC registry's identity-vetting predicate, or a predicate in a namespace the community controls — registered as one the community accepts via vtc/endorsement-types/register. A statement under any other predicate does not count.";
|
|
925
925
|
};
|
|
926
926
|
readonly minStatements: {
|
|
927
927
|
readonly type: "integer";
|
|
@@ -986,7 +986,7 @@ export declare const SPEC: {
|
|
|
986
986
|
readonly minLength: 1;
|
|
987
987
|
readonly maxLength: 128;
|
|
988
988
|
readonly pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$";
|
|
989
|
-
readonly description: "The role
|
|
989
|
+
readonly description: "The role a statement's issuer must hold, matched as the action `role:<role>` in a Verifiable Authority Credential (`AuthorityCredential`) the community issued to that issuer, whose `authority.scope` is the community's DID (see `vtc/vetting/vetters/grant/0.1`). A statement counts only if its issuer holds such a credential.";
|
|
990
990
|
};
|
|
991
991
|
};
|
|
992
992
|
readonly description: "How a vetter's eligibility is established.";
|
|
@@ -1256,7 +1256,7 @@ export declare const RESPONSE_SPEC: {
|
|
|
1256
1256
|
readonly format: "uri";
|
|
1257
1257
|
readonly minLength: 1;
|
|
1258
1258
|
readonly maxLength: 512;
|
|
1259
|
-
readonly description: "The
|
|
1259
|
+
readonly description: "The predicate IRI a counted vetting statement carries in `credentialSubject.predicate` — `https://registry.trustoverip.org/dtg/vsc/vetted/1`, the DTG VSC registry's identity-vetting predicate, or a predicate in a namespace the community controls — registered as one the community accepts via vtc/endorsement-types/register. A statement under any other predicate does not count.";
|
|
1260
1260
|
};
|
|
1261
1261
|
readonly minStatements: {
|
|
1262
1262
|
readonly type: "integer";
|
|
@@ -1321,7 +1321,7 @@ export declare const RESPONSE_SPEC: {
|
|
|
1321
1321
|
readonly minLength: 1;
|
|
1322
1322
|
readonly maxLength: 128;
|
|
1323
1323
|
readonly pattern: "^[a-zA-Z][a-zA-Z0-9_-]*$";
|
|
1324
|
-
readonly description: "The role
|
|
1324
|
+
readonly description: "The role a statement's issuer must hold, matched as the action `role:<role>` in a Verifiable Authority Credential (`AuthorityCredential`) the community issued to that issuer, whose `authority.scope` is the community's DID (see `vtc/vetting/vetters/grant/0.1`). A statement counts only if its issuer holds such a credential.";
|
|
1325
1325
|
};
|
|
1326
1326
|
};
|
|
1327
1327
|
readonly description: "How a vetter's eligibility is established.";
|
|
@@ -95,7 +95,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
95
95
|
"format": "uri",
|
|
96
96
|
"minLength": 1,
|
|
97
97
|
"maxLength": 512,
|
|
98
|
-
"description": "The
|
|
98
|
+
"description": "The predicate IRI a counted vetting statement carries in `credentialSubject.predicate` — `https://registry.trustoverip.org/dtg/vsc/vetted/1`, the DTG VSC registry's identity-vetting predicate, or a predicate in a namespace the community controls — registered as one the community accepts via vtc/endorsement-types/register. A statement under any other predicate does not count."
|
|
99
99
|
},
|
|
100
100
|
"minStatements": {
|
|
101
101
|
"type": "integer",
|
|
@@ -162,7 +162,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
162
162
|
"minLength": 1,
|
|
163
163
|
"maxLength": 128,
|
|
164
164
|
"pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
|
|
165
|
-
"description": "The role
|
|
165
|
+
"description": "The role a statement's issuer must hold, matched as the action `role:<role>` in a Verifiable Authority Credential (`AuthorityCredential`) the community issued to that issuer, whose `authority.scope` is the community's DID (see `vtc/vetting/vetters/grant/0.1`). A statement counts only if its issuer holds such a credential."
|
|
166
166
|
}
|
|
167
167
|
},
|
|
168
168
|
"description": "How a vetter's eligibility is established."
|
|
@@ -457,7 +457,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
457
457
|
"format": "uri",
|
|
458
458
|
"minLength": 1,
|
|
459
459
|
"maxLength": 512,
|
|
460
|
-
"description": "The
|
|
460
|
+
"description": "The predicate IRI a counted vetting statement carries in `credentialSubject.predicate` — `https://registry.trustoverip.org/dtg/vsc/vetted/1`, the DTG VSC registry's identity-vetting predicate, or a predicate in a namespace the community controls — registered as one the community accepts via vtc/endorsement-types/register. A statement under any other predicate does not count."
|
|
461
461
|
},
|
|
462
462
|
"minStatements": {
|
|
463
463
|
"type": "integer",
|
|
@@ -524,7 +524,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
524
524
|
"minLength": 1,
|
|
525
525
|
"maxLength": 128,
|
|
526
526
|
"pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$",
|
|
527
|
-
"description": "The role
|
|
527
|
+
"description": "The role a statement's issuer must hold, matched as the action `role:<role>` in a Verifiable Authority Credential (`AuthorityCredential`) the community issued to that issuer, whose `authority.scope` is the community's DID (see `vtc/vetting/vetters/grant/0.1`). A statement counts only if its issuer holds such a credential."
|
|
528
528
|
}
|
|
529
529
|
},
|
|
530
530
|
"description": "How a vetter's eligibility is established."
|