AEGIS by ProtoworksDevelopers
Menu

3.5 · Credential formatsWorking

Types, schemas and display metadata

A verifier needs to know what kind of credential it is looking at, and a wallet needs to know how to show it. Each format answers in its own way: credentials in the data model carry types and optional schemas; the selective-disclosure format uses a type identifier with type and display metadata; mdoc uses a document type and namespaces; AnonCreds uses a schema and a credential definition.

An analogy

The title and layout of a paper form.

Where it breaks:

  • The type is an identifier for machines, not a title for people.
  • Display rules are the issuer’s suggestion; the wallet decides.
  • A type says nothing about whether the issuer is allowed to issue it (9.1 Trust frameworks and trust registries).
Precisely

Types W3C-VC-DATA-MODEL-2.0 §4.5 and data schemas W3C-VC-DATA-MODEL-2.0 §4.11 in the data model; the selective-disclosure format’s type DRAFT-IETF-OAUTH-SD-JWT-VC-19 §2.2.2.1 and display metadata DRAFT-IETF-OAUTH-SD-JWT-VC-19 §5.5; an mdoc’s document type and namespace ISO-WG10-18013-5-ED2-WD §13.4.1; and the issuer metadata a wallet reads before issuance OPENID4VCI-1.0 §12.2.

Compared
How each format names its type, and where the wallet finds how to show it
FormatTypeSchemaDisplay
Data model credentialIts type listOptional data schemasThe issuer’s metadata
SD-JWT VCA “vct” valueIn the type metadataDisplay metadata, per type
mdocA document typeNamespaces of elementsThe issuer’s metadata
AnonCredsA credential definitionA published schemaThe issuer’s metadata
Who can see what
  • Type and display metadata are public. Fetching them at presentation time can tell their host which type a verifier is checking.
What this does not do
  • A type does not make a credential trustworthy, and display metadata does not make it accurate.
Verified against
  • DRAFT-IETF-OAUTH-SD-JWT-VC-19 SD-JWT-based Verifiable Digital Credentials (SD-JWT VC) version draft-19, checked 2026-10-28
  • ISO-WG10-18013-5-ED2-WD ISO/IEC 18013-5 second edition, CD ballot resolution v4, published by ISO/IEC JTC 1/SC 17/WG 10 version CD ballot resolution v4, dated 2025-09-14 (the latest of the three second-edition drafts in the repository at b250e7a), checked 2026-10-28
  • OPENID4VCI-1.0 OpenID for Verifiable Credential Issuance 1.0 version 1.0, checked 2026-10-28
  • W3C-VC-DATA-MODEL-2.0 Verifiable Credentials Data Model v2.0 version 2.0, checked 2026-10-28

Last reviewed 2026-10-28. Next review 2027-04-28. Every quotation is checked against the text it quotes, at the version named, before the page is published.