{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CounterpartyBankRestriction",
  "title": "CounterpartyBankRestriction",
  "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"
  ],
  "type": "object"
}