{
  "id": "gs1_ai_402",
  "kind": "pattern",
  "status": "draft",
  "name": "Global Shipment Identification Number (GS1 AI 402)",
  "doc": "GS1 element string of Application Identifier (402): '402' followed by a 17-digit GSIN. GS1 format N3+N17. In the human-readable text under a barcode it is written as (402) and the value.",
  "semantic_type": "gsin",
  "is_pii": false,
  "categories": [
    "gs1",
    "shipping",
    "transport"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^402\\d{17}$",
  "examples": [
    {
      "value": "40295287650000042178",
      "description": "Synthetic value with the GS1 demonstration prefix 952",
      "valid": true
    },
    {
      "value": "40295287651000275160",
      "description": "Synthetic value with the GS1 demonstration prefix 952",
      "valid": true
    },
    {
      "value": "4029528765000004217",
      "description": "Sixteen digits",
      "valid": false
    }
  ],
  "mappings": {
    "gs1_ai": "402"
  },
  "links": [
    {
      "type": "doc",
      "url": "https://ref.gs1.org/ai/402"
    }
  ],
  "quality": {
    "score": 85,
    "missing": [
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/gs1/gs1_ai_402.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/gs1/gs1_ai_402.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/gs1/gs1_ai_402.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/gs1_ai_402",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/gs1_ai_402.json"
  }
}