{
  "id": "niin",
  "kind": "datatype",
  "status": "draft",
  "name": "National Item Identification Number (NIIN)",
  "doc": "Nine-digit number of an item of supply in the NATO Codification System, the last nine digits of a NATO Stock Number (nato_stock_number). The first two digits are the National Codification Bureau of the country that first codified the item, and the other seven have no meaning. It is written as NN-NNN-NNNN or without hyphens.",
  "is_pii": false,
  "categories": [
    "industry",
    "government"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^\\d{2}(?:-\\d{3}-|\\d{3})\\d{4}$",
  "examples": [
    {
      "value": "00-121-6210",
      "description": "Item codified by the United States",
      "valid": true
    },
    {
      "value": "01-498-1913",
      "description": "Item codified by the United States",
      "valid": true
    },
    {
      "value": "001216210",
      "description": "Without hyphens",
      "valid": true
    },
    {
      "value": "0-121-6210",
      "description": "The country code must have two digits",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/National_Item_Identification_Number"
    }
  ],
  "translations": {
    "ru": {
      "name": "Национальный идентификационный номер предмета снабжения (NIIN)"
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/industry/niin.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/industry/niin.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/industry/niin.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/niin",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/niin.json"
  }
}