{
  "id": "bankcard",
  "kind": "datatype",
  "status": "stable",
  "name": "Bank card (credit/debit card)",
  "doc": "A bank card is typically a plastic card issued by a bank to its clients that performs one or more of a number of services that relate to giving the client access to bank account.",
  "is_pii": true,
  "categories": [
    "pii",
    "finances"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:4[0-9]{12}(?:[0-9]{3})?|[25][1-7][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$",
  "checksum": "luhn",
  "mappings": {
    "autotype": "creditcard",
    "dpv": "pd:PaymentCardNumber",
    "fibo": "LOAN/LoansSpecific/CardAccounts/PrimaryCardAccountNumber",
    "google_dlp": "CREDIT_CARD_NUMBER",
    "presidio": "CREDIT_CARD",
    "purview": [
      "Credit card number",
      "EU debit card number"
    ]
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Bank_card"
    },
    {
      "type": "other",
      "url": "https://stackoverflow.com/questions/9315647/regex-credit-card-number-tests"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/ISO/IEC_7812"
    }
  ],
  "translations": {
    "ru": {
      "name": "Банковская карта",
      "doc": "Банковская карта (англ. bank card) — пластиковая, металлическая или виртуальная карта, обычно привязанная к одному или нескольким расчётным счетам в банке."
    }
  },
  "detected_by": {
    "tools": [
      "alteryxdesignercloud",
      "amazonmacie",
      "autotype",
      "awscomprehend",
      "awsglue",
      "azureailanguage",
      "collibra",
      "databricks",
      "datahub",
      "dataprofiler",
      "googledlp",
      "ibmguardium",
      "ibmknowledgecatalog",
      "metacrafter",
      "metacrafterpro",
      "microsoftpurview",
      "nightfall",
      "openmetadata",
      "oracleanalyticsdesktop",
      "oracledatasafe",
      "presidio",
      "scrubadub",
      "snowflake",
      "sqldatacatalog",
      "talend"
    ],
    "metacrafter_rules": [
      {
        "rule": "brbankcardknown",
        "type": "field",
        "match": "text",
        "file": "br/br_finances.yaml"
      },
      {
        "rule": "jpbankcardknown",
        "type": "field",
        "match": "text",
        "file": "jp/jp_finances.yaml"
      },
      {
        "rule": "creditcardbyknown",
        "type": "field",
        "match": "text",
        "file": "pii/pii.yaml"
      },
      {
        "rule": "ptbankcardknown",
        "type": "field",
        "match": "text",
        "file": "pt/pt_finances.yaml"
      },
      {
        "rule": "zhbankcardknown",
        "type": "field",
        "match": "text",
        "file": "zh/zh_finances.yaml"
      }
    ]
  },
  "quality": {
    "score": 80,
    "missing": [
      "examples",
      "negative example"
    ]
  },
  "source": {
    "path": "data/datatypes/any/finances/bankcard.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/finances/bankcard.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/finances/bankcard.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/bankcard",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/bankcard.json"
  }
}