
✈️ Travel & Hospitality · Sequence
Mobile check-in for a hotel: ID upload, room assignment by the PMS, payment hold and a digital room key.
Drawing diagram…
Hotel digital check-in sequence: the guest opens the hotel app on arrival day, uploads ID and confirms details. The app calls the property management system (PMS), which assigns a clean room. A card pre-authorisation is placed through the payment gateway. The key service asks the door lock vendor to issue a mobile key, and the guest unlocks the room with their phone.
sequenceDiagram actor G as Guest participant APP as Hotel App participant PMS as Property Management System participant PG as Payment Gateway participant KEY as Mobile Key Service participant LOCK as Door Lock Vendor G->>APP: Start check-in, upload ID APP->>PMS: Check in reservation PMS->>PMS: Assign clean room PMS-->>APP: Room 1204 APP->>PG: Pre-authorise card for incidentals PG-->>APP: Hold approved APP->>KEY: Request mobile key KEY->>LOCK: Issue key for room 1204 LOCK-->>KEY: Key token KEY-->>APP: Digital key G->>LOCK: Tap phone to unlock
How an online travel site books a flight: fare search across airlines, seat hold, passenger details, payment and ticket issue.
Every state of a hotel reservation from enquiry to checkout, including pay-at-hotel, cancellations and no-shows.
A hotel chain's reservation platform: booking engine, property management system, channel manager for OTAs and revenue management.
A database schema for an airline or hotel loyalty programme: members, tiers, earning and burning points, partners and rewards.
How a passenger checks in for a flight: online or at the airport, seat selection, documents check, bags and boarding pass.
How an online travel aggregator is deployed to handle search spikes: search fan-out to suppliers, caching, and separate booking services.