{
  "id": "gsin",
  "name": "Global Shipment Identification Number (GSIN)",
  "status": "draft",
  "doc": "GS1 identification key that a seller (shipper) gives to a shipment: the logistic units that it sends together to one buyer. Seventeen digits: a GS1 Company Prefix, a shipper reference and a GS1 check digit. In barcodes it is carried by Application Identifier (402); the element string is the pattern gs1_ai_402.",
  "categories": [
    {
      "id": "gs1",
      "name": "GS1 standards"
    },
    {
      "id": "shipping",
      "name": "Shipping and delivery"
    },
    {
      "id": "transport",
      "name": "Transportation"
    }
  ],
  "langs": [
    {
      "id": "common",
      "name": "Common to most languages"
    }
  ],
  "is_pii": false,
  "classification": "identifier",
  "regexp": "^\\d{17}$",
  "checksum": "gs1_mod10",
  "examples": [
    {
      "value": "95287650000042178",
      "description": "Synthetic value with the GS1 demonstration prefix 952 and a valid check digit"
    },
    {
      "value": "95287651000275160",
      "description": "Synthetic value with the GS1 demonstration prefix 952 and a valid check digit"
    },
    {
      "value": "95287650000042179",
      "valid": false,
      "description": "Last digit changed: fails the GS1 check digit"
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://ref.gs1.org/ai/402"
    },
    {
      "type": "doc",
      "url": "https://ref.gs1.org/standards/genspecs/"
    }
  ],
  "type": "datatype",
  "translations": {},
  "patterns": [
    {
      "id": "gs1_ai_402",
      "name": "Global Shipment Identification Number (GS1 AI 402)",
      "status": "draft",
      "doc": "GS1 element string of Application Identifier (402): '402' followed by a 17-digit GSIN. GS1 format N3+N17. In the human-readable text under a barcode it is written as (402) and the value.",
      "semantic_type": "gsin",
      "langs": [
        {
          "id": "common",
          "name": "Common to most languages"
        }
      ],
      "regexp": "^402\\d{17}$",
      "examples": [
        {
          "value": "40295287650000042178",
          "description": "Synthetic value with the GS1 demonstration prefix 952"
        },
        {
          "value": "40295287651000275160",
          "description": "Synthetic value with the GS1 demonstration prefix 952"
        },
        {
          "value": "4029528765000004217",
          "valid": false,
          "description": "Sixteen digits"
        }
      ],
      "mappings": {
        "gs1_ai": "402"
      },
      "links": [
        {
          "type": "doc",
          "url": "https://ref.gs1.org/ai/402"
        }
      ],
      "type": "pattern",
      "is_pii": false,
      "categories": [
        {
          "id": "gs1",
          "name": "GS1 standards"
        },
        {
          "id": "shipping",
          "name": "Shipping and delivery"
        },
        {
          "id": "transport",
          "name": "Transportation"
        }
      ],
      "classification": "identifier",
      "translations": {}
    }
  ]
}