{
  "id": "cardano_address",
  "kind": "datatype",
  "status": "draft",
  "name": "Cardano address (Shelley)",
  "doc": "Shelley-era address of Cardano as specified by CIP-19, encoded with Bech32 without a length limit. Payment addresses have the prefix addr (base, pointer, enterprise and script addresses) and reward addresses the prefix stake; the first data character encodes the address type. Testnet addresses (addr_test, stake_test) and Byron-era Base58 addresses are not matched.",
  "parent": "crypto_address",
  "is_pii": false,
  "categories": [
    "cryptocurrency"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:addr1|stake1)[02-9ac-hj-np-z]{53,}$",
  "checksum": "bech32",
  "examples": [
    {
      "value": "addr1qx2fxv2umyhttkxyxp8x0dlpdt3k6cwng5pxj3jhsydzer3n0d3vllmyqwsx5wktcd8cc3sq835lu7drv2xwl2wywfgse35a3x",
      "description": "CIP-19 test vector, base address (type 0)",
      "valid": true
    },
    {
      "value": "addr1vx2fxv2umyhttkxyxp8x0dlpdt3k6cwng5pxj3jhsydzers66hrl8",
      "description": "CIP-19 test vector, enterprise address (type 6)",
      "valid": true
    },
    {
      "value": "stake1uyehkck0lajq8gr28t9uxnuvgcqrc6070x3k9r8048z8y5gh6ffgw",
      "description": "CIP-19 test vector, reward address (type 14)",
      "valid": true
    },
    {
      "value": "addr1vx2fxv2umyhttkxyxp8x0dlpdt3k6cwng5pxj3jhsydzers66hrl9",
      "description": "last character changed, the checksum fails",
      "valid": false
    },
    {
      "value": "addr_test1vz2fxv2umyhttkxyxp8x0dlpdt3k6cwng5pxj3jhsydzerspjrlsz",
      "description": "testnet address",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://cips.cardano.org/cip/CIP-0019"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Cardano_(blockchain_platform)"
    }
  ],
  "translations": {
    "ru": {
      "name": "Адрес Cardano (Shelley)"
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/cryptocurrency/cardano_address.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/cryptocurrency/cardano_address.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/cryptocurrency/cardano_address.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/cardano_address",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/cardano_address.json"
  }
}