> ## 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_driver_seasons

> One row per season × driver code.

> [!NOTE]
>
> Part of the [Reference](https://offthepace.mintlify.site/transform/families/reference.md) family.

One row per season × driver code. The three-letter code is reused across seasons and names vary by season, so season is part of the key. driver\_id is FastF1's stable DriverId; names are the official ones for that season. Built from bronze race results.

## Lineage

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

## Overview

| Property | Value |
| - | - |
| Layer | `reference` |
| Family | [Reference](https://offthepace.mintlify.site/transform/families/reference.md) |
| Contract enforced | No |
| Model-level tests | `unique_combination_of_columns` |

**5 tests** [guard](https://offthepace.mintlify.site/transform/ci/overview.md) this model  -  5 generic, 0 singular.

## Columns

| Column | Type | Nullable | Tests | Description |
| - | - | - | - | - |
| `season` | `integer` | Yes | [`not_null`](https://offthepace.mintlify.site/transform/ci/structural) | Season year. |
| `driver_code` | `varchar` | Yes | [`not_null`](https://offthepace.mintlify.site/transform/ci/structural) | Three-letter FastF1 code matching laps.Driver and results.Abbreviation within the season. |
| `driver_id` | `varchar` | Yes | [`not_null`](https://offthepace.mintlify.site/transform/ci/structural) | FastF1 stable DriverId for this code in this season. |
| `full_name` | `varchar` | Yes | [`not_null`](https://offthepace.mintlify.site/transform/ci/structural) | Official full name for this code in this season. |
| `first_name` | `varchar` | Yes | | First name. |
| `last_name` | `varchar` | Yes | | Last name. |
| `team_name` | `varchar` | Yes | | Team the driver raced for most often in the season. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.