{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/coincover/main/json-schema/coincover-backup-recover-request-schema.json",
  "title": "BackupRecoverRequest",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/coincover-retail-openapi-openapi.json#/components/schemas/BackupRecoverRequest",
  "type": "object",
  "properties": {
    "user_identifier": {
      "type": "string",
      "description": "User identifier (REQUIRED)"
    },
    "verification_id": {
      "type": "string",
      "description": "Verification ID from a successful verification. (REQUIRED) Must be approved/successful."
    },
    "gpg_public_key": {
      "type": "string",
      "description": "GPG public key in PGP public key block format for encrypting the recovered data. (REQUIRED)",
      "pattern": "^-----BEGIN PGP PUBLIC KEY BLOCK-----[\\s\\S]*?-----END PGP PUBLIC KEY BLOCK-----$"
    }
  },
  "required": [
    "user_identifier",
    "verification_id",
    "gpg_public_key"
  ]
}