{
  "id": "gtin",
  "kind": "datatype",
  "status": "stable",
  "name": "Global Trade Item Number 14",
  "doc": "Global Trade Item Number (GTIN-14) written as a GS1 element string with Application Identifier (01): '01' followed by the 14 digits of the GTIN. GS1 GTINs identify trade items and are read from barcodes.",
  "is_pii": false,
  "categories": [
    "industry",
    "objectids",
    "gs1"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^01(\\d{14})$",
  "examples": [
    {
      "value": "0109506000134352",
      "description": "GS1's example GTIN 09506000134352",
      "valid": true
    },
    {
      "value": "0109528765000123",
      "description": "Synthetic value with the GS1 demonstration prefix 952",
      "valid": true
    },
    {
      "value": "010950600013435",
      "description": "Thirteen-digit GTIN",
      "valid": false
    }
  ],
  "mappings": {
    "autotype": "gtin",
    "gs1_ai": "01"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Global_Trade_Item_Number"
    },
    {
      "type": "schema.org",
      "url": "https://schema.org/gtin14"
    },
    {
      "type": "other",
      "url": "https://www.gs1.org/standards/barcodes/application-identifiers/01"
    }
  ],
  "detected_by": {
    "tools": [
      "autotype",
      "greatexpectations",
      "metacrafter",
      "pythonstdnum"
    ],
    "metacrafter_rules": [
      {
        "rule": "gtin12value",
        "type": "data",
        "match": "ppr",
        "file": "common/gs1.yaml"
      },
      {
        "rule": "gtin13value",
        "type": "data",
        "match": "ppr",
        "file": "common/gs1.yaml"
      },
      {
        "rule": "gtin14value",
        "type": "data",
        "match": "ppr",
        "file": "common/gs1.yaml"
      },
      {
        "rule": "gtin8value",
        "type": "data",
        "match": "ppr",
        "file": "common/gs1.yaml"
      },
      {
        "rule": "gtinfield",
        "type": "field",
        "match": "text",
        "file": "common/gs1.yaml"
      },
      {
        "rule": "gtinwithai01value",
        "type": "data",
        "match": "ppr",
        "file": "common/gs1.yaml"
      },
      {
        "rule": "gtinvalue",
        "type": "data",
        "match": "ppr",
        "file": "common/objects.yaml"
      },
      {
        "rule": "objects_gtinfield",
        "type": "field",
        "match": "text",
        "file": "common/objects.yaml"
      }
    ]
  },
  "quality": {
    "score": 95,
    "missing": [
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/gs1/gtin.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/gs1/gtin.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/gs1/gtin.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/gtin",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/gtin.json"
  }
}