Stampede Platform
Nothing published in this section yet.
Schema
BookingsActivity
Booking
A table reservation or walk-in visit. Central hub connecting customers to venues, orders, threads, upgrades, and events.
16 fields12 relationships
Fields
| Name | Type | Req | Description |
|---|---|---|---|
| id | uuid | yes | Booking UUID. |
| status | enum | yes | enquiry_pending | enquiry_confirmed | active | arrived | partially_seated | seated | starter | main | appetizer | entree | dessert | table_ready | cleared | check_dropped | paid | cancelled | no_show | complete. |
| party_size | number | yes | Number of covers. |
| start_time | datetime | yes | Reservation start. Indexed. |
| end_time | datetime | — | Reservation end. |
| completed_at | datetime | — | When booking completed. |
| booking_type | string | — | Service type, e.g. Lunch, Dinner, Brunch. |
| walk_in | boolean | — | Walked in without prior reservation. |
| vip | boolean | — | VIP flag. |
| reference | string | — | Human-readable reference. |
| deposit_amount | pennies | — | Deposit charged in pennies. |
| total_loyalty_points | number | — | Points earned on booking. |
| allergens | array | — | Allergen strings. |
| dietary_requirements | array | — | vegan, vegetarian, gluten-free etc. |
| message | string | — | Free-text request from guest. |
| message_embedding | vector | — | Semantic-search embedding of guest message. |
Relationships
Outbound (10)
- Booking[:AT_VENUE]→Venue
- Booking[:HAS_ORDER]→Order
- Booking[:HAS_NEO_ORDER]→SquareOrder
- Booking[:HAS_WIFI_SESSION]→WifiSession
- Booking[:HAS_UPGRADE]→BookingUpgradepaid_amount (pennies), created_at
- Booking[:HAS_CANCELLATION_CHARGE]→CancellationCharge
- Booking[:ATTRIBUTED_TO]→EmailCampaignmarketing attribution via utm_id
- Booking[:ATTRIBUTED_TO]→Workflowmarketing attribution via utm_id
- Booking[:FOR_EVENT]→Event
- Booking[:HAS_THREAD]→Thread
Related entities
CustomerGraph AI Engine
The root guest identity node. Every interaction across bookings, Wi-Fi, orders, reviews, and loyalty is unified under a single Customer node per organisation.VenueGraph AI Engine
A physical location operated by an organisation. Every activity node — bookings, Wi-Fi sessions, orders, reviews — links back to a venue via the :AT_VENUE relationship.OrderPayOS
Pre-order placed via Stampede ordering (Zion). Linked to a booking before guest arrives.SquareOrderPayOS
Live POS order via Square integration. Real-time table spend during service. All amounts in pennies.WifiSessionWi-Fi
Created when a guest authenticates through a Stampede Wi-Fi splash. Links physical presence to customer profile, with or without a booking.BookingUpgradePayOS
Upsell/add-on purchasable alongside a booking (champagne package, private room fee).CancellationChargePayOS
Late-cancel or no-show fee. Tracks amount owed vs collected.EmailCampaignMarketing CRM
Email campaign — manual or workflow-triggered. Tracks send/open/click/bounce funnel per customer.
