{
  "$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-config-response-schema.json",
  "title": "io.token.proto.gateway.GetBankConfigResponse",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/token-io-bankconfigs-api-openapi.yml#/components/schemas/io.token.proto.gateway.GetBankConfigResponse",
  "type": "object",
  "properties": {
    "bankConfig": {
      "$ref": "#/$defs/io.token.proto.common.tsp.bankconfig.BankConfig"
    }
  },
  "$defs": {
    "io.token.proto.common.tsp.bankconfig.BankConfig": {
      "type": "object",
      "properties": {
        "budapestPsd2Standard": {
          "$ref": "#/$defs/io.token.proto.common.tsp.bankconfig.BankConfig.BudapestPsd2Standard"
        },
        "czechPsd2Standard": {
          "$ref": "#/$defs/io.token.proto.common.tsp.bankconfig.BankConfig.CzechPsd2Standard"
        },
        "nextGenPsd2Standard": {
          "$ref": "#/$defs/io.token.proto.common.tsp.bankconfig.BankConfig.NextGenPsd2Standard"
        },
        "noLicenceRequired": {
          "format": "boolean",
          "type": "boolean"
        },
        "polishApiStandard": {
          "$ref": "#/$defs/io.token.proto.common.tsp.bankconfig.BankConfig.PolishApiStandard"
        },
        "providerSampleStandard": {
          "$ref": "#/$defs/io.token.proto.common.tsp.bankconfig.BankConfig.ProviderSampleStandard"
        },
        "slovakPsd2Standard": {
          "$ref": "#/$defs/io.token.proto.common.tsp.bankconfig.BankConfig.SlovakPsd2Standard"
        },
        "starlingApiStandard": {
          "$ref": "#/$defs/io.token.proto.common.tsp.bankconfig.BankConfig.StarlingApiStandard"
        },
        "stetPsd2Standard": {
          "$ref": "#/$defs/io.token.proto.common.tsp.bankconfig.BankConfig.StetPsd2Standard"
        },
        "ukOpenBankingStandard": {
          "$ref": "#/$defs/io.token.proto.common.tsp.bankconfig.BankConfig.UKOpenBankingStandard"
        }
      }
    },
    "io.token.proto.common.tsp.bankconfig.BankConfig.BudapestPsd2Standard": {
      "type": "object",
      "properties": {
        "clientId": {
          "type": "string"
        },
        "signingKeyId": {
          "type": "string"
        },
        "tppId": {
          "type": "string"
        },
        "transportKeyId": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.tsp.bankconfig.BankConfig.CzechPsd2Standard": {
      "type": "object",
      "properties": {
        "clientId": {
          "type": "string"
        },
        "clientSecret": {
          "type": "string"
        },
        "jwtSigningAlgorithm": {
          "type": "string"
        },
        "jwtSigningKeyId": {
          "type": "string"
        },
        "qsealCertificate": {
          "type": "string"
        },
        "signingKeyId": {
          "type": "string"
        },
        "transportKeyId": {
          "type": "string"
        },
        "xApiKey": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.tsp.bankconfig.BankConfig.NextGenPsd2Standard": {
      "type": "object",
      "properties": {
        "clientId": {
          "type": "string"
        },
        "clientSecret": {
          "type": "string"
        },
        "jwtSigningAlgorithm": {
          "type": "string"
        },
        "jwtSigningKeyId": {
          "type": "string"
        },
        "psuCorporateIdType": {
          "type": "string"
        },
        "psuIdType": {
          "type": "string"
        },
        "qsealCertificate": {
          "type": "string"
        },
        "qwacCertificate": {
          "type": "string"
        },
        "signingKeyId": {
          "type": "string"
        },
        "transportKeyId": {
          "type": "string"
        },
        "xApiKeyAis": {
          "type": "string"
        },
        "xApiKeyPis": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.tsp.bankconfig.BankConfig.PolishApiStandard": {
      "type": "object",
      "properties": {
        "clientId": {
          "type": "string"
        },
        "clientSecret": {
          "type": "string"
        },
        "jwtSigningKeyId": {
          "type": "string"
        },
        "kid": {
          "type": "string"
        },
        "signingKeyId": {
          "type": "string"
        },
        "tppId": {
          "type": "string"
        },
        "transportKeyId": {
          "type": "string"
        },
        "x5c": {
          "type": "string"
        },
        "x5t": {
          "type": "string"
        },
        "x5u": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.tsp.bankconfig.BankConfig.ProviderSampleStandard": {
      "type": "object",
      "properties": {
        "clientId": {
          "type": "string"
        },
        "clientSecret": {
          "type": "string"
        },
        "jwtSigningAlgorithm": {
          "type": "string"
        },
        "jwtSigningKeyId": {
          "type": "string"
        },
        "signingKeyId": {
          "type": "string"
        },
        "transportKeyId": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.tsp.bankconfig.BankConfig.SlovakPsd2Standard": {
      "type": "object",
      "properties": {
        "clientId": {
          "type": "string"
        },
        "clientSecret": {
          "type": "string"
        },
        "signingKeyId": {
          "type": "string"
        },
        "tppClientId": {
          "type": "string"
        },
        "transportKeyId": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.tsp.bankconfig.BankConfig.StarlingApiStandard": {
      "type": "object",
      "properties": {
        "aisClientId": {
          "type": "string"
        },
        "aisClientSecret": {
          "type": "string"
        },
        "jwtSigningKeyId": {
          "type": "string"
        },
        "pisClientId": {
          "type": "string"
        },
        "pisClientSecret": {
          "type": "string"
        },
        "signingKeyId": {
          "type": "string"
        },
        "transportKeyId": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.tsp.bankconfig.BankConfig.StetPsd2Standard": {
      "type": "object",
      "properties": {
        "certificateOwnerName": {
          "type": "string"
        },
        "clientId": {
          "type": "string"
        },
        "clientSecret": {
          "type": "string"
        },
        "jwtSigningAlgorithm": {
          "type": "string"
        },
        "jwtSigningKeyId": {
          "type": "string"
        },
        "signingKeyId": {
          "type": "string"
        },
        "transportKeyId": {
          "type": "string"
        },
        "xApiKeyAis": {
          "type": "string"
        },
        "xApiKeyPis": {
          "type": "string"
        }
      }
    },
    "io.token.proto.common.tsp.bankconfig.BankConfig.UKOpenBankingStandard": {
      "type": "object",
      "properties": {
        "aisClientId": {
          "type": "string"
        },
        "authenticationType": {
          "type": "string"
        },
        "clientId": {
          "type": "string"
        },
        "clientSecret": {
          "type": "string"
        },
        "isEidas": {
          "format": "boolean",
          "type": "boolean"
        },
        "jwtSigningAlgorithm": {
          "type": "string"
        },
        "jwtSigningKeyId": {
          "type": "string"
        },
        "organisationId": {
          "type": "string"
        },
        "signingKeyId": {
          "type": "string"
        },
        "softwareStatementId": {
          "type": "string"
        },
        "transportKeyId": {
          "type": "string"
        }
      }
    }
  }
}