{
  "id": "bip39_mnemonic",
  "kind": "datatype",
  "status": "draft",
  "name": "BIP-39 mnemonic phrase (seed phrase)",
  "doc": "Recovery phrase of a cryptocurrency wallet as defined by BIP 39: 12, 15, 18, 21 or 24 words from a fixed list of 2048 words, where the last word also carries a checksum of the entropy. The phrase, with an optional passphrase, gives the wallet seed from which BIP-32 keys are derived, so whoever knows it controls the wallet. The regexp covers the English word list (lower-case words of 3 to 8 letters separated by single spaces); BIP 39 also has word lists for other languages.",
  "parent": "private_key",
  "is_pii": false,
  "categories": [
    "cryptocurrency",
    "secrets"
  ],
  "langs": [
    "en"
  ],
  "classification": "identifier",
  "regexp": "^[a-z]{3,8}(?: [a-z]{3,8}){11}(?:(?: [a-z]{3,8}){3}){0,4}$",
  "examples": [
    {
      "value": "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about",
      "description": "BIP 39 test vector, 12 words (entropy of zeros); never use it for a wallet",
      "valid": true
    },
    {
      "value": "legal winner thank year wave sausage worth useful legal winner thank yellow",
      "description": "BIP 39 test vector, 12 words; never use it for a wallet",
      "valid": true
    },
    {
      "value": "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about",
      "description": "11 words",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki"
    },
    {
      "type": "doc",
      "url": "https://github.com/bitcoin/bips/blob/master/bip-0039/english.txt"
    },
    {
      "type": "other",
      "url": "https://github.com/trezor/python-mnemonic/blob/master/vectors.json"
    }
  ],
  "translations": {
    "ru": {
      "name": "Мнемоническая фраза BIP-39 (seed-фраза)"
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/cryptocurrency/bip39_mnemonic.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/cryptocurrency/bip39_mnemonic.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/cryptocurrency/bip39_mnemonic.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/bip39_mnemonic",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/bip39_mnemonic.json"
  }
}