{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lemonway/json-schema/lemonway-register-ibaninput-schema.json",
  "title": "RegisterIBANInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lemonway-moneyouts-api-openapi.yml#/components/schemas/RegisterIBANInput",
  "required": [
    "accountId",
    "holder",
    "iban"
  ],
  "type": "object",
  "properties": {
    "accountId": {
      "description": "Payment Account ID",
      "maxLength": 256,
      "minLength": 0,
      "type": "string"
    },
    "holder": {
      "description": "Registered Bank Account Owner: First and Last name, or Company Name",
      "maxLength": 256,
      "minLength": 0,
      "type": "string"
    },
    "bic": {
      "description": "BIC/SWIFT Codes are arranged like this : AAAABBCCDDD\nAAAA : 4 char for bank code\nBB : 2 char for country code\nCC : 2 char for location code\nDDD : 3 char for branch code",
      "maxLength": 11,
      "minLength": 8,
      "type": "string"
    },
    "iban": {
      "description": "IBAN",
      "maxLength": 34,
      "minLength": 15,
      "type": "string"
    },
    "domiciliation1": {
      "description": "Bank Address Line 1",
      "maxLength": 256,
      "minLength": 1,
      "type": "string"
    },
    "domiciliation2": {
      "description": "Bank Address Line 2",
      "maxLength": 256,
      "minLength": 1,
      "type": "string"
    },
    "comment": {
      "description": "Reason for new IBAN if another IBAN is already linked to the Payment Account",
      "maxLength": 512,
      "minLength": 1,
      "type": "string"
    }
  }
}