{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bancomat/main/json-schema/bancomat-banks-schema.json",
  "title": "Banks",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bancomat-banche-api-openapi.yml#/components/schemas/Banks",
  "items": {
    "$ref": "#/$defs/Bank"
  },
  "type": "array",
  "$defs": {
    "Bank": {
      "properties": {
        "countryID": {
          "type": "string"
        },
        "details": {
          "properties": {
            "endDateSupported": {
              "type": "boolean"
            },
            "executionRuleSupported": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "futurePaymentSupported": {
              "type": "boolean"
            },
            "oneShotRecurringAvailable": {
              "type": "boolean"
            },
            "recurringPaymentFrequencies": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "recurringPaymentSupported": {
              "type": "boolean"
            },
            "sctInstSupported": {
              "type": "boolean"
            }
          },
          "required": [
            "endDateSupported",
            "oneShotRecurringAvailable",
            "futurePaymentSupported",
            "sctInstSupported",
            "recurringPaymentFrequencies",
            "executionRuleSupported",
            "recurringPaymentSupported"
          ],
          "type": "object"
        },
        "email": {
          "type": "string"
        },
        "flowpayID": {
          "type": "string"
        },
        "icon": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "nationalCode": {
          "type": "string"
        },
        "nestedIn": {
          "type": "string"
        },
        "phoneNumber": {
          "type": "string"
        }
      },
      "required": [
        "name",
        "icon",
        "phoneNumber",
        "countryID"
      ],
      "type": "object"
    }
  }
}