{
  "id": "itip",
  "kind": "datatype",
  "status": "draft",
  "name": "Identification of an Individual Trade Item Piece (ITIP)",
  "doc": "GS1 identifier of one piece of a trade item that is delivered in several pieces, such as a piece of furniture packed in three boxes. Eighteen digits: the 14-digit GTIN of the trade item, the piece number and the total number of pieces, two digits each. Neither number is 00, and the piece number does not exceed the total. Application Identifier (8006) carries it, and (8026) carries the ITIP of pieces contained in a logistic unit; the element strings are the patterns gs1_ai_8006 and gs1_ai_8026.",
  "patterns": [
    "gs1_ai_8006",
    "gs1_ai_8026"
  ],
  "is_pii": false,
  "categories": [
    "gs1",
    "objectids",
    "industry"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^\\d{14}(?:0[1-9]|[1-9]\\d){2}$",
  "examples": [
    {
      "value": "095060001343520102",
      "description": "GS1's example GTIN 09506000134352, piece 1 of 2",
      "valid": true
    },
    {
      "value": "095060001343520303",
      "description": "GS1's example GTIN 09506000134352, piece 3 of 3",
      "valid": true
    },
    {
      "value": "095060001343520002",
      "description": "Piece number 00 is not allowed",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://ref.gs1.org/ai/8006"
    },
    {
      "type": "doc",
      "url": "https://ref.gs1.org/ai/8026"
    },
    {
      "type": "doc",
      "url": "https://ref.gs1.org/standards/genspecs/"
    }
  ],
  "quality": {
    "score": 75,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/gs1/itip.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/gs1/itip.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/gs1/itip.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/itip",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/itip.json"
  }
}