{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/memo-bank/main/json-schema/memo-bank-payment-initiation-json-schema.json", "title": "PaymentInitiationJson", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/memo-bank-pis-api-openapi.yml#/components/schemas/PaymentInitiationJson", "required": [ "creditorAccount", "creditorName", "debtorAccount", "instructedAmount" ], "type": "object", "properties": { "debtorAccount": { "$ref": "#/$defs/AccountReference" }, "instructedAmount": { "$ref": "#/$defs/Amount" }, "creditorAccount": { "$ref": "#/$defs/AccountReference" }, "creditorName": { "maxLength": 70, "minLength": 0, "type": "string" }, "endToEndIdentification": { "maxLength": 35, "minLength": 0, "type": "string" }, "creditorAddress": { "$ref": "#/$defs/Address" }, "remittanceInformationUnstructured": { "maxLength": 140, "minLength": 0, "type": "string" }, "requestedExecutionDate": { "type": "string", "format": "date" } }, "$defs": { "AccountReference": { "type": "object", "properties": { "iban": { "pattern": "^[A-Z]{2}[0-9]{2}[a-zA-Z0-9]{1,30}$", "type": "string" }, "maskedPan": { "maxLength": 35, "minLength": 0, "type": "string" }, "currency": { "pattern": "^[A-Z]{3}$", "type": "string" }, "cashAccountType": { "type": "string" } } }, "Address": { "required": [ "country" ], "type": "object", "properties": { "country": { "pattern": "^[A-Z]{2}$", "type": "string" }, "streetName": { "maxLength": 70, "minLength": 0, "type": "string" }, "townName": { "type": "string" }, "postCode": { "type": "string" } } }, "Amount": { "required": [ "amount", "currency" ], "type": "object", "properties": { "currency": { "pattern": "^[A-Z]{3}$", "type": "string" }, "amount": { "pattern": "^-?[0-9]{1,14}(\\.[0-9]{1,3})?$", "type": "string" } } } } }