Persisted event directive (table beancount_events).
Storage-layer counterpart of Beancount.Directives.Event.
Fields
date- the day the event value changes.type- event name, e.g."location"or"employer".description- the new value for the event.metadata- arbitrary key/value map.file_order- zero-based position of the directive in the source.
Example
%Beancount.Schemas.Event{
date: ~D[2026-01-05],
type: "location",
description: "Athens, GR",
metadata: %{},
file_order: 12
}