---
id: "gs1_ai_255"
kind: "pattern"
status: "draft"
is_pii: false
categories: ["gs1", "objectids", "ecommerce"]
langs: ["common"]
quality: 85
url: "http://registry.apicrafter.io/datatype/gs1_ai_255"
---

# Global Coupon Number (GS1 AI 255) (`gs1_ai_255`)

> **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.

GS1 element string of Application Identifier (255): '255' followed by a GCN: 13 digits and an optional numeric serial component. GS1 format N3+N13[+N..12]. In the human-readable text under a barcode it is written as (255) and the value.

- Pattern of: `gcn`
- Personal data (PII): no
- Categories: GS1 standards (gs1), Objects identifiers (objectids), E-commerce (ecommerce)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^255\d{13,25}$
```

## Examples

- `2559528765000178` — Synthetic value with the GS1 demonstration prefix 952
- `2559528765000178000781` — Synthetic value with the GS1 demonstration prefix 952; with a serial component
- `2559528765000178X1` (invalid example) — Serial component is numeric

## Mappings

- gs1_ai: `255`

## Sources

- doc: <https://ref.gs1.org/ai/255>

## Quality

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

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