Skip to content
DPP in practice

How to build the first textile DPP on the CIRPASS D2.1 schema: an operational tutorial

A step-by-step tutorial to build a first minimum viable textile DPP on CIRPASS D2.1: GS1 identifier, mandatory JRC 145830 datapoints, JSON-LD structure, nested W3C VC 2.0 and verification.

ByRafael Rodríguez · Founder & CEO
Published
Reading time11 min read

TL;DR: The essentials

  • The CIRPASS D2.1 schema published in 2024 establishes the technical basis of the European DPP. The ESPR textile delegated act will be built on this basis.
  • A tutorial in 7 operational steps: unique GS1 Digital Link identifier, mandatory JRC 145830 datapoints, voluntary differentiators, JSON-LD structure, W3C VC 2.0 signature, public HTTPS endpoint, coherence verification.
  • Minimum stack to understand the model: a JSON editor + Git + an HTTPS endpoint. In production at catalogue scale, that manual setup does not absorb the delegated act; there, an ESPR-native platform generates the DPP on the canonical schema without rebuilding it. Recommended granularity: batch level, balancing precision/feasibility.
  • Canonical JSON-LD snippet included with @context CIRPASS + fibre composition + NUTS2 location + ISO 3758 care + did:web signature.
Key figures
Cifra 1 de 4:
D2.1
CIRPASS D2.1 · CANONICAL DPP SCHEMA
Version of the CIRPASS schema published in 2024 that establishes the technical basis of the European Digital Product Passport: JSON-LD structure, unique identifier, verifiable datapoints.
Cifra 2 de 4:
7 pasos
Operational stages of the tutorial: define the unique identifier, map the mandatory datapoints, voluntary datapoints, JSON-LD structure, nest W3C VC 2.0, configure the public endpoint, verify JRC 145830 coherence.
JRC 145830 + CIRPASS D2.1 + W3C VC 2.0 (operational synthesis)
Cifra 3 de 4:
JRC 145830
Reference methodological document of the Joint Research Centre that dimensions the technical datapoints of the textile DPP. It defines the matrix of static vs dynamic information (Life-cycle Log).
Cifra 4 de 4:
W3C VC 2.0
W3C standard of Verifiable Credentials 2.0 that allows the DPP datapoints to be cryptographically signed, guaranteeing the integrity and identity of the issuer (brand, certifier, Tier 1-N supplier).
Subscribe

Before you keep reading, each month in your inbox

If you want to receive the next editorial analysis straight to your inbox, this is the list. One email a month, no promotions.

One a month. Unsubscribe in one click. Privacy policy.

Section

The scope of the tutorial: what is built and what is not

Building an operational Digital Product Passport requires separating regulatory conceptualisation from pure code implementation. This manual documents the construction of a minimum viable DPP. The objective lies in obtaining a machine-readable passport that complies with the semantic specifications of the regulatory framework, without requiring the immediate deployment of an enterprise-grade decentralised architecture. We will not address deep integration with legacy ERP systems nor the configuration of complex IDSA connectors. The priority falls on structuring the underlying data model precisely.

The minimum stack to understand the model is reduced to three components: a code editor to compose the JSON-LD structure, a Git version-control system to trace the modifications of the document, and a public HTTPS endpoint that serves the passport to external requests. This didactic setup isolates the challenge of semantic interoperability from that of distributed hosting, and makes it clear what an ESPR-native platform automates when you move from a demonstration passport to an entire catalogue signed and maintained over time.

The workflow is structured into seven methodological steps derived from the convergence between the CIRPASS D2.1 architecture and the JRC 145830 methodology. The first step requires consolidating the identification of the product at a global level. The second and third steps require classifying the datapoints according to their legal obligatoriness. The fourth step demands the serialisation of the knowledge in graph format. The fifth and sixth steps address the cryptographic encapsulation under the W3C Verifiable Credentials 2.0 standard and its web exposure. The seventh step establishes the final validation of the whole.

Addressing the construction of this minimum viable model reveals the real costs of standardisation. The curation of data from heterogeneous sources consumes the bulk of engineering resources. The digitalisation of the textile supply chain obliges one to interpret fragmented regulations in order to consolidate them into a single coherent digital object.

Section

Step 1 — Define the unique product identifier

The cornerstone of the DPP system lies in the unique product identifier. Article 9 of the ESPR Regulation requires the presence of a persistent identifier that links the physical good with its digital representation. The operational recommendation is to implement the GS1 Digital Link format. This standard allows the traditional Global Trade Identification Number to be transformed into a URI resolvable through standard HTTP protocols. Encoding the product identity through this format guarantees native interoperability with the current infrastructure of commercial scanners.

Defining the granularity of the identifier requires a rigorous technical evaluation. The JRC 145830 methodological framework contemplates resolutions at model level, batch level and individual-item level. For a first operational deployment in the textile sector, batch-level granularity offers the optimal balance between documentary precision and technical feasibility. Assigning a unique identifier per batch allows variations in the origin of raw materials to be recorded without forcing the unit serialisation of every confectioned garment.

The encoding of the URI must strictly follow the syntax defined in the RFC 3986 standard. An operational example structure would take the form `https://dpp.marca-textil.eu/01/08412345678905/10/LOTE-2026-A`. This string includes the domain of the brand’s resolver, the GS1 application identifier for the GTIN (01), the product code itself, the application identifier for the batch (10) and the alphanumeric reference of the specific batch.

Guaranteeing the persistence and non-reuse of these identifiers constitutes a design imperative. Internal systems must reject any attempt to reassign a previously minted URI to a new production cycle. The CIRPASS architecture stipulates that the links must survive even if the economic operator ceases its commercial activity. This technical requirement obliges the planning of domain delegation mechanisms or the transfer of records to long-term archives.

Tutorial · 7 steps on CIRPASS D2.1

Build the first textile DPP with the CIRPASS D2.1 schema

  1. Step 01

    Unique product identifier (GS1 Digital Link)

    Assign a unique GS1 Digital Link identifier per SKU/batch — the basis of the entire decentralised DPP architecture.

    Entregable
    GTIN + series + GS1 Digital Link identifier per product.
    Criterio de éxito
    Identifier resolvable via public URL + canonical URI declared.
  2. Step 02

    Mandatory JRC 145830 datapoints

    Map the ~35 mandatory JRC 145830 datapoints to JSON-LD fields of the CIRPASS D2.1 schema.

    Entregable
    Mapping table 35 datapoints × CIRPASS schema field.
    Criterio de éxito
    Zero datapoints without a corresponding field declared in the schema.
  3. Step 03

    Voluntary datapoints (competitive differentiation)

    Identify optional datapoints that offer competitive differentiation (reparability index, % post-consumer fibres, GOTS certifications).

    Entregable
    List of voluntary datapoints prioritised by editorial value vs capture cost.
    Criterio de éxito
    Voluntary datapoints decided with an assigned Tier owner.
  4. Step 04

    JSON-LD 1.1 structure + schema.org context

    Encode the DPP as a JSON-LD 1.1 document with schema.org context + CIRPASS D2.1 extensions + persistent URIs.

    Entregable
    JSON-LD document validated against the CIRPASS JSON Schema + parseable by RDF tools.
    Criterio de éxito
    The document validates against the JSON-LD playground + renders correctly in Google Rich Results Test.
  5. Step 05

    W3C Verifiable Credentials 2.0 for signed data

    Wrap critical datapoints (fibre composition + SVHC + geographic origin) in W3C VC 2.0 signed by the Tier 2-3 supplier.

    Entregable
    VC signed by the Tier 2 supplier with type application/vc + verifiable cryptographic key.
    Criterio de éxito
    VC independently verifiable by a third party without access to the original supplier.
  6. Step 06

    Public REST endpoint + GS1 Digital Link resolver

    Deploy a public REST endpoint with a resolvable canonical URL + GS1 Digital Link resolver that returns the complete DPP.

    Entregable
    Public DPP URL accessible via HTTP GET + content-negotiation (JSON-LD / HTML).
    Criterio de éxito
    The endpoint responds with the complete DPP with Cache-Control + ETag + Accept-Language headers.
  7. Step 07

    Final validation + initial versioning

    Validate the complete DPP against JRC 145830 + CIRPASS D2.1 + start version control for the future Life-cycle Log.

    Entregable
    DPP v1.0 published + initial commit to the Life-cycle Log + canonical URL indexed.
    Criterio de éxito
    The DPP passes automated validation + the URL appears in Google Search Console + is accessible via the gs1-resolver.
Section

Step 2 — Map mandatory JRC 145830 datapoints

The DPP data structure requires an exhaustive mapping of the European regulatory requirements. The JRC 145830 methodology establishes the obligation to classify the information needs by translating the legal texts into machine-comprehensible vocabularies. In the textile domain, Regulation 2011/1007 dictates the exact syntax for declaring fibre composition. The passport must host this data matrix reflecting the percentage by weight of all constituent fibres in descending order.

The geographic origin of the transformation stages requires standardised encoding. Provenance cannot be declared through free text. The technical recommendation imposes using the NUTS2 nomenclature for facilities within the European space and the ISO 3166-1 alpha-2 country codes for international links. The mapping must contemplate the location of the critical processes defined in the supply-chain matrix: spinning, weaving and final confection.

The identification of the economic operators that intervene in the value chain requires cryptographic precision. The ESPR Regulation requires the inclusion of unique operator and facility identifiers. For this minimum viable model, the registration of the main manufacturer must point to its legal-entity identifier (LEI) or its corporate Decentralized Identifier.

The legal-compliance block requires the inclusion of the durability parameters and the care manuals. The maintenance instructions must be mapped using the symbol encoding defined in the ISO 3758 standard. The estimated durability score in years, required by the ESPR delegated acts, requires a numeric field with its unit of measurement made explicit. Finally, the EU declaration of conformity and the evidence of CE marking must be linked through persistent URIs that point to the manufacturer’s documentary repositories.

Section

Step 3 — Voluntary datapoints of differential value

The classification of data needs of the JRC 145830 methodology contemplates the inclusion of voluntary attributes that improve circular traceability. Integrating these fields into the minimum viable model radically increases the relevance of the information exposed to the consumer and to recycling operators. Recycled content constitutes the first differential vector. The data graph must record the exact percentage of fibres originating from post-consumer recycling processes versus pre-consumer variants.

The reparability of the textile article represents another high-value node. Based on the calculation frameworks driven by the French AGEC legislation, the passport must incorporate a parameterised reparability index. This numeric field informs after-sales workshops about the technical feasibility of replacing zips or reconstructing structural seams.

The product’s carbon footprint requires rigorous semantic treatment to avoid ambiguities. The declared value has no validity unless the functional unit and the boundaries of the evaluated system are made explicit. The record must detail the kilograms of CO₂ equivalent linked specifically to the delineated life cycle.

Private certifications issued by third parties must be structured as nested verifiable credentials. Instead of attaching a simple static GOTS or OEKO-TEX standard logo, the passport must include the reference to the digital certificate issued by the auditing entity. When the certifying entity provides the information through decentralised identifiers, the final consumer obtains the cryptographic guarantee that the organic cotton or the fair labour practices have been independently evaluated.

Section

Step 4 — JSON-LD structure of the DPP

The architecture of the CIRPASS system rules that the passport operate as a knowledge graph. The standard serialisation format to build this information network is JSON-LD. This language allows heterogeneous entities to share a common semantics without depending on a centralised relational database schema. The root of the document must mandatorily declare the `@context` array. This directive links the W3C vocabularies with the regulatory ontologies specific to the textile sector.

The definition of the `type` property is critical for the validation of the document. The main object must be declared as `VerifiableCredential` and accompanied by the specific subtype that represents a European product passport. The `credentialSubject` node encapsulates the core of the textile article’s datapoints. Within this structure are nested the material-composition matrices and the supply-chain records.

The validation of the syntax requires the execution of specialised linters before deployment in production. The CIRPASS D3.2 document stresses the importance of the SHACL language (Shapes Constraint Language) to ensure that the JSON-LD graph strictly complies with the data model required by the ESPR. A failure in the hierarchy of the nodes will cause market aggregators to reject the entire passport.

Operational JSON-LD structure of the textile MVP model:

```json { "@context": [ "https://www.w3.org/ns/credentials/v2", "https://w3id.org/traceability/v1", "https://schema.org/" ], "id": "https://dpp.marca-textil.eu/01/08412345678905/10/LOTE-2026-A", "type": ["VerifiableCredential", "DigitalProductPassport"], "issuer": "did:web:marca-textil.eu", "validFrom": "2026-05-14T08:00:00Z", "credentialSubject": { "id": "urn:epc:class:lgtin:4012345.012345.LOTE-2026-A", "type": "Product", "category": "Apparel", "materialComposition": [ { "type": "TextileFiber", "name": "Recycled Polyester", "percentage": 85 }, { "type": "TextileFiber", "name": "Elastane", "percentage": 15 } ], "manufacturingLocation": { "type": "Place", "addressCountry": "PT", "nutsCode": "PT11" }, "careInstructions": "https://care.marca-textil.eu/iso3758/wash-30" } } ```

Section

Steps 5-6 — Nest Verifiable Credentials 2.0 and configure the public endpoint

The transformation of the JSON-LD document into a legally auditable passport requires its cryptographic encapsulation under the W3C Verifiable Credentials Data Model 2.0 specification. The issuance process requires injecting a `proof` object into the root of the document. This signature block guarantees the integrity of the content against third-party alterations. The implementation of an embedded proof of type `DataIntegrityProof` ensures that the history of modifications is exposed to any algorithmic scrutiny.

The economic operator assumes the role of `issuer` and must use its own public-key infrastructure to seal the passport. The corporate identity is established through a Decentralized Identifier, preferably using the `did:web` method for the minimum viable environment. This method allows the decentralised-identity document to be hosted directly on the manufacturer’s official DNS domain. The cryptographic process calculates the hash of the normalised JSON-LD graph and applies the digital signature using the organisation’s private key.

The deployment of the public HTTPS endpoint materialises access to the passport. The web server must be configured to intercept the requests directed to the resolution URI specified on the physical label. This service does not operate as a simple static-file server. It must behave as a basic resolver capable of negotiating the response format through the HTTP headers. If the `Accept` header requests `application/vc` or `application/ld+json`, the server must serve the raw signed document.

Configuring the security headers of this endpoint prevents attack vectors on the data supply chain. The server must issue strict Content-Security-Policy directives and disable aggressive caching that could serve obsolete passports in product-recall contexts.

Section

Step 7 — JRC 145830 coherence verification and operational closure

The final stage of the deployment requires executing the technical validation stipulated in step D of the JRC 145830 methodology. This internal audit verifies that the proposed data structure functionally covers the regulatory use cases without generating unacceptable technical friction. The implementation team must review a checklist of sixteen critical items. The first block of this review guarantees the uninterrupted accessibility of the URIs referenced in the fields of use manuals and external certificates. A broken link within the passport invalidates the conformity assessment of the entire technical file.

Syntax errors in the processing of Linked Data paralyse the data-ingestion systems. The most destructive error in the testing phase occurs when the `@context` array omits the mapping of key terms, transforming the fibre percentages into text strings devoid of semantic meaning. Another common vulnerability lies in the temporal asymmetry of the cryptographic object. Setting an issuance date in the `validFrom` field later than the date of the digital signature triggers validation failures in the cryptographic libraries of customs inspectors.

Scaling this minimum viable model towards an enterprise infrastructure requires addressing automated data ingestion. The static passport drafted by hand serves to validate the resolution architecture, but mass production demands integration with the manufacturer’s ERP and PLM systems.

All of the above is the model worth mastering. Executing it at catalogue scale — with the CIRPASS D2.1 schema already loaded, the datapoints composed automatically and template contractual clauses for Tier 1-N suppliers — is precisely what [DPP](/recursos/glosario/dpp) Readiness, the TraceWeave module, does: the right way to move from the first DPP to a complete collection, ready to absorb the 2027 delegated act without rewriting anything. → Discover DPP Readiness

Frequently asked questions

Cited sources

  1. CIRPASS Project7 jul 2023Technical document
  2. CIRPASS Project2024Technical document
  3. Joint Research Centre19 mar 2026Methodological document
  4. World Wide Web Consortium2024Technical standard
  5. GS12024Technical standard
  6. Official Journal of the European Union28 jun 2024Regulation in force
  7. Official Journal of the European Union27 sep 2011Regulation in force
  8. European Parliamentary Research Service2024Parliamentary study
Share this analysis

Analyses like this, each month in your inbox

One email a month with the new editorial analyses on European textile regulation, DPP in practice, multi-tier traceability and the market. No promotions, no repackaged headlines.

One a month. Unsubscribe in one click. Privacy policy.

Keep reading
View all
DPP practice

Digital Product Passport for textiles under ESPR: framework, timeline and required data

The ESPR textile delegated act requires verifiable data from material suppliers (Tier 2-3) within the 18-month grace period. A DPP only complies if it captures that data at source — precisely what an ESPR-native platform orchestrates.

11 may 20268 min
DPP practice

How to map Tier 2-3 of your textile chain: a 6-phase protocol to reach the DPP with verifiable data

Mapping Tier 2-3 is not an IT project. It is a contractual and documentary protocol executable in 6 phases. A step-by-step technical tutorial to reach the DPP with verifiable data.

09 abr 20267 min
Regulation

Regulation (EU) 2026/2: the unsold-goods disclosure format that applies before the textile DPP

Regulation (EU) 2026/2: the disclosure format for unsold textiles applies from 19 July 2026 for large companies. It arrives before the textile DPP under ESPR.

15 may 20265 min