Verifiable Trust v5 Specification§
Latest draft: spec v5-draft2
Latest stable: spec v4
Previous versions: spec v3
- Editors:
- Contributors:
- Participate:
Abstract§
Today’s internet has no built-in trust layer. Users cannot verify who operates a service before connecting to it, and service providers have no standardized way to confirm the identity of their users. The result is an environment where phishing, impersonation, spam, and credential theft thrive — not because of missing technology, but because of a missing trust architecture.
Current approaches make the problem worse. Passwords are fragile and reused. Federated login concentrates control in a handful of platforms. Each service imposes its own registration flow, fragmenting the user experience while centralizing personal data in siloed systems that are routinely breached. Privacy is an afterthought, and users have little visibility into who they are really interacting with.
The rapid expansion of AI agents makes this even more urgent. Autonomous agents now interact with services, make requests, and act on behalf of users or organizations — yet there is no trust layer for them to prove who they represent, what they are authorized to do, or whether their claims are legitimate. Without verifiable identity and authorization, AI agents become a new vector for fraud, impersonation, and unauthorized access at machine speed and scale.
Verifiable Trust is an open, decentralized trust layer designed to address these problems at their root. It introduces a model where every service, organization, and user agent can cryptographically prove its identity, authorization, and governance context — before any connection is established.
The core idea is straightforward: a Verifiable Service presents verifiable credentials that identify its owner, describe its purpose, and prove its authorization within a governed ecosystem. A Verifiable User Agent resolves and verifies these credentials, queries a Verifiable Public Registry to confirm that they were issued by recognized authorities, and displays a proof of trust to the user — all before the first interaction takes place.
A key consequence is that a Verifiable Service is not identified by an opaque URL, but by a resolvable DID. Its DID Document declares its service endpoints (a trusted channel endpoint, MCP, A2A or a plain website, for example), and a peer verifies the service before it connects. This inverts the familiar “connect first, verify later” pattern of today’s internet into a “verify first, then connect” model that applies uniformly to humans, applications, and AI agents.
This enables mutual authentication without passwords, verifiable service discovery without centralized directories, privacy-preserving credential exchange with selective disclosure and unlinkability, and ecosystem governance that is transparent, auditable, and decentralized.
Verifiable Trust is container-agnostic, supporting W3C Verifiable Credentials, Anonymous Credentials, SD-JWT Verifiable Credentials and ISO mdoc documents to balance transparency with privacy depending on the use case. It is also DID-method-agnostic, allowing ecosystems to operate across different decentralized identifier infrastructures.
This specification defines the Verifiable Trust architecture, its core concepts — Verifiable Services, Verifiable User Agents, Verifiable Trust Credentials, Essential Credential Schemas, and the trust resolution process — and the normative requirements for interoperable implementations.
About this Document§
In order to fully understand the concepts developed in this document, you should have some basic knowledge of the ToIP stack, DID, DIDComm, ecosystem, and more generally, all terms present in the Terminology section.
Conformance§
As well as sections marked as non-normative, all authoring guidelines, diagrams, examples, and notes in this specification are non-normative. Everything else in this specification is normative. The key words MAY, MUST, MUST NOT, OPTIONAL, RECOMMENDED, REQUIRED, SHOULD, and SHOULD NOT in this document are to be interpreted as described in BCP 14 RFC2119 RFC8174 when, and only when, they appear in all capitals, as shown here.
Terminology§
- corporation:
- A VPR resource representing a legal/organizational entity that operates one or more VSs, each registered as a verifiable service entry it owns, and MAY control ecosystems and hold
Accreditationentries in ecosystems. See Corporation in the VPR spec. - credential schema:
- A
CredentialSchemaentry of a VPR, as the VPR spec defines it (CredentialSchema). - decentralized identifier:
- A decentralized identifier, as specified in [DID-CORE].
- decentralized identifier communication:
- DIDComm uses DIDs to establish confidential, ongoing connections.
- decentralized identifier document:
- A DID Document, as specified in [DID-CORE].
- ecosystem:
- An
Ecosystementry of a VPR, as the VPR spec defines it (Ecosystem). - Ecosystem DID:
- The DID that is the current identifier of the verifiable service entry of an
Ecosystementry (Ecosystem.vs_id). It issues the VTJSCs of the credential schemas of that ecosystem. SeveralEcosystementries of one corporation MAY share it: an ecosystem is identified by itsidin the VPR, not by this DID. - essential credential schema:
- Default credential schema, owned by an ecosystem, that provide the basis for a trust layer to exist in the ecosystem so that VUA can generate a proof of trust.
- evaluated time:
- The time at which a relying party runs a trust resolution; “currently” and “at the evaluated time” in this specification mean at that time.
- holder:
- A role an entity might perform by possessing one or more verifiable credentials and generating verifiable presentations from them. A holder is often, but not always, a subject of the verifiable credentials they are holding. Holders store their credentials in credential repositories. Example holders include organizations, persons, things.
- indexer:
- A service that follows the transactions and the events of a VPR and serves its current state, its history and its exchange records to VSs and VUAs, which read the VPR through the indexers of their whitelist ([WL-VPR]). Its interface is defined by the Indexer specification of the same version, published in verana-spec.
- issuer:
- A role an entity can perform by asserting claims about one or more subjects, creating a verifiable credential from these claims, and transmitting the verifiable credential to a holder. Example issuers include corporations, non-profit organizations, trade associations, governments, and individuals.
- linked-vp:
- A presentation of a verifiable credential as specified in LINKED-VP.
- participant:
- An entity recognized by one or several ecosystems in a VPR, as the VPR spec defines it; the roles it is granted for a credential schema are recorded by
Accreditationentries (see Accreditation in the VPR spec). - participation:
- As in the VPR: a verifiable service entry taking part in a credential schema in a role, the triple (
vs_id,schema_id,role) whoseParticipationTrustDepositan ecosystem can slash or exclude ([TR-12]). - presentable credential:
- A credential that its holder’s own trust resolution accepts at the time the holder answers a request ([VT-PRES-VS-4]): not expired, not revoked, its
HOLDERentry recognized when the schema requires one ([TR-9]), and its issuer currently authorized under aNO_DIGESTschema ([TR-5]). Not to be confused with the VPR’s active, which is a state of anAccreditationentry. - proof of trust:
- Visual representation using essential credential schemas of a trust resolution process of a Verifiable Service, for identifying the VS, its owner, and the issuer of the verifiable credential of its owner.
- recognized:
- Of an
Accreditationentry, for trust resolution: within its effective window, and neither its participation nor its corporation excluded ([TR-12]). Differs from the VPR’s active, which also requires the absence of a slash debt: a debt bars acts, it does not withdraw trust. - resolver:
- A party, or a component of a party, that performs trust resolution ([TR]): a VS or a VUA for its own decisions, or a service that performs it for others. A resolver applies its own whitelists ([WL-VPR], [WL-ECS]).
- service controller:
- The party that decides for a VS: the corporation that owns its verifiable service entry, acting through the persons or the systems it appoints. It issues the Service credential of the service ([VS-REQ-4]) and, for
ON_APPROVALschemas, approves or declines the presentation requests the service receives ([VT-DECL-MODE-4]). Not to be confused with the controller of a DID, nor with the corporation that controls an ecosystem. - subject:
- A thing about which claims are made. Example subjects include human beings, animals, things, and organization, a DID…
- transition window:
- The period during which a former identifier remains acceptable after it was replaced, by the rotation of the identifier of a verifiable service entry or by the move of an ecosystem to another entry: it ends at the
transition_untilof the VPR event that replaced it. [TR-10] defines what a former identifier remains acceptable for. - trust resolution:
- Process run by, for example a VUA or a VS, which purpose is to recursively resolve DID by digging into DID Documents and look for linked-vp entries and their issuer DIDs, and ecosystem entries to gather whether the service provided by the DID is trusted (and legitimate), or not.
- trusted channel:
- A connection between two parties over which each has authenticated the identifier of the other (a DID, or the keys a VUA instance uses for the channel), and which carries their messages confidentially, with integrity and sender authentication, bound to the identifiers resolved. It is established with a trusted channel protocol ([VT-CHAN]).
- trusted channel endpoint:
- A
serviceentry of a trusted channel protocol in a DID Document, of the type given in [VT-CHAN-2], through which a peer opens a trusted channel with the party that declares it. - trusted channel protocol:
- A protocol listed in [VT-CHAN-2], with which trusted channels are established.
- verifiable credential:
- A verifiable credential as defined in [VC-DATA-MODEL].
- verifiable identifier:
- A digital identifier bound to cryptographic key material, such that another party can verify control of the identifier and resolve it to keys and endpoints, as specified in the Trust Spanning Protocol (TSP) Specification. DIDs are one type of VID. A VPR registers VIDs without resolving them (verifiable service entry); this specification requires the VIDs it resolves to be DIDs.
- verifiable public registry:
- The registry that the VPR spec defines: a public, ledger-based network that stores ecosystems, their credential schemas and the accreditations of their participants.
- verifiable service:
- A service, identified by a resolvable DID, that can be deployed anywhere by its owner, that conforms to this spec, and that has a resolvable proof of trust. A VS declares its trusted channel endpoints and its other service endpoints in its DID Document ([VS-SVC]).
- verifiable service entry:
- The registration of a VID in a VPR (a
VerifiableServiceentry, referenced byvs_id): it records the owner corporation, the VS account that the service signs VPR messages with (vs_account), and the current value of the identifier; former values and their transition windows are known from the VPR’s rotation events. EveryAccreditationentry of a service references it, and a service MAY be registered without holding anyAccreditationentry. See the VPR spec. - verifiable user agent:
- A user agent for accessing and using VSs. To be considered a VUA, a user agent must conform and enforce this spec, such as presenting a proof of trust to end user before accepting connecting to VS compliant services, and refuse connecting to not compliant services.
- verifier:
- A role an entity performs by receiving one or more verifiable credentials, optionally inside a verifiable presentation for processing. Example verifiers include service providers.
Understanding Verifiable Trust§
This section is non-normative.
When a user is invited to connect to a service, a verifiable trust-compliant user agent performs trust resolution on the service, presents the resulting proof of trust to the user, and prompts them to either accept or refuse the connection.

Trust Resolution is as simple as calling a method passing the DID of the service we want to resolve, to display a proof of trust to the end-user:
resolve_trust("did:example:gaia")
and receive a response similar to this one:
{
"did":"did:example:gaia",
"verified": true,
"service_provider": {
"id": "did:example:def",
"type": "Organization",
"name": "Gaia Registry LLC",
"country": "zz",
"reputation": {
"issuedCredentials": 1234,
"verifiedCredentials": 7678,
"trustDepositValue": 176327.124356,
"amountSlashed": 0,
"stars": 5.0
},
"issuer": "did:example:zzz",
...
},
"service": {
"name": "Gaia Registry",
"termsAndConditionsUri": "http://example.com",
"privacyPolicyUri": "http://example.com",
"minimumAgeRequired": 16,
"description": "Create your Metaverse ID at Gaia Registry! Protect your identity with biometrics and easily recover it if you loose your phone. Use your Gaia Identity to connect to fancy services with no password."
...
},
"credentials" : [
{
"type": "TrademarkCredential",
...
}
]
...
}
Let’s explain how the Verifiable Trust does it.
The core idea behind Verifiable Trust is simple: trust should not be implicit, but it should be verifiable, transparent, and decentralized.
A Verifiable Service (VS) presents several Verifiable Credentials to prove:
- Who operates the service, using an Essential Credential Schema (ECS) Organization or Persona Verifiable Trust Credential
- What the service offers, using an ECS Service Verifiable Trust Credential
- Trademark information, using a Trademark Verifiable Trust Credential
Additionally, the Verifiable Service presents computed reputation information. While this reputation data may support trust decisions, it is not directly defined by this specification. Refer to the VPR Spec for more information.
Verifiable Trust introduces the following core concepts:
- Verifiable Service (VS)
- Verifiable User Agent (VUA)
- Verifiable Public Registry (VPR)
- Verifiable Trust Credentials (VTC)
- Essential Credential Schemas (ECS)
The proof of trust is established by recursively resolving the credentials presented by (in this example) a service. What makes this trust verifiable is the use of cryptographic mechanisms built into Decentralized Identifiers (DIDs) and Verifiable Credentials, as applied across these five key concepts.
Because these concepts are deeply interdependent, you may need to explore them together, and revisit them several times to fully grasp the Verifiable Trust model.
What is a Verifiable Service (VS)?§
This section is non-normative.
A Verifiable Service (VS) is a service capable of identifying itself to a peer before any connection is established.
Peers wishing to connect to a VS can review the Verifiable Credentials presented by the service, verify their legitimacy through trust resolution, and decide whether to proceed with the connection based on the outcome.
A VS also verifies the peers that connect to it, other Verifiable Services (VS) or Verifiable User Agents (VUA), before serving them ([VS-REQ-8]).
A Verifiable Service that issues credentials or requests their presentation proves that it is authorized to, which its peer verifies ([CIT-3], [PRT-3]).
Service Declaration§
This section is non-normative.
A fundamental principle of Verifiable Trust is that services are identified by DIDs, not by URLs. Instead of a consumer pointing its client at an opaque endpoint — where neither the identity of the owner nor the legitimacy of the service can be verified — the consumer starts with a resolvable DID and discovers everything it needs from the corresponding DID Document.
The DID Document of a Verifiable Service declares two complementary things:
- Identity material, in the form of Linked Verifiable Presentations, used to prove who operates the service and under which ecosystem governance (see [VS-REQ]).
- Service endpoints, expressed as standard DID Core
serviceentries, used to actually consume the service.
Every Verifiable Service declares a trusted channel endpoint for each trusted channel protocol it implements ([VS-SVC-2]): the service entry through which a peer opens a trusted channel with it, a connection over which both parties authenticate their identifiers ([VT-CHAN]). A trusted channel is the bootstrapping channel of the service: trust is established over it, and the other endpoints are reached with what it provides. The list of trusted channel protocols is open: the Trust Spanning Protocol, for instance, can join it in a later version.
In addition to its trusted channel endpoints, a Verifiable Service can declare other service endpoints ([VS-SVC-1], [VS-SVC-3]), for example:
- an MCP endpoint exposing tools consumable by AI agents;
- an A2A endpoint for agent-to-agent interoperability;
- a website endpoint pointing to a traditional HTTP(S) resource;
- any other protocol type defined by the ecosystem.
These endpoints form the data plane of the service; a trusted channel is its control plane, which authenticates access to them, and the data plane of the services it carries.
With mutual authentication, the interaction flow is the same whatever the protocol:
- A peer obtains the service’s DID (via a link, QR code, directory, or any other means).
- The peer resolves the DID and fetches its DID Document.
- The peer performs trust resolution of the DID ([VS-SVC-4], [TR]).
- The peer opens a trusted channel with the service through its trusted channel endpoint ([VT-CHAN-3]), and the service verifies the peer over it ([VT-CHAN-4]).
- Over the channel, the peer consumes the services it carries ([VS-SVC-12]) and obtains the access material, and the endpoints the service does not declare, that it needs for the others ([VS-SVC-7], [VS-SVC-11]).
- The peer consumes the other endpoint it is interested in (MCP, A2A, website, …) with what it obtained.
Because service endpoints are declared inside a cryptographically controlled DID Document, because the DID itself has been trust-resolved, and because the authentication material for the other endpoints originates from a trusted channel, any URL reached via those endpoints inherits the trust context of the DID ([VS-SVC-5], [VS-SVC-11]). An MCP call, an A2A message, or a plain website fetch performed through a service entry declared in a verified DID Document is, by construction, an interaction with an identified and accountable owner — not with an anonymous server behind a random URL. A public endpoint, such as a website, can also be consumed without a trusted channel ([VS-SVC-1]).
This reverses the common “connect first, verify later” model of today’s internet into a “verify first, then connect” model. The normative requirements for Service Declaration are defined in [VS-SVC].
What is a Verifiable User Agent (VUA)?§
This section is non-normative.
A Verifiable User Agent (VUA) is software, such as a browser, app, or wallet, designed to connect with Verifiable Services (VS) and other VUAs. When establishing connections, a VUA verifies the identity and trustworthiness of its peers and connects to verified VS or VUA peers only ([VUA-REQ]).
It does so by trust resolution ([TR]):
- Verifying the Verifiable Credentials presented by the peers
- Querying Verifiable Public Registries (VPRs) to confirm that these credentials were issued by recognized and authorized issuers.
This ensures that all connections are based on verifiable trust, not assumptions.
What is a Verifiable Public Registry (VPR)?§
There is a separated VPR spec. The following summarizes the main features of a VPR.
This section is non-normative.
A Verifiable Public Registry (VPR) is a “registry of registries”, a public service that provides foundational infrastructure for decentralized trust ecosystems. It offers:
-
Ecosystem Management:
Corporations can create and manage their own Ecosystems, each with:- Defined Credential Schemas
- Assigned roles for Issuers, Verifiers, and Grantors (participants accredited to onboard issuers or verifiers), modeled as
Accreditationentries - Custom business models and onboarding policies
-
Data for Trust Resolution:
The entries and events that Verifiable Services (VSs) and Verifiable User Agents (VUAs) read, through an indexer of their choice, to perform trust resolution ([WL-VPR]).
Ecosystems§
This section is non-normative.
Each Ecosystem must provide, at a minimum:
- a resolvable DID controlled by the corporation that controls the ecosystem
- One or more Governance Framework document(s) (EGF)
- Zero or more Credential Schemas
The Verifiable Public Registry (VPR) is agnostic to the specific DID methods used. Trust resolution is performed externally, outside the VPR, allowing flexibility and interoperability across ecosystems.
Credential Schemas§
This section is non-normative.
Credential Schemas are created and managed by Ecosystems (which are themselves controlled by corporations). Each Credential Schema includes, at a minimum:
- A JSON Schema that defines the structure of the corresponding Verifiable Credential
- Three onboarding modes, which state how the participants of each role come to act under the schema. Their values and semantics are defined by the VPR spec (CredentialSchema); what a holder verifies under each mode is stated by [CIT-3] and [PRT-3]:
- an IssuerOnboardingMode:
OPEN,ECOSYSTEM_ONBOARDING_PROCESSorGRANTOR_ONBOARDING_PROCESS; - a VerifierOnboardingMode:
OPEN,CREDENTIAL,ECOSYSTEM_ONBOARDING_PROCESSorGRANTOR_ONBOARDING_PROCESS; - a HolderOnboardingMode:
ISSUER_ONBOARDING_PROCESSorNO_ONBOARDING_PROCESS.
- an IssuerOnboardingMode:
- A declaration of what the credentials are for:
subject_kind,presentation_mode,credential_format,presentation_validity_periodandcredential_anchoring([VT-DECL]). - An Accreditation Tree that defines the roles and relationships involved in managing the schema’s lifecycle.
The roles of an Accreditation entry (ECOSYSTEM, ISSUER_GRANTOR, VERIFIER_GRANTOR, ISSUER, VERIFIER, HOLDER) are defined by the VPR spec (Accreditation). A grantor is a participant that holds a grantor accreditation, under which it validates candidate issuers or verifiers.
Example of a JSON Schema credential schema:
{
"$id": "vpr:verana:VPR_CHAIN_ID:cs:VPR_CREDENTIAL_SCHEMA_ID",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ExampleCredential",
"description": "ExampleCredential using JsonSchema",
"type": "object",
"properties": {
"credentialSubject": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uri"
},
"firstName": {
"type": "string",
"minLength": 0,
"maxLength": 256
},
"lastName": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"countryOfResidence": {
"type": "string",
"minLength": 2,
"maxLength": 2
}
},
"required": [
"id",
"lastName",
"countryOfResidence"
]
}
}
}
Verifiable Trust JSON Schema Credentials (VTJSCs) and Verifiable Trust Credentials (VTCs)§
Data stored in a VPR is not verified at the time of storage, nor does it need to be. Verification happens outside the scope of the VPR.
This is not a limitation, it’s a feature. For example, any DID method can be used, and the VPR will never attempt to resolve or validate DIDs itself.
The VPR provides registrations, not validations, leaving trust decisions and verification where they belong: with the relying parties.
To make things verifiable, for a given credential schema:
- Ecosystem creates a Credential JSON Schema in a VPR, linked to its Ecosystem DID.
- Ecosystem issues, with its DID, a JSON Schema Credential linked to its credential JSON Schema in the VPR
- Then, authorized issuers can issue Verifiable Trust Credentials linked to the JSON Schema Credential issued by Ecosystem DID.
Essential Credential Schemas§
Finally, the last concept: to enable fundamental trust operations, such as identifying service providers, service names, and related entities, we define a set of Essential Credential Schemas (ECS) specifically designed for these purposes:
- Service: describes services;
- Organization: identifies organizations, used to identify owner of a Service;
- Persona: identifies individuals used to identify owner of a Service;
- User Agent: describes user agents, such as browsers, mobile apps, and similar software;
- Badge: identifies humans, such as the employees or members of the organization that operates a Service.
With the Verifiable Trust concept now clearly established, we’re ready to dive into the specifications.
Specification§
[VT-JSON-SCHEMA-CRED-W3C] Verifiable Trust JSON Schema Credential§
To provide cryptographic evidence that data stored in a VPR (e.g., a credential JSON Schema) is authored and controlled by the Ecosystem that governs it, the corporation controlling the Ecosystem issues a VTJSC (which is a JSON Schema Credential) after creating the CredentialSchema entry in the VPR.
The JSON Schema Credential MUST be issued using the Ecosystem DID recorded in the VPR and MUST reference the corresponding CredentialSchema entry.
A VTJSC MUST include, at a minimum, the following attributes:
@context: MUST includehttps://www.w3.org/ns/credentials/v2id: URL of the credential (e.g., ahttps://example/vtjsc.json)type: MUST includeVerifiableCredential,JsonSchemaCredentialandVerifiableTrustJsonSchemaCredentialissuer: the Ecosystem DIDcredentialSchema: an object containing:id:https://www.w3.org/ns/credentials/json-schema/v2.jsontype:JsonSchemadigestSRI: sha384-S57yQDg1MTzF56Oi9DbSQ14u7jBy0RDdx0YbeV7shwhCS88G8SCXeFq82PafhCrW
credentialSubject: an object containing:id: the identifier of theCredentialSchemaentry in the VPRtype:JsonSchemajsonSchema.$ref: a reference to the JSON Schema stored in the VPRdigestSRI: a Subresource Integrity digest of the referenced JSON Schema, computed over the schema as the VPR stores it (JCS-canonical)
- a Data Integrity proof as defined by the W3C Verifiable Credential Data Integrity Recommendation: a
DataIntegrityProofwith acryptosuite
The credentialSchema content is exactly as vc-json-schema defines it.
This credential provides verifiable evidence of:
- Control of the Ecosystem DID (because it is the issuer of the credential)
- Authenticity of the CredentialSchema declaration (because the credential binds the Ecosystem DID to the VPR
CredentialSchemaentry)
{
"@context": [
"https://www.w3.org/ns/credentials/v2"
],
"id": "https://example/vtjsc.json",
"type": ["VerifiableCredential", "JsonSchemaCredential", "VerifiableTrustJsonSchemaCredential"],
"issuer": "did:example:ecosystem",
"credentialSchema": {
"id": "https://www.w3.org/ns/credentials/json-schema/v2.json",
"type": "JsonSchema",
"digestSRI": "sha384-S57yQDg1MTzF56Oi9DbSQ14u7jBy0RDdx0YbeV7shwhCS88G8SCXeFq82PafhCrW"
},
"credentialSubject": {
"id": "vpr:verana:vna-mainnet-1:cs:12345678",
"type": "JsonSchema",
"jsonSchema": {
"$ref": "vpr:verana:vna-mainnet-1:cs:12345678"
},
"digestSRI": "sha384-ABCSGyugst67rs67rdbugsy0RDdx0YbeV7shwhCS88G8SCXeFq82PafhCeZabcde"
}
}
[VT-ECOSYSTEM-DIDDOC] Ecosystem DID Document§
Finally, the Ecosystem MUST publish each VTJSC as a Linked Verifiable Presentation in the DID Document associated with the Ecosystem DID registered in the VPR.
Publishing VTJSC in the Ecosystem DID Document ensures that:
- Credential Schemas defined in the VPR are publicly discoverable
- The binding between a Credential Schema and its controlling Ecosystem DID is cryptographically verifiable
- Wallets, issuers, and verifiers can resolve and validate schema trust roots without relying on off-chain registries or implicit trust assumptions
The Ecosystem DID Document MUST include a service entry of type LinkedVerifiablePresentation that references a Verifiable Presentation containing one or more VTJSC issued by the Ecosystem DID. Such an entry MUST be declared with a fragment that starts with #vpr-schemas- and ends with -vtjsc-vp, as [VT-CRED-W3C-LINKED-VP] requires -vtc-vp for credentials.
Example:
"service": [
{
"id": "did:example:ecosystem#vpr-schemas-example-vtjsc-vp",
"type": "LinkedVerifiablePresentation",
"serviceEndpoint": ["https://ecosystem/schemas-example-vtjsc-vp.json"]
}
...
]
[VT-CRED] Verifiable Trust Credential§
Once an Ecosystem has:
- Created its Credential Schemas in the VPR
- Issued the corresponding VTJSC using the Ecosystem DID
- Published those VTJSC as Linked Verifiable Presentations in the Ecosystem DID Document
authorized issuers MAY issue Verifiable Credentials that conform to those schemas.
Verifiable Credentials that comply with the Verifiable Trust Specification are referred to as Verifiable Trust Credentials (VTCs).
A Verifiable Trust Credential MUST be linked to the applicable VTJSC issued by the Ecosystem DID. For W3C VTCs ([VT-CRED-W3C]), this link is established directly via the credentialSchema property. For AnonCreds VTCs ([VT-CRED-ANON]), the link is indirect: the credential names its Credential Definition, the Credential Definition names through schemaId the AnonCreds Schema that the Ecosystem DID published for the CredentialSchema, and that AnonCreds Schema is related to the VTJSC as the AnonCreds method of the Ecosystem DID’s DID method defines. For SD-JWT VTCs ([VT-CRED-SDJWT]), the link is indirect as well: the credential’s vct Type Metadata references the VTJSC via the same relatedJsonSchemaCredentialId property. For mdoc VTCs ([VT-CRED-MDOC]), the document carries the VTJSC reference itself, as the relatedJsonSchemaCredentialId element of its Verifiable Trust namespace. In all cases, this establishes a verifiable and discoverable trust chain between:
- the issued credential,
- the governing schema definition,
- and the Ecosystem under which the schema is defined.
During verification, wallets and verifiers can resolve the referenced VTJSC, verify its authenticity, and determine whether the issuing DID was authorized to issue credentials under that schema. Issuer authorization is evaluated at the time that [VT-DECL-ANCHOR] gives for the schema’s credential_anchoring ([TR-5]).
Issuance Time and Unlinkability Considerations§
This section is non-normative.
Verifiable Trust Credentials are designed to support multiple credential container formats and proof systems in order to balance auditability, interoperability, and privacy. Two recurring challenges must be considered when issuing and presenting credentials: proving issuance time and preventing linkability.
Proving Issuance Time§
This section is non-normative.
In decentralized systems, relying on issuer-asserted timestamps (such as issuanceDate) is insufficient, as such values can be forged or backdated by the issuer.
To address this, the Verifiable Trust architecture enables objective issuance-time determination for credentials of anchored schemas ([VT-DECL-ANCHOR-1]), by anchoring a deterministic cryptographic digest of the credential in the VPR at issuance time. Verifiers can recompute this digest from the presented credential and use the corresponding VPR registration timestamp as the effective issuance time.
This approach is:
- Independent of issuer-declared metadata
- Resistant to backdating or timestamp forgery
- Compatible with the W3C Verifiable Credentials Data Model v2.0 (which no longer mandates
issuanceDate)
Proving Unlinkability§
This section is non-normative.
Unlinkability aims to prevent a verifier from correlating multiple presentations of the same credential or identifying that two credentials were issued to the same subject.
However, strong issuance-time anchoring (e.g., via a stable digest) inherently introduces a linkability vector, as the same digest can be recognized across multiple presentations.
For this reason, unlinkability requirements vary depending on the intended visibility of the credential:
- Public credentials (e.g., Service, Organization, Persona ECS credentials), which are published as Linked Verifiable Presentations in DID Documents, do not require unlinkability. These credentials favor transparency, auditability, and ecosystem discoverability.
- Private credentials (e.g., user-held attributes, User Agent ECS credentials, KYC, entitlements) often require strong unlinkability and correlation resistance.
Choosing the Appropriate Credential Container§
This section is non-normative.
The Verifiable Trust Specification is container-agnostic and supports multiple credential formats to address different requirements:
-
W3C Verifiable Credentials (Data Model v2.0)
Suitable for public or semi-public credentials where:- auditability and interoperability are primary concerns
- issuance time must be objectively verifiable
- unlinkability is not required
-
Anonymous Credentials (e.g., AnonCreds)
Suitable for private credentials where:- selective disclosure is required
- multiple presentations must not be linkable
- no stable identifier may be anchored, issuer authorization being evaluated as [VT-DECL-ANCHOR-2] states
-
IETF SD-JWT VC (
dc+sd-jwt)
Suitable for private credentials of persons and of services, issued and presented over a trusted channel, and over OpenID4VC for the exchanges that need no exchange record ([VT-PROTO-6]), where:- selective disclosure is required (per-claim disclosures)
- holder binding is required (
cnf) - the credential is to be anchored (dated issuance, revocation by the ecosystem, [VT-DECL-ANCHOR-3]), or interoperability with OpenID4VC wallets is wanted, and either is more important than unlinkability
An SD-JWT VC does not provide unlinkability. Salted disclosures limit correlation. They do not remove it. Use AnonCreds when presentations must not be linkable.
-
ISO/IEC 18013-5 mdoc (
mso_mdoc)
Suitable for private credentials of natural persons ([VT-CRED-MDOC-9]), issued and presented as [VT-PROTO-6] states, where:- selective disclosure is required (per-element disclosure)
- holder binding through a device key is required
- compatibility with mobile-document wallets and readers is more important than unlinkability
- the linkability of its presentations is acceptable, with the mitigations of [VT-CRED-MDOC-8]
An mdoc does not provide unlinkability either: its issuer-signed part is a stable correlator, mitigated by issuing batches of copies.
Depending on the credential format and proof system used, ecosystems can achieve different trade-offs between:
- transparency vs. privacy
- auditability vs. unlinkability
- ecosystem governance vs. holder anonymity
Design Principle§
The Verifiable Trust framework deliberately avoids mandating a single credential format. Instead, it defines verifiable governance, authorization, and issuance-time semantics that can be enforced across different credential technologies.
Ecosystems MUST clearly specify, for each credential schema, the expected credential container format and privacy properties in order to ensure consistent trust resolution and verifier behavior.
[VT-CRED-W3C] W3C Verifiable Trust Credential (VTC)§
A W3C Verifiable Trust Credential MUST include, at a minimum, the following attributes:
@context: MUST includehttps://www.w3.org/ns/credentials/v2id: a globally unique identifier for the credential (e.g., aurn:uuid:)type: MUST includeVerifiableCredentialandVerifiableTrustCredential, and MAY include one or more schema-specific typesvalidFrom: optionalvalidUntil: optional; REQUIRED when the schema’scredential_anchoringisREVOCABLE_DIGEST([VT-DECL-ANCHOR-4])issuer: the DID of the authorized issuer issuing the credentialcredentialSubject: an object containing:id: for a credential of aSERVICEschema, the DID of the credential holder; for aPERSONschema, whatever the schema defines, if anything ([VT-DECL-SUBJECT])- all attributes required by the referenced Credential Schema
credentialSchema: an object containing:id: the identifier of the VTJSC issued by the Ecosystem DIDtype:JsonSchemaCredential
- a Data Integrity proof as defined by the W3C Verifiable Credential Data Integrity Recommendation: a
DataIntegrityProofwith acryptosuite
W3C VTC Example§
{
"@context": [
"https://www.w3.org/ns/credentials/v2"
],
"id": "urn:uuid:7f3c9a2e-9c8e-4f6e-9c0b-1e3f2d8a91ab",
"validFrom": "2010-01-01T19:23:24Z",
"validUntil": "2020-01-01T19:23:24Z",
"type": [
"VerifiableCredential",
"VerifiableTrustCredential",
"ExampleCredential"
],
"issuer": "did:example:authorized-issuer",
"credentialSubject": {
"id": "did:example:holder",
"exampleClaim": "schema-defined attributes follow"
},
"credentialSchema": {
"id": "https://example/vtjsc.json",
"type": "JsonSchemaCredential"
}
}
In this example:
- credentialSchema.id references the JSON Schema Credential issued by the Ecosystem DID.
- The JSON Schema Credential itself is discoverable via a LinkedVerifiablePresentation in the Ecosystem DID Document.
- Authorization of the issuer is determined by evaluating VPR state (e.g., issuer
Accreditationentries) at the issuance time evidenced by the credential’s anchored digest.
This design ensures that trust decisions remain fully verifiable, ecosystem-governed, and independent of centralized validation services.
W3C VTCs: Determining Credential Issuance Time§
Verifiable Trust Credentials do not rely on an issuer-asserted issuanceDate field to establish the time of issuance.
Instead, the issuance time of a Verifiable Trust Credential is objectively determined using the credential’s cryptographic digest anchored in the VPR.
Computing digestJCS§
The digestJCS of a W3C Verifiable Trust Credential MUST be computed as follows:
-
Take the credential as issued, in its entirety. No member is removed:
idandproofare both included. Where the credential carries a proof set, the complete set as issued is included. -
Canonicalize the credential using the JSON Canonicalization Scheme (JCS) as defined in RFC 8785. Implementations MUST use an RFC 8785 conformant canonicalization; a serializer that merely sorts object keys is not equivalent and MUST NOT be substituted.
-
Hash the UTF-8 encoding of the canonical form, using the algorithm named by the
digest_algorithmattribute of theCredentialSchemaentry the credential refers to, resolved as defined in Resolving the digest algorithm.digest_algorithmMUST be one of the lowercase tokenssha384orsha512. -
Encode the raw digest in standard base64 with padding, as defined in RFC 4648 section 4. The base64url alphabet of RFC 4648 section 5 MUST NOT be used. No algorithm prefix is added: the
digestJCSis the encoded digest alone. A party interpreting adigestJCSdetermines the algorithm from thedigest_algorithmof the governingCredentialSchema, resolved as above, and never from the value itself. Example:GOp0dicJ4ufacOQxQfQojCyGoC7RJClOzqb23pJubmG2z3cqD/73j1+3kYNSrxUP.
The resulting string is the credential’s digestJCS: the value anchored in the VPR at issuance, and the value recomputed and looked up during verification.
Resolving the digest algorithm§
digest_algorithm is an attribute of the CredentialSchema entry that governs the credential. To obtain it, an issuer or verifier MUST:
- read the credential’s
credentialSchema.id, which is the URL of the VTJSC; - resolve the VTJSC and read its
credentialSubject.jsonSchema.$ref, which is the VPR reference of theCredentialSchemaentry; - resolve that reference and read the
digest_algorithmattribute of the referenced CredentialSchema entry.
digest_algorithm is fixed when the CredentialSchema entry is created and MUST NOT change afterwards.
A credential whose schema is not registered in a VPR has no CredentialSchema entry, and therefore no digest_algorithm. Such a credential is not a Verifiable Trust Credential (see [VT-CRED]) and this section does not apply to it.
Anchoring the digest§
When issuing a Verifiable Trust Credential, the issuer MUST compute its digestJCS as defined above, and register it in the VPR by calling RecordCredentialIssuance with the credential_digest parameter; the issuance transaction is sent even when no fees are due; its event anchors the digest with the block time, the schema and the issuer’s reference (its ISSUER entry, whose verifiable service entry is then the anchoring entry, or its verifiable service entry itself for an entry-less issuer under OPEN); under REVOCABLE_DIGEST ([VT-DECL-ANCHOR-4]) the VPR also stores it as a Digest entry, with the credential’s validUntil given as credential_valid_until, until that expiry. Registration MUST succeed before the credential is delivered to the holder.
Verifying the issuance time§
During verification, a trust resolution process MUST:
- Recompute the
digestJCSof the received credential, exactly as defined in ComputingdigestJCS; - Locate its anchoring: the earliest issuance transaction that carried the digest under the issuer’s entry and schema ([TR-4]), which indexers serve from its event (the VPR keeps no entry for it unless the schema’s
credential_anchoringisREVOCABLE_DIGEST); - Use the block time of that transaction as the effective issuance time of the credential;
- Check the anchoring: the transaction MUST have been signed for the verifiable service entry that the credential’s issuer DID matches per [TR-10] at the effective issuance time, with the credential’s schema; the issuer MUST have held for that schema an
ISSUERentry effective at that time (the entry [TR-5] and [TR-9] refer to) or, when the schema’sissuer_onboarding_modeisOPEN, none is required. An anchoring under another verifiable service entry (another corporation’s, or another entry of the issuer’s corporation) is not the issuer’s and is disregarded; a digest stored directly with Store Digest is not an anchoring; - Check, when the schema’s
credential_anchoringisREVOCABLE_DIGEST, theDigestentry: it MUST exist and itsrevokedMUST be null, or later than the evaluated time.
A credential whose recomputed digestJCS has no anchoring by its issuer in the VPR has no provable issuance time, and verification MUST fail. Under REVOCABLE_DIGEST, a credential whose Digest entry is revoked has been revoked, by the owner of the anchoring entry (the issuer’s corporation), by the corporation of an active grantor above the issuer’s entries, or by the ecosystem controlling the schema, as of revoked, and verification MUST fail at any evaluated time at or after it; a credential whose Digest entry is gone is rejected whatever its own validUntil: the entry lives until the expiry given to the issuance transaction, and an earlier sweep means that a shorter expiry was given.
Issuance time security considerations§
This mechanism binds a credential’s content to a block timestamp assigned by the VPR, and so allows verification that the issuer was authorized to issue the credential at that time rather than merely at the time of presentation. Its guarantees, and their limits, are:
-
An issuer cannot backdate a credential. The block time of the issuance transaction is assigned by the chain and is not under the issuer’s control.
-
An issuer cannot pre-date one. The digest covers the credential’s
proof, so it cannot be computed before the credential is signed. Anchoring can only place the effective issuance time at or after actual issuance. -
A digest anchored by another party is detected. Any registered corporation MAY anchor any digest under one of its verifiable service entries, through a delegate or the VS account of the entry, and because Store Digest is idempotent the first anchor fixes
createdand the anchoring entry until the entry expires; its owner is the corporation of that entry. Computing the digest requires the signed credential, which exists nowhere outside the issuer until delivery, and registration MUST precede delivery. Should another party anchor first (a credential delivered or leaked before registration), the entry belongs to that party: underREVOCABLE_DIGESTthe issuer’s exchange transaction aborts, since the VPR refuses a Credential Issuance whose digest already exists under another entry or schema, or as a direct notarization, and treats an identical anchoring as a re-send; underDIGESTnothing is written, the stranger’s anchoring is disregarded ([TR-4]) and the issuer’s own issuance transaction anchors the credential; only a credential delivered without the issuer’s anchoring is refused ([CIT-4], [TR-4]). UnderREVOCABLE_DIGESTthe issuer re-issues. Ed25519 signatures are deterministic, so re-issuing the identical credential yields the identical digest: the re-issued credential MUST differ in content (for example a newid). -
A
Digestentry recordsdigest,created, the verifiable service entry under which it was anchored (whose corporation owns the digest) and, for a credential, its schema (together they name the issuer’s participation, whose deposit outlives its entries), an optionalrevokedtimestamp and, for schemas whosecredential_anchoringisREVOCABLE_DIGEST, the credential’s expiry, after which the entry is deleted; underDIGESTno entry is written and the event of the issuance transaction is the anchoring. It does not record which account anchored it, and the VPR does not verify a digest against any content. Attribution of a credential to its issuer comes from the credential’s own proof, verified separately per [TR-2]. -
Re-signing a credential changes its digest. A credential re-signed after issuance (key rotation, proof-suite migration) MUST have its new digest registered, and its effective issuance time becomes that of the new registration. Issuers requiring a stable issuance time MUST NOT re-sign in place.
[VT-CRED-W3C-LINKED-VP] W3C VTC Linked VP§
A DID Document presents as Linked-VPs the Verifiable Trust Credentials its DID holds of schemas whose presentation_mode is PUBLIC, with no limit on their number ([VT-DECL-MODE-1]); credentials of other schemas MUST NOT be published ([VT-DECL-MODE-2]); the VTJSCs published per [VT-ECOSYSTEM-DIDDOC] are not concerned. Linked-VPs MUST be signed by the DID controller of the DID Document; a published credential MUST have the DID of that DID Document as its subject (credentialSubject.id, matched per [TR-10]), and a published credential whose subject is another DID is disregarded wherever a rule relies on a published credential ([VS-REQ-2], [VS-REQ-3], [VS-REQ-4], [PRT-3]), whoever signed the presentation. Linked-VPs MUST be declared with a fragment that starts with #vpr-schemas- and ends with -vtc-vp. Example:
"service": [
{
"id": "did:example:service#vpr-schemas-example-vtc-vp",
"type": "LinkedVerifiablePresentation",
"serviceEndpoint": ["https://ecosystem/schemas-example-vtc-vp.json"]
}
...
]
The
examplecomponent of the fragment identifier is an arbitrary, controller-defined qualifier and can be any value chosen by the DID controller to prevent fragment collisions within the same DID Document (e.g., a schema name, logical grouping, version label, or sequence identifier). It has no normative meaning beyond uniqueness within the DID Document.
[VT-CRED-ANON] AnonCreds Verifiable Trust Credential (VTC)§
An AnonCreds Verifiable Trust Credential is a Verifiable Trust Credential issued using the AnonCreds specification. AnonCreds credentials provide zero-knowledge proof (ZKP) capabilities that are essential for credentials requiring strong privacy guarantees.
An ecosystem declares the AnonCreds container in a schema’s credential_format ([VT-DECL-FORMAT]) when it needs one or more of the following; SD-JWT VTCs ([VT-CRED-SDJWT]) offer selective disclosure but none of the other three:
- Selective disclosure is needed — the holder reveals only the requested attributes, not the full credential.
- Unlinkability is needed — multiple presentations of the same credential MUST NOT be linkable by verifiers or colluding parties.
- Predicate proofs are needed — the holder proves a boolean expression (e.g.,
age >= 18) without revealing the underlying claim value. - Holder correlation resistance is needed — no correlatable identifier is shared during issuance or presentation.
[VUA-REQ] requires AnonCreds for ECS User Agent VTCs, and [VT-ECS-CRED] for ECS Badge VTCs. See also [VT-ECS-UA-CRED-ANON] and [VT-ECS-BADGE-CRED-ANON].
AnonCreds VTC Setup§
The AnonCreds data model has three public issuer objects: the Schema, the Credential Definition, and the optional revocation objects. A Credential Definition names its Schema through schemaId. The trust chain of an AnonCreds VTC therefore runs from the credential to the Credential Definition, from the Credential Definition to the AnonCreds Schema, and from the AnonCreds Schema to the VTJSC. The AnonCreds Schema is the object that is related to the VTJSC. The Ecosystem DID publishes one AnonCreds Schema per CredentialSchema, and every authorized issuer builds its own Credential Definition on that common Schema. The Credential Definition carries no link of its own.
The AnonCreds data model defines no property for that relationship, and the AnonCreds specification requires that a resolved object adheres to its data model. This specification therefore does not define how the relationship is expressed. The AnonCreds method of the Ecosystem DID’s DID method defines where the AnonCreds Schema is published, how its identifier resolves, and how the relationship to the VTJSC is carried. This specification requires only that the relationship exists, and that a relying party can obtain it from the resolved AnonCreds Schema.
Before issuing AnonCreds VTCs, the following setup MUST be completed:
-
AnonCreds Schema: The Ecosystem DID MUST publish one AnonCreds Schema for the
CredentialSchema, as the AnonCreds method of its DID method defines. ItsissuerIdMUST be the Ecosystem DID. The Schema MUST be related to the VTJSC issued by the Ecosystem DID for thatCredentialSchema, and the relationship MUST be carried as that AnonCreds method defines. An issuer MUST NOT publish an AnonCreds Schema of its own for aCredentialSchema. A relying party MUST be able to obtain the VTJSC identifier from the resolved AnonCreds Schema. TheattrNameslist MUST be thecredentialSubjectproperties of the JSON Schema of the VTJSC, exceptid, which is not an AnonCreds attribute and is disregarded in the schema’srequiredlist (a DID-less instance has none, [VT-DECL-SUBJECT-4]). An attribute the issuer does not assert is carried as the empty string, which relying parties treat as absent; the constraints of the JSON Schema (type, format,minLength) apply to asserted values only. -
Credential Definition: Each issuer MUST create and publish its own Credential Definition, whose
schemaIdnames the AnonCreds Schema that the Ecosystem DID published for theCredentialSchema. The Credential Definition contains the issuer’s public keys used for signing credentials and is required by holders and verifiers for presentation generation and verification. It carries the issuer DID asissuerId. -
Revocation Registry (optional): If credential revocation is needed, the issuer MUST create and publish a Revocation Registry Definition and an initial Revocation Status List. When the issuer serves these objects itself (did:web AnonCreds method, did:webvh attested resources), they are published and resolved as the AnonCreds method of that DID method defines; on a ledger method the VDR holds them. How an issuer declares and serves its AnonCreds objects is the DID method’s matter, not this specification’s ([VS-SVC-8]). In both cases they carry the issuer DID as
issuerId. -
Link Secret: Each holder MUST create and store a link secret, a private value that enables credential-to-holder binding across multiple credentials without revealing a correlatable identifier.
AnonCreds Schema and Credential Definition Example§
This section is non-normative.
The AnonCreds Schema, published by the Ecosystem DID, and the Credential Definition, published by an authorized issuer on that Schema, follow the AnonCreds data model. Neither object carries a Verifiable Trust property:
{
"issuerId": "did:example:ecosystem",
"name": "gov-id",
"version": "1.0",
"attrNames": [
"birthDate",
"documentNumber",
"documentType",
"firstName",
"lastName",
"nationality"
]
}
{
"issuerId": "did:example:authorized-issuer",
"schemaId": "did:example:ecosystem/resources/schema-123",
"type": "CL",
"tag": "gov-id",
"value": {
"primary": { "...": "..." }
}
}
The relationship between the AnonCreds Schema and the VTJSC is carried as the AnonCreds method defines. The two examples below show how two AnonCreds methods carry it; both use the metadata of the resolved object and the property name relatedJsonSchemaCredentialId.
Under the did:web AnonCreds method, the resolution response wraps the object in resource and resourceMetadata. The relationship is a property of resourceMetadata:
{
"resource": {
"issuerId": "did:web:ecosystem.example",
"name": "gov-id",
"version": "1.0",
"attrNames": ["birthDate", "documentNumber", "documentType", "firstName", "lastName", "nationality"]
},
"resourceMetadata": {
"relatedJsonSchemaCredentialId": "https://ecosystem.example/vt/schemas-gov-id-jsc.json"
}
}
Under the did:webvh AnonCreds method, the Schema is the content of an Attested Resource that the DID controller signs. The relationship is a property of metadata, which the proof covers:
{
"@context": ["https://w3id.org/security/data-integrity/v2"],
"type": ["AttestedResource"],
"id": "did:webvh:QmdhkL...:ecosystem.example/resources/zQmSPbR...",
"content": {
"issuerId": "did:webvh:QmdhkL...:ecosystem.example",
"name": "gov-id",
"version": "1.0",
"attrNames": ["birthDate", "documentNumber", "documentType", "firstName", "lastName", "nationality"]
},
"metadata": {
"resourceId": "zQmSPbR...",
"resourceType": "anonCredsSchema",
"resourceName": "gov-id",
"relatedJsonSchemaCredentialId": "https://ecosystem.example/vt/schemas-gov-id-jsc.json"
},
"proof": { "...": "..." }
}
A ledger method carries the relationship as its own AnonCreds method specification defines.
AnonCreds VTC Issuance§
AnonCreds credential issuance follows the AnonCreds Issuance Data Flow:
- The issuer sends a Credential Offer referencing the Credential Definition.
- The holder evaluates the offer, retrieves the Credential Definition as the AnonCreds method of the issuer’s DID method defines (a VDR, or objects served by the issuer), and sends a Credential Request that includes a blinded commitment to the holder’s link secret.
- The issuer verifies the request and issues the credential with a blind signature over the credential attributes and the blinded link secret.
- The holder unblinds the signature, verifies it, and stores the credential.
The issuer never learns the holder’s link secret, and only the holder can unblind the final credential signature.
AnonCreds VTC Presentation§
AnonCreds holders never present the raw signed credential to verifiers. Instead, the holder derives a verifiable presentation — a zero-knowledge proof that demonstrates:
- Knowledge of a valid credential signature from a specific issuer (identified by Credential Definition).
- The values of selectively disclosed attributes.
- The truth of requested predicate expressions over undisclosed integer attributes.
- That the credential has not been revoked (if applicable), without revealing a correlatable revocation identifier.
- That all source credentials in a multi-credential presentation are bound to the same link secret.
Presentations follow the AnonCreds Presentation Data Flow. Verifiers create a Presentation Request specifying requested attributes, predicates, and non-revocation intervals.
AnonCreds VTCs: Issuance Time§
Unlike W3C VTCs, AnonCreds VTCs do not anchor a digest in the VPR to establish issuance time. Because AnonCreds presentations are derived zero-knowledge proofs — not the original credential — a verifier cannot independently recompute a digest from the presentation, making a VPR-anchored digest binding impractical without introducing correlation risks that conflict with AnonCreds’ privacy goals. The VPR therefore requires credential_anchoring NO_DIGEST for ANONCREDS schemas ([VT-DECL-ANCHOR-3]).
Issuer authorization checks at credential reception time are covered by [CIT].
AnonCreds VTC W3C Representation§
AnonCreds credentials MAY be represented in the W3C Verifiable Credentials format. In this representation:
@contextMUST include the AnonCreds W3C contexttypeMUST includeVerifiableCredentialandAnonCredsCredentialcredentialSchemaMUST reference the AnonCreds Credential Definition. The Credential Definition names the AnonCreds Schema, which is related to the VTJSC ([VT-CRED-ANON]).proofMUST include anAnonCredsProof2023entry
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://raw.githubusercontent.com/anoncreds/anoncreds-spec/main/data/anoncreds-w3c-context.json"
],
"type": [
"VerifiableCredential",
"AnonCredsCredential"
],
"issuer": "did:example:authorized-issuer",
"credentialSchema": {
"type": "AnonCredsDefinition",
"definition": "did:example:authorized-issuer/resources/creddef-123"
},
"credentialSubject": {
"documentNumber": "AB123456"
},
"proof": {
"type": "AnonCredsProof2023",
"signature": "AAAgf9w5.....8Z_x3FqdwRHoWruiF0FlM"
}
}
AnonCreds VTC Privacy Properties§
AnonCreds VTCs provide the following privacy properties relevant to the Verifiable Trust framework:
- No correlatable holder identifier: The link secret is never revealed; presentations prove knowledge of it via ZKP.
- Unlinkable presentations: Each presentation generates unique proof values, preventing verifiers from linking multiple presentations of the same credential.
- Selective disclosure: Only requested attributes are revealed; unrequested attributes remain hidden.
- Predicate proofs: Integer attributes (e.g., dates, ages) can be proven via boolean expressions without revealing the actual values.
- Non-revocation proofs: Revocation status is proven without disclosing a correlatable credential index.
- Multi-credential binding: A holder can prove that multiple credentials were issued to the same entity (same link secret) without revealing the link secret itself.
[VT-CRED-SDJWT] SD-JWT Verifiable Trust Credential (VTC)§
An SD-JWT Verifiable Trust Credential is a Verifiable Trust Credential issued as an IETF SD-JWT VC (dc+sd-jwt). SD-JWT VTCs provide selective disclosure through salted-hash disclosures and holder binding through the cnf claim. An SD-JWT VTC is issued and presented over a trusted channel ([VT-PROTO-ISS], [VT-PRES-VS]), under the credential_anchoring the ecosystem chooses for the schema ([VT-DECL-ANCHOR-3]). It is also the natural container for OpenID4VCI issuance and for OpenID4VP and Digital Credentials API presentation, which carry only the exchanges that need no exchange record ([VT-PROTO-6], [CIB-5], [PRB-5]). An SD-JWT schema is a PERSON or a SERVICE schema ([VT-CRED-SDJWT-10]).
SD-JWT VC Type Metadata defines no property for the governance of a type. The schema properties schema and schema_uri existed in earlier revisions and were removed in draft-12; the same revision introduced the extensibility rule that a Type Metadata document “MAY contain additional top level or subordinate properties” and that “Consumers MUST ignore properties that are not understood”. Verifiable Trust uses that extension point to carry the link to the Ecosystem that governs the type.
-
[VT-CRED-SDJWT-1] The
vctof an SD-JWT VTC identifies the type, not the issuer. Every issuer that an ecosystem accredits for a givenCredentialSchemaMUST use the samevctvalue, and that value MUST NOT change while the schema exists. The Type Metadata document it identifies is published by the Ecosystem that issued the VTJSC, not by each credential issuer, so a relying party can request a type without naming the issuers that may satisfy it. -
[VT-CRED-SDJWT-2] The
vctof an SD-JWT VTC MUST be anhttpsURL that resolves to that Type Metadata document. SD-JWT VC permits any Collision-Resistant Name and leaves retrieval to the consumer’s discretion; Verifiable Trust narrows this, so that a relying party reaches the governing Ecosystem from the credential alone, with no out-of-band configuration. A consequence of this narrowing is that the Ecosystem serving the document observes requests for it; relying parties SHOULD cache Type Metadata, as SD-JWT VC recommends, and MUST NOT treat a cached document as less authoritative than a freshly retrieved one. -
[VT-CRED-SDJWT-3] The Type Metadata document MUST carry the property
relatedJsonSchemaCredentialId, whose value identifies the VTJSC issued by the Ecosystem DID for the correspondingCredentialSchema— the property that the did:web and did:webvh AnonCreds methods carry for the AnonCreds Schema ([VT-CRED-ANON]). The document MUST NOT carryschemaorschema_uri. The JSON Schema MUST be obtained through the VTJSC, from itscredentialSubject.jsonSchema.$ref, and verified against the VTJSC’sdigestSRI. Resolution of that$refis performed through the relying party’s own VPR access per [WL-VPR], so no single hosting endpoint is a point of failure and the schema’s authenticity derives from the Ecosystem DID’s signature rather than from transport. -
[VT-CRED-SDJWT-4] An SD-JWT VTC MUST carry
vct#integrity, the integrity metadata of the Type Metadata document it names, as defined by SD-JWT VC. A relying party MUST verify it before using the document, and MUST fail verification when it does not match. Without this binding the link from the credential to its VTJSC rests on an unsigned document at a mutable URL;vct#integritygives the SD-JWT container the same property thatcredentialSchemagives a W3C VTC ([VT-CRED-W3C]) and that the AnonCreds method gives an AnonCreds VTC through the relationship it carries for the AnonCreds Schema ([VT-CRED-ANON]). -
[VT-CRED-SDJWT-5] During trust resolution, the VTJSC referenced under [VT-CRED-SDJWT-3] MUST be verified per [TR-3], and the issuer MUST be verified as authorized per [TR-5]: at the effective issuance time given by the credential’s digest when the schema’s
credential_anchoringisDIGESTorREVOCABLE_DIGEST([TR-4]), as currently authorized when it isNO_DIGEST. Issuer authorization at credential reception time is enforced by the holder as specified in [CIT]. -
[VT-CRED-SDJWT-6] The relying party MUST determine the issuer DID of an SD-JWT VTC as follows: when
issis a DID, that DID; otherwise, the DID carried as a URI SAN of the end-entity certificate of thex5cheader. When neither yields a DID, verification MUST fail. The signing key MUST appear underassertionMethodin that DID’s DID Document, and that DID MUST itself verify per [TR]. An X.509 certificate carrying the DID as a URI SAN conveys the key; the authority for that key is the DID Document. -
[VT-CRED-SDJWT-7] Revocation follows the schema’s
credential_anchoring([VT-DECL-ANCHOR-4]). UnderREVOCABLE_DIGEST, the revocation of the credential’s digest in the VPR is the revocation of the credential, consulted in every trust resolution ([TR-4]); a Token Status List MAY additionally be referenced in thestatusclaim, for suspension or for relying parties outside Verifiable Trust, and is never the only signal. UnderDIGESTorNO_DIGEST, an issuer that needs revocation MUST use a Token Status List, carry its reference in thestatusclaim and keep the list available for the life of its credentials, and a relying party MUST evaluate that claim during trust resolution ([TR-11]). In both cases the base of the list MUST be declared in the issuer’s DID Document as aCredentialStatusListservice ([VS-SVC-8]) and the Status List Token MUST be signed by a key of the issuer DID ([VS-SVC-9]): the credential names the list, the DID Document vouches for the base, and the signature proves the issuer controls what the list says. -
[VT-CRED-SDJWT-10] An SD-JWT schema declares
subject_kindPERSONorSERVICE. An SD-JWT VTC of aSERVICEschema is issued and presented over a trusted channel only ([VT-PROTO-ISS], [VT-PRES-VS]), under apresentation_modeofON_REQUESTorON_APPROVAL([VT-DECL-MODE]): it is issued to, and presented by, a software that the channel authenticates ([VT-CHAN-1]), and the OpenID4VC protocol endpoints identify no peer ([VS-REQ-8]). A VS MUST NOT issue a credential of aSERVICEschema over OpenID4VCI, nor request its presentation over OpenID4VP or the Digital Credentials API. -
[VT-CRED-SDJWT-8] An SD-JWT VTC is a private credential. It MUST NOT be published as a Linked Verifiable Presentation in a DID Document. Public Verifiable Trust Credentials, including the Essential Credential Schemas that a VS presents, use the W3C container ([VT-CRED-W3C]), whose effective issuance time [TR-4] determines.
-
[VT-CRED-SDJWT-9] The claims of an SD-JWT VTC are the
credentialSubjectproperties of the schema’s JSON Schema, carried as top-level claims of the payload under the same names, exceptid, the subject identifier, which is carried assub: aSERVICEcredential issued to a VS MUST carry the DID of that VS assub([VT-PROTO-ISS-5]), aSERVICEcredential issued to a software instance that has no DID carries none ([VT-DECL-SUBJECT-4]), and whether aPERSONcredential carries one is decided by the schema ([VT-DECL-SUBJECT]); the constraints of the JSON Schema apply to the claim values, and theclaimspaths of the Type Metadata name them at the top level.
SD-JWT VTCs: Digest and Issuance Time§
The digest of an SD-JWT VTC is the hash, with the digest_algorithm of the schema, of the exact bytes of its issuer-signed JWT in compact serialization (header, payload and signature, without any disclosure or key-binding JWT), encoded as digestJCS is (standard base64 with padding). The issuer-signed JWT is transmitted unchanged in every presentation whatever claims the holder discloses, so the digest is computed once by the issuer before delivery and recomputed by any verifier from any presentation. The issuer-signed JWT is already a correlator across verifiers; anchoring its digest adds no linkability.
When the schema’s credential_anchoring is DIGEST or REVOCABLE_DIGEST, the issuer MUST anchor that digest in the VPR through the CredentialIssuance transaction before delivering the credential, exactly as [VT-CRED-W3C] requires for digestJCS; the event of the issuance transaction then gives the effective issuance time and the entry the credential was issued under, and, under REVOCABLE_DIGEST, the Digest entry its revocation ([TR-4], [CIT-4], [VT-CRED-SDJWT-7]). When it is NO_DIGEST, no digest is anchored, iat is an issuer-asserted value that a relying party MUST NOT treat as a proven issuance time, and the issuer MUST be currently authorized at the evaluated time ([TR-5]).
Issuer authorization checks at credential reception time are covered by [CIT].
Example Type Metadata of an SD-JWT VTC§
{
"vct": "https://ecosystem.example/vt/vct/42",
"name": "ExampleCredential",
"relatedJsonSchemaCredentialId": "https://ecosystem.example/vt/schemas-example-jsc.json",
"display": [{ "locale": "en", "name": "ExampleCredential" }],
"claims": [{ "path": ["firstName"] }, { "path": ["lastName"] }]
}
A relying party holding any SD-JWT VTC, credential offer, or presentation request can therefore walk vct → Type Metadata → VTJSC → Ecosystem, with every step verifiable, and query the VPR for the peer’s authorization — without pre-configured knowledge of the credential type.
[VT-CRED-MDOC] ISO mdoc Verifiable Trust Credential (VTC)§
An mdoc Verifiable Trust Credential is a Verifiable Trust Credential issued as an ISO/IEC 18013-5 mobile document (mso_mdoc). An mdoc has two signed parts: the issuer-signed part, namespaces of salted data elements and issuerAuth, a COSE_Sign1 over the Mobile Security Object (MSO) that carries the docType, the digest of every element, the holder’s device key, the validity window and, optionally, a status reference; and the device-signed part, deviceAuth, the holder’s signature over the session transcript of the presentation. Selective disclosure works by omitting elements, holder binding by the device key, and the issuer is identified by the X.509 chain of issuerAuth. ISO defines no type metadata: a document is typed by its docType and its namespaces, in CBOR. This version of this specification defines mdoc VTCs issued over OpenID4VCI ([CIB-5]) under a NO_DIGEST schema with no issuance fees ([VT-DECL-ANCHOR-3]), and presented over OpenID4VP and the Digital Credentials API only; no issuance or presentation of an mdoc over a trusted channel is defined, and no mdoc is anchored.
-
[VT-CRED-MDOC-1] The
docTypeof an mdoc VTC identifies the type, not the issuer. Every issuer that an ecosystem accredits for a givenCredentialSchemaMUST use the samedocTypevalue, chosen by the ecosystem (ISO recommends a reverse-domain name), and that value MUST NOT change while the schema exists, so that a relying party can request a type without naming the issuers that may satisfy it. -
[VT-CRED-MDOC-2] An mdoc VTC MUST carry the Verifiable Trust namespace
io.verana.vt, with the elementrelatedJsonSchemaCredentialId, whose value identifies the VTJSC issued by the Ecosystem DID for the correspondingCredentialSchema— the property that the SD-JWT Type Metadata carries ([VT-CRED-SDJWT-3]) and that the did:web and did:webvh AnonCreds methods carry for the AnonCreds Schema ([VT-CRED-ANON]). The element MUST be disclosed in every presentation, and a relying party MUST request it with every request for the document. The JSON Schema MUST be obtained through the VTJSC, from itscredentialSubject.jsonSchema.$ref, resolved per [WL-VPR] and verified against the VTJSC’sdigestSRI. -
[VT-CRED-MDOC-3] The claims of an mdoc VTC are the data elements of one namespace per schema, whose identifier is the
$idof the schema’s JSON Schema (the VPR reference of theCredentialSchemaentry,vpr:verana:VPR_CHAIN_ID:cs:VPR_CREDENTIAL_SCHEMA_ID). The element identifiers are thecredentialSubjectproperties of the JSON Schema, exceptid, which is not an mdoc element (an mdoc carries no subject identifier beyond its device key) and is disregarded in the schema’srequiredlist; the element values are the CBOR encodings of the JSON values, and the constraints of the JSON Schema apply to the decoded values. An issuer MUST NOT place claims of the schema in any other namespace. -
[VT-CRED-MDOC-4] During trust resolution, the VTJSC referenced under [VT-CRED-MDOC-2] MUST be verified per [TR-3], and the issuer MUST be verified as authorized per [TR-5]: as currently authorized, the schema being
NO_DIGESTin this version ([VT-DECL-ANCHOR-3]). Issuer authorization at credential reception time is enforced by the holder’s wallet as specified in [CIT]. -
[VT-CRED-MDOC-5] The relying party MUST determine the issuer DID of an mdoc VTC as the DID carried as a URI SAN of the end-entity certificate of the
x5chainheader ofissuerAuth. When the certificate carries no DID, verification MUST fail. The signing key MUST appear underassertionMethodin that DID’s DID Document, and that DID MUST itself verify per [TR]. The certificate conveys the key; the authority for that key is the DID Document, so a Verifiable Trust relying party needs no issuing-authority trust anchor. The chain MAY additionally lead to an issuing authority certificate authority so that readers outside Verifiable Trust can accept the document. -
[VT-CRED-MDOC-6] The relying party MUST verify
deviceAuthwith the device key of the MSO over the session transcript defined by the presentation protocol in use (the OpenID4VP handover, or the Digital Credentials API handover), MUST verify every disclosed element against the digests of the MSO, and MUST apply the MSO’svalidityInfo: a document is not valid beforevalidFromnor at or aftervalidUntilat the evaluated time. In this version, a relying party MUST NOT accept an mdoc VTC presented over a protocol other than OpenID4VP and the Digital Credentials API. -
[VT-CRED-MDOC-7] An mdoc schema declares
NO_DIGESTin this version ([VT-DECL-ANCHOR-3]): an issuer that needs revocation MUST reference a Token Status List in thestatuselement of the MSO, as that specification defines for ISO mdoc, keep the list available for the life of its documents, declare the base of the list in its DID Document as aCredentialStatusListservice ([VS-SVC-8]) and sign the Status List Token with a key of its DID ([VS-SVC-9]); a relying party MUST evaluate the reference during trust resolution ([TR-11]). -
[VT-CRED-MDOC-8] An mdoc VTC is a private credential. It MUST NOT be published as a Linked Verifiable Presentation in a DID Document. Its presentations are linkable: the issuer-signed part, its salts and its device key are the same in every presentation of the same document. An issuer SHOULD therefore issue a batch of copies of the document, each with fresh salts, a fresh signature and a fresh device key, and a wallet SHOULD present each copy once, or to one relying party only, and obtain new copies when the batch is exhausted. Under
NO_DIGESTthe copies of a batch share the issuer’s status list, each with its own index; underDIGESTeach copy is a distinct document with its own anchored digest, which is why this version requiresNO_DIGESTfor mdoc schemas ([VT-CRED-MDOC-9]). -
[VT-CRED-MDOC-9] An mdoc VTC is issued to a natural person: the VPR accepts
MDOConly for a schema whosesubject_kindisPERSON, and the document is held in the person’s VUA. A VUA holds noAccreditationentry. In this version an mdoc VTC is issued over OpenID4VCI, which [CIB-5] limits to schemas requiring noCredentialIssuance: an mdoc schema MUST declareNO_DIGESTwith issuance fees of 0 along the issuer’s branch ([VT-DECL-ANCHOR-3]), and a verification over OpenID4VP or the Digital Credentials API is limited to presentations requiring noCredentialPresentation([PRB-5]). Anchored and fee-bearing mdoc schemas are deferred to a later version.
mdoc VTCs: Digest and Issuance Time§
The digest of an mdoc VTC is the hash, with the digest_algorithm of the schema, of the exact bytes of its issuerAuth (the COSE_Sign1 structure as received, all four fields: protected header, unprotected header, MSO payload and signature), encoded as digestJCS is (standard base64 with padding). issuerAuth is transmitted unchanged in every presentation whatever elements the holder discloses, so the digest is computed once by the issuer before delivery and recomputed by any verifier from any presentation. issuerAuth is already a correlator across verifiers; anchoring its digest adds no linkability.
In this version an mdoc schema declares NO_DIGEST ([VT-DECL-ANCHOR-3]): no digest is anchored, validityInfo.signed is an issuer-asserted value that a relying party MUST NOT treat as a proven issuance time, and the issuer MUST be currently authorized at the evaluated time ([TR-5]). The digest is defined for a later version that anchors mdoc documents through the CredentialIssuance transaction, as [VT-CRED-W3C] requires for digestJCS, one anchoring per copy of a batch.
Issuer authorization checks at credential reception time are covered by [CIT].
Example namespaces of an mdoc VTC§
In CBOR diagnostic notation, the namespaces of an mdoc VTC of the example schema, docType example.ecosystem.ExampleCredential (the id the example schema requires is not an mdoc element, [VT-CRED-MDOC-3]):
{
"vpr:verana:vna-mainnet-1:cs:42": {
"firstName": "Alice",
"lastName": "Example",
"countryOfResidence": "CH"
},
"io.verana.vt": {
"relatedJsonSchemaCredentialId": "https://ecosystem.example/vt/schemas-example-jsc.json"
}
}
A relying party holding any mdoc VTC or presentation can therefore walk the io.verana.vt element → VTJSC → Ecosystem, with every step verifiable, and query the VPR for the peer’s authorization — without pre-configured knowledge of the document type.
[VT-DECL] Credential Schema Declaration§
Each CredentialSchema entry of a VPR declares, beyond its JSON Schema and its onboarding modes, what the credentials of the schema are for and how agents handle them. The attributes and their values are defined by the VPR spec (CredentialSchema); this section states what agents do with each value:
subject_kind:SERVICEwhen credentials are issued to a software (a VS identified by its DID, or an instance of a software such as a VUA),PERSONwhen they are issued to a natural person and held in that person’s VUA;presentation_mode, forSERVICEschemas only:PUBLIC,ON_REQUESTorON_APPROVAL;credential_format: the single container of the credentials of the schema;presentation_validity_period: the duration in seconds during which a presentation of a credential of the schema is valid evidence of a verification, 0 or null for no reliance period ([VT-PRES-VS-8], [VT-PRES-VS-9]);credential_anchoring:NO_DIGEST,DIGESTorREVOCABLE_DIGEST([VT-DECL-ANCHOR]).
The VPR stores the declaration. Verifiable Services and Verifiable User Agents MUST enforce it as follows.
[VT-DECL-FORMAT] Credential format§
- [VT-DECL-FORMAT-1] An issuer MUST issue credentials of a schema only in the declared
credential_format: [VT-CRED-W3C] forW3C_JSONLD, [VT-CRED-ANON] forANONCREDS, [VT-CRED-SDJWT] forSD_JWT, [VT-CRED-MDOC] forMDOC. The W3C representation of an AnonCreds credential counts asANONCREDS. - [VT-DECL-FORMAT-2] A verifier MUST request presentations of credentials of a schema in the declared
credential_format, and a holder MUST refuse a credential offer ([CIT]) or a presentation request ([PRT]) that uses another container.
[VT-DECL-ANCHOR] Credential anchoring§
- [VT-DECL-ANCHOR-1]
DIGESTandREVOCABLE_DIGEST, the two values of an anchored schema: the issuer MUST anchor the digest of every credential of the schema in the VPR through theCredentialIssuancetransaction before delivering it, as specified for the container ([VT-CRED-W3C] for W3C VTCs, [VT-CRED-SDJWT] for SD-JWT VTCs; mdoc VTCs are not anchored in this version, [VT-DECL-ANCHOR-3]). The anchoring transaction gives the credential’s effective issuance time and the entry it was issued under ([TR-4]), issuer authorization is evaluated at that time ([TR-5]), and the holder checks the anchoring at reception ([CIT-4]). UnderDIGESTnothing more is written: for SD-JWT, revocation, if any, uses the mechanism native to the container, as under [VT-DECL-ANCHOR-2]; a W3C credential underDIGESTis withdrawn by its publisher removing it from its DID Document or by its expiry, and nothing else: an ecosystem that must revoke W3C credentials declaresREVOCABLE_DIGEST. UnderREVOCABLE_DIGEST([VT-DECL-ANCHOR-4]) the digest is also kept as aDigestentry and the revocation of the digest is the revocation of the credential, by the owner of the anchoring entry (the issuer’s corporation), by the corporation of an active grantor above the issuer’s entries, or by the ecosystem controlling the schema. A status mechanism native to the container MAY additionally be carried, for a status the VPR does not express (such as suspension) or for relying parties outside Verifiable Trust; it is never the only revocation signal, and a revoked digest is final whatever it says. Before delivering, the issuer SHOULD verify through its indexer that its issuance transaction is the earliest anchoring of that digest under its entry, whose block time is the effective issuance time ([TR-4]): a duplicate of its own does not change it, and an anchoring under another entry is disregarded. - [VT-DECL-ANCHOR-2]
NO_DIGEST: no credential digest is anchored. The issuer MUST be currently authorized at the evaluated time ([TR-5]); revocation uses the mechanism native to the container, which the issuer MUST keep available for the life of its credentials: the Token Status List of [VT-CRED-SDJWT-7] and [VT-CRED-MDOC-7], whose base the issuer MUST declare in its DID Document and whose token it MUST sign ([VS-SVC-8], [VS-SVC-9]), or the revocation registry of [VT-CRED-ANON], published and resolved as the AnonCreds method of the issuer’s DID method defines ([VS-SVC-8]); the holder enforces issuer authorization at reception ([CIT-3]) and theCredentialIssuancewhen fees are due ([CIT-5]). - [VT-DECL-ANCHOR-3] The VPR requires an anchored value (
DIGESTorREVOCABLE_DIGEST) forW3C_JSONLDandNO_DIGESTforANONCREDS(a verifier never sees an AnonCreds credential, only a proof derived from it, so no digest can be recomputed). ForSD_JWTandMDOCthe VPR lets the ecosystem choose: an anchored value gives dated issuance, credentials that survive the issuer’s termination, revocation by the ecosystem governance (REVOCABLE_DIGEST) and issuance fees enforced by the digest;NO_DIGESTgives herd privacy of revocation checks, cheap bulk revocation and compatibility with existing SD-JWT and mdoc deployments. ForSD_JWTthis specification leaves that choice to the ecosystem: credentials of an anchored schema, and of aNO_DIGESTschema with issuance fees along the issuer’s branch, are issued over a trusted channel, where theCredentialIssuanceis recorded and checked ([VT-PROTO-ISS], [CIT-4], [CIT-5]); only those of aNO_DIGESTschema with issuance fees of 0 along the issuer’s branch can also be issued over OpenID4VCI, which carries noCredentialIssuance([CIB-5]). ForMDOC, this version of this specification REQUIRESNO_DIGEST, with issuance fees of 0 along the issuer’s branch: an mdoc is issued over OpenID4VCI only ([VT-CRED-MDOC-9], [CIB-5]), which carries noCredentialIssuance; anchored and fee-bearing mdoc schemas are deferred to a later version (mdoc documents are issued in batches of copies ([VT-CRED-MDOC-8]), and anchoring would cost one transaction per copy, and oneDigestentry per copy underREVOCABLE_DIGEST). The choice is immutable, since changing it would change the rule applied to credentials already issued. - [VT-DECL-ANCHOR-4]
REVOCABLE_DIGEST: the issuance transaction persists the digest as aDigestentry, kept until the credential expires and deleted then; the owner of the anchoring entry, a grantor above the issuer’s entries or the ecosystem controlling the schema revokes the credential by revoking the digest (Revoke Digest) ([TR-4]). Every credential of such a schema MUST carry an expiry (validUntilfor W3C,expfor SD-JWT,validityInfo.validUntilfor mdoc), the issuer MUST give that expiry to the issuance transaction (credential_valid_until), and the holder MUST refuse at reception a credential whose expiry is absent or differs from the entry’s ([CIT-4]): once the entry is gone the credential is dead on its own expiry, and a renewal is a new credential with a new digest.DIGESTsuits credentials whose life is the life of what they describe, such as a self-issued Service credential;REVOCABLE_DIGESTsuits credentials an ecosystem must be able to withdraw. The choice is immutable.
[VT-DECL-SUBJECT] Subject kind§
- [VT-DECL-SUBJECT-1] An issuer MUST NOT issue a credential of a
SERVICEschema to a natural person, nor a credential of aPERSONschema to a software. - [VT-DECL-SUBJECT-2] For
PERSONschemas, the person decides in its VUA what to present:presentation_modeis null and [VT-DECL-MODE-1], [VT-DECL-MODE-3] and [VT-DECL-MODE-4] do not apply ([VT-DECL-MODE-2] does). The person consents to each request and selects the credentials to present, and over a trusted channel the VUA follows [VT-PRES-VS], disclosing nothing before that consent ([VT-PRES-VS-5]). The VUA MUST still verify the verifier per [PRT-3] and apply [VT-DECL-RECORD] and [VT-PRES-VS-9]. - [VT-DECL-SUBJECT-3] A
PERSONschema setsholder_onboarding_modetoNO_ONBOARDING_PROCESS: a natural person holds noAccreditationentry (entries belong to corporations and carry a DID), so [VT-DECL-HOLDER] and [TR-9] concernSERVICEschemas inISSUER_ONBOARDING_PROCESSholder mode only. The VPR rejects any other combination. - [VT-DECL-SUBJECT-4] A
SERVICEschema whose credentials are issued to software instances that have no DID, such as User Agent instances, MUST setholder_onboarding_modetoNO_ONBOARDING_PROCESS,presentation_modetoON_REQUESTand acredential_formatother thanW3C_JSONLD(a W3C VTC names its holder’s DID as subject): such a holder can neither hold anAccreditationentry nor publish a DID Document, and has no controller to approve presentations.
Whether a credential of a PERSON schema carries a subject identifier, and what it is (a wallet-generated DID, a key binding, a link secret, a device key, or none), is decided by the ecosystem’s schema and by the container; this specification imposes nothing. This paragraph is non-normative.
[VT-DECL-MODE] Presentation mode of service credentials§
In this section, the holder is the software that holds the credential: a VS, or a VUA holding its own User Agent credential (to which only [VT-DECL-MODE-3] can apply, since a VUA instance has no DID Document).
- [VT-DECL-MODE-1]
PUBLIC: the credential is made available to verifiers by publication only. The holder MUST publish it in its DID Document as a Linked Verifiable Presentation per [VT-CRED-W3C-LINKED-VP], MUST remove or replace it when it expires or is revoked, and MUST NOT present it through any other channel. The VPR requiresW3C_JSONLDfor aPUBLICschema. Anyone can read a published credential: reading it is not a presentation request, and [PRB], [PRT] and [VT-DECL-RECORD] do not apply to it. APUBLICschema therefore collects no verification fees; theverification_feesof itsAccreditationentries SHOULD be 0. - [VT-DECL-MODE-2] A credential of a schema whose
presentation_modeis notPUBLIC, and any credential of aPERSONschema, MUST NOT be published in a DID Document. - [VT-DECL-MODE-3]
ON_REQUEST: upon a presentation request from a verifier that satisfies [PRT-3] (under averifier_onboarding_modeofOPENevery peer is authorized to request the presentation, underCREDENTIALevery peer whose DID Document publishes the required credential ([PRT-3]), in both cases without requiring aVERIFIERentry; under the other modes the verifier holds an activeVERIFIERentry for the schema), the holder MUST present its presentable credentials of the schema without the intervention of its service controller, one by one and most recently received first, each after the checks of [VT-PRES-VS-6] and [VT-PRES-VS-9] when they apply ([VT-PRES-VS-4]). - [VT-DECL-MODE-4]
ON_APPROVAL: as [VT-DECL-MODE-3], but the holder MUST obtain the approval of its service controller for each presentation request before disclosing whether it holds a credential of the schema, and before anyCredentialPresentationtransaction is sent or any fee is paid; the controller selects the credentials to present, and when approval is denied the holder MUST decline the request without disclosing anything ([VT-PRES-VS-5]). See [VT-PRES-VS].
[VT-DECL-RECORD] Exchange records§
- [VT-DECL-RECORD-1] A
CredentialPresentationis required for a verification when the fees computed by the VPR for it are greater than 0, when thepresentation_validity_periodof the schema is greater than 0 ([VT-PRES-VS-9]) or when the verifier asked that the presentation be anchored ([VT-PRES-VS-3]); a verification with zero fees and no digest to anchor requires none and leaves no transaction. When one is required, the verifier MUST send theCredentialPresentationtransaction to the VPR (Record Credential Presentation) before obtaining the presentation, and the holder MUST NOT present before having verified theCredentialPresentationas specified in [VT-PRES-VS-6]; noCredentialPresentationtransaction is sent for a schema the holder declines or answers no credential for ([VT-PRES-VS-4], [VT-PRES-VS-5]). - [VT-DECL-RECORD-2] The holder determines the fees of a verification as [CIT-5] does for an issuance: with the VPR’s Find Beneficiaries query, for the schema, the issuer reference of each credential it answers and the verifier reference, both of which it derives itself from the DIDs as [VT-PRES-VS-4] specifies, or with no verifier reference when the verifier is a Verifiable User Agent, which has none ([PRB-1]): the query then returns the issuer’s branch and the root. It requires a
CredentialPresentationfor a credential whose fees are greater than 0, and states so in its answer. - [VT-DECL-RECORD-3] The ecosystem MAY change
presentation_validity_periodthrough Update Credential Schema;subject_kind,presentation_mode,credential_formatandcredential_anchoringare immutable;verifier_credential_schema_idsis updatable as well. Both parties read the values in force from the VPR at the time of the verification, the holder when it answers [VT-PRES-VS-4] and the verifier before [VT-PRES-VS-6], and MUST NOT rely on values cached from an earlier verification. The holder’s reading prevails: its answer states, for each credential, whether it requires aCredentialPresentationand whether the presentation is anchored (the period being greater than 0), and a verifier that receives such an answer MUST either anchor the digest the holder then sends or end the exchange, whatever it read itself ([VT-PRES-VS-9]). A change applies to the verifications that follow it and has no effect on exchanges already recorded or presentations already anchored.
[VT-DECL-HOLDER] Holder Accreditation entries§
- [VT-DECL-HOLDER-1] When a schema sets
holder_onboarding_modetoISSUER_ONBOARDING_PROCESS, theHOLDERAccreditationentry records the relationship that the issuer validated with the holder for that schema, effective for the period of the entry. A credential is an artifact issued under that relationship: the subject MUST hold an activeHOLDERentry for the schema, validated by the issuer’sISSUERentry, before the issuer issues the credential, and the issuer MAY issue successive credentials under the same entry (renewal, update of claims) while itsISSUERentry is the validator of thatHOLDERentry. When the issuer’sISSUERentry has changed (re-onboarding after expiry or revocation, change of validator), the holder opens a newHOLDERentry validated by the newISSUERentry before the next issuance, and the previous entry keeps covering the credentials issued under it ([TR-9]). - [VT-DECL-HOLDER-2] The relationship bounds the credential: a credential of such a schema is trusted only while the
HOLDERentry it was issued under is recognized ([TR-9]), whatever the credential’s own validity period, and the revocation of the entry withdraws trust from every credential issued under it. A credential MAY be valid for a shorter period than the entry; a credential whose validity exceeds the entry is trusted only until the entry ends. For a credential of aNO_DIGESTschema, which carries no issuance time and names no entry, [TR-9] accepts anyHOLDERentry of the subject that is recognized and validated by the issuer: a re-onboarding with the same issuer restores trust in the credentials of the earlier relationship, and an issuer that must keep them withdrawn revokes them through the container’s native mechanism ([VT-DECL-ANCHOR-2]).
[ECS] Essential Credential Schemas§
Essential Credential Schemas are the Verifiable Trust basic needed schemas for enabling a minimum trust resolution in Services and User Agents by answering these questions:
- who is the provider of this Verifiable Service?
- what is the minimum age required to access this Verifiable Service?
- is the User Agent trying to connect to a Verifiable Service a Verifiable User Agent?
- who is the human operating this Verifiable User Agent, and whom do they represent?
- …
Ecosystems can create Essential Credential Schemas (ECS) by creating an Ecosystem in a VPR. There are 5 kinds of ECS:
- Service;
- Organization;
- Persona;
- User Agent;
- Badge.
[ECS-EC] Essential Credential Schemas Ecosystem§
To provide an Essential Credential Schemas Ecosystem, a corporation creates an Ecosystem entry es in a VPR.
For this Ecosystem to qualify as an ECS Ecosystem and to be used for trust resolution in VSs and VUAs, it MUST provide, associated to the Ecosystem entry es, one CredentialSchema entry for at least one of [ECS-SERVICE], [ECS-ORG], [ECS-PERSONA], [ECS-UA], and [ECS-BADGE], and at most one entry per essential schema, each with a json_schema attribute as defined in the corresponding section.
Additional CredentialSchema entries MAY be provided by the Ecosystem.
To verify that a CredentialSchema entry in a VPR is an Essential Credential Schema, a verifier MUST:
- Retrieve the
json_schemaattribute of theCredentialSchemaentry. - Remove the
$idproperty from the object. - Canonicalize it using the JSON Canonicalization Scheme (JCS) as defined in RFC 8785.
- Compute the SHA-384 digest of the canonicalized output.
- Compare the resulting digest against the following reference values:
| Schema | Digest |
|---|---|
| ServiceCredential | sha384-0v+BAFGpnBX/RVqH9dUlMglxMrD4AKy4qUtb1lMN4iW9I2gO7XjcUfmGOf0oInP3 |
| OrganizationCredential | sha384-zutvarFnZ75EyRUPBP6TBFQk11WjVy9dxuaK/dD8IhNQMlVsVghBdMAKEzIxrj0L |
| PersonaCredential | sha384-upB036Jcqw2Z50NlVK7XqwjjnH7G+R53ilCdmhKv4YdA5ZBy6wygjBwkj4v/2ZV+ |
| UserAgentCredential | sha384-rIWkh3zBD1Ak7CNGpAwZ/ONSmf+ywOYSF3H60ULc9/a1ZYKv6EqiQMJ2dm8dOfjm |
| BadgeCredential | sha384-PL0E06WW9ZsJUZh5BJDeJFUY6qSGyl9wG047XiAFGrxxSHorE2e+c7qyrNzbRqce |
The $id property is excluded because it contains the VPR-specific schema identifier, which varies across deployments. The remaining schema content is identical for all conforming ECS Ecosystems.
[ECS-SERVICE] Service Credential JSON Schema§
Used to identify Verifiable Services.
Credential subject object of schema MUST contain the following attributes:
id(string) (mandatory): the DID of the service the credential will be issued to. URI format, max length: 2048 chars.name(string) (mandatory): service name. UTF8 charset, min length: 1 char, max length: 512 chars.type(string) (mandatory): service type. UTF8 charset, min length: 1 char, max length: 128 chars. Service types will be defined later.description(string) (mandatory): service description. UTF8 charset, max length: 4096 chars.descriptionFormat(string) (optional): media type indicating how thedescriptionvalue MUST be interpreted.
Allowed values:text/plaintext/markdown
If omitted,text/plainMUST be assumed.
logoUri(string) (mandatory): URI of the service logo image (as shown in browsers/apps/search engines). Allowed media types of the dereferenced resource:image/png,image/jpeg,image/svg+xml. URI format, max length: 4096 chars.logoDigestSri(string) (mandatory): Subresource Integrity digest of thelogoUriresource, encoded as- (SRI format). Max length: 256 chars. minimumAgeRequired(integer) (mandatory): minimum required age to connect to service. Allowed values: 0 to 255 (inclusive).termsAndConditionsUri(string) (mandatory): URI of the terms and conditions of the service. URI format, max length: 4096 chars.termsAndConditionsDigestSri(string) (mandatory): Subresource Integrity digest of thetermsAndConditionsUriresource, encoded as- (SRI format). Max length: 256 chars. privacyPolicyUri(string) (mandatory): URI of the privacy policy of the service. URI format, max length: 4096 chars.privacyPolicyDigestSri(string) (mandatory): Subresource Integrity digest of theprivacyPolicyUriresource, encoded as- (SRI format). Max length: 256 chars.
the resulting json_schema attribute will be the following JSON Schema.
$id:VPR_CHAIN_IDandVPR_CREDENTIAL_SCHEMA_IDare replaced by the VPR itself when it stores the schema, by its chain id and the id of the createdCredentialSchemaentry (Create Credential Schema): the$idof a stored schema is alwaysvpr:verana:<chain id>:cs:<id>.
{
"$id": "vpr:verana:VPR_CHAIN_ID:cs:VPR_CREDENTIAL_SCHEMA_ID",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ServiceCredential",
"description": "Identifies a Verifiable Service and defines the minimum trust and access requirements required to interact with it.",
"type": "object",
"properties": {
"credentialSubject": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"type": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"description": {
"type": "string",
"maxLength": 4096
},
"descriptionFormat": {
"type": "string",
"enum": ["text/plain", "text/markdown"],
"default": "text/plain"
},
"logoUri": {
"type": "string",
"format": "uri",
"maxLength": 4096
},
"logoDigestSri": {
"type": "string",
"maxLength": 256
},
"minimumAgeRequired": {
"type": "integer",
"minimum": 0,
"maximum": 255
},
"termsAndConditionsUri": {
"type": "string",
"format": "uri",
"maxLength": 4096
},
"termsAndConditionsDigestSri": {
"type": "string",
"maxLength": 256
},
"privacyPolicyUri": {
"type": "string",
"format": "uri",
"maxLength": 4096
},
"privacyPolicyDigestSri": {
"type": "string",
"maxLength": 256
}
},
"required": [
"id",
"name",
"type",
"description",
"logoUri",
"logoDigestSri",
"minimumAgeRequired",
"termsAndConditionsUri",
"termsAndConditionsDigestSri",
"privacyPolicyUri",
"privacyPolicyDigestSri"
]
}
}
}
[ECS-ORG] Organization Credential JSON Schema§
Used to identify Organizations that operate Verifiable Services: the Organization credential identifies the controller of a service.
The attributes that identify the organization take their names, formats and code lists from the Legal Entity Reference Data of the Global Legal Entity Identifier System (the LEI Common Data File format published by GLEIF), so that an organization is described in an Organization credential as it is in an LEI record. The organization does not need an LEI.
Credential subject object of schema MUST contain the following attributes:
-
id(string) (mandatory): the DID of the organization the credential has been issued to, which is the subject of the verifiable credential.
URI format, max length: 2048 chars. -
legalName(string) (mandatory): legal name of the organization, as its registration authority records it.
UTF8 charset, min length: 1 char, max length: 500 chars, no leading, trailing or consecutive spaces. -
logoUri(string) (mandatory): URI of the organization logo image (as shown in browsers and search engines).
Allowed media types of the dereferenced resource:image/png,image/jpeg,image/svg+xml.
URI format, max length: 4096 chars. -
logoDigestSri(string) (mandatory): Subresource Integrity digest of thelogoUriresource, encoded as- (SRI format).
Max length: 256 chars. -
registrationAuthorityId(string) (mandatory): code of the register in which the organization is entered, taken from the GLEIF Registration Authorities List. Two reserved codes of that list are used:RA999999when the organization is entered in no register, andRA888888when its register is not in the list. GLEIF reservesRA888888as an interim code, for the time it takes to add a register to the list at the request of an LEI issuer. This specification gives it a lasting meaning, any register that is not in the list, with no time limit: the issuer of an Organization credential is not an LEI issuer and cannot have a register added. The third reserved code of the list,RA777777, MUST NOT be used: it stands for the public legal documents against which an LEI issuer validated a government entity or an international organization, it is not a register, and GLEIF does not allow it as a registration authority either.
Pattern:^RA[0-9]{6}$,RA777777excluded. -
otherRegistrationAuthorityId(string) (conditional): designation of the register when it is not in the list. MUST be present whenregistrationAuthorityIdisRA888888, and MUST NOT be present otherwise.
UTF8 charset, min length: 1 char, max length: 500 chars, no leading, trailing or consecutive spaces. -
registrationAuthorityEntityId(string) (conditional): identifier of the organization in that register, written as the register writes it. MUST be present when the register assigns an identifier to the organization. MUST NOT be present whenregistrationAuthorityIdisRA999999, nor when the register assigns none.
UTF8 charset, min length: 1 char, max length: 500 chars, no leading, trailing or consecutive spaces. -
otherRegistrations(array of objects) (optional): other registrations of the organization: an identifier that the register ofregistrationAuthorityIdgives to the organization besidesregistrationAuthorityEntityId, or the identifier of the organization in another register. MUST NOT be present whenregistrationAuthorityIdisRA999999. One to ten objects, all different. Each object MUST contain no other attribute than the following:registrationAuthorityId(string) (mandatory): code of the register, as for the attribute of the same name above. MUST NOT beRA999999orRA777777.otherRegistrationAuthorityId(string) (conditional): designation of the register when it is not in the list. MUST be present whenregistrationAuthorityIdisRA888888, and MUST NOT be present otherwise.registrationAuthorityEntityId(string) (mandatory): identifier of the organization in that register, written as the register writes it.
The strings of an object have the formats of the attributes of the same names above.
-
legalJurisdiction(string) (mandatory): jurisdiction under whose law the organization is formed, expressed as an ISO 3166-1 alpha-2 country code or as an ISO 3166-2 subdivision code (e.g.,US-CA), whichever the GLEIF Accepted Legal Jurisdictions Code List gives for that jurisdiction. A territory that has its own ISO 3166-1 code is written with that code (PR, notUS-PR).
Pattern:^[A-Z]{2}(-[A-Z0-9]{1,3})?$. -
entityCategory(string) (optional): category of the organization. If omitted,GENERALMUST be assumed.
Allowed values:GENERAL: a legal entity of no other category.BRANCH: a branch of an organization, registered in another jurisdiction than that organization.registrationAuthorityIdMUST NOT beRA999999: a branch is entered in a register.FUND: an investment fund.SOLE_PROPRIETOR: an individual acting in a business capacity.RESIDENT_GOVERNMENT_ENTITY: a body of a central, state or local government.INTERNATIONAL_ORGANIZATION: an organization created by an international agreement.
-
entityLegalFormCode(string) (optional): legal form of the organization, as a code of the ISO 20275 Entity Legal Forms Code List. The list has two reserved codes, valid in every jurisdiction:8888for a legal form that is not yet in the list, and9999for an organization that has no separate legal form.
Pattern:^[A-Z0-9]{4}$. -
otherLegalForm(string) (conditional): legal form of the organization as text. MUST be present whenentityLegalFormCodeis8888or9999, MUST NOT be present whenentityLegalFormCodeis any other code, and MAY be present whenentityLegalFormCodeis absent.
UTF8 charset, min length: 1 char, max length: 500 chars, no leading, trailing or consecutive spaces. -
legalAddress(object) (mandatory): address of the organization, as its registration authority records it. The object MUST contain no other attribute than the following:firstAddressLine(string) (mandatory): first line of the address.addressNumber(string) (optional): number of the building, when it is also given apart from the address lines.addressNumberWithinBuilding(string) (optional): number of the floor, suite or apartment within the building.mailRouting(string) (optional): routing line of the address (a “care of” address).additionalAddressLine(array of strings) (optional): one to three further lines of the address.city(string) (mandatory): name of the city.region(string) (optional): ISO 3166-2 subdivision code of the region. Pattern:^[A-Z]{2}-[A-Z0-9]{1,3}$.country(string) (mandatory): ISO 3166-1 alpha-2 country code. Pattern:^[A-Z]{2}$.postalCode(string) (optional): postal code.
Every string attribute of the object other than
regionandcountry: UTF8 charset, min length: 1 char, max length: 500 chars, no leading, trailing or consecutive spaces. -
lei(string) (optional): Legal Entity Identifier (LEI, ISO 17442) of the organization, when it has one.
Pattern:^[0-9A-Z]{18}[0-9]{2}$. -
onboardingSummaryDigestSri(string) (optional): Subresource Integrity digest, encoded as- (SRI format), of the onboarding summary compiled by the issuer: the document describing the information, proofs and decisions of the validation of the organization that led to this issuance. The counterpart, for a schema in NO_ONBOARDING_PROCESSholder mode, of theonboarding_summary_digesta validator records on aHOLDERAccreditationentry. The issuer MUST retain the summary for the period its ecosystem governance framework requires, MUST produce it to the ecosystem governance authority on request, MAY share it with the subject, and MUST NOT publish it. Whether accredited issuers MUST set this attribute is decided by the ecosystem governance framework.
Max length: 256 chars.
Organization key:
- The organization key of an Organization credential is the pair (
registrationAuthorityId,registrationAuthorityEntityId), completed byotherRegistrationAuthorityIdwhenregistrationAuthorityIdisRA888888. A credential that carries noregistrationAuthorityEntityId, because the organization is entered in no register (RA999999) or because its register assigns no identifier, has no organization key. - Two Organization credentials that carry the same organization key identify the same organization, whatever their subjects and their other attributes.
legalJurisdiction,entityCategory,entityLegalFormCode,otherLegalFormandotherRegistrationsare not part of the key: a difference in one of them between two credentials of the same key is an inconsistency between these credentials, and does not make two organizations. - Two Organization credentials that have no organization key identify the same organization when they carry the same
lei, or, when they carry none, when they have the same subject. - The registrations of
otherRegistrationsinform a verifier and help it find an organization ([VT-PRES-VS-1]). They do not identify it: two credentials are never held to identify the same organization, or two organizations, because of them. - Unless the ecosystem governance framework defines otherwise, the issuer writes
registrationAuthorityEntityId, in the key and inotherRegistrations, as the register writes it, and two values are compared as strings after Unicode NFC normalization: no other character is removed or folded, since what separates two identifiers differs from one register to another. - The ecosystem governance framework defines which register an issuer uses when an organization is entered in several registers of its jurisdiction, and which identifier forms the key when a register gives an organization several. For an organization of category
SOLE_PROPRIETOR, whose identifiers can be those of a natural person, it states which identifiers an issuer includes, in the key and inotherRegistrations. It also fixes the designation of each register that is not in the list, so that every issuer writes the sameotherRegistrationAuthorityIdfor it: a designation written in two ways would make two organizations of one.
Issuance rules:
An issuer MUST verify, before it issues an Organization credential, that:
registrationAuthorityIdis a code of the list. Except for a credential of categoryBRANCH, it designates a register of thelegalJurisdictionof the organization.- for a credential of category
BRANCH: the register is the one in which the branch is entered, in the jurisdiction where it operates, andregistrationAuthorityIdis notRA999999;legalJurisdiction,entityLegalFormCodeandotherLegalFormare those of the organization the branch belongs to;legalAddressis the address of the branch in the jurisdiction where it operates. registrationAuthorityEntityIdis present whenever the register assigns an identifier to the organization, and identifies the organization itself, not one of its establishments.- each object of
otherRegistrations, when present, names a register in which the organization is entered and the identifier that register gives to the organization itself, not to one of its establishments; no object repeats the organization key. - each identifier of
otherRegistrationsis one that its register makes public. An Organization credential is published, so an identifier in it is disclosed to everyone, for as long as copies of the credential exist: an identifier that the register keeps confidential, such as a tax number that is also the personal identifier of a natural person, MUST NOT be included. entityLegalFormCode, when present, is a code the list gives for that jurisdiction, or one of the two reserved codes.lei, when present, has valid check digits (ISO 7064 MOD 97-10), and its LEI record carries the same registration authority and the same identifier in it.
When a later version of the list includes a register for which an issuer used RA888888, the issuer MUST use the code of the register in the credentials it issues from then on, in the organization key and in otherRegistrations. It MUST re-issue with that code, without waiting for their expiry, the credentials that carry RA888888 for that register in their organization key: until then the same organization has two organization keys. A credential that carries it only in an object of otherRegistrations need not be issued again: these objects are not part of the key, so the former code makes no second organization.
An establishment of an organization, and a branch registered in the jurisdiction of the organization it belongs to, are not organizations: the services they operate present the Organization credential of the organization.
A credential of category BRANCH identifies the registration of a branch in the jurisdiction where it operates. A branch is not a separate legal entity: the organization it belongs to answers for it. The credential does not identify that organization: its organization key is the registration of the branch, and it carries no reference to the head office, which may hold no Organization credential and be entered in no VPR.
A subsidiary is a separate organization, with its own Organization credential. This specification defines no relation between Organization credentials.
Implementation notes (non-normative):
credentialSubject.id(the DID) is the sole authoritative identifier for trust resolution within the Verifiable Trust system. The organization key tells which legal entity stands behind a DID, and that several DIDs belong to the same one.- The attributes are statements of the issuer of the credential, an accredited issuer of the ECS ecosystem: a verifier relies on them to the extent it trusts that ecosystem. They are not statements of the registration authority or of GLEIF, and an
leiis authoritative only through a credential issued under its own governance framework (e.g., vLEI). otherRegistrationsfollows theOtherValidationAuthoritieselement of an LEI record, which lists further authorities and local identifiers next to the main one, and lets an authority appear more than once when it gives an entity several identifiers: a register that gives an organization its own registration number and also records it under a national tax number, for example. The meaning differs. In an LEI record, that element belongs to the registration details, not to the reference data of the entity, and lists the sources the LEI issuer used to validate that data. Here each object is a register in which the organization is entered.- Trusts, funds and international organizations are common cases of organizations entered in no register (
RA999999). LEI records write the jurisdiction of an international organization asUN(the United Nations, its specialized agencies and affiliated organizations),EU(an organization established by a treaty signed by all the members of the European Union and no other country) orXX(every other case), and its legal form as the reserved code9999with the name of the founding treaty as text. - The LEI Common Data File format names these attributes
LegalName,RegistrationAuthorityID,OtherRegistrationAuthorityID,RegistrationAuthorityEntityID,LegalJurisdiction,EntityCategory,EntityLegalFormCode,OtherLegalForm,LegalAddressandLEI. It names the list ofotherRegistrationsOtherValidationAuthorities, and the three attributes of an objectValidationAuthorityID,OtherValidationAuthorityIDandValidationAuthorityEntityID.
The resulting json_schema attribute will be the following JSON Schema.
$id:VPR_CHAIN_IDandVPR_CREDENTIAL_SCHEMA_IDare replaced by the VPR itself when it stores the schema, by its chain id and the id of the createdCredentialSchemaentry (Create Credential Schema): the$idof a stored schema is alwaysvpr:verana:<chain id>:cs:<id>.
{
"$id": "vpr:verana:VPR_CHAIN_ID:cs:VPR_CREDENTIAL_SCHEMA_ID",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "OrganizationCredential",
"description": "Identifies a legal organization that operates one or more Verifiable Services.",
"type": "object",
"properties": {
"credentialSubject": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"legalName": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "^\\S+( \\S+)*$"
},
"logoUri": {
"type": "string",
"format": "uri",
"maxLength": 4096
},
"logoDigestSri": {
"type": "string",
"maxLength": 256
},
"registrationAuthorityId": {
"type": "string",
"pattern": "^RA[0-9]{6}$",
"not": {
"const": "RA777777"
}
},
"otherRegistrationAuthorityId": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "^\\S+( \\S+)*$"
},
"registrationAuthorityEntityId": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "^\\S+( \\S+)*$"
},
"otherRegistrations": {
"type": "array",
"minItems": 1,
"maxItems": 10,
"uniqueItems": true,
"items": {
"type": "object",
"properties": {
"registrationAuthorityId": {
"type": "string",
"pattern": "^RA[0-9]{6}$",
"not": {
"enum": [
"RA999999",
"RA777777"
]
}
},
"otherRegistrationAuthorityId": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "^\\S+( \\S+)*$"
},
"registrationAuthorityEntityId": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "^\\S+( \\S+)*$"
}
},
"required": [
"registrationAuthorityId",
"registrationAuthorityEntityId"
],
"if": {
"properties": {
"registrationAuthorityId": {
"const": "RA888888"
}
},
"required": [
"registrationAuthorityId"
]
},
"then": {
"required": [
"otherRegistrationAuthorityId"
]
},
"else": {
"not": {
"required": [
"otherRegistrationAuthorityId"
]
}
},
"additionalProperties": false
}
},
"legalJurisdiction": {
"type": "string",
"pattern": "^[A-Z]{2}(-[A-Z0-9]{1,3})?$"
},
"entityCategory": {
"type": "string",
"enum": [
"GENERAL",
"BRANCH",
"FUND",
"SOLE_PROPRIETOR",
"RESIDENT_GOVERNMENT_ENTITY",
"INTERNATIONAL_ORGANIZATION"
]
},
"entityLegalFormCode": {
"type": "string",
"pattern": "^[A-Z0-9]{4}$"
},
"otherLegalForm": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "^\\S+( \\S+)*$"
},
"legalAddress": {
"type": "object",
"properties": {
"firstAddressLine": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "^\\S+( \\S+)*$"
},
"addressNumber": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "^\\S+( \\S+)*$"
},
"addressNumberWithinBuilding": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "^\\S+( \\S+)*$"
},
"mailRouting": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "^\\S+( \\S+)*$"
},
"additionalAddressLine": {
"type": "array",
"minItems": 1,
"maxItems": 3,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "^\\S+( \\S+)*$"
}
},
"city": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "^\\S+( \\S+)*$"
},
"region": {
"type": "string",
"pattern": "^[A-Z]{2}-[A-Z0-9]{1,3}$"
},
"country": {
"type": "string",
"pattern": "^[A-Z]{2}$"
},
"postalCode": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "^\\S+( \\S+)*$"
}
},
"required": [
"firstAddressLine",
"city",
"country"
],
"additionalProperties": false
},
"lei": {
"type": "string",
"pattern": "^[0-9A-Z]{18}[0-9]{2}$"
},
"onboardingSummaryDigestSri": {
"type": "string",
"maxLength": 256
}
},
"required": [
"id",
"legalName",
"logoUri",
"logoDigestSri",
"registrationAuthorityId",
"legalJurisdiction",
"legalAddress"
],
"allOf": [
{
"if": {
"properties": {
"registrationAuthorityId": {
"const": "RA999999"
}
},
"required": [
"registrationAuthorityId"
]
},
"then": {
"not": {
"anyOf": [
{
"required": [
"registrationAuthorityEntityId"
]
},
{
"required": [
"otherRegistrations"
]
}
]
}
}
},
{
"if": {
"properties": {
"registrationAuthorityId": {
"const": "RA888888"
}
},
"required": [
"registrationAuthorityId"
]
},
"then": {
"required": [
"otherRegistrationAuthorityId"
]
},
"else": {
"not": {
"required": [
"otherRegistrationAuthorityId"
]
}
}
},
{
"if": {
"required": [
"entityLegalFormCode"
]
},
"then": {
"if": {
"properties": {
"entityLegalFormCode": {
"enum": [
"8888",
"9999"
]
}
}
},
"then": {
"required": [
"otherLegalForm"
]
},
"else": {
"not": {
"required": [
"otherLegalForm"
]
}
}
}
},
{
"if": {
"properties": {
"entityCategory": {
"const": "BRANCH"
}
},
"required": [
"entityCategory"
]
},
"then": {
"properties": {
"registrationAuthorityId": {
"not": {
"const": "RA999999"
}
}
}
}
}
]
}
}
}
[ECS-PERSONA] Persona Credential JSON Schema§
Used to identify Personas (human-controlled avatars) that operate Verifiable Services.
Credential subject object of schema MUST contain the following attributes:
-
id(string) (mandatory): the DID of the Persona the credential has been issued to, which is the subject of the verifiable credential.
URI format, max length: 2048 chars. -
name(string) (mandatory): name of the Persona.
UTF8 charset, min length: 1 char, max length: 256 chars. -
description(string) (optional): description of the Persona.
UTF8 charset, max length: 16384 chars. -
descriptionFormat(string) (optional): media type indicating how thedescriptionvalue MUST be interpreted.
Allowed values:text/plaintext/markdown
If omitted,text/plainMUST be assumed.
-
avatarUri(string) (optional): URI of the Persona avatar image (as shown in browsers and search engines).
Allowed media types of the dereferenced resource:image/png,image/jpeg,image/svg+xml.
URI format, max length: 4096 chars. -
avatarDigestSri(string) (conditional): Subresource Integrity digest of theavatarUriresource, encoded as- (SRI format).
MUST be present whenavatarUriis present (enforced via JSON SchemadependentRequired). Max length: 256 chars. -
controllerCountryCode(string) (mandatory): primary country of residence of the Persona controller (the human), expressed as an ISO 3166-1 alpha-2 country code.
Pattern:^[A-Z]{2}$. -
controllerJurisdiction(string) (optional): sub-national jurisdiction of the controller’s residence when applicable law varies by sub-jurisdiction (e.g.,US-CA).
Pattern:^[A-Z]{2}(-[A-Z0-9]{1,3})?$, max length: 64 chars. -
onboardingSummaryDigestSri(string) (optional): Subresource Integrity digest, encoded as- (SRI format), of the onboarding summary compiled by the issuer: the document describing the information, proofs and decisions of the validation of the natural person that led to this issuance. The counterpart, for a schema in NO_ONBOARDING_PROCESSholder mode, of theonboarding_summary_digesta validator records on aHOLDERAccreditationentry. The issuer MUST retain the summary for the period its ecosystem governance framework requires, MUST produce it to the ecosystem governance authority on request, MAY share it with the subject, and MUST NOT publish it. Whether accredited issuers MUST set this attribute is decided by the ecosystem governance framework.
Max length: 256 chars. -
[ECS-PERSONA-1] A relying party MUST NOT interpret
controllerCountryCodeorcontrollerJurisdictionas the verified legal domicile of the controller, unless stronger evidence or credentials support it. -
[ECS-PERSONA-2] When
controllerJurisdictionis present, a relying party SHOULD give it precedence overcontrollerCountryCodefor legal interpretation.
Implementation notes (non-normative):
controllerCountryCodeandcontrollerJurisdictionare included to enable jurisdictional policy enforcement (e.g., moderation, compliance), within the limits of [ECS-PERSONA-1] and [ECS-PERSONA-2].- The Persona DID (
credentialSubject.id) remains the authoritative identifier for trust resolution within the Verifiable Trust system.
The resulting json_schema attribute will be the following JSON Schema.
$id:VPR_CHAIN_IDandVPR_CREDENTIAL_SCHEMA_IDare replaced by the VPR itself when it stores the schema, by its chain id and the id of the createdCredentialSchemaentry (Create Credential Schema): the$idof a stored schema is alwaysvpr:verana:<chain id>:cs:<id>.
{
"$id": "vpr:verana:VPR_CHAIN_ID:cs:VPR_CREDENTIAL_SCHEMA_ID",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "PersonaCredential",
"description": "Identifies a Persona (human-controlled avatar) that operates one or more Verifiable Services.",
"type": "object",
"properties": {
"credentialSubject": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"description": {
"type": "string",
"minLength": 0,
"maxLength": 16384
},
"descriptionFormat": {
"type": "string",
"enum": ["text/plain", "text/markdown"],
"default": "text/plain"
},
"avatarUri": {
"type": "string",
"format": "uri",
"maxLength": 4096
},
"avatarDigestSri": {
"type": "string",
"maxLength": 256
},
"controllerCountryCode": {
"type": "string",
"minLength": 2,
"maxLength": 2,
"pattern": "^[A-Z]{2}$"
},
"controllerJurisdiction": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[A-Z]{2}(-[A-Z0-9]{1,3})?$"
},
"onboardingSummaryDigestSri": {
"type": "string",
"maxLength": 256
}
},
"required": [
"id",
"name",
"controllerCountryCode"
],
"dependentRequired": {
"avatarUri": ["avatarDigestSri"]
}
}
}
}
[ECS-UA] User Agent Credential JSON Schema§
Credential subject object of schema MUST contain the following attributes:
-
version(string) (mandatory): the software version of the User Agent instance.
This value is used by Verifiable Services and other Verifiable User Agents for compatibility checks, feature negotiation, and policy enforcement.
UTF8 charset, min length: 1 char, max length: 64 chars. -
build(string) (optional): an optional build or release identifier (e.g., build number, commit hash, or vendor-specific release tag) providing finer-grained versioning when required.
UTF8 charset, min length: 1 char, max length: 128 chars.
Notes (non-normative):
- The issuer DID of the credential uniquely identifies the User Agent software product line, a vendor issuing under one identifier per software product line.
- A UserAgentCredential is issued per User Agent instance. The credential carries no instance identifier: consistent with the AnonCreds container ([VT-CRED-ANON]), holder binding relies on the holder’s link secret, so no correlatable identifier is shared during issuance or presentation.
- Only identity-critical information is included in this schema. Descriptive, legal, or branding metadata (name, logo, policies, etc.) are intentionally excluded to keep trust resolution minimal and deterministic.
The resulting json_schema attribute will be the following JSON Schema.
$id:VPR_CHAIN_IDandVPR_CREDENTIAL_SCHEMA_IDare replaced by the VPR itself when it stores the schema, by its chain id and the id of the createdCredentialSchemaentry (Create Credential Schema): the$idof a stored schema is alwaysvpr:verana:<chain id>:cs:<id>.
{
"$id": "vpr:verana:VPR_CHAIN_ID:cs:VPR_CREDENTIAL_SCHEMA_ID",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "UserAgentCredential",
"description": "Identifies a User Agent instance and the software version it runs. The issuer identifies the software product line.",
"type": "object",
"properties": {
"credentialSubject": {
"type": "object",
"properties": {
"version": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"build": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"required": [
"version"
]
}
}
}
[ECS-BADGE] Badge Credential JSON Schema§
Used to identify humans (natural persons), such as the employees or members of the organization that operates a Verifiable Service. A Badge is issued to a human holder by a VS; the organization or persona standing behind the holder is obtained by trust-resolving the issuer DID of the credential (see [VS-REQ] and [TR]).
Credential subject object of schema MUST contain the following attributes:
-
badgeNumber(string) (mandatory): issuer-scoped identifier of the badge holder. MUST be unique per issuer. Together with the trust-resolved identity of the issuer, it identifies the subject of the credential.
UTF8 charset, min length: 1 char, max length: 256 chars. -
name(string) (mandatory): display name of the human the credential is issued to.
UTF8 charset, min length: 1 char, max length: 256 chars. -
photo(string) (optional): portrait photograph of the holder, embedded inline as a base64-encodeddata:URI. MUST matchdata:image/png;base64,<base64-data>ordata:image/jpeg;base64,<base64-data>(the only allowed media types areimage/pngandimage/jpeg); enforced via the JSON Schemapatternbelow. When present, used as the reference image for face-matching authentication challenges.
URI format (data:scheme), max length: 262144 chars. -
title(string) (optional): position or title of the holder within the issuer’s organization (e.g.,CEO,Janitor).
UTF8 charset, min length: 1 char, max length: 128 chars. -
department(string) (optional): organizational unit of the holder within the issuer’s organization.
UTF8 charset, min length: 1 char, max length: 128 chars. -
email(string) (optional): email address of the holder, which the issuer has verified that the holder controls ([ECS-BADGE-2]). MUST be a mailbox as defined by RFC 5321, written in ASCII with a dot-atom local part and a domain name: a quoted local part, an address literal and an internationalized address (RFC 6531) are not permitted. The issuer MUST write the domain in lower case ([ECS-BADGE-4]). Enforced via the JSON Schemapatternbelow; theformatemailof the schema is an annotation, which a validator checks only when format assertion is enabled.
Max length: 254 chars. -
phoneNumber(string) (optional): telephone number of the holder, which the issuer has verified that the holder controls ([ECS-BADGE-2]), in E.164 format:+followed by the country code and the subscriber number, digits only (e.g.,+33612345678); enforced via the JSON Schemapatternbelow.
Max length: 16 chars. -
birthDate(integer) (optional): date of birth of the holder, encoded as a “dateint” integerYYYYMMDD(e.g.,19910521). The integer encoding enables zero-knowledge predicate proofs (e.g.,age >= 18) without revealing the value (see [VT-CRED-ANON]).
Allowed values: 10000101 to 99991231 (inclusive). -
biometricPattern(string) (optional): base64-encoded protected biometric template of the holder, for privacy-preserving biometric matching (e.g., homomorphic-encryption-based face verification), so that biometric verification can be performed in the encrypted domain without revealing the raw biometric.
Base64 charset (contentEncoding, not validated by the schema), max length: 262144 chars. -
biometricPatternScheme(string) (conditional): identifier of the scheme ofbiometricPattern: biometric modality, feature extractor, template-protection/encryption scheme, and version. Scheme identifier values are defined by the ecosystem's governance framework.
MUST be present whenbiometricPatternis present (enforced via JSON SchemadependentRequired). UTF8 charset, min length: 1 char, max length: 128 chars. -
[ECS-BADGE-1] Badge attributes identify the holder and carry informative facts only. A verifier MUST NOT interpret any Badge attribute (such as
titleordepartment) as a role, permission, or authorization assertion: authorization decisions belong to the relying party, based on its own rules over verified facts. -
[ECS-BADGE-2]
emailandphoneNumberare communication channel attributes. An issuer MUST NOT set one in a Badge unless it has verified, before it issues the Badge, that the holder controls the address or the number: for example by a code sent to it that the holder returns, or because the issuer itself assigned the address or the number to the holder. A verifier cannot check that an issuer did so, and any VS can issue a Badge ([VT-ECS-JSON-SCHEMA-VPR-CONFIG]): the value is as reliable as its issuer. Unless it has its own reason to trust the issuer for that value (for example, the issuer is the organization that operates the mail domain of the address), a verifier MUST NOT treatemailorphoneNumberas evidence that the holder controls the address or the number, and so MUST NOT give access to an account on the match of that value alone. -
[ECS-BADGE-3]
photo,biometricPattern,emailandphoneNumberidentify the holder across presentations. A holder SHOULD disclose them only to a verifier that needs them, and a verifier SHOULD NOT request them by default. -
[ECS-BADGE-4] To compare an
emailvalue with another address, a relying party MUST compare the domains without regard to case: the issuer writes the domain in lower case, and the other address may not. It compares the local parts as they are written, unless it knows that the mail domain ignores their case.
Implementation notes (non-normative):
- No subject identifier. Consistent with the AnonCreds container ([VT-CRED-ANON]), the schema defines no
idattribute: holder binding relies on the holder’s link secret, and the subject is identified by the (issuer,badgeNumber) pair. This avoids introducing a globally correlatable identifier into every presentation of a user-held credential; the optionalemailandphoneNumberare such identifiers, disclosed selectively (below). - Embedded media.
photo(adata:URI) andbiometricPattern(raw base64) are embedded inline rather than referenced by a network-dereferenceable (e.g.https:) URI: dereferencing a hosted resource would create a tracking and correlation vector and make biometric data web-retrievable. - Selective disclosure.
photoandbiometricPatternare inherently strong correlation handles, andemailandphoneNumberare globally correlatable identifiers: this is the reason for [ECS-BADGE-3]. A verifier typically needs the first two for an authentication challenge (e.g., a face-match with liveness check), and the last two to match the holder with an account or an invitation that names the address or the number. - Contact attributes.
emailandphoneNumberlet a relying party match a Badge with the accounts of identity providers that key their users on an email address or a phone number, within the limit of [ECS-BADGE-2]: the value is only as reliable as its issuer. A relying party that matched an account on an address asserted by any issuer would give that account to whoever asserts the address, the known takeover by an unverified email claim. [ECS-BADGE-2] requires the issuer to verify that the holder controls the address or the number before it issues the Badge; the method it uses, and what an issuer that sets an unverified value is liable to, are defined by the ecosystem’s governance framework. - Matching topology. How a
biometricPatternis matched against a live capture (which party runs the match, who holds decryption keys for the protected template) is defined by the ecosystem’s governance framework and is out of scope of this specification.
The resulting json_schema attribute will be the following JSON Schema.
$id:VPR_CHAIN_IDandVPR_CREDENTIAL_SCHEMA_IDare replaced by the VPR itself when it stores the schema, by its chain id and the id of the createdCredentialSchemaentry (Create Credential Schema): the$idof a stored schema is alwaysvpr:verana:<chain id>:cs:<id>.
{
"$id": "vpr:verana:VPR_CHAIN_ID:cs:VPR_CREDENTIAL_SCHEMA_ID",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "BadgeCredential",
"description": "Identifies a human, such as an employee or member of the organization that operates a Verifiable Service. The issuer identifies the organization or persona the holder represents.",
"type": "object",
"properties": {
"credentialSubject": {
"type": "object",
"properties": {
"badgeNumber": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"photo": {
"type": "string",
"pattern": "^data:image/(png|jpeg);base64,[A-Za-z0-9+/]+={0,2}$",
"maxLength": 262144
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"department": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"email": {
"type": "string",
"format": "email",
"pattern": "^[A-Za-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$",
"maxLength": 254
},
"phoneNumber": {
"type": "string",
"pattern": "^\\+[1-9][0-9]{1,14}$",
"maxLength": 16
},
"birthDate": {
"type": "integer",
"minimum": 10000101,
"maximum": 99991231
},
"biometricPattern": {
"type": "string",
"contentEncoding": "base64",
"maxLength": 262144
},
"biometricPatternScheme": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"required": [
"badgeNumber",
"name"
],
"dependentRequired": {
"biometricPattern": ["biometricPatternScheme"]
}
}
}
}
[VT-ECS-JSON-SCHEMA-VPR-CONFIG] Essential Schema VPR Configuration§
To be considered compliant:
- CredentialSchema entries for [ECS-SERVICE], [ECS-ORG], and [ECS-PERSONA] MUST set
holder_onboarding_modetoNO_ONBOARDING_PROCESS: the issuer validates the organization or person off-chain, issues, and withdraws trust from an individual Organization or Persona credential by revoking its digest ([TR-4]), from a Service credential by removing it from the subject service’s DID Document (controlled by the same corporation as the issuer, [VS-REQ-4]); noHOLDERentry is recorded, so a holder’s identity costs the registry its verifiable service entry and the digests of its credentials, nothing more. - CredentialSchema entries for [ECS-SERVICE] MUST set
issuer_onboarding_modetoOPEN: a VS that issues its own Service credential ([VS-REQ-3]) is held accountable through the Organization or Persona credential bound to it, so the accreditation gate of the ECS trust model is on the Organization and Persona schemas, whichever ECS ecosystem provides them, and a VS anchors its own Service credential under its verifiable service entry without anyISSUERentry ([CIB-4]); a VS whose Service credential is issued by another VS ([VS-REQ-4]) needs none either. - CredentialSchema entries for [ECS-ORG], [ECS-PERSONA] and [ECS-UA] MUST NOT set
issuer_onboarding_modetoOPEN: these schemas are the accreditation gate of the ECS trust model (an Organization or Persona credential is what makes a service accountable, a User Agent credential identifies a software product line), so their issuers holdISSUERentries obtained through an onboarding process (ECOSYSTEM_ONBOARDING_PROCESSorGRANTOR_ONBOARDING_PROCESS, the ecosystem’s choice). - CredentialSchema entries for [ECS-BADGE] MUST set
issuer_onboarding_modetoOPENandholder_onboarding_modetoNO_ONBOARDING_PROCESS: any corporation whose service qualifies as a VS per [VS-REQ] issues Badges to the humans it stands behind under its verifiable service entry, without anyISSUERentry (it MAY self-create one to declare the fees it charges): trust in a Badge derives from trust-resolving its issuer ([TR-5], [TR-6]), not from an onboarding gate, and holders require noAccreditationentry in the VPR. - CredentialSchema entries for [ECS-UA] MUST set
holder_onboarding_modetoNO_ONBOARDING_PROCESS,verifier_onboarding_modetoOPENandpresentation_validity_periodto 0 or null, and theverification_feesof every [ECS-UA]Accreditationentry MUST be 0: a User Agent instance holds noAccreditationentry, and a VUA that verifies another VUA’s credential ([VUA-CONN-VUA]) has no verifiable service entry, so it can neither hold a VERIFIER entry nor send aCredentialPresentationtransaction. NoCredentialPresentationtransaction is ever sent for a User Agent presentation, no fee is ever collected on it, and a verifier MUST NOT ask that such a presentation be anchored. - CredentialSchema entries MUST set the declaration attributes of [VT-DECL] as follows:
| Schema | subject_kind |
presentation_mode |
credential_format |
presentation_validity_period |
credential_anchoring |
|---|---|---|---|---|---|
| [ECS-SERVICE] | SERVICE |
PUBLIC |
W3C_JSONLD |
null | DIGEST |
| [ECS-ORG] | SERVICE |
PUBLIC |
W3C_JSONLD |
null | REVOCABLE_DIGEST |
| [ECS-PERSONA] | SERVICE |
PUBLIC |
W3C_JSONLD |
null | REVOCABLE_DIGEST |
| [ECS-UA] | SERVICE |
ON_REQUEST |
ANONCREDS |
0 or null | NO_DIGEST |
| [ECS-BADGE] | PERSON |
null | ANONCREDS |
0 at launch (an ecosystem decision) | NO_DIGEST |
- Organization and Persona credentials MUST carry a
validUntil([VT-DECL-ANCHOR-4]); their digests are kept by the VPR until then and the issuing ecosystem can revoke them. A Service credential, issued by the controller of the service and published with the DID Document, needs neither: it is anchored by its issuance transaction only and withdrawn by its controller removing it.
Organization and Persona credentials identify the legal or natural person behind a service; their subject id is the DID that the organization or persona controls and under which it operates the service ([VS-REQ-3]), and they are held by that service: their subject kind is SERVICE. A User Agent credential identifies an instance of a software, not its user: its subject kind is SERVICE, and it is presented automatically to any authorized verifier ([VUA-REQ], [VS-CONN-VUA]) with the unlinkability of the AnonCreds container. A Badge is issued to a human, who decides in its VUA what to disclose; the AnonCreds container gives it selective disclosure, predicate proofs and link-secret holder binding ([VT-ECS-BADGE-CRED-ANON]).
See vpr spec.
[VT-ECS-JSON-SCHEMA-CRED-W3C] Essential Schema VTJSCs§
- VTJSC [VT-ECS-SERVICE-JSON-SCHEMA-CRED-W3C]: a [VT-JSON-SCHEMA-CRED-W3C] linked to a JSON Schema of a CredentialSchema entry that conforms to [ECS-SERVICE].
- VTJSC [VT-ECS-ORG-JSON-SCHEMA-CRED-W3C]: a [VT-JSON-SCHEMA-CRED-W3C] linked to a JSON Schema of a CredentialSchema entry that conforms to [ECS-ORG].
- VTJSC [VT-ECS-PERSONA-JSON-SCHEMA-CRED-W3C]: a [VT-JSON-SCHEMA-CRED-W3C] linked to a JSON Schema of a CredentialSchema entry that conforms to [ECS-PERSONA].
- VTJSC [VT-ECS-UA-JSON-SCHEMA-CRED-W3C]: a [VT-JSON-SCHEMA-CRED-W3C] linked to a JSON Schema of a CredentialSchema entry that conforms to [ECS-UA].
- VTJSC [VT-ECS-BADGE-JSON-SCHEMA-CRED-W3C]: a [VT-JSON-SCHEMA-CRED-W3C] linked to a JSON Schema of a CredentialSchema entry that conforms to [ECS-BADGE].
[VT-ECS-CRED] Essential Schema Verifiable Trust Credentials§
- Service Credential [VT-ECS-SERVICE-CRED-W3C]: a [VT-CRED-W3C] linked to a [VT-ECS-SERVICE-JSON-SCHEMA-CRED-W3C]. [VT-ECS-SERVICE-CRED-W3C-LINKED-VP] MUST be declared in DID Document with a “LinkedVerifiablePresentation” service entry with fragment
#vpr-schemas-service-vtc-vp. Example:
"service": [
{
"id": "did:example:service#vpr-schemas-service-vtc-vp",
"type": "LinkedVerifiablePresentation",
"serviceEndpoint": ["https://example.com/vpr-schemas-service-vtc-vp.json"]
}
]
- Organization Credential [VT-ECS-ORG-CRED-W3C]: a [VT-CRED-W3C] linked to a [VT-ECS-ORG-JSON-SCHEMA-CRED-W3C], which MUST carry a
validUntil([VT-DECL-ANCHOR-4]). [VT-ECS-ORG-CRED-W3C-LINKED-VP] MUST be declared in DID Document with a “LinkedVerifiablePresentation” service entry with fragment#vpr-schemas-org-vtc-vp. Example:
"service": [
{
"id": "did:example:service#vpr-schemas-org-vtc-vp",
"type": "LinkedVerifiablePresentation",
"serviceEndpoint": ["https://example.com/vpr-schemas-org-vtc-vp.json"]
}
]
- Persona Credential [VT-ECS-PERSONA-CRED-W3C]: a [VT-CRED-W3C] linked to a [VT-ECS-PERSONA-JSON-SCHEMA-CRED-W3C], which MUST carry a
validUntil([VT-DECL-ANCHOR-4]). [VT-ECS-PERSONA-CRED-W3C-LINKED-VP] MUST be declared in DID Document with a “LinkedVerifiablePresentation” service entry with fragment#vpr-schemas-persona-vtc-vp. Example:
"service": [
{
"id": "did:example:service#vpr-schemas-persona-vtc-vp",
"type": "LinkedVerifiablePresentation",
"serviceEndpoint": ["https://example.com/vpr-schemas-persona-vtc-vp.json"]
}
]
-
User Agent Credential [VT-ECS-UA-CRED-ANON]: a [VT-CRED-ANON] linked to a [VT-ECS-UA-JSON-SCHEMA-CRED-W3C]. MUST NOT be declared in a DID Document, as it is issued to User Agent instances.
-
Badge Credential [VT-ECS-BADGE-CRED-ANON]: a [VT-CRED-ANON] linked to a [VT-ECS-BADGE-JSON-SCHEMA-CRED-W3C]. MUST NOT be declared in a DID Document, as it is issued to humans, who present it over a trusted channel with selective disclosure.
[VT-ECS-ECOSYSTEM-DIDDOC] Ecosystem DID Document for declaring Essential Credential Schemas§
If an Ecosystem wishes to provide ECS trust resolution, it MUST present the VT JSON Schema Credential of each ECS it provides ([ECS-EC]), as well as the corresponding VPR entry for verification. To do that, Ecosystem MUST define the following entry in its DID Document for each ECS it provides:
- a “LinkedVerifiablePresentation” service entry with fragment name equal to
#vpr-schemas-service-vtjsc-vp, that MUST point to a self-issued and presented [VT-ECS-SERVICE-JSON-SCHEMA-CRED-W3C]. - a “LinkedVerifiablePresentation” service entry with fragment name equal to
#vpr-schemas-org-vtjsc-vp, that MUST point to a self-issued and presented [VT-ECS-ORG-JSON-SCHEMA-CRED-W3C]. - a “LinkedVerifiablePresentation” service entry with fragment name equal to
#vpr-schemas-persona-vtjsc-vp, that MUST point to a self-issued and presented [VT-ECS-PERSONA-JSON-SCHEMA-CRED-W3C]. - a “LinkedVerifiablePresentation” service entry with fragment name equal to
#vpr-schemas-ua-vtjsc-vp, that MUST point to a self-issued and presented [VT-ECS-UA-JSON-SCHEMA-CRED-W3C]. - a “LinkedVerifiablePresentation” service entry with fragment name equal to
#vpr-schemas-badge-vtjsc-vp, that MUST point to a self-issued and presented [VT-ECS-BADGE-JSON-SCHEMA-CRED-W3C].
Example:
"service": [
{
"id": "did:example:ecosystem#vpr-schemas-service-vtjsc-vp",
"type": "LinkedVerifiablePresentation",
"serviceEndpoint": ["https://ecosystem/ecs-service-vtjsc-vp.json"]
},
{
"id": "did:example:ecosystem#vpr-schemas-org-vtjsc-vp",
"type": "LinkedVerifiablePresentation",
"serviceEndpoint": ["https://ecosystem/ecs-org-vtjsc-vp.json"]
},
{
"id": "did:example:ecosystem#vpr-schemas-persona-vtjsc-vp",
"type": "LinkedVerifiablePresentation",
"serviceEndpoint": ["https://ecosystem/ecs-persona-vtjsc-vp.json"]
},
{
"id": "did:example:ecosystem#vpr-schemas-ua-vtjsc-vp",
"type": "LinkedVerifiablePresentation",
"serviceEndpoint": ["https://ecosystem/ecs-ua-vtjsc-vp.json"]
},
{
"id": "did:example:ecosystem#vpr-schemas-badge-vtjsc-vp",
"type": "LinkedVerifiablePresentation",
"serviceEndpoint": ["https://ecosystem/ecs-badge-vtjsc-vp.json"]
}
...
]
[VS-REQ] Verifiable Service Basic Requirements and Linked VPs§
-
[VS-REQ-1] A VS MUST be identified by a DID.
The DID of a VS MUST resolve to a DID Document. -
[VS-REQ-2] A VS DID Document MUST present, as a Linked Verifiable Presentation (linked-vp), a Verifiable Trust Credential that conforms to [VT-ECS-SERVICE-CRED-W3C].
-
[VS-REQ-3] If the issuer of the Verifiable Trust Service Essential Credential referenced in [VS-REQ-2] is the same DID as the VS itself, the VS DID Document MUST also present exactly one Verifiable Trust Credential that conforms to either [VT-ECS-ORG-CRED-W3C] or [VT-ECS-PERSONA-CRED-W3C].
-
[VS-REQ-4] If the issuer of the Verifiable Trust Service Essential Credential referenced in [VS-REQ-2] is not the DID of the VS, then the DID Document of the credential issuer MUST present exactly one Verifiable Trust Credential that conforms to either [VT-ECS-ORG-CRED-W3C] or [VT-ECS-PERSONA-CRED-W3C]. The issuer is the controller of the service: the issuer’s verifiable service entry and the VS’s MUST be owned by the same corporation (
VerifiableService.corporation_idin the VPR, both entries matched per [TR-10]), which a relying party checks through its indexer; a Service credential issued across corporations is not the service’s. -
[VS-REQ-5] A VS DID Document MUST present as Linked Verifiable Presentations, as specified in [VT-CRED-W3C-LINKED-VP], the additional Verifiable Trust Credentials the VS holds of schemas declared
PUBLIC([VT-DECL-MODE-1]). -
[VS-REQ-6] A VS MUST verify issuers of Verifiable Trust Credentials.
-
[VS-REQ-7] Subject to [CIB-4], [VT-DECL-HOLDER-1], the anchoring rule of [VT-CRED-W3C] (the digest of a credential is registered before the credential is delivered) and [VS-CONN-VS] (a service that does not yet meet [VS-REQ] is accepted only by issuers of Essential Credentials), a VS, once its verifiable service entry is registered, MAY obtain its
Accreditationentries, anchor its credentials and publish its Linked Verifiable Presentations in any order across schemas. After adding, replacing or removing a Linked VP, a VS SHOULD submit TriggerResolver (VPR MOD-AC-MSG-15) for its verifiable service entry (vs_id), since resolvers treat it as the signal for off-chain changes; the entry exists whether or not the VS holds anyAccreditationentry. Implementations that cache trust resolution results SHOULD re-evaluate a DID whenever such a trigger is emitted, whenever its verifiable service entry is rotated, whenever the on-chain state of anAccreditationentry that references it changes (creation, validation, expiry or revocation, which delete it, a slash, a repayment, an exclusion or its lifting, of its participation or of its corporation), including through the entries of the issuer of its Service credential, whenever theDigestentry of one of its credentials is revoked, whenever the transition window of a former identifier it carries ends ([TR-10]), and whenever a status list it references changes ([TR-11]). -
[VS-REQ-8] A VS MUST verify every peer before providing it a service, whichever party initiated the connection: a service per [VS-CONN-VS] when it receives the connection and per [VS-SVC-4] when it initiates it, and a User Agent per [VS-CONN-VUA], by requesting and verifying its User Agent credential. A service that provides a service to an unverified peer, outside the issuance exemptions of [VS-CONN-VS] and [VS-CONN-VUA], does not qualify as a VS. What a VS makes available at the one-way level of [VS-SVC] (public content, and the protocol endpoints of [VS-SVC-8]), without identifying its peer, is not a service provided to a peer in the sense of this rule.
In other words, to qualify as a Verifiable Service:
- the service identifies itself directly, by presenting an Organization or Persona Essential Credential ([VS-REQ-3]); or
- the issuer of its Service Essential Credential identifies itself, by presenting an Organization or Persona Essential Credential ([VS-REQ-4]).
This ensures that every Verifiable Service is ultimately bound to a legally or naturally accountable entity.
[VT-CHAN] Trusted Channels§
Parties that must authenticate each other (a VS and its peers, two VUAs) establish a trusted channel, over which they exchange credentials, presentations and messages and consume services ([VS-SVC]). This specification states its rules against the properties of a trusted channel; how a trusted channel protocol provides them, and carries the messages of [VT-PROTO], is its binding ([VT-BIND]). Adding a protocol adds a row to [VT-CHAN-2] and a binding, and changes no other rule.
- [VT-CHAN-1] Properties. A trusted channel protocol MUST provide:
- authentication of the identifiers at establishment (peer verification is [VT-CHAN-4]): each party proves control of the DID it claims, or of keys asserted under it; a party without a resolvable DID (a VUA instance) proves control of the keys it uses for the channel, and authenticates the DID of its counterpart;
- confidentiality and integrity of the messages between the two parties, end to end, whatever the transport;
- authentication of the sender of every message, so that what is received over the channel is attributable to the authenticated party;
- correlation of messages into exchanges (threads);
- a service type for the trusted channel endpoint a party declares in its DID Document, so that a channel can be opened from the DID alone.
- [VT-CHAN-2] Listed protocols. Only the protocols listed below are trusted channel protocols in this version; a channel established with any other protocol is not a trusted channel under this specification. [VS-SVC-2] and [VUA-REQ] state which ones a party implements.
| Protocol | DID Document service type |
|---|---|
| DIDComm Messaging v2 (2.x) | DIDCommMessaging, its serviceEndpoint an object with uri and accept: ["didcomm/v2"] |
- [VT-CHAN-3] Binding to the trust-resolved DID. A trusted channel with a VS MUST be established through a trusted channel endpoint that the VS declares in its DID Document, with the DID of the VS as its party, so that the messages the VS sends on it are authenticated by keys of that DID or by keys asserted under it at establishment. Everything this specification attributes to a channel with a VS (credentials, presentations, access material, endpoints, services) requires that binding; a channel not so bound is not a trusted channel with that VS.
- [VT-CHAN-4] Channel and peer verification. Establishing a trusted channel authenticates identifiers and keys ([VT-CHAN-1]); it does not establish that the peer is a VS or a VUA. That verification ([VS-REQ], [VUA-REQ]) takes place before the channel when the peer’s DID is known in advance (trust resolution, [VS-SVC-4]), and otherwise over the channel once established ([VT-PROTO-VERIF]): a User Agent by its User Agent credential ([VS-CONN-VUA], [VUA-CONN-VUA]), a service that opened the channel by trust resolution of the DID the channel authenticated ([VS-CONN-VS]). Until both parties are verified, the channel carries only the messages of that verification, and no service is provided ([VS-REQ-8]).
- [VT-CHAN-5] Rotation. A trusted channel with a VS stays bound to it ([VT-CHAN-3]) only while the DID it was established with is the current identifier of the same verifiable service entry. After a rotation of that identifier (Rotate Verifiable Identifier), a channel established under the former identifier MAY carry only the completion of the exchanges begun before the rotation and the notifications of [VT-PROTO-NOTIF], and only until the transition window of the former identifier ends ([TR-10]), at once when the transition is 0 (after a key compromise, for instance); every other exchange runs over a channel established with the current identifier. A party learns of a rotation from the events its indexer relays ([VS-REQ-7]), and MAY be told by the service ([VT-PROTO-NOTIF-4]).
[VS-SVC] Service Declaration§
A Verifiable Service is consumed over the trusted channel established with it ([VT-CHAN]) and/or through endpoints it provides to an authenticated peer over that channel, or through service endpoints declared in its DID Document. Two levels of authentication apply:
- One-way (declared endpoints). The peer trust-resolves the DID of the VS ([TR]) and consumes an endpoint declared in its DID Document ([VS-SVC-4], [VS-SVC-5]): the VS is authenticated, the peer is not, unless the endpoint’s own protocol authenticates it. This level serves what the VS makes available without identifying its peer: public content, and the protocol endpoints of [VS-SVC-8].
- Mutual, over a trusted channel (strong).
- The parties establish a trusted channel ([VT-CHAN]) and verify each other, before establishing it when one knows the other’s DID in advance, and otherwise over it ([VT-CHAN-4]): a VUA verifies a VS before opening the channel, and the VS verifies the VUA by its User Agent credential over it ([VS-CONN-VUA]); two services verify each other by trust resolution ([VS-SVC-4], [VS-CONN-VS]); two User Agents can only verify each other over the channel ([VUA-CONN-VUA]).
- Once both are verified, the peer consumes the service over the channel itself, through the protocols it carries ([VS-SVC-12]); or the parties exchange over it the access material (access tokens, credentials, session artifacts) and/or the endpoints that bootstrap the consumption of a given endpoint, which is either a declared endpoint ([VS-SVC-7]) or an endpoint provided over the channel ([VS-SVC-11]).
This section specifies how a VS MUST declare its trusted channel endpoints and its other endpoints, how it provides services and endpoints over a trusted channel, and how peers MUST interact with them.
-
[VS-SVC-1] A VS MUST declare in its DID Document, using standard
serviceentries as specified in [DID-CORE], the consumable service endpoints it exposes to peers it has not authenticated, and the protocol endpoints of [VS-SVC-8]. It MAY provide other endpoints over a trusted channel only, to an authenticated peer ([VS-SVC-11]). -
[VS-SVC-2] Trusted channel endpoints. A VS MUST implement DIDComm Messaging v2 (any 2.x version) and SHOULD implement every other trusted channel protocol listed in [VT-CHAN-2], and MUST declare in its DID Document a trusted channel endpoint for each one it implements. The party that opens a channel chooses a protocol that the VS declares and that it implements; a VS MUST accept a channel over any protocol it declares. A trusted channel is the bootstrapping channel of the service: the channel over which trust is established, over which protocols such as credential issuance, credential presentation and secure messaging are performed and services are consumed ([VS-SVC-12]), and over which the authentication material required to consume other endpoints is obtained ([VS-SVC-7]).
-
[VS-SVC-3] A VS DID Document MAY declare any number of additional service entries.
Examples (non-normative):
- a
MCPservice, exposing tools consumable by AI agents; - an
A2Aservice, for agent-to-agent interoperability; - a
LinkedDomainsservice (or equivalent), pointing to a plain website or other HTTP(S) resource; - …
- a
-
[VS-SVC-4] A peer (whether a VS or a VUA) MUST perform trust resolution of the VS DID — in particular, it MUST verify the Linked Verifiable Presentations required by [VS-REQ] and apply [TR] — before using any of the consumable service endpoints declared in the DID Document.
-
[VS-SVC-5] A peer MUST NOT consume a service endpoint URL declared in a DID Document unless trust resolution of the corresponding DID has succeeded. Once trust resolution succeeds, any URL reached through a declared service entry is considered an endpoint of the identified, credentialed owner of the service, and inherits its trust context. An endpoint provided over a trusted channel inherits it as [VS-SVC-11] specifies; a URL obtained through any other channel (a link, an e-mail, a QR code) is not an endpoint of the VS.
-
[VS-SVC-6]
LinkedVerifiablePresentationentries declared in a DID Document for the purpose of presenting Verifiable Trust Credentials (see [VT-CRED-W3C-LINKED-VP] and [VT-ECS-CRED]) are part of the identity layer and are consumed during trust resolution itself. They are not considered “consumable service endpoints” for the purposes of [VS-SVC-2], [VS-SVC-3], [VS-SVC-4] and [VS-SVC-5]. -
[VS-SVC-7] When a service endpoint declared under [VS-SVC-3] requires authentication (access tokens, authorization credentials, session artifacts, capability tokens, etc.), a peer SHOULD obtain the required authentication material over a trusted channel with the VS ([VS-SVC-2]), after trust resolution has succeeded. The specific authentication scheme, and the application protocol that delivers the material ([VT-PROTO-5]), are protocol- and ecosystem-specific, but its establishment MUST NOT bypass trust resolution of the VS DID. This ensures that authentication material for every declared endpoint is cryptographically rooted in the same verified identity handshake. For an endpoint provided over a trusted channel ([VS-SVC-11]), the authentication material MUST be obtained over that channel.
-
[VS-SVC-8] Declared protocol endpoints. When a VS operates one of the following, it MUST declare it in its DID Document before using it, with the service type given here, and MUST keep the entry current for as long as artifacts that reference the endpoint are in circulation (a base under which credentials still in circulation carry a status reference stays declared until they are re-issued or expire):
CredentialStatusList: the base URL(s) under which the VS publishes the status lists its credentials reference: those of itsNO_DIGESTschemas ([VT-DECL-ANCHOR-2]) and any status list carried in addition to the digest under an anchored schema ([VT-DECL-ANCHOR-1]), such as Token Status Lists. The entry names bases, not lists: a status reference carried by a credential (thestatusclaim of an SD-JWT VTC, thestatuselement of the MSO of an mdoc VTC) MUST have one of the declared bases as a prefix, with the same scheme, host and port. The declaration is not what authenticates a status list, its signature is ([VS-SVC-9]). It has two purposes. Privacy: a relying party fetches a status list only from a location that the issuer DID declared, never from an arbitrary URL that a credential carries. A deliberate narrowing: the status lists of a credential are published by its issuer, where the Token Status List specification allows a Status Issuer that is not the issuer of the credential.OID4VCI, the service type registered for a credential issuer in the W3C DID Document Property Extensions: the credential issuer identifier (the URL under which the OpenID4VCI issuer metadata is published) of a VS that issues over OpenID4VCI.OpenId4VpVerifier: the request endpoint of a VS that requests presentations over OpenID4VP. The entry implements the check that OpenID4VP asks of a wallet without giving a mechanism (section 15.8.1, Establishing Trust in the Request URI): that the Request URI of a request is associated with the Client Identifier of the verifier. It does not replace thedecentralized_identifierClient Identifier Prefix, under which the request is signed with a key of the DID ([VS-SVC-9]). No registered service type has this meaning: the registeredOID4VPtype is the endpoint of a wallet.
AnonCreds objects (schemas, credential definitions, revocation registry definitions, status lists, tails files) are not declared here: how an issuer publishes them, and how their identifiers resolve, is defined by the AnonCreds method of its DID method (the did:web AnonCreds method, did:webvh attested resources, the ledger of did:indy or did:cheqd), not by this specification. These entries are consumed by their own protocols, with the authentication those protocols define; [VS-SVC-7] does not apply to them. In every case an AnonCreds object carries the issuer DID as
issuerId, which MUST equal the declaring DID. -
[VS-SVC-9] The DID signs what the endpoint serves. A declaration is the DID’s claim over a URL; control is proven by the artifacts the endpoint serves, which MUST be signed with a key of the declaring DID: a key identified by a
kidthat is a DID URL of a verification method underassertionMethodof the DID Document, or carried by anx5cchain whose end-entity certificate names the DID as a URI SAN (the way [VT-CRED-SDJWT-6] reaches the issuer DID), the key in both cases appearing underassertionMethodof the DID Document. This applies to the Status List Token of aCredentialStatusListendpoint, to the OpenID4VCI issuer metadata, which MUST be provided assigned_metadata, and to the request objects of anOpenId4VpVerifier, which MUST identify the verifier by its DID as client identifier (thedecentralized_identifierClient Identifier Prefix). An endpoint whose artifacts are signed by another key is not under the DID’s control, whatever the DID Document declares. AnonCreds objects are outside this rule: their binding to the DID is defined by the AnonCreds method of the DID method (structural under did:web, signed attested resources under did:webvh, the ledger under ledger methods). -
[VS-SVC-10] A peer MUST reach a protocol endpoint of a VS through its DID Document, after trust resolution ([VS-SVC-4], [VS-SVC-5]), and MUST verify the signatures of [VS-SVC-9]. A status reference that is under no declared
CredentialStatusListbase of the issuer, or whose status artifact is not signed by the issuer DID, and an AnonCreds revocation registry identifier that does not resolve as the AnonCreds method of the issuer’s DID method defines, leave the credential’s status unverifiable: [TR-11] rejects the credential. An OpenID4VC endpoint reached by any other path, or whose artifacts fail [VS-SVC-9], MUST NOT be used. -
[VS-SVC-11] Endpoints provided over a trusted channel. A VS MAY provide a peer, over a trusted channel, once both parties are verified ([VT-CHAN-4]), endpoints it does not declare in its DID Document, together with the access material required to consume them ([VS-SVC-7]), through an application protocol ([VT-PROTO-5]). The channel MUST be bound to the trust-resolved DID of the VS ([VT-CHAN-3]); a peer MUST NOT treat as an endpoint of the VS a URL received on a channel not so bound. An endpoint so provided is an endpoint of the VS for that peer and inherits the trust context of its DID ([VS-SVC-5]); unlike a declared endpoint, it is not verifiable by third parties, and a VS SHOULD declare the endpoints it exposes publicly. The protocol endpoints of [VS-SVC-8] are never provided this way. Between two VUAs, which have no DID Document in which to declare endpoints, endpoints are exchanged this way only, over the channel established per [VUA-CONN-VUA].
-
[VS-SVC-12] Services over the trusted channel. A VS MAY provide a service over the trusted channel itself, through the protocols the channel carries (the issuance and presentation of [VT-PROTO], or any application protocol, [VT-PROTO-5]), with no other endpoint. A peer consumes it once both parties are verified ([VT-CHAN-4], [VS-CONN-VS], [VS-CONN-VUA], [VUA-CONN-VS]), over a channel bound to the DID of the VS ([VT-CHAN-3]); what the VS sends on that channel is attributable to its DID and inherits its trust context.
In practice, this means a trusted channel acts as the control plane of a Verifiable Service, and as its data plane for the services it carries ([VS-SVC-12]), while its other endpoints act as its data plane: a peer first performs trust resolution and opens a trusted channel, consumes the services carried over it, or uses it to obtain any credentials, tokens or endpoints it needs (e.g., bearer tokens for an MCP endpoint, verifiable presentations for an A2A endpoint, signed session cookies for a website, the URL of an endpoint provided to that peer only), and only then calls the target endpoint, declared or provided over the channel, with those artifacts. A public endpoint may also be consumed at the one-way level, after trust resolution only.
Example: VS DID Document with Multiple Service Endpoints§
The following example shows a Verifiable Service DID Document that declares its trusted channel endpoint, the mandatory DIDComm v2 entry, alongside optional MCP, A2A and website endpoints, in addition to the identity-layer Linked Verifiable Presentations required by [VS-REQ]:
"service": [
{
"id": "did:example:service#vpr-schemas-service-vtc-vp",
"type": "LinkedVerifiablePresentation",
"serviceEndpoint": ["https://example.com/vpr-schemas-service-vtc-vp.json"]
},
{
"id": "did:example:service#vpr-schemas-org-vtc-vp",
"type": "LinkedVerifiablePresentation",
"serviceEndpoint": ["https://example.com/vpr-schemas-org-vtc-vp.json"]
},
{
"id": "did:example:service#didcomm-messaging-0",
"type": "DIDCommMessaging",
"serviceEndpoint": {
"uri": "wss://example.com",
"accept": ["didcomm/v2"]
}
},
{
"id": "did:example:service#mcp",
"type": "MCP",
"serviceEndpoint": "https://example.com/mcp"
},
{
"id": "did:example:service#a2a",
"type": "A2A",
"serviceEndpoint": "https://example.com/a2a"
},
{
"id": "did:example:service#website",
"type": "LinkedDomains",
"serviceEndpoint": "https://example.com/"
},
{
"id": "did:example:service#status-lists",
"type": "CredentialStatusList",
"serviceEndpoint": ["https://example.com/status/"]
},
{
"id": "did:example:service#oid4vci",
"type": "OID4VCI",
"serviceEndpoint": "https://example.com/oid4vci"
},
{
"id": "did:example:service#oid4vp",
"type": "OpenId4VpVerifier",
"serviceEndpoint": "https://example.com/oid4vp/request"
}
]
In this example:
#vpr-schemas-service-vtc-vpand#vpr-schemas-org-vtc-vpare identity-layer entries used during trust resolution (see [VS-REQ]).#didcomm-messaging-0is the mandatory DIDComm v2 trusted channel endpoint ([VS-SVC-2], [VT-CHAN-2]); a peer opens a trusted channel, the bootstrap channel of the service, through it.#mcp,#a2aand#websiteare optional consumable endpoints declared under [VS-SVC-3].#status-lists,#oid4vciand#oid4vpare protocol endpoints declared under [VS-SVC-8]: the status lists of the SD-JWT credentials this service issues underNO_DIGESTschemas live underhttps://example.com/status/, and the service issues over OpenID4VCI and requests presentations over OpenID4VP. What they serve is signed by a key ofdid:example:service([VS-SVC-9]). AnonCreds objects the service publishes are not declared here: they are published and resolved as the AnonCreds method of its DID method defines ([VS-SVC-8]).
A conforming peer would interact with this service as follows:
- Trust-resolve
did:example:service(per [VS-SVC-4] and [TR]). - Open a trusted channel through
#didcomm-messaging-0, bound todid:example:service([VT-CHAN-3]). - Over that channel, consume the services it carries ([VS-SVC-12]), or obtain any credentials, access tokens, or other authentication material required by
#mcp,#a2aor#website(per [VS-SVC-7]). - Call the target endpoint(s) —
#mcp,#a2aor#website— presenting the artifacts obtained in step 3 as that endpoint’s protocol requires.
Per [VS-SVC-5], none of #didcomm-messaging-0, #mcp, #a2a or #website may be used before trust resolution of did:example:service has succeeded.
The MCP and A2A service type strings used above are illustrative. Ecosystems are free to standardize type names for emerging protocols; this specification only requires that service entries follow DID Core service syntax and that a DIDCommMessaging entry is present ([VS-SVC-2]).
[VUA-REQ] Requirements for a User Agent to qualify as a Verifiable User Agent (VUA)§
-
[VUA-REQ-1] When a VUA initiates or accepts a connection with a VS, the VUA MUST be able to present a [VT-ECS-UA-CRED-ANON] (ECS User Agent Verifiable Trust Credential) upon request by the VS.
-
[VUA-REQ-2] When a VUA initiates or accepts a connection with another VUA, the VUA MUST be able to present a [VT-ECS-UA-CRED-ANON] upon request by the peer VUA.
-
[VUA-REQ-3] A VUA MUST verify:
- credential issuers when receiving credential offers, and
- credential verifiers when receiving presentation requests.
-
[VUA-REQ-4] A VUA MUST implement DIDComm Messaging v2 (any 2.x version) and SHOULD implement every other trusted channel protocol listed in [VT-CHAN-2], so that it shares at least one with every VS and every other VUA; its connections are trusted channels ([VT-CHAN]).
[VUA-REQ-1] and [VUA-REQ-2] require anoncreds for ECS User Agent VTCs, to reduce correlation and tracking risks, together with selective disclosure and unlinkable presentations.
These requirements ensure that a Verifiable User Agent can cryptographically prove the identity and authenticity of the software it represents, while preserving user privacy and enabling policy-based trust decisions by services and peer user agents.
[CIB] Credential Issuance by§
- [CIB-1] A VS CAN issue [VT-CRED] VT Credentials. A VUA cannot: an issuer DID must resolve as a Verifiable Service ([TR-6]) and anchor through a
CredentialIssuance([CIB-4]), neither of which a VUA instance can do. - [CIB-2] A VS MUST NOT issue credentials that are not compliant with [VT-CRED].
- [CIB-3] A VS MUST NOT issue a credential if it cannot prove it is authorized by the Ecosystem controller of the schema.
- [CIB-4] The authorization required by [CIB-3] MUST be effective when the credential is issued: for credentials of a schema whose
credential_anchoringisDIGESTorREVOCABLE_DIGESTat the effective issuance time, which is the anchoring of the credential’s digest ([TR-4], [TR-5]); for credentials of aNO_DIGESTschema at issuance, as checked by the holder ([CIT-3]). In particular, a VS that issues its own Service credential ([VS-REQ-3]) anchors it under its own verifiable service entry (the Service schema isOPEN): noISSUERentry is needed, and the verifiable service entry MUST exist before the Service credential is anchored, since the issuance transaction is sent under it. - [CIB-5] A VS that issues over OpenID4VCI ([VS-SVC-8]) MUST limit itself, in this version, to credentials for which no
CredentialIssuanceis required: schemas whosecredential_anchoringisNO_DIGEST, with issuance fees of 0 along the issuer’s branch and no Verifiable User Agent reward. The protocol carries no step in which the holder supplies an exchange identifier before issuance, nor one in which a User Agent presents its User Agent credential ([CIT-5], [VS-CONN-VUA]); a mapping of the issuance handshake onto it is deferred to a later version, as [PRB-5] defers the presentation side. Anchored or fee-bearing schemas issue over a trusted channel ([CIT-5]), exceptMDOCschemas, which areNO_DIGESTwith no issuance fees in this version ([VT-CRED-MDOC-9]). A credential of aSERVICEschema is never issued over OpenID4VCI ([VT-CRED-SDJWT-10]).
[PRB] Presentation Requested by§
- [PRB-1] A VS or a VUA CAN request presentation of [VT-CRED] VT Credentials. A VUA verifier has no verifiable service entry (a VUA instance has no DID and belongs to no corporation), holds no
Accreditationentry and sends noCredentialPresentationtransaction, so it can only request a presentation for which none is required:OPENverifier mode, fees of 0 as the holder computes them with Find Beneficiaries for the schema and the issuer reference with no verifier reference ([VT-DECL-RECORD-2]), nopresentation_validity_periodand no anchoring ask ([VT-PRES-VS-9]); the holder refuses the request otherwise. - [PRB-2] A VS or a VUA MUST NOT request presentation of credentials that are not compliant with [VT-CRED].
- [PRB-3] A VS or a VUA MUST NOT request presentation of a credential if it cannot prove it is authorized by the Ecosystem controller of the schema.
- [PRB-4] A verifier MUST apply the
presentation_validity_periodof the schema, whatever theverifier_onboarding_mode: when it is greater than 0, the verifier MUST anchor the presentation digest and observe the reliance period that runs from the block time of the exchange transaction that carried the presentation digest ([VT-PRES-VS-8], [VT-PRES-VS-9]). The attribute is mutable, so the verifier reads it from the VPR at the time of the verification ([VT-DECL-RECORD-3]). - [PRB-5] A VS that requests a presentation over OpenID4VP or the Digital Credentials API MUST limit itself, in this version, to presentations for which no
CredentialPresentationis required, under the same conditions as a VUA verifier in [PRB-1]: zero fees computed for the verification, nopresentation_validity_periodand no anchoring ask. Those protocols carry no step in which the holder supplies an exchange identifier before presenting ([VT-PRES-VS-4], [VT-PRES-VS-6]); a mapping of the exchange handshake onto them is deferred to a later version.
[CIT] Credential Issued to§
- [CIT-1] A VS or a VUA CAN be offered [VT-CRED] VT Credentials.
- [CIT-2] A VS or a VUA MUST NOT be offered credentials that are not compliant with [VT-CRED].
- [CIT-3] When a VS or a VUA is offered a credential, it MUST verify that the issuer is authorized by the Ecosystem that controls the schema to issue a credential of this schema. A VS offered a Service credential ([VT-ECS-SERVICE-CRED-W3C]) MUST refuse it unless the issuer’s verifiable service entry is owned by its own corporation ([VS-REQ-4]). For an issuer that holds an
ISSUERentry, authorized means an entry active in the VPR sense (its window open, and neither its participation nor its corporation barred by a slash debt or an exclusion); for anOPENissuer, a participation and a corporation neither barred nor excluded. In both cases the issuer’s corporation, unless it controls the ecosystem, MUST have no other barred participation in the ecosystem, that is, noEcosystemBarentry for the ecosystem and the corporation (VPR BAR-CHECK-1). A debt therefore bars new issuances even under schemas where no exchange transaction exists to refuse them, while the trust resolution of credentials already issued ignores it ([TR-5], [TR-12]). The holder MUST also verify, through an indexer of its whitelist ([WL-VPR]), that the issuer’s corporation has accepted the version in force of the ecosystem’s governance framework, or a former version within the grace period of its activation (VPR [GF-CHECK-3]), unless the issuer’s corporation controls the ecosystem: the VPR refuses the issuance transaction of an issuer that has not, and the holder refuses the credential where no transaction exists. - [CIT-4] When a VS or a VUA receives a credential of a schema whose
credential_anchoringisDIGESTorREVOCABLE_DIGEST(a W3C VTC, or an SD-JWT or mdoc VTC of such a schema), it MUST compute the credential’s digest (digestJCS, the SD-JWT digest of [VT-CRED-SDJWT] or the mdoc digest of [VT-CRED-MDOC]), verify through its indexer that the issuance transaction anchored it (the earliest under the issuer’s entry and schema, [TR-4]), and refuse the credential unless that anchoring passes the check of [TR-4] (signed for the issuer’s verifiable service entry with the schema, the issuer holding anISSUERentry effective at the block time or, under anOPENschema, none). UnderREVOCABLE_DIGEST([VT-DECL-ANCHOR-4]) it MUST additionally find theDigestentry, withrevokednull and anexpiresequal to the credential’s expiry. A missing anchoring means that the issuer did not anchor the credential before delivering it; underREVOCABLE_DIGEST, aDigestentry under another verifiable service entry means that the issuance could not anchor the credential (the VPR refuses it): the anchoring is missing. - [CIT-5] When issuance fees are due along the issuer’s branch for the schema (which the holder determines with the VPR’s Find Beneficiaries query, for the schema and the issuer’s
ISSUERentry when it holds one, and the fees of the entries it returns), a VS or a VUA MUST verify, before storing the credential, through the notification of an indexer of its whitelist ([WL-VPR]), that aCredentialIssuancetransaction was included under the identifier it supplied to the issuer when accepting the offer (an exchange identifier,exchange_id, a uuid chosen by the holder as in [VT-PRES-VS-4], and carried in itscredential-request, the issuer recording the exchange before issuing, [VT-PROTO-ISS]), signed for the issuer’s corporation as a Credential Issuance with the issuer’sISSUERentry, or its verifiable service entry when it holds none (OPEN), as primary party, and the schema, and, when the holder is a User Agent, carrying theISSUERentry of its vendor asvua_issuer_accreditation_id([VS-CONN-VUA]). Under an anchored schema the existence of the issuance exchange follows from [CIT-4], since the digest is anchored by that exchange transaction, and the holder still checks its identifier and, for a User Agent,vua_issuer_accreditation_id; underNO_DIGESTit is the only enforcement of issuance fees. For the issuance of a User Agent credential itself, the issuer setsvua_issuer_accreditation_idto its ownISSUERentry under the User Agent schema ([VS-CONN-VUA]).
[PRT] Presentation Requested to§
- [PRT-1] A VS or a VUA CAN be requested to present [VT-CRED] VT Credentials.
- [PRT-2] A VS or a VUA MUST NOT present credentials that are not compliant with [VT-CRED].
- [PRT-3] When a VS or a VUA receives a presentation request, before presenting a credential, it MUST verify that the verifier is authorized by the Ecosystem that controls the schema to verify the requested credential of this schema. Under a
verifier_onboarding_modeofOPENevery peer is authorized; underCREDENTIALthe verifier’s DID Document MUST present, as a Linked Verifiable Presentation, a credential of one of the schemas listed in the schema’sverifier_credential_schema_ids, whose subject is the verifier’s DID ([VT-CRED-W3C-LINKED-VP]) and that passes [TR]; underGRANTOR_ONBOARDING_PROCESSorECOSYSTEM_ONBOARDING_PROCESSthe verifier MUST hold an activeVERIFIERAccreditationentry for the schema with no excluded validator above it ([TR-12]). UnderOPENorCREDENTIAL, when the verifier is a VS, the holder MUST also verify, through an indexer of its whitelist ([WL-VPR]), that neither the verifier’s participation for the schema (ParticipationTrustDeposit[(vs_id, schema_id, VERIFIER)], when it exists) nor its corporation’sTrustDepositis barred by a slash debt or an exclusion, the guard the VPR applies to the exchange transaction itself: a barred verifier is not authorized, whether or not the verification requires an exchange. Whatever the mode, when the verifier is a VS whose corporation does not control the ecosystem, the holder MUST likewise verify that this corporation has no barred participation in the ecosystem, that is, noEcosystemBarentry for the ecosystem and the corporation (VPR BAR-CHECK-1). A verifier that acts under aVERIFIERentry, or whose verification requires aCredentialPresentation([VT-DECL-RECORD-1]), MUST have accepted the version in force of the ecosystem’s governance framework, or a former version within the grace period of its activation (VPR [GF-CHECK-3]), unless its corporation controls the ecosystem; the holder verifies it in the same way, the VPR refusing the exchange transaction of a verifier that has not. AnOPENorCREDENTIALverifier whose verification requires noCredentialPresentationis asked no acceptance, as the VPR asks none of a party that records nothing in the ecosystem: the verification of a User Agent credential ([VS-CONN-VUA]) and every zero-fee, non-anchored presentation run without it. A VUA verifier, which has no corporation, is authorized by [PRB-1] alone. NoVERIFIERentry is required underOPENorCREDENTIAL: the verifier sends its exchange transactions under its self-createdVERIFIERentry when it holds an active one, else under its verifiable service entry ([VT-PRES-VS-3]).
[VS-CONN-VS] Requirements for a VS to accept a connection from another service§
When a VS VS-1 receives a connection request from a service Service-2 to one of its service endpoints, declared in its DID Document or provided over a trusted channel (see [VS-SVC]), VS-1 MUST verify that Service-2 complies with [VS-REQ] and [VS-SVC], before or after establishing the channel ([VT-CHAN-4]), else VS-1 MUST NOT provide it any service, unless the purpose of the service provided by VS-1 is the issuance of [VT-ECS-ORG-CRED-W3C] or [VT-ECS-PERSONA-CRED-W3C] or [VT-ECS-SERVICE-CRED-W3C] credentials.
[VS-CONN-VUA] Requirements for a VS to accept a connection from a VUA§
When a VS connects with a User Agent, whichever party initiated the connection, it MUST request the presentation of a [VT-ECS-UA-CRED-ANON] credential before starting to provide the service, and verify the presented credential per [TR]: an AnonCreds credential of the User Agent schema, whose issuer MUST be currently authorized for that schema ([TR-5]: an ISSUER entry recognized, a slash debt notwithstanding), presented under the configuration of [VT-ECS-JSON-SCHEMA-VPR-CONFIG] (OPEN verifier mode, zero fees, no CredentialPresentation, no anchoring), so that no Accreditation entry of the VS is involved. If no credential is presented or the presented credential does not verify, the VS MUST NOT provide the service, unless the purpose of the service is the issuance of [VT-ECS-UA-CRED-ANON] credentials: a User Agent connects to its User Agent credential issuer precisely because it holds none yet, and that issuer applies its own checks instead. Nor does this requirement apply to the OpenID4VC protocol endpoints of [VS-SVC-8]: a VS that issues over OpenID4VCI ([CIB-5]) or requests a presentation over OpenID4VP or the Digital Credentials API ([PRB-5]) acts at the one-way level of [VS-SVC], which carries no User Agent credential ([VS-REQ-8]), and therefore with no exchange record and no Verifiable User Agent reward.
Note: a rotation of the identifier of a User Agent vendor’s service ([TR-10]) affects every User Agent credential it issued. Those credentials carry the former issuer DID and stop verifying when the transition window ends, and an AnonCreds credential definition is published under the issuer DID ([VT-CRED-ANON]), so their re-issuance needs a new credential definition. A vendor chooses a window long enough to re-issue to all its User Agent instances ([VT-PROTO-NOTIF-3]).
The issuer of the verified User Agent credential is the vendor of the User Agent. For every exchange record, CredentialIssuance or CredentialPresentation, that the VS records for an exchange with that User Agent, it sets vua_issuer_accreditation_id to the ISSUER entry of that issuer under the User Agent schema that its trust resolution matched ([TR-5]), barred or not: the VPR pays no reward to a barred entry and the exchange goes through; the User Agent sends nothing for it, and a value it would send is ignored; but it checks it: a User Agent completes an exchange only after verifying, through its indexer, that the exchange transaction carries its vendor’s entry as vua_issuer_accreditation_id ([CIT-5], [VT-PRES-VS-6]). That entry receives the Verifiable User Agent reward of the exchange, at the rate it declares (vua_reward_rate) bounded by the network’s vua_reward_rate (Settle Exchange Fees). A User Agent whose credential does not verify is not served, so no reward is ever attributed to a vendor whose entry is gone.
After the [VT-ECS-UA-CRED-ANON] credential has been verified, the VS MAY additionally request the presentation of a [VT-ECS-BADGE-CRED-ANON] credential to identify the human operating the User Agent and the organization or persona they represent (obtained by trust-resolving the Badge issuer, per [TR]).
[VUA-CONN-VS] Requirements for a VUA to accept connecting to a service§
When a VUA connects to a service, the VUA MUST verify that the service complies with [VS-REQ] and [VS-SVC], else the VUA MUST NOT connect to the VS.
[VUA-CONN-VUA] Requirements for two VUAs to connect§
When a VUA receives a connection from a User Agent, it MUST request the presentation of a [VT-ECS-UA-CRED-ANON] credential before starting to provide the service, and verify the presented credential per [TR], under the configuration of [VT-ECS-JSON-SCHEMA-VPR-CONFIG] (no CredentialPresentation, no fee, no anchoring); if no credential is presented or the presented credential does not verify, the VUA MUST close the channel and MUST NOT provide the service ([VT-CHAN-4]).
When a VUA initiates a connection to another User Agent, it MUST request the presentation of a [VT-ECS-UA-CRED-ANON] credential before starting to provide the service, and verify the presented credential per [TR], under the configuration of [VT-ECS-JSON-SCHEMA-VPR-CONFIG] (no CredentialPresentation, no fee, no anchoring); if no credential is presented or the presented credential does not verify, the VUA MUST close the channel and MUST NOT provide the service ([VT-CHAN-4]).
For communication channel between User Agents to be enabled, both User Agents MUST have requested and verified the [VT-ECS-UA-CRED-ANON] credential presented by the peer.
[VT-PROTO] Verifiable Trust Protocol§
The exchanges this specification requires over a trusted channel are defined here as abstract messages, with their fields, their order and the checks each party makes: the verification of a peer ([VT-PROTO-VERIF]), the onboarding process of an Accreditation entry ([VT-PROTO-OP]), the issuance of a credential ([VT-PROTO-ISS]), the presentation of credentials ([VT-PRES-VS]), and the notifications that follow them ([VT-PROTO-NOTIF]). A binding maps them onto each trusted channel protocol ([VT-BIND]). The diagrams of this section are non-normative illustrations of its rules.
- [VT-PROTO-1] Messages. A message has a name and fields. Field types are abstract: a VTJSC identifier, a UUID, a DID, a boolean, a text, a digest, a transaction hash, and the format-specific offers, requests, credentials and presentations of each container. How a message is typed, encoded and carried is its binding’s ([VT-BIND-1]). A party MUST ignore a field it does not know.
- [VT-PROTO-2] Correlation. The messages of one exchange (a verification, an onboarding process and the issuance that may follow it, an issuance, or a presentation request and the presentations it leads to) are correlated to the first message of the exchange ([VT-CHAN-1]).
- [VT-PROTO-3]
exchange-recorded. The party that recorded an exchange (the issuer with aCredentialIssuancetransaction, the verifier with aCredentialPresentationtransaction) notifies its peer withexchange-recorded:exchange_idandtx_hash, the hash of the included transaction. The notification is a hint: the peer verifies the transaction through an indexer of its whitelist ([WL-VPR]), as [CIT-5] and [VT-PRES-VS-6] specify, whatever the message says. - [VT-PROTO-4] Errors and declines. A protocol error is reported with
error: acode, an optionalcommentand, when the error concerns one credential of an exchange, itsexchange_id. Codes:malformed,out-of-order,unknown-exchange,mixed-request([VT-PRES-VS-3]),no-longer-available(a credential that ceased to be presentable after it was answered),exchange-not-recorded(no included transaction matches the exchange),invalid-accreditation(anonboarding-requestnaming an entry that is not pending under the validator, or whose service entry is not the peer’s, [VT-PROTO-OP-1]),invalid-schema(anissuance-requestfor a schema the issuer does not issue),invalid-claims(claims that do not satisfy the schema). A decline is never an error: it is the absence of an item, or of the answer, and discloses nothing ([VT-PRES-VS-5]). - [VT-PROTO-5] Application protocols. Services carried over a trusted channel ([VS-SVC-12]) and the delivery of endpoints and of the access material to consume them ([VS-SVC-7], [VS-SVC-11]) are left to application protocols, defined separately from this specification. An application protocol SHOULD be publicly published and SHOULD refer to this specification. Its messages are carried over the trusted channel once both parties are verified ([VT-PROTO-VERIF]), and what a VS sends with it inherits the trust context of its DID ([VS-SVC-11]).
- [VT-PROTO-6] Containers. The credentials issued and presented over a trusted channel are [VT-CRED-ANON], [VT-CRED-W3C] and [VT-CRED-SDJWT] VTCs. [VT-CRED-SDJWT] VTCs of
PERSONschemas are also issued over OpenID4VCI and presented over OpenID4VP or the Digital Credentials API, for the exchanges that need no exchange record ([CIB-5], [PRB-5]). In this version, [VT-CRED-MDOC] VTCs are issued over OpenID4VCI and presented over OpenID4VP or the Digital Credentials API only ([CIB-5], [PRB-5]), underNO_DIGESTschemas with no issuance fees ([VT-DECL-ANCHOR-3]). - [VT-PROTO-7] Resumption. An exchange MAY outlive a channel. A party MAY resume it over a new trusted channel with the same peer by its identifier: the
accreditation_idof an onboarding process, theexchange_idof an issuance or a presentation. The same peer is, for a VS, the same verifiable service entry, whether the channel is established with its current identifier or, within its transition window, with the former one ([VT-PROTO-8]); for a VUA, the instance that began the exchange, authenticated by the same keys ([VT-CHAN-1]). The peer continues from the last state it reached, and the state of the VPR prevails where the two differ. - [VT-PROTO-8] Current identifiers. A party starts an exchange with a VS, and acts on the first message of an exchange from a VS, only when the DID the channel authenticated is the current identifier of the VS’s verifiable service entry, read through an indexer of its whitelist ([WL-VPR]). A former identifier, within its transition window ([TR-10]), serves only to complete or resume an exchange begun before the rotation ([VT-CHAN-5], [VT-PROTO-7]), and only while no other entry holds it: an entry that registered the string since cannot act on the exchanges, the entries or the credentials of its former holder.
[VT-PROTO-VERIF] Peer Verification§
The verification of [VT-CHAN-4], with the messages that carry it.
- [VT-PROTO-VERIF-1] Services. A party that knows the DID of its peer in advance verifies it by trust resolution before opening the channel ([VS-SVC-4]). A VS that receives a channel from a service verifies it by trust resolution of the DID the channel authenticated ([VS-CONN-VS]). No message is exchanged for either.
- [VT-PROTO-VERIF-2] User Agents. A party verifies a User Agent with the presentation protocol ([VT-PRES-VS]): a
requestfor the User Agent schemas of the ECS ecosystems of its whitelist ([WL-ECS]), answered automatically (the schema isON_REQUEST), then thepresentation-requestandpresentationof the credential answered, with noCredentialPresentation(zero fees, no anchoring, no presentation validity period, [VT-ECS-JSON-SCHEMA-VPR-CONFIG]), as [VS-CONN-VUA] and [VUA-CONN-VUA] require. Two User Agents run it in both directions. - [VT-PROTO-VERIF-3] Before verification. Until both parties are verified, a party MUST NOT send any message other than those of this verification, and MUST NOT act on any other message it receives, outside the exemptions of [VS-CONN-VS] and [VS-CONN-VUA], under which the issuer of Organization, Persona, Service or User Agent credentials runs with a peer not yet verified the information steps of [VT-PROTO-OP-2], the issuance request and the issuance ([VT-PROTO-ISS]) of those credentials, and nothing else. A failed verification ends the exchange: no service is provided ([VS-REQ-8]), and a VUA closes the channel ([VUA-CONN-VUA]).
A VUA opens a channel to a VS:
A VS opens a channel to another VS:
Two VUAs:
[VT-PROTO-OP] Onboarding Process§
The exchange through which an applicant obtains from its validator the validation of an Accreditation entry it started on the VPR (Start Onboarding or Renew Onboarding). It runs over a trusted channel between the applicant’s VS and the VS of the validator’s entry, after [VT-PROTO-VERIF] or within the exemptions of [VT-PROTO-VERIF-3].
| Message | From | Fields |
|---|---|---|
onboarding-request |
applicant | accreditation_id (the applicant’s pending entry); optional claims (information the applicant provides at once); optional proofs (documents or presentations supporting the request) |
information-request |
validator | items: a text description of what the validator needs, and optionally the VTJSCs of the credentials whose presentation it asks ([VT-PRES-VS]); optional url: an out-of-band step, unique to this process, with an optional expires |
information |
applicant | claims and proofs answering an information-request |
validating |
validator | optional comment: the validator is processing the request, or the answer or out-of-band step it received |
onboarding-result |
validator | accreditation_id; outcome: validated, with the tx_hash of the validation, or refused, with an optional comment; optional summary: the onboarding summary ([VT-PROTO-OP-4]) |
withdraw |
applicant | accreditation_id: the applicant ends the process |
- [VT-PROTO-OP-1] Request. Once its Start Onboarding or Renew Onboarding transaction is included, the applicant sends
onboarding-requestto the VS of the validator’s entry (VerifiableService[validator_accreditation.vs_id]), over a channel bound to that VS’s DID ([VT-CHAN-3]). The validator verifies through an indexer of its whitelist ([WL-VPR]) that the entry exists and is pending, that its validator is one of the validator’s entries, and that the identifier of the entry’s verifiable service entry is the DID the channel authenticated, as its current identifier ([VT-PROTO-8]): the binding of the channel to that DID is the applicant’s proof of control of the entry; no other proof is required. A request that fails these checks is answered witherrorinvalid-accreditation; otherwise the validator answersvalidating. - [VT-PROTO-OP-2] Validation. The validator MAY send
information-requestany number of times, asking for information, documents, or the presentation of credentials, which then runs per [VT-PRES-VS] in an exchange correlated to the process; when it gives aurl, the applicant completes the step out of band. The applicant answers withinformation, or by completing the out-of-band step; the validator answersvalidatingafter each answer or completed step. - [VT-PROTO-OP-3] Outcome. When it validates, the validator records Validate Onboarding, which fixes the entry’s window and, at a first validation, its fees, then sends
onboarding-resultvalidatedwith the transaction hash; the applicant verifies the entry through its indexer whatever the message says. When it refuses, it sendsonboarding-resultrefused; the entry stays pending, and the applicant MAY cancel it (Withdraw Onboarding Request) to recover its escrow. The applicant MAY end the process withwithdraw. The VPR prevails over the messages: an entry validated on chain after a refusal, a withdrawal or an interruption is validated, and the process resumes from there ([VT-PROTO-7]). - [VT-PROTO-OP-4] Summary. When the validator records an
onboarding_summary_digeston the entry, it delivers the summary it digested inonboarding-result, and the applicant verifies that its digest equals the entry’s. For a holder underNO_ONBOARDING_PROCESS, which has no entry and runs no onboarding process, an issuer that compiles a summary delivers it in thesummaryfield of itsoffer([VT-PROTO-ISS]), and the holder verifies it against theonboardingSummaryDigestSriof the credential it receives. - [VT-PROTO-OP-5] Issuance. For a
HOLDERentry, the issuance follows in the same exchange: the validator, which holds theISSUERentry, sends itsofferonce the entry is validated ([VT-PROTO-ISS], [VT-DECL-HOLDER-1]). For any other role, the process ends withonboarding-result.
An onboarding process for a HOLDER entry, with one information request:
[VT-PROTO-ISS] Credential Issuance§
The issuance of a credential over a trusted channel, after [VT-PROTO-VERIF]:
| Message | From | Fields |
|---|---|---|
issuance-request |
holder | vtjsc; exchange_id (UUID chosen by the holder, [CIT-5]); optional claims and proofs supporting the request; optional replaces: the exchange_id of the issuance of a credential whose re-issuance the holder asks ([VT-PROTO-NOTIF-3]) |
offer |
issuer | vtjsc; issuer_did; exchange_required (boolean: a CredentialIssuance will be recorded, the schema being anchored or issuance fees being due); the format-specific offer (an AnonCreds credential offer, the W3C credential to be issued, without its proof, or the vct and the claims of the SD-JWT VTC to be issued); optional replaces: the exchange_id of the issuance of a credential this one replaces ([VT-PROTO-NOTIF-3]); optional summary: the onboarding summary of a NO_ONBOARDING_PROCESS holder ([VT-PROTO-OP-4]); optional comment |
credential-request |
holder | exchange_id (UUID chosen by the holder, [CIT-5]); the format-specific request (an AnonCreds credential request, the holder’s acceptance of the W3C credential, or the key to bind in the SD-JWT VTC with the proof that the holder possesses it, [VT-PROTO-ISS-6]) |
credential |
issuer | exchange_id; the credential |
- [VT-PROTO-ISS-1] Offer. The issuer sends
offeron its own initiative, at the end of an onboarding process for aHOLDERentry ([VT-PROTO-OP-5]), or in answer to the holder’sissuance-request, after the information steps of [VT-PROTO-OP-2] when it needs them, or refuses the request witherrorinvalid-schemaorinvalid-claims, or silently. It sends it once the holder is verified ([VT-PROTO-VERIF]) and, for a schema whoseholder_onboarding_modeisISSUER_ONBOARDING_PROCESS, once the holder holds an activeHOLDERentry ([VT-DECL-HOLDER-1]). - [VT-PROTO-ISS-2] Request. The holder verifies the issuer ([CIT-3]) and determines whether issuance fees are due ([CIT-5]); it accepts with
credential-request, which always carries anexchange_idit generated (the one of itsissuance-request, when it sent one), and declines by sending nothing. - [VT-PROTO-ISS-3] Record. When the schema is anchored or issuance fees are due, the issuer records the
CredentialIssuanceunder thatexchange_id, anchoring the credential’s digest under an anchored schema ([VT-DECL-ANCHOR-1]), and sendsexchange-recorded([VT-PROTO-3]) beforecredential; otherwise it sendscredentialdirectly. - [VT-PROTO-ISS-4] Reception. Before storing the credential, the holder applies [CIT-3], [CIT-4] and [CIT-5]. A credential that fails them is discarded, with
errorexchange-not-recordedwhen no included transaction matches the exchange. - [VT-PROTO-ISS-5] Identifiers. The issuer DID of the credential, and its subject DID when the holder is a VS, are the current identifiers of their verifiable service entries when the issuer signs the credential ([VT-PROTO-8]), which the issuer reads through an indexer of its whitelist ([WL-VPR]). A rotation of either identifier between the
offerand the signature voids the offer: the issuer sends a newofferunder the current identifiers in the same exchange, with the sameexchange_id, as long as noCredentialIssuanceis recorded under it. The holder discards at reception ([VT-PROTO-ISS-4]) a credential that carries an identifier which was not current at its effective issuance time ([TR-4]) or, under aNO_DIGESTschema, when the holder receives it; under an anchored schema such a credential also fails [TR-10]. - [VT-PROTO-ISS-6] SD-JWT VTCs. The
offergives thevctand the claims of the credential to be issued. Thecredential-requestgives the public key that the issuer binds ascnf, with a proof that the holder possesses the private key, made fresh for this issuance as the binding defines ([VT-BIND-1]). The issuer MUST verify the proof before it signs the credential. Thecredentialcarries the SD-JWT with all its disclosures and no Key Binding JWT, and the holder verifies at reception thatcnfis the key it gave ([VT-PROTO-ISS-4]).
With an exchange (an anchored or fee-bearing schema):
Without an exchange (a NO_DIGEST schema with no issuance fees):
A holder asks for a credential (for example a quality certification credential under a schema in NO_ONBOARDING_PROCESS holder mode):
[VT-PRES-VS] Credential Presentation§
How a verifier (a VS, or a VUA within [PRB-1]) obtains over a trusted channel the presentation of credentials held by a VS, or by a VUA for its own User Agent credential (SERVICE schemas declared ON_REQUEST or ON_APPROVAL, [VT-DECL]) or by the person using a VUA (PERSON schemas, [VT-DECL-SUBJECT-2]); PUBLIC credentials are read from the holder’s DID Document. Two phases: the verifier asks which credentials of the requested schemas the holder will present, and the holder answers, automatically (ON_REQUEST) or after the consent and selection of its controller or of the person (ON_APPROVAL, PERSON), disclosing nothing before that consent; then each credential answered is exchanged on its own, the verifier recording and paying the exchange when one is required, the holder presenting. No answer confirms a claim before the exchange is recorded: a verifier cannot obtain for free what it would pay a presentation for. OpenID4VP and the Digital Credentials API carry no such phases: a VS requests over them, in this version, only presentations requiring no CredentialPresentation ([PRB-5]). Messages: [VT-PRES-VS-MSG].
- [VT-PRES-VS-1] Discovery. The verifier identifies the holder by its DID, which it MAY find through a VPR indexer or trust graph, by attributes of the credentials the holder publishes (the organization key or another registration of an Organization credential, [ECS-ORG], for example).
- [VT-PRES-VS-2] Connection. A trusted channel ([VT-CHAN]), after mutual verification: [VS-CONN-VS] between services, [VS-CONN-VUA] and [VUA-CONN-VS] between a service and a User Agent, [VUA-CONN-VUA] between User Agents.
- [VT-PRES-VS-3] Request. The verifier lists the
CredentialSchemaentries it requests, each by its VTJSC, and MAY ask that the presentations be anchored ([VT-PRES-VS-9]). A request MUST NOT mixON_REQUESTschemas with consent schemas (ON_APPROVAL,PERSON); a mixed request is refused as a whole with anerrormixed-request([VT-PROTO-4]). It carries no criteria on the credentials (no attribute values, no acceptable issuers): the holder side chooses what to present. It MAY carry a free-text purpose, shown to the controller or the person, that names no attribute and is never confirmed. A presentation carries one credential. The request MUST comply with [PRB]; the holder MUST verify the verifier per [PRT-3] for each requested schema before answering. - [VT-PRES-VS-4] Answer. Before any
CredentialPresentationtransaction or fee, without disclosing any claim: forON_REQUESTschemas automatically, forON_APPROVALandPERSONschemas only after the consent of [VT-PRES-VS-5] and with the selected credentials only. UnderON_REQUESTthe holder answers, per schema, its most recently received presentable credential and whether more remain, the next one only once the previous one was exchanged ([VT-PRES-VS-6]); the order is the time it received each credential, fixed at the first answer of the request, kept across a migration or restore, consistent for equal times, never disclosed; a credential that ceased to be presentable after it was answered is reported witherrorno-longer-availablecarrying itsexchange_id([VT-PROTO-4]), and the holder answers the next credential of the order on the verifier’snext; a credential that ceased to be presentable before being answered is skipped. Per credential answered: an exchange identifier (exchange_id, a uuid) chosen by the holder, the issuer DID, whether the holder requires aCredentialPresentationand whether the presentation is anchored ([VT-DECL-RECORD-3], [VT-PRES-VS-9]). No reference is named: each party derives them from the DIDs through its indexer, as the VPR applies them (Record Credential Presentation): the issuer reference is theISSUERentry the credential’s digest was anchored under while it exists, else anISSUERentry of the issuer for the schema, validated and effective, any one when several, else thevs_idof its verifiable service entry (refused by the VPR while an active entry exists, so that the issuer’s branch is paid), the issuer DID matched per [TR-10]; the verifier reference is the verifier’s activeVERIFIERentry for the schema, any one when several, else its verifiable service entry (OPENorCREDENTIAL), none for a VUA verifier ([PRB-1]). The verifier trust-resolves the issuer before paying. A schema with no credential answered is declined ([VT-PRES-VS-5]): noCredentialPresentationtransaction for it. - [VT-PRES-VS-5] Consent and decline. Under
ON_APPROVALthe holder MUST obtain the approval of its service controller, underPERSONthe person’s consent in its VUA ([VT-DECL-SUBJECT-2]), before disclosing anything, including whether it holds a credential of the schema; the controller or the person selects the credentials to present, informed by the purpose, or declines, possibly asynchronously. A decline discloses nothing: no credential is answered for the schema, or nothing at all, and a schema is answered the same way whether the holder declined, holds no presentable credential of it, or found the verifier not authorized for it ([PRT-3]). The verifier MUST NOT read a declined schema as not held, and SHOULD apply its own timeout to an unanswered request. - [VT-PRES-VS-6] Record. When [VT-DECL-RECORD] requires a
CredentialPresentationor a presentation digest is anchored ([VT-PRES-VS-9]), the verifier sends theCredentialPresentationtransaction under the identifier answered (for an anchored presentation, once it has received the digest, [VT-PRES-VS-9]), with the verifier reference as primary party, the schema and the issuer reference ([VT-PRES-VS-4]), then notifies the holder. The VPR stores no exchange: the transaction is the record, relayed by indexers. Before presenting, the holder MUST verify through an indexer of its whitelist ([WL-VPR]) that the transaction was included, signed for the verifier’s verifiable service entry, carrying that identifier, the schema, an issuer reference of the credential’s issuer for the schema, theISSUERentry of its vendor asvua_issuer_accreditation_idwhen the holder is a User Agent ([VS-CONN-VUA]), and the presentation digest when the holder sent one ([VT-PRES-VS-9]). Each credential is exchanged under its own identifier; underON_REQUESTthe holder MUST NOT answer the next credential of a schema before this verification of the previous one or, when no exchange was required, before having presented it. A holder MAY refuse further requests from a verifier that repeatedly leaves exchanges unrecorded. - [VT-PRES-VS-7] Presentation. The holder presents the credential answered, over the trusted channel, in the schema’s
credential_format, disclosing only the claims the presentation request names where the container allows it ([VT-CRED-ANON], [VT-CRED-SDJWT]); a [VT-CRED-W3C] credential is presented whole. The presentation is proved by the holder (for a W3C VTC, a Verifiable Presentation signed with a key of its DID; for an AnonCreds VTC, the zero-knowledge proof bound to the nonce; for an SD-JWT VTC, the Key Binding JWT signed with the key ofcnf) and bound to the nonce of thepresentation-request([VT-PRES-VS-MSG-2]) and, where the container names one, to the verifier (thedomainof the proof of a Verifiable Presentation, theaudof a Key Binding JWT; an AnonCreds proof names no verifier): the verifier created the nonce, so it knows that the holder proved the presentation after its request, and the digest of the presentation differs from the credential’s digest and from any earlier presentation. The verifier verifies it per [TR]; for an SD-JWT VTC of aSERVICEschema that carries asub, it MUST also verify thatsubis the DID of the holder that the channel authenticated ([VT-CHAN-3]), matched per [TR-10]. - [VT-PRES-VS-8] Evidence. Both parties SHOULD retain the exchange identifier, the transaction hash with its inclusion proof and the presentation for the period their governance frameworks require. When the
presentation_validity_periodin force at the effective presentation time is greater than 0, the presentation is evidence of a verification only until the block time of the transaction that carried its digest plus that period; afterwards the verifier MUST obtain a new presentation through a newCredentialPresentation. That end is stored nowhere: an indexer computes it from the event and the schema’s update history, and the value a party read at the verification is its estimate, kept with its evidence. A W3C or SD-JWT presentation MAY carry it (theexpiresof its Data Integrity proof, theexpof its Key Binding JWT), committed to by the anchored digest. Trust resolution never applies it. - [VT-PRES-VS-9] Presentation digest. Anchoring the presentation is mandatory when the schema’s
presentation_validity_period, read from the VPR at the time of the verification ([VT-DECL-RECORD-3]), is greater than 0; otherwise the verifier MAY ask for it in its request. Either way aCredentialPresentationis implied even with fees of 0 ([VT-DECL-RECORD-1]): the transaction anchors the digest. The order is then: the holder’s answer states that the presentation is anchored; the verifier sends its presentation request, before any transaction; the holder builds and proves the presentation, digests it as it will be transmitted (canonicalized with JCS when it is a JSON document, its exact bytes otherwise, hashed with the schema’sdigest_algorithm) and sends the digest; the verifier records exactly that digest in the transaction ([VT-PRES-VS-6]); the holder sends the presentation it digested only after verifying that the transaction carries the digest. The block time of that transaction is the effective presentation time: the holder can prove to whom and when it presented, the verifier what it received, with no content on chain. Unless the schema requires it, anchoring is the verifier’s decision: a verifier that asked for it MUST anchor (the holder presents only after checking the transaction), and a holder MUST NOT be required to anchor anything itself. A verifier that receives an answer stating an anchoring it did not ask for (the holder read a period greater than 0) MUST anchor the digest the holder sends or end the exchange, never obtain the presentation without anchoring it.
[VT-PRES-VS-MSG] Messages§
The messages of [VT-PRES-VS-3] to [VT-PRES-VS-9], in addition to exchange-recorded and error ([VT-PROTO-3], [VT-PROTO-4]):
| Message | From | Fields |
|---|---|---|
request |
verifier | schemas: a non-empty list, each a vtjsc and a boolean anchor asking that the presentation be anchored ([VT-PRES-VS-9]); purpose: optional text ([VT-PRES-VS-3]) |
answer |
holder | credentials: a list, each with vtjsc, exchange_id (UUID), issuer_did (DID), exchange_required (boolean), anchored (boolean: the presentation digest will be anchored, [VT-PRES-VS-9]) and more (boolean, ON_REQUEST only) ([VT-PRES-VS-4]) |
presentation-digest |
holder | exchange_id; presentation_digest, the digest of the presentation built for the presentation-request of an anchored presentation ([VT-PRES-VS-9]) |
next |
verifier | vtjsc (ON_REQUEST only): asks the next credential of that schema, answered with a new answer ([VT-PRES-VS-6]) |
presentation-request |
verifier | exchange_id; nonce, which the verifier creates for this request ([VT-PRES-VS-MSG-2]); a presentation request in the schema’s credential_format, which names what the verifier asks to be disclosed ([VT-PRES-VS-7]) |
presentation |
holder | exchange_id; a presentation in the schema’s credential_format, proved by the holder ([VT-PRES-VS-7]) |
- [VT-PRES-VS-MSG-1] Decline. A schema absent from the
answer, an empty list, or noanswerat all, is a decline ([VT-PRES-VS-5]). - [VT-PRES-VS-MSG-2] Presentation. The verifier sends one
presentation-requestper credential answered. It carries anoncethat the verifier creates for this request: the verifier MUST generate it fresh for everypresentation-request, from a cryptographically secure random source, with at least 120 bits of entropy, or, for an AnonCreds proof request, whosenonceis a decimal number of at most 80 bits, as a random number of 80 bits. This nonce is the challenge of the presentation, a property of the proof that the holder makes: thechallengeof the proof of a Verifiable Presentation, whosedomainis the identifier of the verifier that [VT-PRES-VS-MSG-3] gives foraud; the nonce of an AnonCreds proof; thenonceof the Key Binding JWT of an SD-JWT presentation ([VT-PRES-VS-MSG-3]). How the request and the presentation are carried, and the request format of a container for which this specification names none, are the binding’s ([VT-BIND-1]). Theexchange_id, which the holder chose, is a field of the two messages and is not the challenge. A verifier MUST reject a presentation that is not bound to the nonce of its request. For an anchored presentation, the verifier sends it right after theanswer, the holder replies withpresentation-digest, the verifier records the exchange with that digest and sendsexchange-recorded, and the holder then sends exactly thepresentationit digested ([VT-PRES-VS-9]). Otherwise, when an exchange is required, the verifier sends it afterexchange-recorded, and the holder replies with thepresentationof the credential answered under that identifier ([VT-PRES-VS-7]). - [VT-PRES-VS-MSG-3] SD-JWT VTCs. The
presentation-requestof an SD-JWT VTC is a query of the Digital Credentials Query Language (DCQL) of OpenID4VP, with one credential query: itsformatisdc+sd-jwt, itsmeta.vct_valuesholds thevctof the schema and nothing else ([VT-CRED-SDJWT-1]), and itsclaimsname the claims to disclose. Thepresentationis the SD-JWT with the disclosures of those claims only, followed by its Key Binding JWT, whosenonceis thenonceof thepresentation-request([VT-PRES-VS-MSG-2]) and whoseaudidentifies the verifier in the form that the binding defines: a form that contains its DID when it is a VS ([PRB-1], [VT-BIND-1]).
The following diagrams are non-normative.
ON_REQUEST, two credentials of one schema, the first with an exchange:
ON_APPROVAL or PERSON, two schemas requested, one credential selected and anchored, the other schema declined:
A VUA verifier, no exchange ([PRB-1]):
[VT-PROTO-NOTIF] Notifications and Re-issuance§
The chain and the status lists are the source of truth on the state of a credential, an entry or a service; these messages tell the peer to look.
| Message | From | Fields |
|---|---|---|
credential-state |
issuer | exchange_id of the credential’s issuance; state: revoked, suspended, reinstated, expiring (with valid_until), or to-be-replaced; optional tx_hash; optional comment |
accreditation-state |
the party that sent the transaction | accreditation_id; state: revoked, effective-until-changed (with the new value), slashed, excluded, or exclusion-lifted; optional tx_hash; optional comment |
service-state |
the VS | state: rotated, with vid (the new identifier) and transition_until (the end of the former identifier’s window); optional tx_hash; optional comment |
- [VT-PROTO-NOTIF-1] Credentials. An issuer SHOULD send
credential-stateto the holder when it revokes, suspends or reinstates a credential, when a credential it is willing to re-issue approaches its expiry, and when it must re-issue a credential ([VT-PROTO-NOTIF-3]). The holder verifies the state on the VPR or the status list ([TR-4], [TR-11]) whatever the message says, and removes or replaces a published credential that is revoked ([VT-DECL-MODE-1]). - [VT-PROTO-NOTIF-2] Accreditations. The party that records Revoke Accreditation, Set Accreditation Effective Until, a slash or an exclusion affecting an entry SHOULD send
accreditation-stateto the entry’s owner when it has a trusted channel with it; the owner verifies the state on the VPR whatever the message says. - [VT-PROTO-NOTIF-3] Re-issuance. An issuer that re-issues a credential (after the rotation of its identifier, [TR-10]; before an expiry) sends an
offerwhosereplacesnames theexchange_idof the earlier issuance ([VT-PROTO-ISS]). A holder whose identifier was rotated ([TR-10]) asks each issuer of the credentials it holds as subject to re-issue them under its current identifier, during the transition window, with anissuance-requestwhosereplacesnames the earlier issuance; the issuer answers per [VT-PROTO-ISS-1], with anoffernaming the same issuance inreplaces. Once the new credential is stored, the holder discards the one it replaces and, for aPUBLICschema, publishes the new one in its place ([VT-DECL-MODE-1]). - [VT-PROTO-NOTIF-4] Services. A VS SHOULD send
service-stateto the peers it has trusted channels with when the identifier of its entry is rotated (Rotate Verifiable Identifier), over the channels established under the former identifier. The peer verifies the rotation on the VPR whatever the message says, then applies [VT-CHAN-5] and [VT-PROTO-8], and the holders of credentials the service issued expect their re-issuance ([VT-PROTO-NOTIF-3]).
[VT-BIND] Bindings§
A binding maps [VT-PROTO] onto one trusted channel protocol of [VT-CHAN-2]; adding a protocol to the list adds a binding. A binding is a separate document, not a part of this specification.
- [VT-BIND-1] Content. A binding specifies:
- the DID Document service type, and how a channel is opened from the DID;
- how the protocol meets [VT-CHAN-1] and [VT-CHAN-3]: how the DID of a VS is its party, and how a party without a resolvable DID authenticates;
- the type identifier, the encoding and the correlation of every message of [VT-PROTO];
- the protocols and attachment formats that carry offers, credential requests, credentials, presentation requests and presentations, per container;
- how
erroris carried.
[TR] Trust Resolution§
-
[TR-1] Trust resolution MUST be recursive. When a VS or a VUA encounters a DID during trust resolution — whether as a credential issuer, a service owner, or a credential subject — it MUST resolve that DID and verify its associated credentials using the same trust resolution process. A DID already under resolution in the current run is not resolved again: the resolver treats it as being established and continues, and the outcome of the run applies to it (a service that issues its own Service credential, or two parties issuing each other’s credentials, is the normal case, not a loop).
-
[TR-2] Every Verifiable Trust Credential encountered during trust resolution MUST be verified as follows:
- For W3C VTCs ([VT-CRED-W3C]): verify the credential signature using the issuer’s DID Document.
- For AnonCreds VTCs ([VT-CRED-ANON]): verify the zero-knowledge proof using the issuer’s Credential Definition.
- For SD-JWT VTCs ([VT-CRED-SDJWT]): verify the issuer-signed JWT with the issuer key determined per [VT-CRED-SDJWT-6], and verify the Key Binding JWT against the
cnfclaim. - For mdoc VTCs ([VT-CRED-MDOC]): verify
issuerAuthwith the issuer key determined per [VT-CRED-MDOC-5], and verifydeviceAuthand the disclosed elements per [VT-CRED-MDOC-6].
-
[TR-3] For every Verifiable Trust Credential encountered during trust resolution, the referenced VTJSC MUST be resolved and verified:
- For W3C VTCs: the VTJSC is located directly via
credentialSchema.id. - For AnonCreds VTCs: the VTJSC is located indirectly: the Credential Definition names the AnonCreds Schema through
schemaId, and the relationship that the AnonCreds method carries for that Schema identifies the VTJSC ([VT-CRED-ANON]). TheissuerIdof that Schema MUST be the Ecosystem DID (matched per [TR-10]); a Schema published by any other DID is not the schema’s. - For SD-JWT VTCs: the VTJSC is located indirectly via the
relatedJsonSchemaCredentialIdof thevctType Metadata, aftervct#integrityis verified per [VT-CRED-SDJWT-4]. - For mdoc VTCs: the VTJSC is located via the
relatedJsonSchemaCredentialIdelement of theio.verana.vtnamespace of the document ([VT-CRED-MDOC-2]). - The VTJSC signature MUST be verified, and it MUST be confirmed that the VTJSC binds to a valid
CredentialSchemaentry in the VPR and is issued by the identifier (matched per [TR-10]) of the verifiable service entry of theEcosystementry that controls thatCredentialSchemaentry (ecosystem_id), the Ecosystem DID; a VTJSC signed by any other DID is not the schema’s.
- For W3C VTCs: the VTJSC is located directly via
-
[TR-4] For credentials of a schema whose
credential_anchoringisDIGESTorREVOCABLE_DIGEST(W3C VTCs, and SD-JWT VTCs of such schemas, [VT-DECL-ANCHOR-3]), the effective issuance time MUST be determined by recomputing the credential’s digest (digestJCSfor a W3C VTC, the SD-JWT digest of [VT-CRED-SDJWT] for an SD-JWT VTC; the mdoc digest is defined for a later version) and locating its anchoring, the issuance transaction that carried it, which indexers serve from its event. When several issuance transactions anchored the same digest under the issuer’s verifiable service entry and schema, the earliest is the anchoring and the later ones are duplicates: an indexer returns every anchoring of a digest, earliest first, and marks the later ones as duplicates. The block time of that transaction is the effective issuance time. The anchoring MUST have been made under the verifiable service entry of the credential’s issuer with the credential’s schema (vs_idandschema_id), the issuer holding for that schema anISSUERentry effective at that time (the entry [TR-5] and [TR-9] refer to) or, for a schema whoseissuer_onboarding_modeisOPEN, none. An anchoring made under another verifiable service entry (another corporation’s, or another entry of the issuer’s corporation) is not the issuer’s and is disregarded, and a digest stored directly, outside any issuance transaction, anchors nothing: without an anchoring by the issuer the credential MUST be rejected. UnderREVOCABLE_DIGEST([VT-DECL-ANCHOR-4]), theDigestentry MUST exist at the evaluated time withrevokednull or later than that time: an entry whoserevokedis not null means that the credential is revoked as of that timestamp, and the credential MUST be rejected at any evaluated time at or after it; an entry that is gone means that the credential has expired (the entry is deleted at the expiry the issuer gave the issuance transaction), and the credential MUST be rejected whatever its own expiry says: an entry swept before the credential’s expiry means that the issuer gave a shortercredential_valid_until, which the holder refuses at reception ([CIT-4]) and which otherwise ends the credential early. The reliance period of a presentation ([VT-PRES-VS-8]) bounds presentation receipts only and is never applied by trust resolution. This step does not apply to credentials of aNO_DIGESTschema: AnonCreds VTCs ([VT-CRED-ANON]), and SD-JWT and mdoc VTCs of such schemas ([VT-CRED-SDJWT], [VT-CRED-MDOC]). -
[TR-5] The issuer of every Verifiable Trust Credential encountered during trust resolution MUST be verified as authorized:
- For credentials of a schema whose
credential_anchoringisDIGESTorREVOCABLE_DIGEST: the issuer MUST have been authorized by the Ecosystem for the referenced VTJSC at the effective issuance time determined by [TR-4]: by anISSUERentry effective at that time or, for a schema whoseissuer_onboarding_modeisOPEN, by the anchoring itself, under its verifiable service entry, the only record such an issuer needs to leave (it MAY self-create anISSUERentry to declare its fees, which the anchoring then references). - For credentials of a
NO_DIGESTschema (AnonCreds VTCs, SD-JWT VTCs of such schemas, and mdoc VTCs): the issuer MUST be currently authorized by the Ecosystem for the referenced VTJSC: by anISSUERentry recognized (within its effective window, neither its participation nor its corporation excluded, [TR-12]; a slash debt does not matter here: it bars the issuer from new acts, which the holder enforces at reception ([CIT-3]), and withdraws nothing from what it issued), or, for a schema whoseissuer_onboarding_modeisOPEN, by resolving as a Verifiable Service ([TR-6]) while neither its participation for the schema nor its corporation is excluded ([TR-12]) (anOPENschema places no other condition on its issuers; an ecosystem’s lever over such an issuer is a slash of the deposit of its participation, created by its first paid exchange, which bars it until the debt is repaid and, when the ecosystem so decides, excludes it until the exclusion is lifted, and otherwise the trust resolution of the issuer itself, through its Organization or Persona credential). In both cases the issuer’s corporation MUST have recorded its acceptance of the ecosystem’s governance framework at the issuance time: theEcosystemAcceptanceentry of the VPR, or its history served by the indexer from the acceptance events, MUST show the version in force at that time accepted, or a former version within the grace period of its activation (VPR [GF-CHECK-3]); the controller of the ecosystem accepts nothing. For an anchored schema the VPR enforces this on the issuance transaction; for aNO_DIGESTschema with no exchange transaction, trust resolution enforces it here. Issuer authorization at credential reception time is enforced by the holder’s wallet as specified in [CIT]. - For credentials of an anchored schema, later expiry or revocation of the issuer’s
Accreditationentry, a slash of its participation or of its corporation that leaves a debt without exclusion, or the same for one of the validators above it in theAccreditationtree, does not by itself invalidate a credential issued while the issuer was authorized: a sanction or a structural change in the ecosystem is not a judgement on the credentials already issued, and the VPR keeps paying or withholding fees on its own rules. The mechanisms that withdraw trust from credentials already issued are the end or revocation of the holder’sHOLDERentry or an exclusion of its participation or corporation ([TR-9]), the revocation of an individual credential’s digest ([TR-4]), the end of the transition window of a rotated identifier the credential still carries ([TR-10]), an exclusion of the issuer’s participation or corporation, set by a slash or directly, or of a validator above it ([TR-12]), and the issuer ceasing to resolve as a Verifiable Service ([TR-6]): an issuer that loses its own Service, Organization or Persona credential invalidates every credential it issued.
- For credentials of a schema whose
-
[TR-6] Every DID that appears as an issuer of a Verifiable Trust Credential during trust resolution (a VTJSC is a JSON Schema Credential, whose issuer is accepted under [TR-3] and [TR-7]) MUST itself be verified as a Verifiable Service conforming to [VS-REQ]. The credentials presented by that issuer’s DID Document MUST themselves be verified by recursively applying [TR-1] through [TR-6] and [TR-9] through [TR-12].
-
[TR-7] The recursion defined in [TR-1] and [TR-6] terminates at the Ecosystem DID, which is the issuer of the VTJSC and the identifier of the verifiable service entry of the Ecosystem that controls the schema ([TR-3]); the same DID MAY serve several Ecosystems of one corporation. The Ecosystem DID is the trust root: it is accepted under [TR-3], not as a Verifiable Service, and, for the Essential Credential Schemas, only when it is listed in the [WL-ECS] whitelist of the resolver for the VPR of [WL-VPR]; an essential credential whose ecosystem is not whitelisted fails the resolution.
-
[TR-8] If any verification step in [TR-1] through [TR-7], [TR-9], [TR-10], [TR-11] or [TR-12] fails for any credential or DID encountered during trust resolution, the trust resolution MUST be considered failed, and the connection or credential MUST be rejected. A failure on an additional Linked VP ([VS-REQ-5]) on which the trust decision does not rely does not fail the resolution of the DID: that credential is disregarded.
-
[TR-9] For every Verifiable Trust Credential on which a trust decision relies, whose
CredentialSchemasetsholder_onboarding_modetoISSUER_ONBOARDING_PROCESS, the credential subject (the DID identified by the credential’s subject id or, for a container that carries no subject identifier, the DID of the service presenting it) MUST hold anAccreditationentry of roleHOLDERfor that schema that is recognized at the evaluated time (the entry’s own effective window, and neither its participation nor its corporation excluded, [TR-12]; a slash debt bars the holder from new acts but withdraws nothing from the credentials of the relationship; not a state inherited from its validator; a revoked or expired entry no longer exists), and whose validator is anISSUERentry of the credential’s issuer. For a credential of an anchored schema thatHOLDERentry MUST also have been effective at the credential’s effective issuance time ([TR-4]), and its validator MUST be theISSUERentry the credential was anchored under ([VT-CRED-W3C], Verifying the issuance time, step 4). Theeffective_untilof theHOLDERentry bounds the trust in the credential, whatever the credential’s ownvalidUntil. A credential an issuer issues to its own DID under such a schema is not exempt: its subject holds both theISSUERand theHOLDERentry. The essential schemas areNO_ONBOARDING_PROCESS([VT-ECS-JSON-SCHEMA-VPR-CONFIG]), so a self-issued Service credential ([VS-REQ-3]) is outside this rule. The state of anAccreditationentry at a past time, including an entry since expired, revoked or deleted, is reconstructed by an indexer of the whitelist ([WL-VPR]) from the VPR’s events; the VPR itself keeps only current entries. -
[TR-10] Identifier continuity. A DID carried by a credential, as issuer or as subject, or by an
Accreditation,EcosystemorCorporationentry through its verifiable service entry, is matched against the entry’s identifier history. The VPR stores only the current identifier of an entry; trust resolution derives the history from the VPR’s registration and rotation events, each rotation giving the former identifier and the end of its transition window. The DID matches the entry when it is the entry’s current identifier, acquired at or before the credential’s effective issuance time where the credential has one, or when it is a former identifier of the entry whose effective window contains the credential’s effective issuance time ([TR-4]) and whose transition window contains the evaluated time. For a credential of aNO_DIGESTschema, which has no effective issuance time, a former identifier matches while its transition window contains the evaluated time. A string rotated away MAY be registered or rotated to by another entry before the window closes: it then matches the former holder under the rules above, and the new holder only for credentials whose effective issuance time is at or after the time the new holder acquired it; aNO_DIGESTcredential carrying it matches the new holder only once the window has closed. Outside these cases a former identifier matches nothing: credentials that carry it are re-issued under the current identifier during the transition window, and the former DID Document SHOULD remain resolvable until the window closes so that proofs made with its keys still verify. A rotation (Rotate Verifiable Identifier) changes noAccreditationentry: accreditations, fee terms and holder relationships continue under the new identifier. An ecosystem that moves to another service entry (Update Ecosystem) is treated as a rotation of its identifier: the event gives the former entry, whose identifier at that block is the rotated one, and a transition window, during which a VTJSC issued under the former identifier still matches the ecosystem ([TR-3]) and the ecosystem re-issues its VTJSCs under the new one. -
[TR-11] Declared status endpoints. For a credential that carries a status reference, whatever the schema’s
credential_anchoring(thestatusclaim of an SD-JWT VTC, thestatuselement of the MSO of an mdoc VTC), the relying party MUST check that the reference is under aCredentialStatusListbase declared in the current DID Document of the issuer DID (matched per [TR-10]), fetch the status artifact, verify that it is signed by a key of the issuer DID per [VS-SVC-9], and evaluate the status. The signature authenticates the list; the check of the base keeps the relying party from fetching a URL that the issuer did not declare, and refuses a list published by another party than the issuer ([VS-SVC-8]). For an AnonCreds VTC whose revocation registry is served by the issuer, the registry identifier MUST resolve as the AnonCreds method of the issuer’s DID method defines (the did:web AnonCreds method, did:webvh attested resources, a ledger), and the objects’issuerIdMUST be the issuer DID (matched per [TR-10]); the non-revocation proof is then evaluated against the status list so obtained. A reference under no declared base, an artifact that cannot be fetched or that is signed by another key, or a status that is not valid, MUST fail the credential. A credential of aNO_DIGESTschema that carries no status reference is evaluated without one; whether the ecosystem allows irrevocable credentials is a matter for its governance framework. Credentials of schemas whosecredential_anchoringisREVOCABLE_DIGESTare evaluated here like any other when they carry a status reference (a suspension expressed there fails the credential while it lasts), theDigestentry prevailing once revoked ([TR-4]). -
[TR-12] Exclusions. A slash withdraws trust from the past only when the slashing governance excludes. While the deposit of a participation is excluded (
ParticipationTrustDeposit.excluded, set by an ecosystem slash or by Set Participation Exclusion) or the trust deposit of a corporation is (TrustDeposit.excluded, set by a network slash or by Set Corporation Exclusion), every credential issued and everyAccreditationentry validated by that participation, or by any service of that corporation, resolves as untrusted, whenever it was issued or validated, and the entries below an excluded validator in theAccreditationtree are untrusted with it. The VPR deletes the entries of an ecosystem-slashed participation but cannot cascade to the entries it validated: resolvers apply this rule from the two flags, and the ecosystem revokes or slashes the subtree as its governance framework provides. A slash debt alone (unrepaid_slashgreater than 0 on either entry) bars the party from acting (issuing, verifying, being issued to: enforced by its counterparties, [CIT-3] and [PRT-3] at reception and [VT-DECL-HOLDER-1] by the issuer, and by the VPR at every exchange) but withdraws nothing from what it issued or validated, nor from the credentials of aHOLDERrelationship ([TR-9]): an entry under a debt is not active in the VPR sense, yet stays recognized for trust resolution. Lifting the exclusion (Set Participation Exclusion by the ecosystem, Set Corporation Exclusion by network governance) clears the flag, and trust resolution follows the current state.
[WL] ECS Ecosystem whitelists and vpr: scheme resolution§
- [WL-VPR] Compliant VSs and VUAs MUST maintain a list of VPRs and how to access them: the indexer endpoints used for trust resolution and the RPC endpoints of the nodes used for transactions. As VPRs are decentralized, this gives the option to the VUA vendor or VS provider to run its own node and indexer and use their endpoints. An identifier of the form
vpr:<network>:<chain id>:...(a schema reference, [VT-CRED-MDOC-3]) resolves through the whitelist entry whoseschemeis its prefixvpr:<network>:<chain id>, with that entry’s indexer; with no such entry it is unresolvable and the verification fails. An indexer serves an exchange record by itsexchange_idfrom the event of the transaction ([VT-PRES-VS-6], [CIT-5]); its interface is defined by the Indexer specification (indexer).
Example:
{
"verifiablePublicRegistries": [
{
"id": "vna-mainnet-1",
"scheme": "vpr:verana:vna-mainnet-1",
"indexer": [
"https://idx-mainnet-node-1/",
"https://idx-mainnet-node-2/"
],
"rpc": [
"https://rpc-mainnet-node-1/",
"https://rpc-mainnet-node-2/"
],
"version": "1",
"production": true
},
{
"id": "vna-testnet-1",
"scheme": "vpr:verana:vna-testnet-1",
"indexer": [
"https://idx-testnet-node-1/",
"https://idx-testnet-node-2/"
],
"rpc": [
"https://rpc-testnet-node-1/",
"https://rpc-testnet-node-2/"
],
"version": "1",
"production": false
}
]
}
- [WL-ECS]: Compliant VSs and VUAs MUST maintain a list of DIDs of Ecosystems they trust for providing essential credential schemas. A listed DID stands for every Ecosystem it is the Ecosystem DID of: all of them are controlled by the same corporation, and the list cannot accept one and refuse another. Since an ECS Ecosystem may provide only some of them ([ECS-EC]), the list SHOULD cover the five essential credential schemas, [ECS-SERVICE], [ECS-ORG], [ECS-PERSONA], [ECS-UA] and [ECS-BADGE], each provided by at least one listed Ecosystem: an essential credential whose schema no listed Ecosystem provides fails the resolution ([TR-7]), so a list without the Service schema, or without both the Organization and Persona schemas, resolves no VS ([VS-REQ-2] to [VS-REQ-4]), and a list without the User Agent schema admits no User Agent ([VS-CONN-VUA], [VUA-CONN-VUA]).
Example:
{
"ecsEcosystems": [
{
"did": "did:example:ecosystem",
"vpr": "vna-mainnet-1"
},
{
"did": "did:example:ecosystem-test",
"vpr": "vna-testnet-1"
}
]
}
Trust Resolution Examples§
This section is non-normative.
Trust resolution in the Verifiable Trust ecosystem is performed outside the VPR itself and relies on auxiliary services (indexers, crawlers, resolvers) that continuously crawl, cache, and index public Verifiable Trust artifacts.
These services do not create trust; they merely make trust resolvable. All trust decisions remain cryptographically verifiable and independently reproducible by relying parties.
Such services typically ingest and index:
- VPR entries (Ecosystems, Credential Schemas, Accreditations, …)
- Ecosystem DID Documents
- Linked Verifiable Presentations published in DID Documents
- Verifiable Trust Credentials and Verifiable Trust JSON Schema Credentials
- On-chain digest anchoring data (credentials of anchored schemas)
Using this indexed data, a relying party (or a wallet acting on its behalf) can answer higher-level trust questions such as the following.
Recursive Resolution Principle§
Trust resolution is recursive ([TR-1]): every DID encountered is itself resolved, and every issuer is itself verified as a Verifiable Service ([TR-6]). The recursion ends at the Ecosystem DID, the trust root, which issued the VTJSC ([TR-3], [TR-7], [WL-ECS]). Every credential the trust decision relies on also passes the holder-relationship check of [TR-9].
Examples below illustrate how trust resolution is performed assuming that all required Verifiable Trust artifacts are already available to the relying party. No assumptions are made about how the data was obtained; only the logical resolution steps are described.
Get the credential with id = "xxxx"§
- Retrieve the Verifiable Credential identified by
xxxx - Extract:
- the credential
issuer - the
credentialSchema.id - the
credentialSubject.id - the cryptographic proof
- the credential
Verify the credential is cryptographically valid§
- Verify the credential as [TR-2] states for its container.
Resolve the referenced JSON Schema Credential§
- Locate and verify the VTJSC as [TR-3] states for the credential’s container.
Determine the issuance time of the credential (anchored schemas only)§
- Recompute the credential’s digest, locate its anchoring and take the effective issuance time, as [TR-4] states.
Verify issuer authorization§
- Identify the Ecosystem DID that issued the VTJSC ([TR-3]).
- Verify that the issuer was authorized for the schema at the time [TR-5] gives for the schema’s
credential_anchoring.
Verify the holder relationship§
- Apply [TR-9] to the subject of the credential.
Check identifiers, status endpoints and exclusions§
- Match every DID encountered to its verifiable service entry ([TR-10]).
- Evaluate the status reference the credential carries, if any ([TR-11]).
- Check that no exclusion applies ([TR-12]).
A failed step rejects the credential ([TR-8]).
Verify the issuer is a Verifiable Service§
- Verify that the issuer qualifies as a Verifiable Service ([VS-REQ]), and apply the same steps to each credential in its DID Document ([TR-6]).
Determine the governing Ecosystem§
- Take the
Ecosystementry that controls theCredentialSchemaentry of the VTJSC ([TR-3], [TR-7]). This Ecosystem:- controls the registry entry
- defines the credential schema
- governs issuer authorization rules
Its Ecosystem DID, the issuer of the VTJSC, is the trust root for the credential.
Summary§
A relying party can therefore answer the following questions deterministically:
- Is this credential authentic? ([TR-2])
- Which Ecosystem governs it? ([TR-3], [TR-7])
- When was it issued? ([TR-4])
- Was the issuer authorized? ([TR-5])
- Is the issuer itself a Verifiable Service? ([TR-6])
- Does the subject hold the
HOLDERentry the schema requires? ([TR-9]) - Does every DID encountered match its verifiable service entry? ([TR-10])
- Is the credential’s status valid? ([TR-11])
- Is any party it relies on excluded? ([TR-12])
- May this Verifiable Service request the presentation of a credential of this schema from me? ([PRT-3])
All trust decisions are derived from verifiable artifacts and cryptographic proofs, without relying on issuer-asserted claims or implicit trust.
Verifiable Service Flow Examples§
This section is non-normative.
The following examples illustrate end-to-end interaction sequences between Verifiable Services and the VPR. They show how the various pieces — DIDComm exchanges, VPR transactions, DID Document updates, and trust resolution — fit together in practice. They use DIDComm, the trusted channel protocol every VS implements ([VS-SVC-2], [VT-CHAN]). Each example assumes the participants are conformant VSs (see [VS-REQ]) operating against a single VPR (e.g., a Verana network).
Example 1 — Issuing a public W3C credential to a holder§
This example shows the action sequence for a holder VS obtaining a public W3C credential (a credential of a schema declared PUBLIC, [VT-DECL-MODE-1]) from an issuer and presenting it in its DID Document so that the holder service becomes visible to relying parties through the VPR resolver.
Preconditions:
- The Ecosystem has defined a
CredentialSchemacsfor the credential (a schema that keepsISSUER_ONBOARDING_PROCESS; the essential schemas are inNO_ONBOARDING_PROCESSholder mode, see [VT-ECS-JSON-SCHEMA-VPR-CONFIG], and skip steps 1, 2 and 4), with an associated VTJSC published by the Ecosystem DID;csis declaredPUBLIC, withcredential_anchoringREVOCABLE_DIGEST(Example 2 notes the digest alternative), and setsholder_onboarding_modetoISSUER_ONBOARDING_PROCESS. - The issuer has an active
ISSUERAccreditationentry oncs(issuer_accreditation), and issuer service is a Verifiable Service. - The holder VS knows the issuer’s DID and the schema
csit wants to be issued a credential against.
Sequence:
-
Start the onboarding process (holder side). The holder’s corporation submits
StartOnboarding(MOD-AC-MSG-1), through a delegate under aDelegateAuthorization(not a message a VS account may sign, VPR AUTHZ-CHECK-3), on the VPR, targeting the issuer as validator of the requestedHOLDERAccreditationentry againstcs. The on-chain entry creates an applicantAccreditationentryholder_accreditationinonboarding_state = PENDINGwhosevalidator_accreditation_idpoints atissuer_accreditation. -
Indexer notifies both parties. Both the holder VS and the issuer VS receive an indexer notification for the new onboarding process via their respective DID-scoped subscriptions.
-
DIDComm session. The holder VS opens a DIDComm session to the issuer and follows the onboarding process of [VT-PROTO-OP] (
onboarding-request,information-requestwith an optional out-of-bandurl,information). The issuer VS collects and validates the evidence on its side. -
Validator approves on-chain. Once the issuer is satisfied, the issuer VS submits
ValidateOnboarding(MOD-AC-MSG-3) on the VPR.holder_accreditationtransitions toonboarding_state = VALIDATEDand itseffective_untilis set per the schema’s policy. -
Credential issuance over DIDComm. The issuer VS issues a W3C Verifiable Trust Credential to the holder over the existing DIDComm session, using the schema’s VTJSC as
credentialSchema.idand anchoring the deterministicdigestJCSper [VT-CRED-W3C] and [TR-4]. The holder had supplied the exchange identifier when accepting the offer, and before storing the credential it verifies through its indexer that the issuance transaction anchored the digest under the issuer’s entry and carries that identifier ([CIT-4], [CIT-5]). -
Holder publishes the credential in its DID Document. The holder VS updates its DID Document to publish (or update) a
linked-vpentry containing the newly received credential, alongside any previously held public credentials. -
Holder triggers the resolver. As soon as the updated DID Document is updated, the holder VS submits
TriggerResolver(MOD-AC-MSG-15) for its verifiable service entry (vs_id). The VS signs with its VS account (delegate = holder.vs_account, forcorporation = holder.corporation), the VS account path ofMOD-AC-MSG-15. The Msg makes no on-chain state change; it only emits an event. -
Trust resolution. The VPR resolver pipeline observes the
TriggerResolverevent, and trigger the resolver module that fetches the latest holder DID Document, validates each linked-vp credential per [TR], and records the holder DID’s trust state. Subsequent queries to the resolver returntrustStatus = TRUSTEDfor the holder DID.
Example 2 — Revoking a public credential§
This example shows the symmetric flow for revoking a previously issued credential and ensuring the resolver and the holder’s DID Document both reflect the revocation.
Preconditions:
- The flow from Example 1 has completed: the holder is presenting a W3C credential issued by the issuer in its DID Document and currently resolves as
TRUSTED.
Sequence:
-
Issuer revokes on-chain. The issuer’s corporation submits
RevokeAccreditation(MOD-AC-MSG-9), through a delegate (not a message a VS account may sign, VPR AUTHZ-CHECK-3), againstholder_accreditation. On confirmation, the entry is deleted and its revocation recorded by the transaction’s event, which withdraws trust from every credential issued under that entry ([TR-9]); to revoke a single credential while keeping the relationship, the issuer revokes its digest instead ([TR-4]). -
Resolver auto-re-resolves. The VPR resolver pipeline treats
RevokeAccreditationas an implicit re-resolution signal for the holder DID and re-runs trust resolution. Withholder_accreditationdeleted, the credential it backed is no longer covered by a recognizedHOLDERentry ([TR-9]), so trust resolution against the holder DID’s currently-published linked-vp fails for that credential. The resolver then marks the holder DID untrusted for every decision that relies on that credential. A Linked VP on which a decision does not rely is disregarded ([TR-8]), so the DID keeps, for decisions relying on its other credentials, the trust those credentials establish. -
Issuer notifies the holder over DIDComm. The issuer VS sends a
credential-statemessage (revoked, [VT-PROTO-NOTIF-1]) to the holder VS over the existing DIDComm session, informing it that the credential has been revoked. The holder VS reacts in user-land (display the revocation, request a new credential, stop offering the affected service, etc.). -
Holder removes the credential from its DID Document. The holder VS updates its
linked-vpentry to remove the revoked credential. Until the DID Document is updated, the resolver continues to see the (now untrusted) credential. -
Holder may trigger the resolver again. The holder VS may submit
TriggerResolverso the resolver picks up the updated DID Document. After this final trigger, the resolver no longer observes the revoked credential at all; the holder DID’s overall trust status is determined by whatever public credentials remain in linked-vp.