{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/token-io/main/json-schema/token-io-io-token-proto-gateway-accountverification-perform-account-verification-request-schema.json",
  "title": "io.token.proto.gateway.accountverification.PerformAccountVerificationRequest",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/token-io-account-verifications-api-openapi.yml#/components/schemas/io.token.proto.gateway.accountverification.PerformAccountVerificationRequest",
  "type": "object",
  "properties": {
    "account": {
      "$ref": "#/$defs/io.token.proto.gateway.accountverification.AccountDetails"
    },
    "virtualAccountId": {
      "type": "string"
    }
  },
  "$defs": {
    "io.token.proto.gateway.accountverification.AccountDetails": {
      "type": "object",
      "properties": {
        "accountNumber": {
          "type": "string"
        },
        "accountType": {
          "$ref": "#/$defs/io.token.proto.gateway.accountverification.AccountType"
        },
        "currency": {
          "$ref": "#/$defs/io.token.proto.gateway.accountverification.Currency"
        },
        "iban": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "sortCode": {
          "type": "string"
        }
      }
    },
    "io.token.proto.gateway.accountverification.AccountType": {
      "enum": [
        "NOT_APPLICABLE_ACCOUNT_TYPE",
        "PERSONAL",
        "BUSINESS"
      ],
      "default": "NOT_APPLICABLE_ACCOUNT_TYPE",
      "type": "string"
    },
    "io.token.proto.gateway.accountverification.Currency": {
      "enum": [
        "INVALID_CURRENCY",
        "GBP",
        "EUR"
      ],
      "default": "INVALID_CURRENCY",
      "type": "string"
    }
  }
}