{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/configuration-counterparty-bank-restriction-schema.json",
  "title": "CounterpartyBankRestriction",
  "description": "CounterpartyBankRestriction schema from Adyen API",
  "type": "object",
  "properties": {
    "operation": {
      "description": "Defines how the condition must be evaluated.",
      "type": "string"
    },
    "value": {
      "description": "List of counterparty Bank Institutions and the operation.",
      "items": {
        "$ref": "#/components/schemas/BankIdentification"
      },
      "type": "array"
    }
  },
  "required": [
    "operation"
  ]
}