---
id: "epc_uri"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["gs1"]
langs: ["common"]
quality: 68
url: "http://registry.apicrafter.io/datatype/epc_uri"
---

# Electronic Product Code (EPC) pure identity URI (`epc_uri`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Identifier of one individual physical object in the GS1 EPC Tag Data Standard, written as a URN: urn:epc:id:<scheme>:<fields>. The scheme says which GS1 key is used, for example sgtin (a GTIN plus a serial number), sscc, sgln or grai. The fields hold the GS1 Company Prefix and the rest of the key separated by dots, without the check digit. The same identifier can be encoded in RFID tags and in barcodes.

- Parent datatype: `urn`
- Personal data (PII): no
- Categories: GS1 standards (gs1)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^urn:epc:id:[a-z]+:\S+$
```

## Examples

- `urn:epc:id:sgtin:9506000.013435.1001` — SGTIN of GS1's example GTIN 09506000134352 with serial number 1001
- `urn:epc:tag:sgtin-96:3.9506000.013435.1001` (invalid example) — Tag URI, not a pure identity URI

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Electronic_Product_Code>
- doc: <https://ref.gs1.org/standards/tds/>

## Quality

Score 68/100. Missing: second example, mapping (Wikidata, Schema.org, ...), translation, detector coverage.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/epc_uri.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/gs1/epc_uri.yaml>
