TransitAI Core

The architecture in action

One bus. One stop. Four files.

On Wednesday 4 September 2024, a route 101 bus stood at Dundas Street and Hurontario Street. That moment appears in all four sample files. These pages follow each record through the design.

  1. Timetable

    Due to leave at 07:33:00.

  2. Vehicle file

    Arrived 07:31:36. Left 07:32:45.

  3. Door counter

    Eight on, four off, 33 aboard.

  4. Fare readers

    Eight taps between 07:31:50 and 07:32:10.

View 1 · by actor

Who does what.

Follow the record from left to right.

1 · Agency

Keeps its own

Its systems and raw data stay inside. Each dataset has a named owner and steward.

2 · Adapter

Converts at the source

Software in the agency's own account. It reshapes vendor rows, applies the field labels and drops restricted fields.

3 · Exchange

Checks three things

The shape against the contract. The identifiers against the semantics. The request against the policy.

4 · Region

Builds on what crosses

On-time performance, crowding, revenue and transfers, each measured the same way for everyone.

View 2 · by piece

Piece by piece.

The same record, one lane for each part of the design.

Adapterdoes the converting

Before

date
120240904
left at
27165

After

date
2024-09-04
left at
07:32:45
Contractthe shape

Before

26 values in a row, with no column names.

After

Named columns from TIDES: service_date, stop_id, actual_departure_time.

Semanticsthe meaning

Before

vendor trip
3465545
fare location
749

After

timetable trip
27004457
stop
0749
Policywho may use it

Before

An agreement people sign: the agency shares fare taps so the region can split revenue.

After

A rule the exchange checks on every request. The card serial is blocked.

Governancewho answers for it

Before

A column in a vendor file.

After

A labelled field with an owner, and a known cost if it changes.

Each page below takes one file and shows its record in both views. No adapter is built yet. This shows what the design would do with a real record. The twelve months and the team names are example values, to be set in the Phase 3 governance work.

Follow each file.

↑ ↓ to move · ↵ to open · esc to close