@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
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,29 @@ The package versions over **its own API** — what a consumer compiles against
|
|
|
11
11
|
not over `SPEC.md`. Below 1.0 a breaking change bumps the leading non-zero
|
|
12
12
|
component.
|
|
13
13
|
|
|
14
|
+
## 0.22.0 — 2026-09-30
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Specifications
|
|
18
|
+
|
|
19
|
+
- Conform vetting, member and endorsement credentials to DTG VSC/VAC and the predicate registry (#691)
|
|
20
|
+
|
|
21
|
+
* spec(vetting)!: conform vetting credentials to DTG VSC/VAC and the predicate registry
|
|
22
|
+
|
|
23
|
+
The credentials the vetting family defines now follow the latest DTG
|
|
24
|
+
Credentials Core Specification and the DTG VSC predicate registry. All
|
|
25
|
+
affected specifications are `draft`, so they change in place (SPEC §5.2).
|
|
26
|
+
|
|
27
|
+
Vetting Statement (vetting/session, vtc/vetting/revoke-statement): no longer
|
|
28
|
+
an `EndorsementCredential`. It is a Verifiable Statement Credential —
|
|
29
|
+
`type` [VerifiableCredential, DTGCredential, StatementCredential], `@context`
|
|
30
|
+
[credentials/v2, https://registry.trustoverip.org/dtg/context/v1],
|
|
31
|
+
`issuerScope` directed or public, `taskContext` and `taskDigestMultibase`
|
|
32
|
+
both REQUIRED — with `credentialSubject.predicate`
|
|
33
|
+
https://registry.trustoverip.org/dtg/vsc/vetted/1 and the vetting body in
|
|
34
|
+
`credentialSubject.object.value`. The body's `type` member is gone; the
|
|
35
|
+
predicate carries the meaning. The example's statement digest is recomputed.
|
|
36
|
+
|
|
14
37
|
## 0.21.16 — 2026-09-30
|
|
15
38
|
|
|
16
39
|
|
|
@@ -171,7 +171,7 @@ export type DigestMultibase = string;
|
|
|
171
171
|
*/
|
|
172
172
|
export type DriftType = "roleAdded" | "roleRemoved" | "roleChanged" | "requiredCheckMissing" | "protectionWeakened" | "bootstrapMissing";
|
|
173
173
|
/**
|
|
174
|
-
* The DTG credential catalog type the entry binds to, e.g. `MembershipCredential`. Absent for a community-defined
|
|
174
|
+
* 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.
|
|
175
175
|
*/
|
|
176
176
|
export type DtgType = string;
|
|
177
177
|
/**
|
|
@@ -2672,42 +2672,42 @@ export interface EncryptionParams {
|
|
|
2672
2672
|
}
|
|
2673
2673
|
export interface Endorsement {
|
|
2674
2674
|
/**
|
|
2675
|
-
* Community-scoped identifier for this
|
|
2675
|
+
* 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.
|
|
2676
2676
|
*/
|
|
2677
2677
|
endorsementId: string;
|
|
2678
2678
|
/**
|
|
2679
|
-
* The registered
|
|
2679
|
+
* The registered predicate IRI the statement carries as `credentialSubject.predicate`; see vtc/endorsement-types/*.
|
|
2680
2680
|
*/
|
|
2681
2681
|
typeUri: string;
|
|
2682
2682
|
/**
|
|
2683
|
-
* DID of the
|
|
2683
|
+
* DID of the statement's subject (becomes credentialSubject.id).
|
|
2684
2684
|
*/
|
|
2685
2685
|
subjectDid: string;
|
|
2686
2686
|
/**
|
|
2687
|
-
* The attested claim body
|
|
2687
|
+
* The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one.
|
|
2688
2688
|
*/
|
|
2689
2689
|
claim?: {};
|
|
2690
2690
|
/**
|
|
2691
|
-
* A pointer to the issued
|
|
2691
|
+
* 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.
|
|
2692
2692
|
*/
|
|
2693
2693
|
issued: CredentialReference;
|
|
2694
2694
|
/**
|
|
2695
|
-
* The
|
|
2695
|
+
* 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.
|
|
2696
2696
|
*/
|
|
2697
2697
|
statusListIndex: number;
|
|
2698
2698
|
/**
|
|
2699
|
-
* When the
|
|
2699
|
+
* When the statement was revoked, or null while live.
|
|
2700
2700
|
*/
|
|
2701
2701
|
revokedAt?: string | null;
|
|
2702
2702
|
}
|
|
2703
2703
|
export interface EndorsementType {
|
|
2704
2704
|
/**
|
|
2705
|
-
* The
|
|
2705
|
+
* The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration.
|
|
2706
2706
|
*/
|
|
2707
2707
|
typeUri: string;
|
|
2708
2708
|
description?: string;
|
|
2709
2709
|
/**
|
|
2710
|
-
* Optional JSON Schema
|
|
2710
|
+
* Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes.
|
|
2711
2711
|
*/
|
|
2712
2712
|
claimSchema?: {};
|
|
2713
2713
|
createdAt?: string;
|
|
@@ -3304,9 +3304,9 @@ export interface MemberResponse {
|
|
|
3304
3304
|
*/
|
|
3305
3305
|
currentVmcId?: string | null;
|
|
3306
3306
|
/**
|
|
3307
|
-
* Id of the member's current role Verifiable
|
|
3307
|
+
* Id of the member's current role credential — a community-issued Verifiable Authority Credential conferring `role:<name>` — if issued. Formerly `currentRoleVecId`.
|
|
3308
3308
|
*/
|
|
3309
|
-
|
|
3309
|
+
currentRoleVacId?: string | null;
|
|
3310
3310
|
/**
|
|
3311
3311
|
* 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.
|
|
3312
3312
|
*/
|
|
@@ -5700,7 +5700,7 @@ export interface VettingRequirements {
|
|
|
5700
5700
|
*/
|
|
5701
5701
|
version: string;
|
|
5702
5702
|
/**
|
|
5703
|
-
* The
|
|
5703
|
+
* 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.
|
|
5704
5704
|
*/
|
|
5705
5705
|
statementType: string;
|
|
5706
5706
|
/**
|
|
@@ -5739,7 +5739,7 @@ export interface VettingRequirements {
|
|
|
5739
5739
|
*/
|
|
5740
5740
|
eligibleVetters: {
|
|
5741
5741
|
/**
|
|
5742
|
-
* The role
|
|
5742
|
+
* 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.
|
|
5743
5743
|
*/
|
|
5744
5744
|
role: string;
|
|
5745
5745
|
};
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Source: specs/vetting/_shared/0.1/identity-vetting.schema.json
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* The `credentialSubject.
|
|
6
|
+
* 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).
|
|
7
7
|
*/
|
|
8
|
-
export interface
|
|
8
|
+
export interface IdentityVettingStatementValueSharedDefinition {
|
|
9
9
|
[k: string]: unknown | undefined;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=identity-vetting.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity-vetting.d.ts","sourceRoot":"","sources":["../../../../src/vetting/_shared/0.1/identity-vetting.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"identity-vetting.d.ts","sourceRoot":"","sources":["../../../../src/vetting/_shared/0.1/identity-vetting.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,6CAA6C;IAC5D,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Source: specs/vetting/_shared/0.1/vetting-card.schema.json
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* 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
|
|
6
|
+
* 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).
|
|
7
7
|
*/
|
|
8
8
|
export interface VettingCardSharedDefinition {
|
|
9
9
|
[k: string]: unknown | undefined;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Source: specs/vetting/_shared/0.1/vetting.schema.json
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* 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
|
|
6
|
+
* 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).
|
|
7
7
|
*/
|
|
8
8
|
export interface VettingSharedVocabulary {
|
|
9
9
|
[k: string]: unknown | undefined;
|
|
@@ -136,7 +136,7 @@ export interface EligibilityPresentation {
|
|
|
136
136
|
*/
|
|
137
137
|
holder: string;
|
|
138
138
|
/**
|
|
139
|
-
* Credentials presented (opaque here). MUST include the
|
|
139
|
+
* 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.
|
|
140
140
|
*
|
|
141
141
|
* @minItems 1
|
|
142
142
|
*/
|
|
@@ -338,7 +338,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
338
338
|
readonly items: {
|
|
339
339
|
readonly type: "object";
|
|
340
340
|
};
|
|
341
|
-
readonly description: "Credentials presented (opaque here). MUST include the
|
|
341
|
+
readonly 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.";
|
|
342
342
|
};
|
|
343
343
|
readonly nonce: {
|
|
344
344
|
readonly type: "string";
|
|
@@ -549,7 +549,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
549
549
|
readonly items: {
|
|
550
550
|
readonly type: "object";
|
|
551
551
|
};
|
|
552
|
-
readonly description: "Credentials presented (opaque here). MUST include the
|
|
552
|
+
readonly 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.";
|
|
553
553
|
};
|
|
554
554
|
readonly nonce: {
|
|
555
555
|
readonly type: "string";
|
|
@@ -836,7 +836,7 @@ export declare const SPEC: {
|
|
|
836
836
|
readonly items: {
|
|
837
837
|
readonly type: "object";
|
|
838
838
|
};
|
|
839
|
-
readonly description: "Credentials presented (opaque here). MUST include the
|
|
839
|
+
readonly 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.";
|
|
840
840
|
};
|
|
841
841
|
readonly nonce: {
|
|
842
842
|
readonly type: "string";
|
|
@@ -1058,7 +1058,7 @@ export declare const RESPONSE_SPEC: {
|
|
|
1058
1058
|
readonly items: {
|
|
1059
1059
|
readonly type: "object";
|
|
1060
1060
|
};
|
|
1061
|
-
readonly description: "Credentials presented (opaque here). MUST include the
|
|
1061
|
+
readonly 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.";
|
|
1062
1062
|
};
|
|
1063
1063
|
readonly nonce: {
|
|
1064
1064
|
readonly type: "string";
|
|
@@ -185,7 +185,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
185
185
|
"items": {
|
|
186
186
|
"type": "object"
|
|
187
187
|
},
|
|
188
|
-
"description": "Credentials presented (opaque here). MUST include the
|
|
188
|
+
"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."
|
|
189
189
|
},
|
|
190
190
|
"nonce": {
|
|
191
191
|
"type": "string",
|
|
@@ -426,7 +426,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
426
426
|
"items": {
|
|
427
427
|
"type": "object"
|
|
428
428
|
},
|
|
429
|
-
"description": "Credentials presented (opaque here). MUST include the
|
|
429
|
+
"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."
|
|
430
430
|
},
|
|
431
431
|
"nonce": {
|
|
432
432
|
"type": "string",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot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AE;YACzB,OAAO,EAAE,yBAAyB;YAClC,aAAa,EAAE,+hBAA+hB;YAC9iB,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,IAAI;YAC5B,UAAU,EAAE;gBACV,UAAU;gBACV,MAAM;gBACN,QAAQ;gBACR,sBAAsB;gBACtB,OAAO;gBACP,QAAQ;gBACR,OAAO;aACR;YACD,YAAY,EAAE;gBACZ,UAAU,EAAE;oBACV,MAAM,EAAE,OAAO;oBACf,UAAU,EAAE,CAAC;oBACb,OAAO,EAAE;wBACP,MAAM,EAAE,QAAQ;wBAChB,WAAW,EAAE,CAAC;wBACd,WAAW,EAAE,IAAI;qBAClB;oBACD,aAAa,EAAE,sKAAsK;iBACtL;gBACD,MAAM,EAAE;oBACN,MAAM,EAAE,OAAO;oBACf,UAAU,EAAE,CAAC;oBACb,aAAa,EAAE,IAAI;oBACnB,OAAO,EAAE;wBACP,MAAM,EAAE,QAAQ;wBAChB,WAAW,EAAE,CAAC;wBACd,WAAW,EAAE,GAAG;qBACjB;oBACD,aAAa,EAAE,yHAAyH;iBACzI;gBACD,QAAQ,EAAE;oBACR,MAAM,EAAE,QAAQ;oBAChB,SAAS,EAAE,OAAO;oBAClB,aAAa,EAAE,6CAA6C;iBAC7D;gBACD,sBAAsB,EAAE;oBACtB,MAAM,EAAE,OAAO;oBACf,UAAU,EAAE,CAAC;oBACb,OAAO,EAAE;wBACP,MAAM,EAAE,QAAQ;qBACjB;oBACD,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../src/vetting/request/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAkMH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,iDAA0D,CAAC;AAKnF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,0DAAmE,CAAC;AAKrG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8C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ChC,aAAa,EAAE,iiBAAiiB;SACjjB;QACD,eAAe,EAAE;YACf,OAAO,EAAE,eAAe;YACxB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE;gBACN,UAAU;gBACV,OAAO;gBACP,mBAAmB;aACpB;YACD,aAAa,EAAE,udAAud;SACve;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"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Source: specs/vtc/_shared/0.1/endorsement-type.schema.json
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* Shared type for the vtc/endorsement-types/* family: one operator-registered
|
|
6
|
+
* 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.
|
|
7
7
|
*/
|
|
8
8
|
export interface VTCSharedEndorsementTypeDefinitions {
|
|
9
9
|
[k: string]: unknown | undefined;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Source: specs/vtc/_shared/0.1/endorsement.schema.json
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* Shared type for the vtc/endorsements/* family: one issued Verifiable Endorsement Credential (VEC)
|
|
6
|
+
* Shared type for the vtc/endorsements/* family: one community-issued statement row. The 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.
|
|
7
7
|
*/
|
|
8
8
|
export interface VTCSharedEndorsementDefinitions {
|
|
9
9
|
[k: string]: unknown | undefined;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import type { Ext } from "../../../../_shared/components.js";
|
|
6
6
|
export interface VTCAuthRecognisePayload {
|
|
7
7
|
/**
|
|
8
|
-
* A holder-signed W3C Verifiable Presentation embedding the foreign membership and
|
|
8
|
+
* A holder-signed W3C Verifiable Presentation embedding the foreign membership credential (`MembershipCredential`) and role credential (a Verifiable Authority Credential, `AuthorityCredential`, conferring `role:<name>` at the foreign community's DID) in `verifiableCredential`.
|
|
9
9
|
*
|
|
10
10
|
* The holder proof MUST use `proofPurpose: authentication`, MUST commit to the single-use `nonce` issued by `vtc/auth/recognise/challenge`, and MUST name the recognising community's DID as `domain`. A consumer MUST verify the holder proof, verify each embedded credential's issuer proof, and refuse unless the presentation's holder is the credentials' subject.
|
|
11
11
|
*/
|
|
@@ -60,7 +60,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
60
60
|
readonly properties: {
|
|
61
61
|
readonly presentation: {
|
|
62
62
|
readonly type: "object";
|
|
63
|
-
readonly description: "A holder-signed W3C Verifiable Presentation embedding the foreign membership and
|
|
63
|
+
readonly description: "A holder-signed W3C Verifiable Presentation embedding the foreign membership credential (`MembershipCredential`) and role credential (a Verifiable Authority Credential, `AuthorityCredential`, conferring `role:<name>` at the foreign community's DID) in `verifiableCredential`.\n\nThe holder proof MUST use `proofPurpose: authentication`, MUST commit to the single-use `nonce` issued by `vtc/auth/recognise/challenge`, and MUST name the recognising community's DID as `domain`. A consumer MUST verify the holder proof, verify each embedded credential's issuer proof, and refuse unless the presentation's holder is the credentials' subject.";
|
|
64
64
|
};
|
|
65
65
|
readonly ext: {
|
|
66
66
|
readonly $ref: "#/$defs/Ext";
|
|
@@ -196,7 +196,7 @@ export declare const SPEC: {
|
|
|
196
196
|
readonly properties: {
|
|
197
197
|
readonly presentation: {
|
|
198
198
|
readonly type: "object";
|
|
199
|
-
readonly description: "A holder-signed W3C Verifiable Presentation embedding the foreign membership and
|
|
199
|
+
readonly description: "A holder-signed W3C Verifiable Presentation embedding the foreign membership credential (`MembershipCredential`) and role credential (a Verifiable Authority Credential, `AuthorityCredential`, conferring `role:<name>` at the foreign community's DID) in `verifiableCredential`.\n\nThe holder proof MUST use `proofPurpose: authentication`, MUST commit to the single-use `nonce` issued by `vtc/auth/recognise/challenge`, and MUST name the recognising community's DID as `domain`. A consumer MUST verify the holder proof, verify each embedded credential's issuer proof, and refuse unless the presentation's holder is the credentials' subject.";
|
|
200
200
|
};
|
|
201
201
|
readonly ext: {
|
|
202
202
|
readonly $ref: "#/$defs/Ext";
|
|
@@ -27,7 +27,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
27
27
|
"properties": {
|
|
28
28
|
"presentation": {
|
|
29
29
|
"type": "object",
|
|
30
|
-
"description": "A holder-signed W3C Verifiable Presentation embedding the foreign membership and
|
|
30
|
+
"description": "A holder-signed W3C Verifiable Presentation embedding the foreign membership credential (`MembershipCredential`) and role credential (a Verifiable Authority Credential, `AuthorityCredential`, conferring `role:<name>` at the foreign community's DID) in `verifiableCredential`.\n\nThe holder proof MUST use `proofPurpose: authentication`, MUST commit to the single-use `nonce` issued by `vtc/auth/recognise/challenge`, and MUST name the recognising community's DID as `domain`. A consumer MUST verify the holder proof, verify each embedded credential's issuer proof, and refuse unless the presentation's holder is the credentials' subject."
|
|
31
31
|
},
|
|
32
32
|
"ext": {
|
|
33
33
|
"$ref": "#/$defs/Ext"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/auth/recognise/0.2/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAqCH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,oDAA6D,CAAC;AAKtF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,6DAAsE,CAAC;AAKxG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,oDAAoD;IAC3D,OAAO,EAAE,8BAA8B;IACvC,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,cAAc;KACf;IACD,YAAY,EAAE;QACZ,cAAc,EAAE;YACd,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,+
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/auth/recognise/0.2/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAqCH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,oDAA6D,CAAC;AAKtF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,6DAAsE,CA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;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,KAAK;IACtB,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,KAAK;IACtB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -94,7 +94,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
94
94
|
readonly type: "string";
|
|
95
95
|
readonly minLength: 1;
|
|
96
96
|
readonly maxLength: 512;
|
|
97
|
-
readonly description: "The
|
|
97
|
+
readonly description: "The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration.";
|
|
98
98
|
};
|
|
99
99
|
readonly description: {
|
|
100
100
|
readonly type: "string";
|
|
@@ -102,7 +102,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
102
102
|
};
|
|
103
103
|
readonly claimSchema: {
|
|
104
104
|
readonly type: "object";
|
|
105
|
-
readonly description: "Optional JSON Schema
|
|
105
|
+
readonly description: "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes.";
|
|
106
106
|
};
|
|
107
107
|
readonly createdAt: {
|
|
108
108
|
readonly type: "string";
|
|
@@ -163,7 +163,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
163
163
|
readonly type: "string";
|
|
164
164
|
readonly minLength: 1;
|
|
165
165
|
readonly maxLength: 512;
|
|
166
|
-
readonly description: "The
|
|
166
|
+
readonly description: "The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration.";
|
|
167
167
|
};
|
|
168
168
|
readonly description: {
|
|
169
169
|
readonly type: "string";
|
|
@@ -171,7 +171,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
171
171
|
};
|
|
172
172
|
readonly claimSchema: {
|
|
173
173
|
readonly type: "object";
|
|
174
|
-
readonly description: "Optional JSON Schema
|
|
174
|
+
readonly description: "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes.";
|
|
175
175
|
};
|
|
176
176
|
readonly createdAt: {
|
|
177
177
|
readonly type: "string";
|
|
@@ -259,7 +259,7 @@ export declare const SPEC: {
|
|
|
259
259
|
readonly type: "string";
|
|
260
260
|
readonly minLength: 1;
|
|
261
261
|
readonly maxLength: 512;
|
|
262
|
-
readonly description: "The
|
|
262
|
+
readonly description: "The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration.";
|
|
263
263
|
};
|
|
264
264
|
readonly description: {
|
|
265
265
|
readonly type: "string";
|
|
@@ -267,7 +267,7 @@ export declare const SPEC: {
|
|
|
267
267
|
};
|
|
268
268
|
readonly claimSchema: {
|
|
269
269
|
readonly type: "object";
|
|
270
|
-
readonly description: "Optional JSON Schema
|
|
270
|
+
readonly description: "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes.";
|
|
271
271
|
};
|
|
272
272
|
readonly createdAt: {
|
|
273
273
|
readonly type: "string";
|
|
@@ -339,7 +339,7 @@ export declare const RESPONSE_SPEC: {
|
|
|
339
339
|
readonly type: "string";
|
|
340
340
|
readonly minLength: 1;
|
|
341
341
|
readonly maxLength: 512;
|
|
342
|
-
readonly description: "The
|
|
342
|
+
readonly description: "The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration.";
|
|
343
343
|
};
|
|
344
344
|
readonly description: {
|
|
345
345
|
readonly type: "string";
|
|
@@ -347,7 +347,7 @@ export declare const RESPONSE_SPEC: {
|
|
|
347
347
|
};
|
|
348
348
|
readonly claimSchema: {
|
|
349
349
|
readonly type: "object";
|
|
350
|
-
readonly description: "Optional JSON Schema
|
|
350
|
+
readonly description: "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes.";
|
|
351
351
|
};
|
|
352
352
|
readonly createdAt: {
|
|
353
353
|
readonly type: "string";
|
|
@@ -84,7 +84,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
84
84
|
"type": "string",
|
|
85
85
|
"minLength": 1,
|
|
86
86
|
"maxLength": 512,
|
|
87
|
-
"description": "The
|
|
87
|
+
"description": "The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration."
|
|
88
88
|
},
|
|
89
89
|
"description": {
|
|
90
90
|
"type": "string",
|
|
@@ -92,7 +92,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
92
92
|
},
|
|
93
93
|
"claimSchema": {
|
|
94
94
|
"type": "object",
|
|
95
|
-
"description": "Optional JSON Schema
|
|
95
|
+
"description": "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes."
|
|
96
96
|
},
|
|
97
97
|
"createdAt": {
|
|
98
98
|
"type": "string",
|
|
@@ -160,7 +160,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
160
160
|
"type": "string",
|
|
161
161
|
"minLength": 1,
|
|
162
162
|
"maxLength": 512,
|
|
163
|
-
"description": "The
|
|
163
|
+
"description": "The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration."
|
|
164
164
|
},
|
|
165
165
|
"description": {
|
|
166
166
|
"type": "string",
|
|
@@ -168,7 +168,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
168
168
|
},
|
|
169
169
|
"claimSchema": {
|
|
170
170
|
"type": "object",
|
|
171
|
-
"description": "Optional JSON Schema
|
|
171
|
+
"description": "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes."
|
|
172
172
|
},
|
|
173
173
|
"createdAt": {
|
|
174
174
|
"type": "string",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/endorsement-types/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAmBH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,4DAAqE,CAAC;AAK9F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,qEAA8E,CAAC;AAKhH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,4DAA4D;IACnE,OAAO,EAAE,sCAAsC;IAC/C,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,YAAY,EAAE;QACZ,QAAQ,EAAE;YACR,MAAM,EAAE,QAAQ;SACjB;QACD,OAAO,EAAE;YACP,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,CAAC;YACZ,SAAS,EAAE,GAAG;SACf;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,+CAA+C;YACxD,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,OAAO;aACR;YACD,YAAY,EAAE;gBACZ,OAAO,EAAE;oBACP,MAAM,EAAE,OAAO;oBACf,OAAO,EAAE;wBACP,MAAM,EAAE,yBAAyB;qBAClC;iBACF;gBACD,YAAY,EAAE;oBACZ,MAAM,EAAE;wBACN,QAAQ;wBACR,MAAM;qBACP;iBACF;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,SAAS,EAAE,iBAAiB;YAC5B,OAAO,EAAE,iBAAiB;YAC1B,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,SAAS;aACV;YACD,YAAY,EAAE;gBACZ,SAAS,EAAE;oBACT,MAAM,EAAE,QAAQ;oBAChB,WAAW,EAAE,CAAC;oBACd,WAAW,EAAE,GAAG;oBAChB,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/endorsement-types/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAmBH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