{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lemonway/json-schema/lemonway-register-sdd-mandate-input-schema.json",
  "title": "RegisterSddMandateInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lemonway-moneyins-direct-debits-api-openapi.yml#/components/schemas/RegisterSddMandateInput",
  "required": [
    "wallet",
    "holder",
    "bic",
    "iban",
    "isRecurring"
  ],
  "type": "object",
  "properties": {
    "wallet": {
      "description": "Payment Account ID",
      "maxLength": 256,
      "minLength": 0,
      "type": "string"
    },
    "holder": {
      "description": "Debtor Name",
      "maxLength": 100,
      "minLength": 0,
      "type": "string"
    },
    "bic": {
      "description": "BIC Code (SWIFT)",
      "maxLength": 11,
      "minLength": 0,
      "type": "string"
    },
    "iban": {
      "description": "IBAN",
      "maxLength": 34,
      "minLength": 15,
      "type": "string"
    },
    "isB2B": {
      "description": "Indicates if the mandate is a SEPA business to business direct debit",
      "type": "boolean"
    },
    "isRecurring": {
      "description": "1. If true, mandate is for recurring payments\n2. If false, mandate is for one payment only",
      "type": "boolean"
    },
    "street": {
      "description": "Client Number and Street\nMandatory if you plan to electronically sign the mandate",
      "maxLength": 256,
      "minLength": 0,
      "type": "string"
    },
    "postCode": {
      "description": "Client Postal Code/ZIP\nMandatory if you plan to electronically sign the mandate",
      "maxLength": 10,
      "minLength": 0,
      "type": "string"
    },
    "city": {
      "description": "Client City\nMandatory if you plan to electronically sign the mandate",
      "maxLength": 256,
      "minLength": 0,
      "type": "string"
    },
    "country": {
      "description": "Client Country\nMandatory if you plan to electronically sign the mandate.",
      "maxLength": 256,
      "minLength": 0,
      "type": "string"
    },
    "mandateLanguage": {
      "description": "Language of the automatically generated mandate(for electronic signature).\nCurrently, the available languages are: fr, en, de, es, it.\nIf you need another, please contact us. \n\"fr\" is used by default if no language is requested.",
      "maxLength": 2,
      "minLength": 2,
      "type": "string"
    },
    "rum": {
      "description": "Unique Mandate Reference Number (UMR)",
      "type": "string"
    },
    "signerFirstName": {
      "description": "Signer's First Name\nRequired when `SignerLastName` is provided.",
      "maxLength": 256,
      "minLength": 0,
      "type": "string"
    },
    "signerLastName": {
      "description": "Signer's Last Name.\nRequired when `SignerFirstName` is provided.",
      "maxLength": 256,
      "minLength": 0,
      "type": "string"
    }
  }
}