Create a new event domain, with its events and components.
The input for creating a Domain
The domain's name
The domain's slug. If not specified, one will be generated.
The domain's description
What happens to events that aren't defined in the domain. One of ALLOW_EVENT or BLOCK_EVENT. Optional, defaults to ALLOW_EVENT.
The definitions for the events in the domain.
The reusable components defined in the domain.
Ok
A collection of event and component schemas used for validating events.