The Digital Twin Vision
How GS1 identifiers, EPCIS events, verifiable credentials and UNTP fit together into one infrastructure for product identity, and why the event history is what every kind of digital twin, from the regulatory passport to the predictive model, depends on.
Beyond the product label
When someone scans the QR code on a product, they see a page: materials, origin, perhaps a carbon footprint. Whether they can trust that page depends on infrastructure they never see, and that infrastructure rests on three questions.
| Question | What answers it | Technology |
|---|---|---|
| What is this, and who is behind it? | Identification | GS1 identifiers and GS1 Digital Link, DIDs for organisations and issuers |
| Which claims about it can be checked? | Credentials | Verifiable Credentials, trust lists |
| What has happened to it? | Events | EPCIS 2.0 |
This page explains how these pieces fit together, why we see EPCIS as the layer that ties them to the physical world, and what that means for the many things people call a digital twin.
Where EPCIS came from
From barcodes to item-level identity
Barcodes changed retail from the 1970s on, but they identify a product type. Every can of soup with the same barcode looks like every other can. RFID promised more in the 1990s: each item could carry its own identifier, which opened the door to item-level inventory, anti-counterfeiting and automated logistics. It also produced a new problem. Every RFID system recorded its reads in its own format, so a read at a manufacturer's warehouse could not be combined with a read at a retailer's distribution centre, and the question of what had actually happened to a product stayed unanswered whenever the identification technology changed.
MIT Auto-ID Center (1999 to 2003)
The Auto-ID Center was founded at MIT in 1999 to close that gap, together with partner universities and dozens of sponsors from retail, consumer goods and logistics. Its central insight was that RFID needs a common language for describing events, independent of the hardware and the radio protocol that produced them.
| Year | Development |
|---|---|
| 1999 | MIT Auto-ID Center founded (RFID focus) |
| 2003 | Auto-ID Center work transitioned to EPCglobal, a joint venture of EAN International and the Uniform Code Council (which merged in 2005 to form GS1) |
| ~2007 | EPCIS 1.0 ratified as a GS1 EPCglobal standard, building on (and ultimately superseding) the earlier Physical Markup Language (PML) work |
| 2014 | EPCIS 1.1 |
| 2016 | EPCIS 1.2 |
| 2022 | EPCIS 2.0: JSON-LD, sensor data, Web URIs |
Independent of the data carrier
EPCIS was designed from the start to describe events independently of how an object was identified. RFID made the need obvious, yet companies working with barcodes saw the same value, and today many EPCIS deployments run on barcodes alone or on barcodes combined with RFID. The same event model serves barcodes, RFID, QR codes, NFC and IoT sensors, and EPCIS 2.0 carried that idea forward to GS1 Digital Link and 2D codes.
RFID adoption keeps growing, driven by retailer mandates for item-level tagging, by inventory and anti-shrinkage programmes and by battery-free sensor tags that report temperature and humidity on every read. Each new generation of carriers and sensors lands in the same event model, which is exactly what a standard for events has to achieve.
2D codes
RFID is strong in logistics and warehouses, and 2D codes are what connects a product to the people who use it.
| Context | Preferred technology | Reason |
|---|---|---|
| Warehouse dock door | RFID | High-speed bulk scanning, no line of sight needed |
| Retail inventory | RFID | Rapid store-wide inventory counts |
| Consumer access | QR Code | Universal smartphone scanning |
| Small components | DataMatrix | Fits on PCBs, medical devices, tiny parts |
| Authentication tap | NFC | Quick, intuitive user experience |
Both 2D symbologies can carry a GS1 Digital Link URI. The QR code is what every smartphone camera reads, so it suits packaging, retail displays and passports aimed at consumers. DataMatrix needs less space and is the usual choice for small electronic components, pharmaceutical vials, medical devices and PCB marking, typically read with industrial scanners. Whichever is printed, both resolve to the same product information.
| Feature | QR Code | DataMatrix |
|---|---|---|
| Capacity | Up to 4,296 alphanumeric | Up to 2,335 alphanumeric |
| Error correction | Up to 30% recovery | Up to 25% recovery |
| Minimum size | ~21x21 modules | ~10x10 modules |
| Primary scanner | Any smartphone camera | Industrial scanners preferred |
| Primary use | Consumer-facing, marketing | Industrial, healthcare, small parts |
| GS1 standard | GS1 QR Code | GS1 DataMatrix |
One carrier, one URI
Whatever the carrier, it leads to one GS1 Digital Link URI, and EPCIS records what happened to the object behind it. That is why an event model defined in 2007 with RFID in mind handles 2D codes, NFC and IoT sensors without any change to its architecture.
Industry 4.0 and decentralised trust
Two movements that started far apart now need the same infrastructure.
Industry 4.0 stands for cyber-physical production: sensors on the line that report in real time, products with digital identities, digital twins kept in step with the physical asset, and maintenance planned from sensor data. EPCIS 2.0 added the "how" dimension for exactly this, so temperature, humidity, location and other readings become part of the event that records what happened.
Decentralised trust, often grouped under the label Web 3.0, brings decentralised identifiers, verifiable credentials and selective disclosure: a verifier can check a claim cryptographically without having to trust the system that delivered it, and the holder decides which parts of a claim to reveal. EPCIS 2.0 with its JSON-LD format and Web URIs fits that world naturally, because its events are linked data that can be signed like any other credential.
A short example shows how the two meet. An RFID tag on a component is read on the line and produces an EPCIS event, the event updates the component's digital twin, a passed quality test is issued as a verifiable credential, and a buyer further down the chain scans the QR code and sees what their authorisation allows.
UN Transparency Protocol (UNTP)
UN/CEFACT, the United Nations Centre for Trade Facilitation and Electronic Business, has written standards for international trade for decades. The UN Transparency Protocol is its approach to supply chain transparency: interoperable credentials that travel across borders and carry verifiable claims about origin, materials and environmental impact, with a shared vocabulary for product footprint data, independent of the underlying technology.
UNTP describes a product's story as a set of linked credentials: the product passport, conformity credentials from testing and certification bodies, records of facilities, identity anchors for the parties, and traceability events for what happened along the chain. The traceability events follow the EPCIS event model, so a chain recorded in EPCIS translates into UNTP without remodelling.
On the vocabulary side, OpenEPCIS declares equivalences between its passport terms and UNTP's:
| OpenEPCIS property | UNTP equivalent | Description |
|---|---|---|
dpp:carbonFootprintTotal | untp:carbonFootprint | Total emissions (kg CO2e) |
dpp:recycledContent | untp:recycledContent | Recycled material fraction |
dpp:recyclableContent | untp:recyclableContent | Recyclable fraction |
dpp:verifiedRatio | untp:verifiedRatio | Supply chain verification |
These mappings are owl:equivalentProperty declarations, so data moves between the two vocabularies without losing its meaning. The Interoperability Guide has the complete list.
Decentralized Identifiers (DIDs)
Most identifiers we use depend on someone who runs a registry: domain names on DNS, product numbers on GS1 membership, user accounts on a platform operator. For product numbers that is a strength, because a GTIN is meaningful precisely because GS1 guarantees it is unique. For the question of who signed a claim, a central registry is a single point of failure and a permission every participant has to ask for.
A DID is a URI that resolves to a DID document listing the keys and services of its subject:
did:method:identifier
│ │ │
│ │ └── Unique identifier within the method
│ └── DID method (defines resolution mechanism)
└── DID scheme
With the did:web method, did:web:example.com resolves to a document published at https://example.com/.well-known/did.json, so anyone who controls a domain can have an identity that others can check, using nothing but HTTPS.
We use DIDs where they add something and GS1 identifiers everywhere else. Products keep their GS1 identity, the GTIN with lot or serial number under a GS1 Digital Link, because that is what is printed on the goods and what every scanner and trading partner already understands. Organisations and credential issuers get DIDs: on epc.is the issuer signs as did:web:id.epc.is, on the same host as the Digital Link resolver, in the way GS1 itself publishes did:web:id.gs1.org, and organisations appear as did:web:id.epc.is:org:<GLN>. A signature on a passport or an EPCIS event therefore names a party that anyone can resolve and check.
Verifiable Credentials (VCs)
Verifiable Credentials make claims about products and organisations checkable by anyone who receives them.
The model has three roles. The issuer creates and signs the credential, the holder keeps it and presents it when needed, and the verifier checks the signature and whether the issuer is entitled to make that claim. Because the proof travels with the credential, a claim keeps its evidence as it moves between systems: a forged credential fails without the issuer's key, a revoked one shows up in the issuer's status list, and the timestamp and signature form a record that cannot be changed afterwards.
In supply chains three kinds of credentials matter most. Conformity credentials carry lab results, certifications such as ISO, organic or fair trade, and regulatory attestations. Traceability credentials are EPCIS events signed as credentials, so that a chain of custody or a transformation record carries the signature of the party that reported it. And the digital product passport itself can be issued as a credential that combines product identity, sustainability data and references to the supply chain history, issued by the manufacturer and verifiable by anyone. Signed passports describes how OpenEPCIS issues them.
Selective disclosure
Transparency and confidentiality pull in opposite directions, and much of the reluctance to share supply chain data comes from treating sharing as all or nothing. A consumer wants to know whether a product is sustainable, and the manufacturer is happy to show the headline claim but has no reason to name its suppliers. Customs needs origin and certification, and the importer would rather keep tier-2 suppliers and contract terms out of the customs file. A recycler needs the full material composition to process a product safely, and the brand wants to keep its recipe and tooling to itself.
Selective disclosure lets the same source answer each of them differently:
| Requestor | What they need | What they get | What stays private |
|---|---|---|---|
| Consumer | Sustainability claim | Overall rating, recyclability symbol | Tier-2 supplier names, internal cost data |
| Competitor | Compliance check | Basic conformity status | Material sources, manufacturing recipes |
| Customs | Origin + certification | Country of origin, EUIS reference, certifications | Tier-2 supplier identities, contract details |
| Authorized auditor | Full compliance evidence | Complete data | Nothing (authorized, no redaction) |
| Recycler | Material composition | Detailed materials and hazards | Manufacturing process specifics |
There are several ways to build this. Signature schemes such as BBS+ let a holder reveal individual claims from a signed credential while the signature still verifies. Zero-knowledge proofs go further and prove a property of a value, for example a carbon footprint below 50 kg CO2e, without revealing the value. Selective-disclosure JWTs (SD-JWT) and credentials issued per access tier are the forms in practical use today; OpenEPCIS issues the battery passport as one signed credential per access tier, each verifiable on its own.
Most discussions about passports are about which data to share. For companies the harder question is how to share different data with different parties from one source, and selective disclosure is the answer to it: the same QR code shows each party what its role allows, a stronger credential unlocks more, and compliance can be proven without exposing how it was achieved.
The digital twin continuum
Few terms are used as loosely as "digital twin", and the people who use it often mean quite different things. It helps to look at who is speaking.
| View | What the twin is | How it is updated | Typical use |
|---|---|---|---|
| Product information | Specifications of a product type | Rarely, by hand | Catalogues, retail |
| Digital product passport | The record of one item across its life | At lifecycle events | Regulation, circularity |
| Engineering twin (e.g. the Asset Administration Shell) | A standardised description of an asset and its properties | When the asset or its data changes | Engineering, operation, service |
| Simulation twin | A physical model that behaves like the real thing | Calibrated against measurements | Design, virtual commissioning |
| Predictive twin | A learned model that estimates the state and the future of an item | Continuously, from data | Maintenance, quality, planning |
A digital product passport is the regulatory member of this family. The ESPR prescribes it, it focuses on sustainability and circularity, it is reached through a data carrier on the product, and it grows at defined points in the product's life. The engineering twin of Industrie 4.0, standardised as the Asset Administration Shell, describes what an asset is and what it can do in submodels that every tool understands; we read it as a source through the AAS connector.
The view from machine learning
Anyone who has built prediction models for products or machines tends to see the twin differently. For them a predictive twin is a model that has learned from the histories of many similar objects and applies what it learned to one of them: when a bearing will fail, how a battery ages under the loads it has seen, how long a lot of fresh produce will keep after the temperatures it went through, which production lot is likely to cause complaints. The individual twin is the model's estimate for a single item, and its quality depends on how well that item's history is known.
From that angle the hard part is usually the data the model learns from, and three things decide whether it is usable. The records about one item have to be joinable, which needs identifiers that stay the same across every company that handles the item. Each record needs its context, because a temperature reading means little without knowing where the item was, in which process step and in what state. And the outcomes the model is supposed to predict, a failure, a return, a recall, a rejected lot, have to be recorded in the same way as everything that led up to them, or there is nothing to learn from.
An EPCIS history meets these conditions by design. Every event names its objects with GS1 identifiers, states when, where and why it happened in the Core Business Vocabulary, and carries sensor readings in its "how" dimension, and returns, recalls and destructions are events too. A repository of such events is, in effect, a training set that companies along the chain build together without having planned one. It also draws a useful line: EPCIS records what was observed, while a prediction belongs to the model that made it. Keeping the two apart means a model can be retrained or replaced at any time without anyone having to wonder which entries in the record were facts and which were estimates.
One need behind many names
Regulators speak of digital product passports, manufacturers of digital twins, IT vendors of connected products and sustainability teams of product footprints. All of them need a digital representation of a physical product that can be reached, extended and checked throughout its life, and all of them, from the passport to the predictive model, depend on knowing what happened to it. OpenEPCIS provides that event history across the whole range.
EPCIS as event glue
Without a shared event model, every source of data needs its own handling: RFID reads arrive in a reader-specific format, QR scans in another, sensor data lives in an IoT platform of its own, and each connection between systems is a custom integration that has to be rebuilt when a new technology arrives. With EPCIS, all of them produce the same kind of event behind a standard capture and query interface, and a new carrier or sensor plugs into what already exists.
Every EPCIS event answers five questions. What names the objects with their identifiers (GTIN, SGTIN, SSCC). When is the time with its time zone. Where is the read point and business location (GLN, geo-coordinates). Why is the business step and disposition. How, added in EPCIS 2.0, carries the sensor data: temperature, humidity and whatever else the hardware reports, attached to the event at the moment it happens. That covers cold-chain monitoring with a reading on every receipt, condition tracking across the chain, battery-free sensor tags that report on every read and quality data captured where it arises.
| Scenario | Data carrier | EPCIS event |
|---|---|---|
| RFID at warehouse door | RFID tag | ObjectEvent: bizStep=receiving, readPoint=dock-door-1 |
| QR scan by consumer | QR code | Query for product history via EPCIS repository |
| NFC tap at store | NFC tag | AssociationEvent: linking product to customer |
| IoT temperature alert | BLE sensor | ObjectEvent: sensorElement with temperature deviation |
| Future wearable scan | AR glasses | Same EPCIS infrastructure, new carrier |
EPCIS records what happened, when, where, why and under which conditions, whatever technology identified the object, and that is why it scales from a retailer working only with barcodes to a warehouse full of RFID gates and a factory full of sensors.
The complete stack
Taken together, the layers give interoperability through GS1 standards and the alignment with UNTP, trust through credentials whose proofs anyone can check, privacy through selective disclosure, durability because new carriers feed the same event model, and access control that matches how companies actually share data.
OpenEPCIS position
OpenEPCIS provides the event layer of this stack and builds the layers around it on GS1 from the ground up.
| Characteristic | OpenEPCIS approach |
|---|---|
| Foundation | GS1 Web Vocabulary, EPCIS 2.0 standard |
| Identifiers | GS1 Digital Link, reusing the GS1 numbers members already hold |
| Format | JSON-LD for semantic interoperability |
| VC / DID | A did:web issuer per environment (did:web:id.epc.is on epc.is) signs passports, event attestations and organisation identity anchors with Data Integrity and VC-JOSE, with status lists, a signed trusted issuer list, sealed audit checkpoints, a public verifier and OID4VCI issuance. OID4VP presentation with an access receipt is released. See Signed Passports for the current status of each part. |
| UNTP aligned | A dozen property and three class equivalences via owl:equivalentProperty / owl:equivalentClass |
| Open | Apache 2.0, no vendor lock-in, self-hostable |
The core tools are the EPCIS repository and its API, format conversion between XML and JSON-LD, the event hash generator and the test data generator. The passport vocabularies cover batteries (EU Battery Regulation 2023/1542), textiles (EU Strategy for Sustainable and Circular Textiles), the EU Deforestation Regulation 2023/1115 and electronics with repairability, WEEE and energy efficiency.
Where the stack stands today
The identity layer with GS1 identifiers and Digital Link, the event layer with EPCIS 2.0 and the credential layer are in place. What is still ahead is the bridge that issues a credential at the moment an event is captured or a record is saved, compatibility with UNTP Digital Conformity Credentials, and trust roots beyond the platform's own signed issuer list and the GS1 licence chain.
We built in this order on purpose. Identity and events are settled against GS1, credentials travel over an open protocol that works with any wallet (OpenID for Verifiable Credentials), and the named credential types on top are then a matter of schemas and pipelines that need no change to the architecture underneath.
Resources
Standards and specifications
Core standards:
- GS1 EPCIS 2.0 Standard: event model specification
- GS1 Digital Link: product identification and resolution
- W3C Verifiable Credentials Data Model: credential structure
- W3C Decentralized Identifiers (DIDs): DID specification
Trade standards:
- UN Transparency Protocol (UNTP): UN/CEFACT supply chain transparency (moved to GitLab; the old GitHub repository is archived)
- ISO/IEC 19987: EPCIS standard (ISO version)
- ISO/IEC 19988: Core Business Vocabulary (ISO version)
OpenEPCIS documentation
- EPCIS 2.0 Guide: event model and dimensions
- Digital Product Passport: DPP implementation
- Interoperability Guide: UNTP and standards alignment
- DPP Resolution Flow: how a QR scan leads to passport data
- The AAS connector: Asset Administration Shells as a source
External resources
Industry context:
- MIT Auto-ID Center history: origins of EPCIS
- GS1 EPCIS resources: implementation guides
- RFID market analysis: market data
Emerging technologies:
- BBS+ Signatures: selective disclosure cryptography
- did:web Method Specification: web-based DIDs