{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/origin-energy/main/json-schema/origin-energy-account-transfer-status-schema.json",
  "title": "AccountTransferStatus",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/origin-energy-account-import-api-openapi.yml#/components/schemas/AccountTransferStatus",
  "type": "object",
  "properties": {
    "account_number": {
      "type": "string",
      "description": "Deprecated. Use `kraken_account_number` instead."
    },
    "kraken_account_number": {
      "type": "string",
      "description": "Account number"
    },
    "status": {
      "enum": [
        "UNKNOWN",
        "COMPLETED",
        "IN_PROGRESS"
      ],
      "type": "string",
      "description": "* `UNKNOWN` - No account found in Kraken for the external account number and import supplier code. Either a previous process attempt has failed, or the import has never been attempted to be processed.\n* `COMPLETED` - An account has been created in Kraken for the external account number and import supplier code.\n* `IN_PROGRESS` - There is currently a migration process attempting to create this account.",
      "x-spec-enum-id": "19fd6adce0a34a4b",
      "x-enum-descriptions": {
        "UNKNOWN": "No account found in Kraken for the external account number and import supplier code. Either a previous process attempt has failed, or the import has never been attempted to be processed.",
        "COMPLETED": "An account has been created in Kraken for the external account number and import supplier code.",
        "IN_PROGRESS": "There is currently a migration process attempting to create this account."
      }
    }
  },
  "required": [
    "status"
  ]
}