{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","title":"AmountReservedEvent","description":"Event emitted when an amount is reserved in a merchant account","properties":{"accountId":{"type":"object","description":"Account identifier","properties":{"value":{"type":"string","format":"uuid","description":"The unique account UUID"}},"required":["value"]},"reservationId":{"type":"object","description":"Reservation identifier","properties":{"value":{"type":"string","format":"uuid","description":"The unique reservation UUID"}},"required":["value"]},"amount":{"type":"integer","minimum":0,"description":"Amount reserved (in smallest currency unit, e.g., 25000 = 250.00)","example":25000},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"Currency of the reservation (ISO 4217)","example":"EUR"},"accountType":{"type":"string","description":"Type of account for the reservation","example":"MerchantDebt"},"reference":{"type":"string","description":"External reference for the reservation","example":"refund-prep-67890"},"timestamp":{"type":"string","format":"date-time","description":"Timestamp when the amount was reserved"}},"required":["accountId","reservationId","amount","currency","accountType","timestamp"],"additionalProperties":false}