---
id: "gtin02"
kind: "datatype"
status: "stable"
is_pii: false
categories: ["industry", "objectids", "gs1"]
langs: ["common"]
quality: 85
url: "http://registry.apicrafter.io/datatype/gtin02"
---

# Global Trade Item Number (GTIN) of contained trade items (`gtin02`)

GTIN of the trade items contained in a logistic unit, written as a GS1 element string with Application Identifier (02): '02' followed by 14 digits. Used together with the SSCC of the unit.

- Personal data (PII): no
- Categories: Industry (industry), Objects identifiers (objectids), GS1 standards (gs1)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^02(\d{14})$
```

## Examples

- `0209506000134352` — GS1's example GTIN 09506000134352 as the contained item
- `0209528765000123` — Synthetic value with the GS1 demonstration prefix 952
- `020950600013435` (invalid example) — Thirteen-digit GTIN

## Mappings

- gs1_ai: `02`

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Global_Trade_Item_Number>
- other: <https://www.gs1.org/standards/barcodes/application-identifiers/02>

## Quality

Score 85/100. Missing: translation, detector coverage.

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