{
  "id": "grai",
  "name": "Global Returnable Asset Identifier (GRAI)",
  "status": "draft",
  "doc": "GS1 identification key for a returnable asset, such as a pallet, crate, keg or gas cylinder. Thirteen digits (a GS1 Company Prefix, an asset type and a GS1 check digit) identify the asset type; an optional serial component of up to 16 characters of GS1 character set 82 identifies one asset. Application Identifier (8003) writes a filler zero before the 13 digits; the element string is the pattern gs1_ai_8003.",
  "categories": [
    {
      "id": "gs1",
      "name": "GS1 standards"
    },
    {
      "id": "objectids",
      "name": "Objects identifiers"
    },
    {
      "id": "shipping",
      "name": "Shipping and delivery"
    }
  ],
  "langs": [
    {
      "id": "common",
      "name": "Common to most languages"
    }
  ],
  "is_pii": false,
  "classification": "identifier",
  "regexp": "^\\d{13}[!%-?A-Z_a-z\\x22]{0,16}$",
  "examples": [
    {
      "value": "9528765000116",
      "description": "Synthetic value with the GS1 demonstration prefix 952: asset type only"
    },
    {
      "value": "9528765000116RT1042",
      "description": "Synthetic value with the GS1 demonstration prefix 952: asset type and serial component"
    },
    {
      "value": "952876500011",
      "valid": false,
      "description": "Twelve digits: too short"
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://ref.gs1.org/ai/8003"
    },
    {
      "type": "doc",
      "url": "https://ref.gs1.org/standards/genspecs/"
    }
  ],
  "type": "datatype",
  "translations": {},
  "patterns": [
    {
      "id": "gs1_ai_8003",
      "name": "Global Returnable Asset Identifier (GS1 AI 8003)",
      "status": "draft",
      "doc": "GS1 element string of Application Identifier (8003): '8003' followed by a filler zero, the 13 digits of a GRAI and an optional serial component. GS1 format N4+N14[+X..16]. In the human-readable text under a barcode it is written as (8003) and the value.",
      "semantic_type": "grai",
      "langs": [
        {
          "id": "common",
          "name": "Common to most languages"
        }
      ],
      "regexp": "^80030\\d{13}[!%-?A-Z_a-z\\x22]{0,16}$",
      "examples": [
        {
          "value": "800309528765000116RT1042",
          "description": "Synthetic value with the GS1 demonstration prefix 952"
        },
        {
          "value": "800309528765000116",
          "description": "Synthetic value with the GS1 demonstration prefix 952; no serial component"
        },
        {
          "value": "80039528765000116RT1042",
          "valid": false,
          "description": "Filler zero missing"
        }
      ],
      "mappings": {
        "gs1_ai": "8003"
      },
      "links": [
        {
          "type": "doc",
          "url": "https://ref.gs1.org/ai/8003"
        }
      ],
      "type": "pattern",
      "is_pii": false,
      "categories": [
        {
          "id": "gs1",
          "name": "GS1 standards"
        },
        {
          "id": "objectids",
          "name": "Objects identifiers"
        },
        {
          "id": "shipping",
          "name": "Shipping and delivery"
        }
      ],
      "classification": "identifier",
      "translations": {}
    }
  ]
}