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

# Global Individual Asset Identifier (GIAI) (`giai`)

> **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 identification key for one asset that a company owns or uses, such as a machine, a computer or an aircraft part. It is a GS1 Company Prefix followed by an individual asset reference, up to 30 characters of GS1 character set 82 in total; the first four characters are digits because the shortest GS1 Company Prefix has four. Application Identifier (8004) carries it, and (7023) carries the GIAI of an assembly; the element strings are the patterns gs1_ai_8004 and gs1_ai_7023.

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

## Detection

Regular expression (Python `re`):

```
^\d{4}[!%-?A-Z_a-z\x22]{0,26}$
```

## Examples

- `9528765ASSET-7781` — Synthetic value with the GS1 demonstration prefix 952 and an asset reference
- `9528765PC-0193` — Synthetic value with the GS1 demonstration prefix 952 and an asset reference
- `ASSET-7781` (invalid example) — Does not start with a GS1 Company Prefix

## Sources

- doc: <https://ref.gs1.org/ai/8004>
- doc: <https://ref.gs1.org/ai/7023>
- doc: <https://ref.gs1.org/standards/genspecs/>

## Quality

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

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