{
  "id": "br_compe_code",
  "kind": "datatype",
  "status": "draft",
  "name": "COMPE bank number (Brazil)",
  "doc": "The three-digit number of a bank in COMPE, the Brazilian clearing house of cheques and bank slips, printed on cheques and used in transfers to name the bank (001 Banco do Brasil, 033 Santander, 104 Caixa, 237 Bradesco, 341 Itaú). The list of participants of the STR of the Banco Central do Brasil gives it as Número_Código, n/a for participants that are not banks.",
  "parent": "id",
  "is_pii": false,
  "categories": [
    "finances"
  ],
  "country": [
    "BR"
  ],
  "langs": [
    "pt"
  ],
  "classification": "identifier",
  "regexp": "^\\d{3}$",
  "examples": [
    {
      "value": "001",
      "description": "Banco do Brasil",
      "valid": true
    },
    {
      "value": "237",
      "description": "Banco Bradesco",
      "valid": true
    },
    {
      "value": "070",
      "description": "BRB - Banco de Brasília",
      "valid": true
    },
    {
      "value": "00000208",
      "description": "an ISPB code (br_ispb)",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.bcb.gov.br/estabilidadefinanceira/participantesstr"
    },
    {
      "type": "wikipedia",
      "url": "https://pt.wikipedia.org/wiki/Compensa%C3%A7%C3%A3o_banc%C3%A1ria"
    }
  ],
  "translations": {
    "pt": {
      "name": "Código COMPE do banco"
    },
    "ru": {
      "name": "Номер банка в COMPE (Бразилия)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "brcompecodebyname",
        "type": "field",
        "match": "regex",
        "file": "br/br_codes.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/BR/finances/br_compe_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/BR/finances/br_compe_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/BR/finances/br_compe_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/br_compe_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/br_compe_code.json"
  }
}