{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","title":"AccountCreatedEvent","description":"Event emitted when a new merchant account aggregate is created","properties":{"accountId":{"type":"object","description":"Account identifier","properties":{"value":{"type":"string","format":"uuid","description":"The unique account UUID"}},"required":["value"]},"ownerId":{"type":"object","description":"Owner identifier","properties":{"value":{"type":"string","format":"uuid","description":"The unique owner UUID"}},"required":["value"]},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency in which the account operates (ISO 4217, 3 characters)","example":"EUR"},"delay":{"type":"integer","description":"Delay configuration for the account","example":2},"country":{"type":"string","pattern":"^[A-Z]{3}$","description":"Country code where the account operates (ISO 3166, 3 characters)","example":"NOR"},"iban":{"type":"string","maxLength":34,"description":"International Bank Account Number","example":"NO9386011117947"},"bic":{"type":"string","maxLength":34,"description":"Bank Identifier Code","example":"DNBANOKKXXX"},"bookkeepingConfigId":{"type":"integer","description":"Bookkeeping configuration identifier","example":15656},"timestamp":{"type":"string","format":"date-time","description":"Timestamp when the account was created"}},"required":["accountId","ownerId","currency","delay","country","iban","bic","bookkeepingConfigId","timestamp"],"additionalProperties":false}