System Design Atlas

Property maintenance across a service network

02 / 10Worked example

Verifiable requirements

Travel time is part of the booked interval. What conditions ensure the result?

The two apartments are some distance apart.

Starting point Property management reviews the work report.

Assumptions for the example case

Fictional repair of a dripping faucet in an apartment. The order contains a fixed scope of work and a confirmed access appointment. All quantities, thresholds and operational objectives of this design are illustrative assumptions.

Two confirmations

Two separate confirmations

F-44 free09:00–10:30 without overlap
F-44 frei → Zugang bestätigtBoth conditions
Confirmed accessResidents allow access
Zugang bestätigt → Termin T-44Allocate atomically
Appointment T-4409:00–10:00 plus travel buffer
Work reportThe technician reports completion
Arbeitsbericht → VerwaltungsprüfungSeparate decision
Property management reviewAccept or name the defect
Verwaltungsprüfung → AbgenommenOnly for confirmed performance
AcceptedTerminal completion

Confirmed access and technician availability create T-44; the work report and property management review lead to acceptance later.

Available technician and confirmed access lead to the appointment; work report and acceptance to the conclusion.

Business requirements (functional)

Further reading
Rule 1
A technician does not have overlapping confirmed appointments, including travel buffers.
Rule 2
Completion report and acceptance are separate events.
Rule 3
Remedial work remains open until re-examination; cancellation before work begins releases the appointment once.

Quality goals (non-functional)

Further reading
Measurement window
95% of the appointment confirmations within 500 ms at 20/s over 15 min; external calendar synchronization separately.
Open results
Acceptance requires a reviewed work report. Cancellation requires a reason and documented release of the appointment allocation. After work starts, cancellation requires clarification of work performed and costs.

Travel time is part of the booked interval.

Travel time is part of the booked interval.

The appointment blocks an additional 30 minutes.

The two apartments are some distance apart.

10:29:59 overlaps the buffer. 10:30:00 starts at the exclusive end and is allowed.

Alternative considered
Only reserving working time creates impossible follow-up appointments.
Trade-off
Fewer appointment slots appear available.
Reassess
Real travel times justify location-dependent buffers.

Try it yourself

Check follow-up appointments starting at 10:29:59 and 10:30:00.

A hint for your attempt

The two apartments are some distance apart.

Compare with a possible solution
Collision
10:29:59 overlaps the buffer.
Boundary
10:30:00 starts at the exclusive end and is allowed.

Apply to your project

What is the equivalent of “travel time belongs to the occupancy.” in your own project?

Step 3: Appointment load and contention are different. What conditions ensure the result?