DPP Resolution: How We Wired It Up
How OpenEPCIS combined GS1 Digital Link, the IETF linkset format and content negotiation into one DPP resolution flow
This page walks through one way to take a scanned QR code to a typed DPP response using GS1 standards. It is a worked example of how we built it, and other regulators and implementers may arrange the same pieces differently.
Every building block is a published standard: GS1 Digital Link, the GS1
Conformant Resolver discovery contract, application/linkset+json (RFC 9264),
HTTP content negotiation and the ESPR Article 9 access tiers. How they are
combined is our design.
The flow at a glance
Walking it through with one example
The example follows a serialised timber product. Timber under EUDR exercises the access tiers well, because a customs officer needs more detail than a consumer. The same primitives apply when the product is a battery, a garment, a smartphone or a frying pan; only the linkset entries and the JSON-LD payloads change.
1. The Digital Link URI on the carrier
The QR code carries a GS1 Digital Link URI:
https://id.gs1.org/01/09521234000020/21/LOG-2025-001
└────┬───┘ └──────┬─────┘ └──────┬─────┘
Base GTIN (AI 01) Serial (AI 21)
Application Identifiers (01, 21, …) are the same primitives GS1 has used in barcodes for decades. Encoded in a URL, the same identifier can be scanned by a phone camera, queried by a server and read in a browser's address bar.
2. Resolver lookup
The resolver matches the GTIN against its registry and returns an application/linkset+json document (IETF RFC 9264). The document holds one object per anchor, with GS1 link relations as full-IRI keys and link descriptors as values. Downstream registries find and validate the deployment through the discovery contract of the GS1 Conformant Resolver standard. Resolver Setup shows the full shape and the hosting choices we considered.
3. Content negotiation
The same Digital Link URL serves different representations depending on the Accept header. A consumer's phone browser sends text/html and lands on a passport web page. A downstream system asks for application/ld+json and gets a typed JSON-LD record. RDF tooling asks for text/turtle. All of this is plain HTTP content negotiation, with nothing specific to GS1:
| Accept header | Response |
|---|---|
text/html | Consumer-facing passport page |
application/ld+json | JSON-LD record |
application/json | Plain JSON |
text/turtle | RDF / Turtle |
4. linkType for facet selection
On top of Accept, the ?linkType= query parameter requests a specific facet of the passport. Per the GS1 Digital Link spec the value is the bare relation name; the compact gs1:… form only appears as keys inside the linkset JSON itself.
Our resolver derives the following relations automatically today, and a deployment can add sector-specific relations as needed.
?linkType= | What it returns |
|---|---|
pip | Product Information Page (default) |
epcis | EPCIS event history |
certificationInfo | Certificates and declarations |
safetyInfo | Safety data sheet |
recipeInfo | Composition / BOM |
serviceInfo | Service and repair |
productSustainabilityInfo | Carbon footprint, recycling |
5. Access tier (ESPR Article 9)
ESPR Article 9 defines three access tiers for DPP data, and the resolver enforces them at the request boundary:
| Tier | Who can read it | Examples |
|---|---|---|
| Public | Anyone | Product name, manufacturer, recycling instructions, headline specs |
| AuthorizedOnly | Market surveillance, customs, accredited recyclers | Test reports, compliance dossiers, detailed supply chain |
| Restricted | Named partners under agreement | Trade secrets, proprietary formulations, full BOM |
In our implementation the Authorized and Restricted tiers reuse the identity layer that gates the EPCIS REST surface: a Keycloak-issued credential, a capability token, or, where we have wired it up, a Verifiable Credential presented via OID4VP. Architecture → Wallet-agnostic Verifiable Credentials describes that layer.
Instance URIs vs vocabulary URIs
The URIs that identify a specific product and the URIs that define what a property means are two different things, and mixing them up is a common early mistake.
An instance URI such as https://id.gs1.org/01/09521234000020/21/LOG-2025-001 resolves to the record of this specific timber log. A vocabulary URI such as https://ref.openepcis.org/extensions/eu/eudr/commodityType identifies the commodityType term. The term is documented on its module page, eu/eudr, while the term URI itself serves purely as an identifier.
In a JSON-LD document the @id is an instance URI; predicates (battery:stateOfHealth, eudr:commodityType, …) expand to vocabulary URIs through the @context.
Out of scope
This page describes a working resolution mechanism that we have built and exercised. The per-sector DPP credentials and the acceptance criteria on the regulator side still depend on the underlying regulation (ESPR delegated acts, EU Central DPP Registry, sector EN standards), so the per-domain implementation pages carry the status notes for each sector.
The flow shown here is one valid design among several. Other implementations put the resolver on a brand-owned domain, answer with a redirect, gate everything behind authentication, fall back to a static page, or skip content negotiation entirely, and each of these makes its own trade-offs.
The primitives themselves (Digital Link URI, linkset, content negotiation, linkType, access tier) are sector-neutral. Per-sector work decides which fields go into the JSON-LD payload; URL resolution works the same for every sector.
Next steps
- Resolver Setup Guide: hosting options and the linkset JSON shape.
- Battery DPP Implementation, EUDR Implementation, Textile DPP, Electronics DPP: per-sector linksets and event types.
- Architecture → Wallet-agnostic Verifiable Credentials: how access-tier enforcement plugs into the OID4VC layer when a presented credential is part of the request.