{
  "id": "gmn",
  "name": "Global Model Number (GMN)",
  "status": "draft",
  "doc": "GS1 identification key for a product model: the design that a group of trade items is made to. It is a GS1 Company Prefix, a model reference and two check characters, up to 25 characters of GS1 character set 82. The check character pair is computed from the other characters with prime weights modulo 1021. In barcodes it is carried by Application Identifier (8013); the element string is the pattern gs1_ai_8013.",
  "categories": [
    {
      "id": "gs1",
      "name": "GS1 standards"
    },
    {
      "id": "objectids",
      "name": "Objects identifiers"
    },
    {
      "id": "industry",
      "name": "Industry"
    }
  ],
  "langs": [
    {
      "id": "common",
      "name": "Common to most languages"
    }
  ],
  "is_pii": false,
  "classification": "identifier",
  "regexp": "^\\d{4}[!%-?A-Z_a-z\\x22]{0,19}[2-9A-HJ-NP-Z]{2}$",
  "checksum": "gs1_checkpair",
  "examples": [
    {
      "value": "1987654Ad4X4bL5ttr2310c2K",
      "description": "Test value of the GS1 Barcode Syntax Engine check pair linter"
    },
    {
      "value": "9528765Model-A7NM",
      "description": "Synthetic value with the GS1 demonstration prefix 952 and a valid check character pair"
    },
    {
      "value": "1987654Ad4X4bL5ttr2310cXK",
      "valid": false,
      "description": "Check characters changed: fails the check pair"
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://ref.gs1.org/ai/8013"
    },
    {
      "type": "doc",
      "url": "https://ref.gs1.org/standards/genspecs/"
    },
    {
      "type": "other",
      "url": "https://github.com/gs1/gs1-syntax-engine/blob/main/src/c-lib/syntax/lint_csumalpha.c"
    }
  ],
  "type": "datatype",
  "translations": {},
  "patterns": [
    {
      "id": "gs1_ai_8013",
      "name": "Global Model Number (GS1 AI 8013)",
      "status": "draft",
      "doc": "GS1 element string of Application Identifier (8013): '8013' followed by a GMN of up to 25 characters ending in a check character pair. GS1 format N4+X..25. In the human-readable text under a barcode it is written as (8013) and the value.",
      "semantic_type": "gmn",
      "langs": [
        {
          "id": "common",
          "name": "Common to most languages"
        }
      ],
      "regexp": "^8013\\d{4}[!%-?A-Z_a-z\\x22]{0,19}[2-9A-HJ-NP-Z]{2}$",
      "examples": [
        {
          "value": "80131987654Ad4X4bL5ttr2310c2K",
          "description": "GS1 linter test value"
        },
        {
          "value": "80139528765Model-A7NM",
          "description": "Synthetic value with the GS1 demonstration prefix 952"
        },
        {
          "value": "80131987654Ad4X4bL5ttr2310c2K22",
          "valid": false,
          "description": "Longer than 25 characters"
        }
      ],
      "mappings": {
        "gs1_ai": "8013"
      },
      "links": [
        {
          "type": "doc",
          "url": "https://ref.gs1.org/ai/8013"
        }
      ],
      "type": "pattern",
      "is_pii": false,
      "categories": [
        {
          "id": "gs1",
          "name": "GS1 standards"
        },
        {
          "id": "objectids",
          "name": "Objects identifiers"
        },
        {
          "id": "industry",
          "name": "Industry"
        }
      ],
      "classification": "identifier",
      "translations": {}
    }
  ]
}