> ## Documentation Index
> Fetch the complete documentation index at: https://offthepace.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# dim_events

> Race-level event dimension.

<Note>Part of the [Marts](/transform/families/marts) family.</Note>

Race-level event dimension. One row per event (damage, retirement, penalty). Currently populated from the raw\_dim\_events seed (manual entries for 2021). Joined onto fct\_lap\_residuals to flag performance-impact and reliability-impact events.

## Lineage

```mermaid theme={null}
flowchart LR
  dim_events
  style dim_events fill:#e40404,stroke:#e40404,color:#fff
```

## Overview

| Property          | Value                              |
| ----------------- | ---------------------------------- |
| Layer             | `marts`                            |
| Family            | [Marts](/transform/families/marts) |
| Contract enforced | No                                 |

**3 tests** [guard](/transform/ci/overview) this model  -  3 generic, 0 singular.

## Columns

| Column     | Type | Nullable | Tests                                                                        | Description                           |
| ---------- | ---- | -------- | ---------------------------------------------------------------------------- | ------------------------------------- |
| `event_id` |      | Yes      | [`not_null`](/transform/ci/structural), [`unique`](/transform/ci/structural) | Surrogate PK for the event.           |
| `race_id`  |      | Yes      | [`not_null`](/transform/ci/structural)                                       | Race identifier the event belongs to. |
