# `Commanded.EventStore.EventData`
[🔗](https://github.com/commanded/commanded/blob/v1.4.12/lib/commanded/event_store/event_data.ex#L1)

EventData contains the data for a single event before being persisted to
storage.

# `t`

```elixir
@type t() :: %Commanded.EventStore.EventData{
  causation_id: uuid() | nil,
  correlation_id: uuid(),
  data: struct(),
  event_type: String.t(),
  metadata: map()
}
```

# `uuid`

```elixir
@type uuid() :: String.t()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
