{
  "id": "gdti",
  "name": "Global Document Type Identifier (GDTI)",
  "status": "draft",
  "doc": "GS1 identification key for a type of document, such as a certificate, an invoice form or a permit. Thirteen digits (a GS1 Company Prefix, a document type and a GS1 check digit) may be followed by a serial component of up to 17 characters of GS1 character set 82 that identifies one document of that type. In barcodes it is carried by Application Identifier (253); the element string is the pattern gs1_ai_253.",
  "categories": [
    {
      "id": "gs1",
      "name": "GS1 standards"
    },
    {
      "id": "objectids",
      "name": "Objects identifiers"
    }
  ],
  "langs": [
    {
      "id": "common",
      "name": "Common to most languages"
    }
  ],
  "is_pii": false,
  "classification": "identifier",
  "regexp": "^\\d{13}[!%-?A-Z_a-z\\x22]{0,17}$",
  "examples": [
    {
      "value": "9528765000420",
      "description": "Synthetic value with the GS1 demonstration prefix 952: document type only, GS1 check digit in position 13"
    },
    {
      "value": "9528765000420CERT2026-15",
      "description": "Synthetic value with the GS1 demonstration prefix 952: document type and serial component"
    },
    {
      "value": "952876500042",
      "valid": false,
      "description": "Twelve digits: too short"
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://ref.gs1.org/ai/253"
    },
    {
      "type": "doc",
      "url": "https://ref.gs1.org/standards/genspecs/"
    }
  ],
  "type": "datatype",
  "translations": {},
  "patterns": [
    {
      "id": "gs1_ai_253",
      "name": "Global Document Type Identifier (GS1 AI 253)",
      "status": "draft",
      "doc": "GS1 element string of Application Identifier (253): '253' followed by a GDTI: 13 digits and an optional serial component. GS1 format N3+N13[+X..17]. In the human-readable text under a barcode it is written as (253) and the value.",
      "semantic_type": "gdti",
      "langs": [
        {
          "id": "common",
          "name": "Common to most languages"
        }
      ],
      "regexp": "^253\\d{13}[!%-?A-Z_a-z\\x22]{0,17}$",
      "examples": [
        {
          "value": "2539528765000420CERT2026-15",
          "description": "Synthetic value with the GS1 demonstration prefix 952"
        },
        {
          "value": "2539528765000420",
          "description": "Synthetic value with the GS1 demonstration prefix 952; no serial component"
        },
        {
          "value": "253952876500042",
          "valid": false,
          "description": "GDTI too short"
        }
      ],
      "mappings": {
        "gs1_ai": "253"
      },
      "links": [
        {
          "type": "doc",
          "url": "https://ref.gs1.org/ai/253"
        }
      ],
      "type": "pattern",
      "is_pii": false,
      "categories": [
        {
          "id": "gs1",
          "name": "GS1 standards"
        },
        {
          "id": "objectids",
          "name": "Objects identifiers"
        }
      ],
      "classification": "identifier",
      "translations": {}
    }
  ]
}