{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/memo-bank/main/json-schema/memo-bank-create-iban-schema.json",
  "title": "CreateIban",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/memo-bank-ibans-api-openapi.yml#/components/schemas/CreateIban",
  "required": [
    "account_id",
    "name"
  ],
  "type": "object",
  "properties": {
    "account_id": {
      "type": "string",
      "description": "ID of the account.",
      "format": "uuid"
    },
    "name": {
      "type": "string",
      "description": "Custom name of the new IBAN, as seen in the Memo Bank interface."
    },
    "allow_collections": {
      "type": "boolean",
      "description": "Whether or not to accept incoming collections on this IBAN.",
      "default": true
    }
  }
}