System Design Atlas

Rail timetables and disruption information

01 / 10Worked example

Purpose and boundary

What responsibility does the train service status API assume, and which evidence originates outside the system?

The initial assumptions define responsibility in this example. We follow train service F-24, timetable version P-24 and disruption report M-24. These stable identifiers connect the technical views. A regional train is cancelled before departure. Passenger information must retain the cancellation even when an older delay report arrives later. The case covers a regional rail line with dated services, stops and manually confirmed cancellations.

Starting point A regional train is cancelled before departure. Passenger information must show the cancellation even if an older delay report arrives afterwards.

Assumptions for the example case

Original fictional design: a regional rail line with dated services, stops and manually confirmed cancellations. An actual-status report is current at age < 90 seconds; at 90 seconds its timestamp is marked stale. All figures and test targets are illustrative assumptions.

Responsibilities and external boundary

Context · Train service status and display

DispatchConfirms cancellations and corrections
Passenger information teamChecks the visible status version

Train service status system

Train service status APIA confirmed cancellation remains effective until an authorised correction.
Timetable serviceSupplies timetable and source reports
Disposition → Fahrtlage-APICancellation or correction
Fahrplandienst → Fahrtlage-APITimetable reference
Fahrtlage-API → FahrgastinformationVisible status version

Timetable, source report, authoritative status and passenger display remain separate; there is no train-control path.

A regional train is cancelled before departure. Passenger information must retain the cancellation even when an older delay report arrives later. Actors sit outside the system boundary and the train service status API sits inside it; the timetable service has its own external boundary.

The specific design scope

Example situation
A regional train is cancelled before departure. Passenger information must show the cancellation even if an older delay report arrives afterwards.
Scope
A regional rail line with dated services, stops and manually confirmed cancellations.
Excluded tasks
Train control, automatic connection guarantee, ticket sales and scheduling optimization.

The operating day is part of a train service's identity

The operating day is part of a train service's identity

The operating day is part of a train service's identity.

A regional train is cancelled before departure. Passenger information must show the cancellation even if an older delay report arrives afterwards.

A regional rail line with dated services, stops and manually confirmed cancellations. The exercise specifies the input and expected result.

Alternative considered
Extending the scope to train control, automatic connection guarantees, ticket sales or dispatch optimisation requires additional domain contracts.
Trade-off
The initial scope covers a regional rail line with dated services, stops and manually confirmed cancellations.
Reassess
A need for train control, automatic connection guarantees, ticket sales or dispatch optimisation calls for a new scope decision.

Try it yourself

Assign responsibility for the train service, timetable service and completion decision. Name one task outside the system boundary.

A hint for your attempt

Use the business guarantee and the explicitly limited scope.

Compare with a possible solution
Primary responsibility
The train service status API maintains the authoritative service record. Dispatch handles business decisions; platform operations provides technical processing.
External boundary
The timetable service remains an external evidence source. Train control, automatic connection guarantees, ticket sales and dispatch optimisation are outside the scope.

Apply to your project

Which evidence for a train service would originate outside the application in your own project?

Next: every forecast includes freshness information.