{
  "id": "gs1_ai_8017",
  "kind": "pattern",
  "status": "draft",
  "name": "GSRN of a service provider (GS1 AI 8017)",
  "doc": "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.",
  "semantic_type": "gsrn",
  "is_pii": true,
  "categories": [
    "gs1",
    "pii"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^8017\\d{18}$",
  "examples": [
    {
      "value": "8017952876500003104257",
      "description": "Synthetic value with the GS1 demonstration prefix 952",
      "valid": true
    },
    {
      "value": "8017952876510000005891",
      "description": "Synthetic value with the GS1 demonstration prefix 952",
      "valid": true
    },
    {
      "value": "801795287650000310425",
      "description": "Seventeen digits",
      "valid": false
    }
  ],
  "mappings": {
    "gs1_ai": "8017"
  },
  "links": [
    {
      "type": "doc",
      "url": "https://ref.gs1.org/ai/8017"
    }
  ],
  "quality": {
    "score": 85,
    "missing": [
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/gs1/gs1_ai_8017.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/gs1/gs1_ai_8017.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/gs1/gs1_ai_8017.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/gs1_ai_8017",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/gs1_ai_8017.json"
  }
}