TransitAI Core

Fare collection · AFC

Eight taps in twenty seconds.

While the bus stood at the stop, the fare readers logged eight taps. This is one of them: a fare of $3.40 paid from a card balance.

View 1 · by actor

Who does what.

Follow the record from left to right.

1 · Agency

The vendor row

Three values are hidden even here. They are the restricted ones.

card serial
hidden
date
2024-09-04
time
07:31:55
fare class
hidden
type
14
fare
3.4
product
hidden
location
749
line
101

2 · Adapter

Mask and convert

Restricted fields are removed before anything leaves the agency.

card serial
removed
fare class
removed
product
removed
stop
0749
amount
3.40
action
fare payment

4 · Region

Revenue and transfers

$3.40 on route 101 at this stop. Of the eight taps in those seconds, two paid a fare and six were transfers.

View 2 · by piece

Piece by piece.

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

Adapterdoes the converting

Before

card serial
hidden
type
14
location
749

After

card serial
removed
action
fare payment
stop
0749
Contractthe shape

Before

18 named columns, in the card system's own vocabulary.

After

A TIDES fare transaction:

service_date
2024-09-04
event_timestamp
07:31:55
amount
3.40
currency_type
CAD
stop_id
0749
Semanticsthe meaning

Before

location
749
line
101
which bus
not recorded

After

stop
0749
route
101
which bus
the one at that stop that second
Policywho may use it

Before

Agreement: the agency shares fare taps so the region can split revenue on journeys that cross agencies, for twelve months.

After

who
regional revenue team
fields
date, amount, stop, route, transfer operator
blocked
card serial, fare class, product

Asking for the card serial is refused.

Governancewho answers for it

Before

GSN
critical, restricted
ProductID
important, restricted

After

The agency's revenue team owns the dataset. Anything rider-level is shared only as totals above a minimum group size, or inside a clean room.

The fare file does not say which bus a tap was on. Its location and line numbers do match the timetable's stops and routes, so the tap can be placed on the bus that was at that stop at that second.

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