---
id: "gs1_ai_8017"
kind: "pattern"
status: "draft"
is_pii: true
categories: ["gs1", "pii"]
langs: ["common"]
quality: 85
url: "http://registry.apicrafter.io/datatype/gs1_ai_8017"
---

# GSRN of a service provider (GS1 AI 8017) (`gs1_ai_8017`)

> **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 (8017): '8017' followed by the 18-digit GSRN that identifies the relationship between an organisation offering services and the provider of the services. GS1 format N4+N18. In the human-readable text under a barcode it is written as (8017) and the value.

- Pattern of: `gsrn`
- Personal data (PII): yes
- Categories: GS1 standards (gs1), Personally identifiable information (pii)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^8017\d{18}$
```

## Examples

- `8017952876500003104257` — Synthetic value with the GS1 demonstration prefix 952
- `8017952876510000005891` — Synthetic value with the GS1 demonstration prefix 952
- `801795287650000310425` (invalid example) — Seventeen digits

## Mappings

- gs1_ai: `8017`

## Sources

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

## Quality

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

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