{
  "page": "gtin",
  "name": "GTIN — Global Trade Item Number",
  "address": "https://barcoding.dev/schemes/gtin",
  "scheme": "gs1.gtin",
  "reference": {
    "grammar": "8, 12, 13 or 14 digits (GTIN-8/12/13/14); the final digit is the check digit. Four lengths, one identity: canonicalization zero-pads to the 14-digit form.",
    "check": "GS1 GenSpecs mod-10, right-anchored — alternating 3/1 weights from the rightmost data digit; the check digit makes the weighted sum a multiple of ten.",
    "canonical": "The 14-digit zero-padded form. GTIN + serial derives urn:epc:id:sgtin; GTIN + lot derives urn:epc:class:lgtin.",
    "symbologies": "UPC-A · EAN-8 · EAN-13 · ITF-14 · GS1-128 (AI 01) · GS1 DataMatrix / QR via element string or Digital Link URI",
    "enrichment": "food: USDA FoodData Central (CC0, public-domain) · Open Facts family (ODbL, segregated share-alike layer)",
    "join": "epcList (serialized) or quantityList (lot/class grain) of an EPCIS 2.0 ObjectEvent — the AI map decides the grain."
  },
  "registry": {
    "gs1.gtin": {
      "scheme": "gs1.gtin",
      "title": "GTIN — Global Trade Item Number",
      "grammar": "^\\d{8}$|^\\d{12}$|^\\d{13}$|^\\d{14}$",
      "check": {
        "algorithm": "mod10",
        "label": "mod10 pass",
        "source": "GS1 GenSpecs 26.0 §7.9",
        "vectors": [
          {
            "value": "09506000134352",
            "valid": true
          },
          {
            "value": "4006381333931",
            "valid": true
          },
          {
            "value": "00340030011417",
            "valid": true
          },
          {
            "value": "10950600013436",
            "valid": true
          },
          {
            "value": "96385074",
            "valid": true
          },
          {
            "value": "036000291452",
            "valid": true
          },
          {
            "value": "4006381333932",
            "valid": false
          }
        ]
      },
      "canonical": "GTIN-14: zero-pad to 14 digits",
      "segments": [
        {
          "name": "indicator / number system",
          "note": "GTIN-14 indicator digit or UPC number system"
        },
        {
          "name": "company prefix",
          "note": "length varies — GS1 assigns it; split from the pinned prefix table (P0-15)",
          "declared": true
        },
        {
          "name": "item reference",
          "note": "the brand's own item number",
          "declared": true
        },
        {
          "name": "check",
          "philosophy": "this character exists only to certify the others",
          "color": "green"
        }
      ],
      "symbologies": [
        "ean13",
        "upca",
        "itf14",
        "gs1-128",
        "gs1datamatrix",
        "qrcode"
      ],
      "generate": {
        "emits": [
          "ean13",
          "upca",
          "itf14",
          "gs1-128",
          "gs1datamatrix",
          "qrcode"
        ]
      },
      "policy": {},
      "handoff": "read here · resolved by id.org.ai",
      "address": "/01/{gtin14}",
      "digest": "sha256:e426d368687d9a244454dc4198fcb210ce9aaa134603fa99fb5ae4fb9ebc9cd6",
      "digest_source": "engine/pins/PINS.json — pin verified against the artifact this build consumed"
    }
  },
  "resolution_stance": "barcoding.dev detects, parses, verifies, enriches and generates — the codec and the data layer. Resolution — an identifier answered with identity and its linkset of live doors — is ONE capability family-wide, served by the family's identity layer, id.org.ai; vertical estates project the same one capability (vehicles: auto.dev). This registry row is the data that resolution consumes.",
  "posts": [
    "https://barcoding.dev/blog/gtin-four-lengths-one-identity/",
    "https://barcoding.dev/blog/the-upc-is-a-checkout-token/",
    "https://barcoding.dev/blog/isbn-is-a-gtin/",
    "https://barcoding.dev/blog/ndc-no-check-digit/",
    "https://barcoding.dev/blog/bridge-sku-to-gtin/"
  ],
  "faces": {
    "html": "https://barcoding.dev/schemes/gtin/",
    "json": "https://barcoding.dev/schemes/gtin.json",
    "markdown": "https://barcoding.dev/schemes/gtin.md"
  }
}
