Glossary

DCQL (Digital Credentials Query Language)

DCQL, the Digital Credentials Query Language, is the JSON query format defined in OpenID4VP 1.0 that a relying party uses to say which credentials and which claims it needs. A DCQL query names credential formats, types and individual claims, so a wallet can disclose only the requested attributes and nothing more.

Last reviewed: All terms

What it means for your business

DCQL is where data minimisation becomes concrete. eIDAS Article 5b(3) says a relying party shall not request data beyond what it registered for each intended use, and under the EU rules the wallet compares the request with your registration certificate and warns the user when it asks for more.

A well-built query asks for the least that answers the business question. An over-18 check needs one yes or no, not a birth date. A sanctions screen needs names, birth date and nationalities, not a home address.

What it means for developers

A DCQL query is a JSON object with a credentials array. Each Credential Query has an id, a format such as dc+sd-jwt or mso_mdoc, a meta object with the accepted types (vct_values for SD-JWT VC, doctype_value for mdoc) and a claims array of paths. credential_sets expresses alternatives, and trusted_authorities restricts issuers, with the authority key identifier form required by HAIP.

DCQL query for PID names, birth date and nationalities
{
  "credentials": [
    {
      "id": "pid",
      "format": "dc+sd-jwt",
      "meta": { "vct_values": ["urn:eudi:pid:1"] },
      "claims": [
        { "path": ["given_name"] },
        { "path": ["family_name"] },
        { "path": ["birthdate"] },
        { "path": ["nationalities"] }
      ]
    }
  ]
}

Nexiel Verify does not take free-form queries. Each check type maps to a fixed, reviewed DCQL template, so aml-identity always asks for the same four PID claims and age-verification asks for the over-18 attribute or the birth date it computes from. Trust policies can narrow what a check accepts, never widen it beyond the registered intended use.

How Nexiel uses it

Frequently asked questions

Does OpenID4VP 1.0 still support Presentation Exchange?
No. The Final specification defines DCQL as its query language and has no presentation_definition parameter. HAIP also requires DCQL.
What happens if a query asks for more than the registration certificate allows?
Under the EU implementing rules, the wallet compares the requested attributes with the registration certificate and must clearly warn the user when the request goes beyond it. The wallet provider decides whether to continue, disclose only the covered attributes or refuse.

Sources

  1. OpenID Foundation, OpenID for Verifiable Presentations 1.0 (Final, 9 July 2025)
  2. OpenID Foundation, OpenID4VC High Assurance Interoperability Profile 1.0 (Final, 24 December 2025)
  3. Commission Implementing Regulation (EU) 2026/1731, amending the implementing rules for wallet units and protocols

Try it in test mode

Get test keys without an account and run a wallet presentation against the Nexiel sandbox wallet.