Custom event type defined through a schema.
@type t() :: %EventSourcingDB.EventType{ event_type: String.t(), is_phantom: boolean(), schema: map() | nil }
@spec new(map()) :: t()