TransitAI Core

Vehicle location · AVL

Sixty-nine seconds at a stop.

The vehicle file's record of the bus at Dundas Street and Hurontario Street: when it was due, when it came and when it left.

View 1 · by actor

Who does what.

Follow the record from left to right.

1 · Agency

The vendor row

As the vehicle system exports it. Seven of its 26 values:

date
120240904
trip
3465545
stop
0749
due
27180
arrived
27096
left
27165
label
ON-TIME

2 · Adapter

Convert and drop

Dates and clock times become readable. The vendor's own label is left behind.

date
2024-09-04
due
07:33:00
arrived
07:31:36
left
07:32:45
label
dropped

4 · Region

On-time performance

Left 15 seconds ahead of the plan. Every agency's buses are judged by one regional rule, not each vendor's label.

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
27165
label
ON-TIME

After

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

Before

26 values separated by semicolons. No column names.

After

A TIDES stop visit:

service_date
2024-09-04
stop_id
0749
schedule_departure_time
07:33:00
actual_departure_time
07:32:45
Semanticsthe meaning

Before

vendor trip
3465545
stop order
10

After

timetable trip
27004457
stop order
9

Matched by route, day, stop and planned time. Exactly one timetable trip fits.

Policywho may use it

Before

Agreement: the agency shares stop visits so the region can measure on-time performance, for twelve months.

After

who
regional operations
expires
in twelve months

A request for any other purpose is refused.

Governancewho answers for it

Before

TRIP_ID
critical, internal
KPI
informational

After

The agency's operations team owns the dataset. Changing a critical field needs a new contract version and notice. Every read is logged.

The vendor's trip number appears nowhere in the timetable, so the match above is the semantics problem in miniature. It is shown for this one record, not solved for every trip.

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.

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