{
  "id": "iin",
  "kind": "datatype",
  "status": "draft",
  "name": "Payment card issuer identification number (IIN)",
  "doc": "Leading digits of a payment card number that identify the institution that issued the card, under ISO/IEC 7812-1. It is also called the bank identification number (BIN). The IIN had six digits; the 2017 revision of the standard extended it to eight. It has no check digit of its own - the Luhn check digit belongs to the whole card number.",
  "is_pii": false,
  "categories": [
    "finances"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[0-9]{6}(?:[0-9]{2})?$",
  "examples": [
    {
      "value": "564182",
      "description": "Switch (now Maestro UK) issuer range, listed on Wikipedia",
      "valid": true
    },
    {
      "value": "56418",
      "description": "five digits",
      "valid": false
    }
  ],
  "mappings": {
    "fibo": "FBC/FunctionalEntities/NorthAmericanEntities/USRegulatoryAgencies/IssuerIdentificationNumber"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/ISO/IEC_7812"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Payment_card_number"
    }
  ],
  "translations": {
    "ru": {
      "name": "Идентификатор эмитента платёжной карты (IIN, BIN)"
    }
  },
  "quality": {
    "score": 83,
    "missing": [
      "second example",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/finances/iin.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/finances/iin.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/finances/iin.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/iin",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/iin.json"
  }
}