System Design Atlas

Waste collection routes and disposal records

01 / 10Worked example

Purpose and boundary

What responsibility does the collection route API assume for a collection route, and what evidence originates outside the system?

The initial assumptions define the scope of responsibility in this example. We follow collection route T-38, bin B-38 and handover record U-38. These stable identifiers connect the technical views. A collection vehicle records bin emptying while offline. When it reconnects, reports arrive twice and out of order. The example covers municipal collection of non-hazardous waste, with its own operational records and confirmed handovers.

Starting point A collection vehicle records bin emptying while offline. When it reconnects, reports arrive twice and out of order.

Assumptions for the example case

Original fictional example design. A municipal collection service for non-hazardous waste uses its own operational records and confirmed handovers. The illustrative load limit is 10000 kg; additional planned loading is allowed only if total mass remains ≤ 10000 kg. All figures and test targets are illustrative assumptions.

Responsibilities and external boundary

Context · Route and records system

Vehicle with local journalOffline bin-emptying events
Receiving facilityWeighing and handover record
Collection route APIEach emptying takes effect once per bin and route. Completion requires a handover record and resolved discrepancies.
Device synchronisationDurably accepts offline events
Record completionJoins collection and receiving paths
Fahrzeug mit lokalem Journal → GerätesynchronisationSigned event sequence
Gerätesynchronisation → Touren-APIDeduplicated emptying
Annahmestelle → NachweisabschlussWeighing and handover record

Each emptying takes effect once per bin and route. Completion requires a handover record and resolved discrepancies.

A collection vehicle records bin emptying while offline. When it reconnects, reports arrive twice and out of order. Actors sit outside the system boundary and the collection route API sits inside it; the receiving facility has a separate external boundary.

The specific design scope

Example situation
A collection vehicle records bin emptying while offline. When it reconnects, reports arrive twice and out of order.
Scope
A fictional municipal collection service for non-hazardous waste, with its own operational records and confirmed handover.
Excluded tasks
Dangerous goods transport, legally valid eANV, legal signature requirements and binding proof of disposal.

Emptying and handover have separate records

Emptying and handover have separate records

Emptying and handover have separate records.

A collection vehicle records bin emptying while offline. When it reconnects, reports arrive twice and out of order.

The example covers municipal collection of non-hazardous waste, with its own operational records and confirmed handovers. The exercise specifies the input and expected result.

Alternative considered
Extending the scope to dangerous goods transport, legally effective eANV processing, statutory signature requirements and binding disposal records requires additional domain contracts.
Trade-off
The initial scope covers municipal collection of non-hazardous waste, with its own operational records and confirmed handovers.
Reassess
A need for dangerous goods transport, legally effective eANV processing, statutory signatures or binding disposal records calls for a new scope decision.

Try it yourself

Assign responsibility for the collection route, the receiving facility and the 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 collection route API maintains the authoritative route record. The collection team handles the collection work; platform operations provides the technical processing.
External boundary
The receiving facility remains an external source of evidence. Dangerous goods transport, legally effective eANV processing, statutory signature requirements and binding disposal records are outside the scope.

Apply to your project

Which evidence for a collection route would originate outside the application in your own project?

Next: keep planned mass and actual accepted mass separate.