Dashboard Created
Recorded when a Data Analyst creates a new dashboard with a name and initial layout.
Event
Description
This event is emitted when a dashboard is created within a workspace. The event captures the dashboard identity, workspace scope, name, and creation timestamp.
Dashboards are workspace-scoped resources; the aggregate ID is workspace_{workspaceId}/dashboard_{name}.
The event contains all data needed to reconstruct dashboard state through event replay.
Business Rules
- Dashboard names must be unique within a workspace
- Dashboards are created empty (no initial charts or tabs)
- Workspaces are the ownership boundary; dashboards belong to workspaces, not individual users
Event Schema
| Field | Type | Description |
|---|---|---|
dashboardId | string | Unique identifier for the dashboard |
workspaceId | string | Unique identifier for the containing workspace |
name | string | Dashboard name (human-readable identifier within workspace) |
timestamp | ISO 8601 datetime | When the dashboard was created |
Given-When-Then
Given a workspace exists, When a dashboard is created with a name, Then DashboardCreated is recorded with dashboardId, workspaceId, name, and timestamp.