{
  "id": "br_ispb",
  "kind": "datatype",
  "status": "draft",
  "name": "ISPB code of the Brazilian payment system",
  "doc": "Identificador do Sistema de Pagamentos Brasileiro: the eight-digit code of a participant of the Brazilian payment system (STR, PIX, SPI), equal to the CNPJ root of the institution (br_cnpj_root). The Banco Central do Brasil publishes the list of participants of the STR with the ISPB and the COMPE number (br_compe_code) of each bank. Spreadsheets drop the leading zeros (360305 for 00360305).",
  "parent": "br_cnpj_root",
  "is_pii": false,
  "categories": [
    "finances"
  ],
  "country": [
    "BR"
  ],
  "langs": [
    "pt"
  ],
  "classification": "identifier",
  "regexp": "^\\d{8}$",
  "examples": [
    {
      "value": "00000000",
      "description": "Banco do Brasil S.A.",
      "valid": true
    },
    {
      "value": "00360305",
      "description": "Caixa Econômica Federal",
      "valid": true
    },
    {
      "value": "00038166",
      "description": "Selic, the settlement system of federal bonds",
      "valid": true
    },
    {
      "value": "001",
      "description": "a COMPE number",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.bcb.gov.br/estabilidadefinanceira/participantesstr"
    },
    {
      "type": "wikipedia",
      "url": "https://pt.wikipedia.org/wiki/Sistema_de_Pagamentos_Brasileiro"
    }
  ],
  "translations": {
    "pt": {
      "name": "Código ISPB"
    },
    "ru": {
      "name": "Код ISPB бразильской платёжной системы"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "brispbbyname",
        "type": "field",
        "match": "regex",
        "file": "br/br_codes.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/BR/finances/br_ispb.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/BR/finances/br_ispb.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/BR/finances/br_ispb.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/br_ispb",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/br_ispb.json"
  }
}