Reusable adapters
Adding the second customer took one new adapter, its config and tests. The core didn’t change.
System design case study
How I’d bring inconsistent airport data into one reliable model, and onboard every new customer the same way.
Airport systems don’t agree. One ground handler’s flight API sends nested JSON with its own status codes, its baggage export uses local times with no offset, and another handler uses ICAO airport codes. Passed straight through, those differences become wrong times and silent errors downstream.
Adding the second customer took one new adapter, its config and tests. The core didn’t change.
Adapters aren’t trusted. An adapter that forgets to convert to UTC is caught by the shared rules.
Every record is accepted, held for review or rejected with a reason. Nothing is guessed or silently dropped.
The repeatable process I’d follow for each new customer.
Collect sample feeds; agree time zones, codes and which source owns each field.
Write the customer’s adapter and config.
Run their samples through shared validation and review every exception.
Go live once the outcomes match what the customer expects.