{
  "$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-get-bank-info-response-schema.json",
  "title": "io.token.proto.gateway.GetBankInfoResponse",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/token-io-info-api-openapi.yml#/components/schemas/io.token.proto.gateway.GetBankInfoResponse",
  "type": "object",
  "properties": {
    "info": {
      "$ref": "#/$defs/io.token.proto.common.bank.BankInfo"
    }
  },
  "$defs": {
    "io.token.proto.common.alias.Alias.Type": {
      "enum": [
        "INVALID",
        "UNKNOWN",
        "EMAIL",
        "PHONE",
        "DOMAIN",
        "USERNAME",
        "BANK",
        "CUSTOM",
        "EIDAS"
      ],
      "default": "INVALID",
      "type": "string"
    },
    "io.token.proto.common.bank.BankInfo": {
      "type": "object",
      "properties": {
        "aliasTypes": {
          "items": {
            "$ref": "#/$defs/io.token.proto.common.alias.Alias.Type"
          },
          "type": "array"
        },
        "bankLinkingUri": {
          "type": "string"
        },
        "customAliasLabel": {
          "type": "string"
        },
        "linkingUri": {
          "type": "string"
        },
        "realm": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "redirectUriRegex": {
          "type": "string"
        }
      }
    }
  }
}