Templates

Get the full regulatory schema for one DPP category.

Returns the full field schema for one DPP category — every field with its key, label, data type, whether it is required, access level (public / restricted / authority), enum options, validation bounds, and (where known) the regulation article / annex that mandates it. This is the "what does a compliant battery / textile / … passport actually need" lookup that powers compliance-aware integrations and the MCP server's compliance-copilot prompts.

No authentication required — see the list endpoint above. Bounded by an IP rate limit (60 requests/min).

get/api/v1/templates/{category}

Request

  • Base URL: https://app.tracepass.eu
  • URL: https://app.tracepass.eu/api/v1/templates/{category}
  • Auth: none required

Path parameters

category'battery' | 'textile' | 'electronics' | 'construction' | 'steel' | 'detergents' | 'paints-coatings' | 'packaging' | 'furniture' | 'tyres' | 'jewelry' | 'toys' | 'fmcg' required

The DPP category key.

Response

The category's full field schema.

categorystring
categoryLabelstring nullable
versioninteger
fieldCountinteger
requiredFieldCountinteger

Count of fields whose category-agnostic required is true. Where a template uses per-category applicability, see requiredFieldCountByCategory for the per-category totals.

requiredFieldCountByCategoryobject nullable

Per-category required-field totals, present only for templates that use requiredBy (today: battery). Keys are the in-scope category values.

Example response

{
  "category": "battery",
  "fields": [
    {
      "key": "batteryUniqueIdentifier",
      "dataType": "string",
      "requiredBy": {
        "EV": "required",
        "LMT": "notApplicable",
        "industrial_gt_2kwh": "conditional"
      },
      "entryProperties": {
        "substanceName": {
          "type": "string",
          "required": true
        },
        "casNumber": {
          "type": "string",
          "format": "cas-number"
        },
        "massPercent": {
          "type": "number",
          "required": true
        }
      },
      "regulationRef": {
        "article": "Art. 77",
        "annex": "Annex VI",
        "instrument": "32023R1542",
        "provision": "Annex XIII 1(e)",
        "standards": [
          "EN 10204",
          "EN 10025"
        ]
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.