{
  "id": "gmn",
  "kind": "datatype",
  "status": "draft",
  "name": "Global Model Number (GMN)",
  "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.",
  "patterns": [
    "gs1_ai_8013"
  ],
  "is_pii": false,
  "categories": [
    "gs1",
    "objectids",
    "industry"
  ],
  "langs": [
    "common"
  ],
  "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",
      "valid": true
    },
    {
      "value": "9528765Model-A7NM",
      "description": "Synthetic value with the GS1 demonstration prefix 952 and a valid check character pair",
      "valid": true
    },
    {
      "value": "1987654Ad4X4bL5ttr2310cXK",
      "description": "Check characters changed: fails the check pair",
      "valid": false
    }
  ],
  "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"
    }
  ],
  "quality": {
    "score": 75,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/gs1/gmn.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/gs1/gmn.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/gs1/gmn.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/gmn",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/gmn.json"
  }
}