{"allOf":[{"description":"Base type for all commands in the system","allOf":[{"type":"object","description":"Base message type that all commands and events inherit from","required":["id"],"properties":{"id":{"type":"string","description":"Unique identifier for the message, typically a UUID","default":"UUID generated string","x-parser-schema-id":"<anonymous-schema-2>"}},"x-parser-schema-id":"Message"}],"x-parser-schema-id":"Command"},{"type":"object","description":"Command to initiate an interbank payment","required":["paymentId","debtorAccount","creditorName","creditorAccount","instructedAmount"],"properties":{"paymentId":{"type":"string","format":"uuid","description":"Payment unique identifier in version 4 UUID format","x-parser-schema-id":"<anonymous-schema-20>"},"debtorName":{"type":"string","description":"Name of the debtor","x-parser-schema-id":"<anonymous-schema-21>"},"debtorAccount":{"type":"object","description":"Contains account details used in payment initiation","required":["iban"],"properties":{"iban":{"type":"string","description":"International Bank Account Number of the account","x-parser-schema-id":"<anonymous-schema-22>"},"originAccountId":{"type":"string","format":"uri","description":"Unique identifier for the originating account. The URI format is used to identify the underlying core (i.e. <core-name>:<identifier>)","x-parser-schema-id":"<anonymous-schema-23>"},"currency":{"type":"string","description":"Account currency in ISO 4217 format","x-parser-schema-id":"<anonymous-schema-24>"}},"x-parser-schema-id":"PaymentAccount"},"debtorAgent":{"type":"string","description":"Agent of the debtor (e.g. BIC)","x-parser-schema-id":"<anonymous-schema-25>"},"creditorName":{"type":"string","description":"Name of the creditor","x-parser-schema-id":"<anonymous-schema-26>"},"creditorAccount":{"$ref":"#/components/schemas/PaymentAccount"},"creditorAgent":{"type":"string","description":"Agent of the creditor (e.g. BIC)","x-parser-schema-id":"<anonymous-schema-27>"},"instructedAmount":{"type":"object","description":"Contains the payment amount and currency code","required":["value","currency"],"properties":{"value":{"type":"number","description":"The payment amount","x-parser-schema-id":"<anonymous-schema-28>"},"currency":{"type":"string","description":"The payment currency code in ISO 4217 format","x-parser-schema-id":"<anonymous-schema-29>"}},"x-parser-schema-id":"Amount"},"endToEndIdentification":{"type":"string","description":"Unique identifier used to track and reconcile the payment throughout the payment chain","x-parser-schema-id":"<anonymous-schema-30>"},"remittanceInformationUnstructured":{"type":"string","description":"Additional details about the payment","x-parser-schema-id":"<anonymous-schema-31>"},"notes":{"type":"string","description":"Additional notes to add when posting the payment (e.g. currency exchange rates)","x-parser-schema-id":"<anonymous-schema-32>"}},"x-parser-schema-id":"<anonymous-schema-19>"}],"x-parser-schema-id":"InitiateInterbankPaymentExecution"}