Sessions
A Session is one on-track segment of an event — Free Practice 1, Qualifying, Race 1, etc.
What's stored
| Field | Notes |
|---|---|
id / accountId | Standard |
eventId | Parent event |
name | e.g. FP1, Q1, Race |
type | enum (practice, qualifying, race, warmup, test) |
startsAt / endsAt | ISO datetimes |
parameters | JSONB — driven by a Session-scoped Definition |
The seed data gives you three sessions for the Sebring event.
Where it shows in the app
| Surface | Notes |
|---|---|
| Context strip → Session dropdown | Cascades from the selected event |
| Run Sheets | One run sheet per session × car |
| Session Clock | Live countdown / elapsed for the active session |
| Run Plan | Plans the next session's stints |
| Strategy Overview | Visualises stint timeline for the session |
What you can do today
- List via
GET /sessions?eventId=... - CRUD via
/sessions - Pick a session in the context strip
- See the seeded sessions when an event is selected
What's coming
- Dedicated Sessions admin screen
- Live-timing integration that creates a Session automatically when the timing feed reports a new session start
- Cross-session comparisons (best laps, sector deltas) — partially exposed in the multi-session-table custom view today