{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "title": "Cryptoherstel wallet recovery intake",
    "description": "Structured intake for a crypto wallet recovery case. NEVER include full seed phrases, private keys, keystore contents, wallet files or plaintext passwords. Collect only high-level, non-sensitive context. Client-side use only — there is no automated submission endpoint.",
    "type": "object",
    "required": [
        "wallet_type",
        "problem",
        "contact_email",
        "consent_owner"
    ],
    "properties": {
        "wallet_type": {
            "type": "string",
            "enum": [
                "bitcoin-core",
                "electrum",
                "multibit",
                "metamask",
                "myetherwallet",
                "keystore-utc",
                "ethereum-presale",
                "blockchain-com",
                "ledger",
                "trezor",
                "other"
            ]
        },
        "coin": {
            "type": "string",
            "description": "Primary coin, e.g. BTC or ETH."
        },
        "problem": {
            "type": "string",
            "enum": [
                "forgot-password",
                "password-rejected",
                "lost-or-partial-seed",
                "invalid-seed",
                "hardware-pin-passphrase",
                "corrupted-or-deleted-file",
                "wallet-shows-empty",
                "legacy-wallet",
                "inheritance",
                "other"
            ]
        },
        "approx_created": {
            "type": "string",
            "description": "Approximate year/date the wallet was created."
        },
        "what_survives": {
            "type": "string",
            "description": "Wallet file, backup, written seed, original device or cloud sync — never the material itself."
        },
        "password_hints": {
            "type": "string",
            "description": "NON-SENSITIVE hints only: length, language, character sets, patterns, keyboard layout. Never the actual password."
        },
        "estimated_value": {
            "type": "string"
        },
        "contact_email": {
            "type": "string",
            "format": "email"
        },
        "consent_owner": {
            "type": "boolean",
            "description": "User confirms they are the rightful owner (or authorised representative) and authorise a free assessment."
        }
    },
    "x_safety": {
        "never_collect": [
            "full seed phrase",
            "private key",
            "keystore or wallet file contents",
            "plaintext wallet password"
        ],
        "note": "Sensitive material is never exchanged through the assessment flow; the free assessment on the canonical route for the visitor's language collects only the non-secret context listed above."
    }
}
