{
  "format": "dataset-manifest/1",
  "slug": "hotel-reservation-sample-database",
  "version": 1,
  "seed": "flagship:hotel-reservation-sample-database:1k",
  "engine": 2,
  "engineVersion": "1.0.0",
  "spec": {
    "format": "dataset/1",
    "engine": 2,
    "slug": "hotel-reservation-sample-database",
    "name": "Hotel reservation sample database",
    "tagline": "Guests, rooms, stays, payments and refunds, with the dining, services, housekeeping and feedback around them.",
    "description": "A hotel group over five years: guests book rooms of eight types, stay, pay at check-out and sometimes get refunded; during a stay they order from the restaurants, use paid services and leave feedback afterwards. Housekeeping, maintenance, events, conference rooms and loyalty accounts run beside the stays. Every payment equals the price of its stay, every service charge is its quantity times the service price, every restaurant bill is the sum of its lines, and feedback always names the guest who stayed. Stays run up to a week, and one that checks out the day it checks in is a day-use booking. Rooms are drawn for each stay independently, so two stays can overlap on one room -- a query looking for double bookings will find some, which is what it is there to practise on.",
    "domain": "hospitality",
    "shape": "transactional",
    "useCases": [
      "sql-practice",
      "bi-dashboards",
      "test-fixtures"
    ],
    "keywords": [
      "hotel",
      "reservations",
      "bookings",
      "occupancy",
      "sample database"
    ],
    "locale": "en_US",
    "license": "CC0-1.0",
    "version": 1,
    "seed": "flagship:hotel-reservation-sample-database",
    "tables": {
      "amenities": {
        "description": "Rows for the amenities table.",
        "rows": 24,
        "columns": {
          "amenity_id": {
            "kind": "pk"
          },
          "description": {
            "kind": "enum",
            "values": [
              "Included in the room rate",
              "Charged per use",
              "Available on request at the front desk",
              "Available in selected rooms only",
              "Seasonal; open May to September"
            ],
            "weights": [
              45,
              20,
              15,
              15,
              5
            ]
          },
          "name": {
            "kind": "enum",
            "values": [
              "free_wifi",
              "outdoor_pool",
              "indoor_pool",
              "fitness_center",
              "spa",
              "sauna",
              "airport_shuttle",
              "valet_parking",
              "self_parking",
              "ev_charging",
              "business_center",
              "room_service",
              "minibar",
              "coffee_maker",
              "in_room_safe",
              "balcony",
              "sea_view",
              "city_view",
              "bathtub",
              "rain_shower",
              "smart_tv",
              "work_desk",
              "blackout_curtains",
              "pet_friendly"
            ],
            "unique": true
          }
        }
      },
      "applied_promotions": {
        "description": "Rows for the applied_promotions table.",
        "rows": 40,
        "columns": {
          "applied_id": {
            "kind": "pk"
          },
          "promotion_id": {
            "kind": "fk",
            "ref": "promotions.promotion_id",
            "skew": "long-tail"
          },
          "reservation_id": {
            "kind": "fk",
            "ref": "reservations.reservation_id",
            "skew": "long-tail"
          }
        }
      },
      "conference_room_bookings": {
        "description": "Rows for the conference_room_bookings table.",
        "rows": 10,
        "columns": {
          "booking_id": {
            "kind": "pk"
          },
          "conference_id": {
            "kind": "fk",
            "ref": "conference_rooms.conference_id",
            "skew": "long-tail"
          },
          "end_time": {
            "kind": "datetime",
            "after": "start_time",
            "withinSeconds": 28800
          },
          "guest_id": {
            "kind": "fk",
            "ref": "guests.guest_id",
            "skew": "long-tail"
          },
          "start_time": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31",
            "dayProfile": "business"
          }
        }
      },
      "conference_rooms": {
        "description": "Rows for the conference_rooms table.",
        "rows": 10,
        "columns": {
          "conference_id": {
            "kind": "pk"
          },
          "capacity": {
            "kind": "int",
            "min": 10,
            "max": 300
          },
          "name": {
            "kind": "enum",
            "values": [
              "Aspen",
              "Birch",
              "Cedar",
              "Douglas",
              "Elm",
              "Fir",
              "Hawthorn",
              "Juniper",
              "Maple",
              "Oak"
            ],
            "unique": true
          },
          "price_per_hour": {
            "kind": "decimal",
            "min": 40,
            "max": 600,
            "scale": 2
          }
        }
      },
      "dining_order_items": {
        "description": "Rows for the dining_order_items table.",
        "rows": 400,
        "columns": {
          "item_id": {
            "kind": "pk"
          },
          "item_name": {
            "kind": "enum",
            "values": [
              "Caesar Salad",
              "Tomato Soup",
              "Club Sandwich",
              "Cheeseburger",
              "Margherita Pizza",
              "Grilled Salmon",
              "Ribeye Steak",
              "Chicken Curry",
              "Mushroom Risotto",
              "Fish and Chips",
              "Pad Thai",
              "Beef Tacos",
              "Greek Salad",
              "Lobster Roll",
              "Pancakes",
              "Eggs Benedict",
              "French Toast",
              "Fruit Plate",
              "Granola Bowl",
              "Omelette",
              "Avocado Toast",
              "Chocolate Cake",
              "Cheesecake",
              "Apple Pie",
              "Ice Cream Sundae",
              "Espresso",
              "Cappuccino",
              "Fresh Orange Juice",
              "House Red Wine",
              "House White Wine",
              "Craft Beer",
              "Sparkling Water",
              "Lemonade",
              "Iced Tea",
              "Spaghetti Carbonara",
              "Lasagna",
              "Veggie Burger",
              "Chicken Wings",
              "Nachos",
              "Shrimp Cocktail"
            ]
          },
          "order_id": {
            "kind": "fk",
            "ref": "dining_orders.order_id",
            "skew": "flat"
          },
          "price": {
            "kind": "decimal",
            "min": 4,
            "max": 85,
            "scale": 2,
            "distribution": "long-tail",
            "description": "What the line cost: the dish times its quantity."
          },
          "quantity": {
            "kind": "int",
            "min": 1,
            "max": 4,
            "distribution": "long-tail"
          }
        }
      },
      "dining_orders": {
        "description": "Rows for the dining_orders table.",
        "rows": 100,
        "columns": {
          "order_id": {
            "kind": "pk"
          },
          "employee_id": {
            "kind": "fk",
            "ref": "employees.employee_id",
            "skew": "long-tail"
          },
          "order_date": {
            "kind": "datetime",
            "after": "reservation_id.check_in_date",
            "withinDays": 4,
            "dayProfile": "waking"
          },
          "reservation_id": {
            "kind": "fk",
            "ref": "reservations.reservation_id",
            "skew": "long-tail"
          },
          "status": {
            "kind": "enum",
            "values": [
              "paid",
              "open",
              "cancelled"
            ],
            "weights": [
              92,
              3,
              5
            ]
          },
          "total_amount": {
            "kind": "decimal",
            "min": 0,
            "max": 10000,
            "scale": 2,
            "distribution": "long-tail"
          }
        }
      },
      "employees": {
        "description": "Rows for the employees table.",
        "rows": 10,
        "columns": {
          "employee_id": {
            "kind": "pk"
          },
          "email": {
            "kind": "internet.email",
            "from": {
              "firstName": "first_name",
              "lastName": "last_name"
            }
          },
          "first_name": {
            "kind": "person.firstName"
          },
          "last_name": {
            "kind": "person.lastName"
          },
          "phone": {
            "kind": "phone.number"
          },
          "role": {
            "kind": "enum",
            "values": [
              "front_desk",
              "housekeeping",
              "maintenance",
              "chef",
              "server",
              "concierge",
              "sales",
              "manager"
            ],
            "weights": [
              18,
              30,
              10,
              10,
              15,
              5,
              5,
              7
            ]
          },
          "salary": {
            "kind": "decimal",
            "min": 26000,
            "max": 98000,
            "scale": 2,
            "distribution": "long-tail"
          }
        }
      },
      "feedback": {
        "description": "Rows for the feedback table.",
        "rows": 100,
        "columns": {
          "feedback_id": {
            "kind": "pk"
          },
          "comments": {
            "kind": "enum",
            "values": [
              "Check-in was quick",
              "Check-in took longer than expected",
              "Room was quiet",
              "Street noise at night",
              "Bed was comfortable",
              "Bathroom needed attention",
              "Breakfast had plenty of choice",
              "Breakfast options were limited",
              "Staff were helpful",
              "Wi-Fi was slow in the room",
              "Great location",
              "Parking was hard to find",
              "Pool was crowded",
              "Room was smaller than expected",
              "Housekeeping was thorough",
              "Would stay again"
            ],
            "nullable": true,
            "nullRate": 0.3
          },
          "feedback_date": {
            "kind": "datetime",
            "after": "reservation_id.check_out_date",
            "withinDays": 14,
            "dayProfile": "waking"
          },
          "guest_id": {
            "kind": "copy",
            "from": "reservation_id.guest_id",
            "description": "The guest who made the reservation."
          },
          "rating": {
            "kind": "int",
            "min": 1,
            "max": 5,
            "distribution": "high"
          },
          "reservation_id": {
            "kind": "fk",
            "ref": "reservations.reservation_id",
            "skew": "long-tail"
          }
        }
      },
      "guest_event_participation": {
        "description": "Rows for the guest_event_participation table.",
        "rows": 20,
        "columns": {
          "participation_id": {
            "kind": "pk"
          },
          "event_id": {
            "kind": "fk",
            "ref": "hotel_events.event_id",
            "skew": "long-tail"
          },
          "guest_id": {
            "kind": "fk",
            "ref": "guests.guest_id",
            "skew": "long-tail"
          }
        }
      },
      "guests": {
        "description": "Rows for the guests table.",
        "rows": 120,
        "columns": {
          "guest_id": {
            "kind": "pk"
          },
          "address": {
            "kind": "location.streetAddress"
          },
          "email": {
            "kind": "internet.email",
            "from": {
              "firstName": "first_name",
              "lastName": "last_name"
            }
          },
          "first_name": {
            "kind": "person.firstName"
          },
          "idproof": {
            "kind": "enum",
            "values": [
              "passport",
              "driver_license",
              "national_id_card"
            ],
            "weights": [
              35,
              50,
              15
            ]
          },
          "last_name": {
            "kind": "person.lastName"
          },
          "phone": {
            "kind": "phone.number"
          }
        }
      },
      "hotel_branches": {
        "description": "Rows for the hotel_branches table.",
        "rows": 12,
        "columns": {
          "branch_id": {
            "kind": "pk"
          },
          "location": {
            "kind": "place.city"
          },
          "manager_id": {
            "kind": "fk",
            "ref": "employees.employee_id",
            "skew": "long-tail"
          },
          "name": {
            "kind": "enum",
            "values": [
              "Harbor View",
              "Grand Central",
              "Riverside Inn",
              "Parkside Suites",
              "Lakeshore Lodge",
              "Old Town Hotel",
              "Airport Plaza",
              "Hillcrest Resort",
              "Bayfront Hotel",
              "Midtown Residence",
              "Canyon Lodge",
              "Seaside Retreat"
            ],
            "unique": true
          }
        }
      },
      "hotel_events": {
        "description": "Rows for the hotel_events table.",
        "rows": 10,
        "columns": {
          "event_id": {
            "kind": "pk"
          },
          "description": {
            "kind": "enum",
            "values": [
              "Open to all guests",
              "Registration required at the front desk",
              "Ticketed; book at the concierge desk",
              "Free for loyalty members",
              "Family friendly"
            ]
          },
          "event_date": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31",
            "dayProfile": "waking"
          },
          "name": {
            "kind": "enum",
            "values": [
              "Wine Tasting",
              "Jazz Night",
              "Cooking Class",
              "Sunrise Yoga",
              "Pool Party",
              "Business Breakfast",
              "Art Exhibition",
              "Live Acoustic Set",
              "Kids Club Day",
              "Whisky Masterclass",
              "Trivia Night",
              "Salsa Lesson"
            ]
          },
          "organizer": {
            "kind": "enum",
            "values": [
              "Events Team",
              "Food and Beverage",
              "Concierge",
              "Spa Team",
              "Guest Experience"
            ]
          }
        }
      },
      "housekeeping": {
        "description": "Rows for the housekeeping table.",
        "rows": 350,
        "columns": {
          "housekeeping_id": {
            "kind": "pk"
          },
          "cleaning_date": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31",
            "dayProfile": "business"
          },
          "employee_id": {
            "kind": "fk",
            "ref": "employees.employee_id",
            "skew": "long-tail"
          },
          "room_id": {
            "kind": "fk",
            "ref": "rooms.room_id",
            "skew": "long-tail"
          },
          "status": {
            "kind": "enum",
            "values": [
              "done",
              "inspected",
              "in_progress",
              "skipped"
            ],
            "weights": [
              70,
              20,
              5,
              5
            ]
          }
        }
      },
      "inventory": {
        "description": "Rows for the inventory table.",
        "rows": 10,
        "columns": {
          "inventory_id": {
            "kind": "pk"
          },
          "item_name": {
            "kind": "enum",
            "values": [
              "bath towels",
              "bed sheets",
              "pillowcases",
              "toilet paper",
              "shampoo bottles",
              "soap bars",
              "coffee pods",
              "tea bags",
              "bottled water",
              "laundry detergent",
              "light bulbs",
              "cleaning spray"
            ]
          },
          "quantity": {
            "kind": "int",
            "min": 0,
            "max": 2000,
            "distribution": "long-tail"
          },
          "supplier_id": {
            "kind": "fk",
            "ref": "suppliers.supplier_id",
            "skew": "long-tail"
          }
        }
      },
      "loyalty_program": {
        "description": "Rows for the loyalty_program table.",
        "rows": 30,
        "columns": {
          "program_id": {
            "kind": "pk"
          },
          "guest_id": {
            "kind": "fk",
            "ref": "guests.guest_id",
            "unique": true
          },
          "points": {
            "kind": "int",
            "min": 0,
            "max": 250000,
            "distribution": "long-tail"
          }
        }
      },
      "maintenance_requests": {
        "description": "Rows for the maintenance_requests table.",
        "rows": 15,
        "columns": {
          "request_id": {
            "kind": "pk"
          },
          "employee_id": {
            "kind": "fk",
            "ref": "employees.employee_id",
            "skew": "long-tail"
          },
          "issue_description": {
            "kind": "enum",
            "values": [
              "Air conditioning not cooling",
              "Leaking tap",
              "TV remote not working",
              "Light bulb out",
              "Shower drain blocked",
              "Door lock battery low",
              "Wi-Fi not connecting",
              "Minibar fridge warm",
              "Window will not close",
              "Toilet keeps running",
              "Heating too weak",
              "Safe will not open"
            ]
          },
          "request_date": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "room_id": {
            "kind": "fk",
            "ref": "rooms.room_id",
            "skew": "long-tail"
          },
          "status": {
            "kind": "enum",
            "values": [
              "open",
              "in_progress",
              "resolved",
              "closed"
            ],
            "weights": [
              6,
              8,
              26,
              60
            ]
          }
        }
      },
      "menu_items": {
        "description": "Rows for the menu_items table.",
        "rows": 40,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "description": {
            "kind": "enum",
            "values": [
              "Vegetarian",
              "Vegan",
              "Gluten free",
              "Contains nuts",
              "Spicy",
              "Seasonal",
              "House favourite"
            ]
          },
          "item_name": {
            "kind": "enum",
            "values": [
              "Caesar Salad",
              "Tomato Soup",
              "Club Sandwich",
              "Cheeseburger",
              "Margherita Pizza",
              "Grilled Salmon",
              "Ribeye Steak",
              "Chicken Curry",
              "Mushroom Risotto",
              "Fish and Chips",
              "Pad Thai",
              "Beef Tacos",
              "Greek Salad",
              "Lobster Roll",
              "Pancakes",
              "Eggs Benedict",
              "French Toast",
              "Fruit Plate",
              "Granola Bowl",
              "Omelette",
              "Avocado Toast",
              "Chocolate Cake",
              "Cheesecake",
              "Apple Pie",
              "Ice Cream Sundae",
              "Espresso",
              "Cappuccino",
              "Fresh Orange Juice",
              "House Red Wine",
              "House White Wine",
              "Craft Beer",
              "Sparkling Water",
              "Lemonade",
              "Iced Tea",
              "Spaghetti Carbonara",
              "Lasagna",
              "Veggie Burger",
              "Chicken Wings",
              "Nachos",
              "Shrimp Cocktail"
            ],
            "unique": true
          },
          "menu_item_id": {
            "kind": "int",
            "min": 1001,
            "max": 1999,
            "unique": true
          },
          "price": {
            "kind": "decimal",
            "min": 4,
            "max": 68,
            "scale": 2
          },
          "restaurant_id": {
            "kind": "int",
            "min": 1,
            "max": 4
          }
        }
      },
      "payments": {
        "description": "Rows for the payments table.",
        "rows": 300,
        "columns": {
          "payment_id": {
            "kind": "pk"
          },
          "amount": {
            "kind": "copy",
            "from": "reservation_id.total_price"
          },
          "payment_date": {
            "kind": "datetime",
            "after": "reservation_id.check_out_date",
            "withinDays": 1,
            "dayProfile": "business"
          },
          "payment_method": {
            "kind": "enum",
            "values": [
              "credit_card",
              "debit_card",
              "digital_wallet",
              "corporate_account",
              "cash",
              "bank_transfer"
            ],
            "weights": [
              55,
              15,
              12,
              8,
              6,
              4
            ]
          },
          "reservation_id": {
            "kind": "fk",
            "ref": "reservations.reservation_id",
            "skew": "long-tail"
          },
          "status": {
            "kind": "enum",
            "values": [
              "completed",
              "pending",
              "failed"
            ],
            "weights": [
              95,
              2,
              3
            ]
          }
        }
      },
      "promotions": {
        "description": "Rows for the promotions table.",
        "rows": 10,
        "columns": {
          "promotion_id": {
            "kind": "pk"
          },
          "code": {
            "kind": "pattern",
            "pattern": "[PROMO]-AA##",
            "unique": true
          },
          "discount_percentage": {
            "kind": "decimal",
            "min": 5,
            "max": 40,
            "scale": 2
          },
          "end_date": {
            "kind": "date",
            "after": "start_date",
            "withinDays": 120
          },
          "start_date": {
            "kind": "date",
            "from": "2021-01-01",
            "to": "2025-10-31"
          }
        }
      },
      "refunds": {
        "description": "Rows for the refunds table.",
        "rows": 10,
        "columns": {
          "refund_id": {
            "kind": "pk"
          },
          "payment_id": {
            "kind": "fk",
            "ref": "payments.payment_id",
            "skew": "long-tail"
          },
          "refund_amount": {
            "kind": "copy",
            "from": "payment_id.amount"
          },
          "refund_date": {
            "kind": "datetime",
            "after": "payment_id.payment_date",
            "withinDays": 30,
            "dayProfile": "business"
          }
        }
      },
      "reservations": {
        "description": "Rows for the reservations table.",
        "rows": 300,
        "columns": {
          "reservation_id": {
            "kind": "pk"
          },
          "check_in_date": {
            "kind": "date",
            "from": "2021-01-01",
            "to": "2025-12-31",
            "trend": "growing"
          },
          "check_out_date": {
            "kind": "date",
            "after": "check_in_date",
            "withinDays": 7
          },
          "guest_id": {
            "kind": "fk",
            "ref": "guests.guest_id",
            "skew": "long-tail"
          },
          "room_id": {
            "kind": "fk",
            "ref": "rooms.room_id",
            "skew": "long-tail"
          },
          "status": {
            "kind": "enum",
            "values": [
              "completed",
              "cancelled",
              "no_show"
            ],
            "weights": [
              84,
              13,
              3
            ]
          },
          "total_price": {
            "kind": "decimal",
            "min": 90,
            "max": 6000,
            "scale": 2,
            "distribution": "long-tail"
          }
        }
      },
      "room_amenities": {
        "description": "Rows for the room_amenities table.",
        "rows": 10,
        "columns": {
          "room_amenity_id": {
            "kind": "pk"
          },
          "amenity_id": {
            "kind": "fk",
            "ref": "amenities.amenity_id",
            "skew": "long-tail"
          },
          "room_id": {
            "kind": "fk",
            "ref": "rooms.room_id",
            "skew": "long-tail"
          }
        }
      },
      "room_inventory": {
        "description": "Rows for the room_inventory table.",
        "rows": 10,
        "columns": {
          "inventory_id": {
            "kind": "pk"
          },
          "item_name": {
            "kind": "enum",
            "values": [
              "minibar water",
              "minibar soda",
              "snack box",
              "hair dryer",
              "iron",
              "ironing board",
              "extra pillow",
              "bathrobe",
              "slippers",
              "kettle"
            ]
          },
          "quantity": {
            "kind": "int",
            "min": 0,
            "max": 6
          },
          "room_id": {
            "kind": "fk",
            "ref": "rooms.room_id",
            "skew": "long-tail"
          }
        }
      },
      "room_types": {
        "description": "Rows for the room_types table.",
        "rows": 8,
        "columns": {
          "room_type_id": {
            "kind": "pk"
          },
          "capacity": {
            "kind": "int",
            "min": 1,
            "max": 4
          },
          "description": {
            "kind": "enum",
            "values": [
              "Non-smoking",
              "Interconnecting rooms available",
              "Accessible bathroom",
              "Rollaway bed available",
              "Smoking on the balcony only"
            ],
            "weights": [
              40,
              20,
              15,
              20,
              5
            ]
          },
          "type_name": {
            "kind": "enum",
            "values": [
              "classic",
              "superior",
              "deluxe",
              "premier",
              "studio",
              "junior_suite",
              "executive_suite",
              "penthouse"
            ],
            "unique": true
          }
        }
      },
      "rooms": {
        "description": "Rows for the rooms table.",
        "rows": 10,
        "columns": {
          "room_id": {
            "kind": "pk"
          },
          "floor": {
            "kind": "int",
            "min": 1,
            "max": 18
          },
          "price_per_night": {
            "kind": "decimal",
            "min": 79,
            "max": 890,
            "scale": 2,
            "distribution": "long-tail"
          },
          "room_number": {
            "kind": "pattern",
            "pattern": "[RM]-####",
            "unique": true
          },
          "room_type_id": {
            "kind": "fk",
            "ref": "room_types.room_type_id",
            "skew": "long-tail"
          },
          "status": {
            "kind": "enum",
            "values": [
              "available",
              "occupied",
              "cleaning",
              "out_of_service"
            ],
            "weights": [
              55,
              30,
              10,
              5
            ]
          }
        }
      },
      "service_usage": {
        "description": "Rows for the service_usage table.",
        "rows": 1000,
        "columns": {
          "service_usage_id": {
            "kind": "pk"
          },
          "quantity": {
            "kind": "int",
            "min": 1,
            "max": 4,
            "distribution": "long-tail"
          },
          "reservation_id": {
            "kind": "fk",
            "ref": "reservations.reservation_id",
            "skew": "long-tail"
          },
          "service_id": {
            "kind": "fk",
            "ref": "services.service_id",
            "skew": "long-tail"
          },
          "total_cost": {
            "kind": "expr",
            "op": "product",
            "of": [
              "quantity",
              "service_id.price"
            ],
            "scale": 2
          },
          "usage_date": {
            "kind": "datetime",
            "after": "reservation_id.check_in_date",
            "withinDays": 3,
            "dayProfile": "waking"
          }
        }
      },
      "services": {
        "description": "Rows for the services table.",
        "rows": 16,
        "columns": {
          "service_id": {
            "kind": "pk"
          },
          "description": {
            "kind": "enum",
            "values": [
              "Charged per use",
              "Charged per night",
              "Charged per item",
              "Book at the front desk",
              "Subject to availability"
            ]
          },
          "price": {
            "kind": "decimal",
            "min": 5,
            "max": 180,
            "scale": 2,
            "distribution": "long-tail"
          },
          "service_name": {
            "kind": "enum",
            "values": [
              "room_service",
              "laundry",
              "dry_cleaning",
              "spa_massage",
              "airport_transfer",
              "late_checkout",
              "early_checkin",
              "minibar",
              "parking",
              "breakfast_buffet",
              "pet_fee",
              "extra_bed",
              "gym_day_pass",
              "tour_booking",
              "babysitting",
              "bike_rental"
            ],
            "unique": true
          }
        }
      },
      "suppliers": {
        "description": "Rows for the suppliers table.",
        "rows": 40,
        "columns": {
          "supplier_id": {
            "kind": "pk"
          },
          "contact": {
            "kind": "person.fullName"
          },
          "email": {
            "kind": "internet.email"
          },
          "name": {
            "kind": "company.name"
          }
        }
      },
      "vehicle_rentals": {
        "description": "Rows for the vehicle_rentals table.",
        "rows": 10,
        "columns": {
          "rental_id": {
            "kind": "pk"
          },
          "end_date": {
            "kind": "datetime",
            "after": "start_date",
            "withinDays": 7,
            "dayProfile": "business"
          },
          "guest_id": {
            "kind": "fk",
            "ref": "guests.guest_id",
            "skew": "long-tail"
          },
          "start_date": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31",
            "dayProfile": "business"
          },
          "total_cost": {
            "kind": "decimal",
            "min": 40,
            "max": 1400,
            "scale": 2,
            "distribution": "long-tail"
          },
          "vehicle_type": {
            "kind": "enum",
            "values": [
              "economy",
              "compact",
              "midsize",
              "suv",
              "minivan",
              "luxury",
              "convertible"
            ],
            "weights": [
              22,
              25,
              20,
              18,
              6,
              5,
              4
            ]
          }
        }
      }
    }
  },
  "counts": {
    "amenities": 24,
    "conference_rooms": 10,
    "employees": 10,
    "guests": 120,
    "conference_room_bookings": 10,
    "hotel_branches": 12,
    "hotel_events": 10,
    "guest_event_participation": 20,
    "loyalty_program": 30,
    "menu_items": 40,
    "promotions": 10,
    "room_types": 8,
    "rooms": 10,
    "housekeeping": 350,
    "maintenance_requests": 15,
    "reservations": 300,
    "applied_promotions": 40,
    "dining_orders": 100,
    "dining_order_items": 400,
    "feedback": 100,
    "payments": 300,
    "refunds": 10,
    "room_amenities": 10,
    "room_inventory": 10,
    "services": 16,
    "service_usage": 1000,
    "suppliers": 40,
    "inventory": 10,
    "vehicle_rentals": 10
  },
  "artifacts": [
    {
      "file": "csv/amenities.csv",
      "format": "csv",
      "table": "amenities",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/amenities.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/amenities.csv",
      "bytes": 1032,
      "sha256": "ee0fb11662deeb833d4d8f056e7a77c4a747e93cd17ce09aec05971255a1784f",
      "rows": 24,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/conference_rooms.csv",
      "format": "csv",
      "table": "conference_rooms",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/conference_rooms.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/conference_rooms.csv",
      "bytes": 242,
      "sha256": "a200a66f724b77de5b05685f9252f5137a07742d676e95af6ef259d8d3a2f73e",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/employees.csv",
      "format": "csv",
      "table": "employees",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/employees.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/employees.csv",
      "bytes": 824,
      "sha256": "2bab3360af28ff8b495e6035bb00c8b276779a8175792ffe4e51f94a50788454",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/guests.csv",
      "format": "csv",
      "table": "guests",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/guests.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/guests.csv",
      "bytes": 11203,
      "sha256": "6ff039e5348b7779daf465894b2395efca863a2955b08719d3ae8fe28f5929e0",
      "rows": 120,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/conference_room_bookings.csv",
      "format": "csv",
      "table": "conference_room_bookings",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/conference_room_bookings.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/conference_room_bookings.csv",
      "bytes": 534,
      "sha256": "d26a1d9fc18883f3ffbabb1db9553b59ed5107995cd4fa70a17ca9e4495ac64d",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/hotel_branches.csv",
      "format": "csv",
      "table": "hotel_branches",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/hotel_branches.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/hotel_branches.csv",
      "bytes": 390,
      "sha256": "1663791a5bdd5c77d2286eaa7e6856ab53b6645af74bee8a8c219b0f69dbc64f",
      "rows": 12,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/hotel_events.csv",
      "format": "csv",
      "table": "hotel_events",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/hotel_events.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/hotel_events.csv",
      "bytes": 847,
      "sha256": "df6dd87f74f5221ea2230e897916876037b9be9245b024fc19433f4ae91fb923",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/guest_event_participation.csv",
      "format": "csv",
      "table": "guest_event_participation",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/guest_event_participation.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/guest_event_participation.csv",
      "bytes": 205,
      "sha256": "756d4f2e5cc1f3258c85b36d6449b2ee43f0c9a0de6e251ae7290c4a7cbbfdbd",
      "rows": 20,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/loyalty_program.csv",
      "format": "csv",
      "table": "loyalty_program",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/loyalty_program.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/loyalty_program.csv",
      "bytes": 407,
      "sha256": "ce8a7d476b2193d5e69a3446736021e24369b641d8cd47ef23a38560887e917f",
      "rows": 30,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/menu_items.csv",
      "format": "csv",
      "table": "menu_items",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/menu_items.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/menu_items.csv",
      "bytes": 1660,
      "sha256": "c85b311ce186a2c01321251e54f7b0b35af7c076cccd814170295c443a08f8fc",
      "rows": 40,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/promotions.csv",
      "format": "csv",
      "table": "promotions",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/promotions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/promotions.csv",
      "bytes": 477,
      "sha256": "eec4373e69b742c3a04b508a6566b76c5b7b2f827d8e40b5a96b7fa10da62ac3",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/room_types.csv",
      "format": "csv",
      "table": "room_types",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/room_types.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/room_types.csv",
      "bytes": 334,
      "sha256": "de8de0121c0ba4f2c0f601ad62fa9d0e4a477b75da4ebc45dab5beefc185f908",
      "rows": 8,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/rooms.csv",
      "format": "csv",
      "table": "rooms",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/rooms.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/rooms.csv",
      "bytes": 395,
      "sha256": "505428562e898a5323e24685e219ad34beecb6fb35a9a5cc3dba96946e9a5cf8",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/housekeeping.csv",
      "format": "csv",
      "table": "housekeeping",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/housekeeping.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/housekeeping.csv",
      "bytes": 12398,
      "sha256": "804cae65cfabf7ce3ca738fe579f95590836c2abcdf37bbaba791473f29495c6",
      "rows": 350,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/maintenance_requests.csv",
      "format": "csv",
      "table": "maintenance_requests",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/maintenance_requests.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/maintenance_requests.csv",
      "bytes": 889,
      "sha256": "629443955159dd40ba017897ddfd81eebaf0a715c88dfa2f271a2277bfc89c37",
      "rows": 15,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/reservations.csv",
      "format": "csv",
      "table": "reservations",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/reservations.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/reservations.csv",
      "bytes": 14775,
      "sha256": "a131bcadc76c667d3fd0186e77bb68e843b65f8e46da550ab8561bc932e145d2",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/applied_promotions.csv",
      "format": "csv",
      "table": "applied_promotions",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/applied_promotions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/applied_promotions.csv",
      "bytes": 412,
      "sha256": "9d9ad7124109d1c9f00df6f91b1e76def7e421b5fc3a05b08e19770ada5eb1b8",
      "rows": 40,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/dining_orders.csv",
      "format": "csv",
      "table": "dining_orders",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/dining_orders.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/dining_orders.csv",
      "bytes": 4160,
      "sha256": "222c157d69fcf389da5490b6b1299f73ad7c5f64e761f3116d6e1a52dc976b5f",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/dining_order_items.csv",
      "format": "csv",
      "table": "dining_order_items",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/dining_order_items.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/dining_order_items.csv",
      "bytes": 11415,
      "sha256": "f934bb89665416b35473ba52ef1a3b288623ea7ae510247e9d936f156e8e47c3",
      "rows": 400,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/feedback.csv",
      "format": "csv",
      "table": "feedback",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/feedback.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/feedback.csv",
      "bytes": 4978,
      "sha256": "c79d54d68586861e423e686dd90a047002c42bef9ccdd9625adf0a9490d5ace7",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/payments.csv",
      "format": "csv",
      "table": "payments",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/payments.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/payments.csv",
      "bytes": 17366,
      "sha256": "d6943afd903de4027bd1d52ee2baa867ca07c9263759bcda28b018b0d5641cf0",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/refunds.csv",
      "format": "csv",
      "table": "refunds",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/refunds.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/refunds.csv",
      "bytes": 383,
      "sha256": "6b762d5f8dfdc6da82b3d9d1f83554fc1a240bb537872c09fae4f33418f58377",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/room_amenities.csv",
      "format": "csv",
      "table": "room_amenities",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/room_amenities.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/room_amenities.csv",
      "bytes": 113,
      "sha256": "cc05b14d8b3c87feff487559a4a264479ebae6d509632f9766c86300c126fe1a",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/room_inventory.csv",
      "format": "csv",
      "table": "room_inventory",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/room_inventory.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/room_inventory.csv",
      "bytes": 214,
      "sha256": "3d6252f6cd57e859bfe3417be30706a1790422b4c1f829da4c89cb5c86f72e82",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/services.csv",
      "format": "csv",
      "table": "services",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/services.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/services.csv",
      "bytes": 693,
      "sha256": "46de040ec0f6a6ab5d84786186e6492a9a8f622b45bcf820fb18ebe2aa6a3a82",
      "rows": 16,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/service_usage.csv",
      "format": "csv",
      "table": "service_usage",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/service_usage.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/service_usage.csv",
      "bytes": 39007,
      "sha256": "6764a1e1ad218393a55a1909a5f8b1beba0de65ab284660dac8cdc647d113757",
      "rows": 1000,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/suppliers.csv",
      "format": "csv",
      "table": "suppliers",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/suppliers.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/suppliers.csv",
      "bytes": 2836,
      "sha256": "3981201ed883944f44d8c750bbe9f449f32655577320fedd73562bcd47339811",
      "rows": 40,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/inventory.csv",
      "format": "csv",
      "table": "inventory",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/inventory.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/inventory.csv",
      "bytes": 270,
      "sha256": "c5a4dbede5c2ebe587f882ad9730cd0b9718b7871336526f4a63ad31aea582a5",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/vehicle_rentals.csv",
      "format": "csv",
      "table": "vehicle_rentals",
      "key": "datasets/hotel-reservation-sample-database/v1/csv/vehicle_rentals.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/csv/vehicle_rentals.csv",
      "bytes": 654,
      "sha256": "2f4642993504633463dccf907c2cf12615f4601f98973f9251cd0020c903b268",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "hotel-reservation-sample-database.json",
      "format": "json",
      "table": null,
      "key": "datasets/hotel-reservation-sample-database/v1/hotel-reservation-sample-database.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/hotel-reservation-sample-database.json",
      "bytes": 535097,
      "sha256": "17fb1ce753f3ccb601a43813f9d2f91846eeed7691e6b69d71e7b67c3c4e9989",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/hotel-reservation-sample-database/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/sql/postgres.sql",
      "bytes": 190231,
      "sha256": "52b7a42d336ab186f413adc84156c855cde0b0088d3a28cd0f3889261bd6e3b2",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/hotel-reservation-sample-database/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/sql/mysql.sql",
      "bytes": 186861,
      "sha256": "d3ea23c60b069079b9e9a0c798b6b45962177121dedf2d9784e3bdc8d9d9c963",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/hotel-reservation-sample-database/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/sql/mssql.sql",
      "bytes": 193874,
      "sha256": "c810a04640c05d2ae1c5446ac84148755a00da529dbfa0b1bf32747db770aeaa",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/hotel-reservation-sample-database/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/sql/sqlite.sql",
      "bytes": 184578,
      "sha256": "08291b374de69260f997d6ddcfd08bc730865bc7b6a9baa192f73f7d10d9eafa",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/hotel-reservation-sample-database/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/prisma/seed.ts",
      "bytes": 437776,
      "sha256": "b459b660aaec11406de6e1c671776a38ddb633307837874fe9913390e908a10c",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/hotel-reservation-sample-database/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/django/fixtures.json",
      "bytes": 641787,
      "sha256": "ecb848e976d982fa2989ae32b982e3efb87e8161ca84ac3823328b13edbcb54f",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "flagship": {
    "sizes": {
      "1k": {
        "rows": 3025,
        "counts": {
          "amenities": 24,
          "conference_rooms": 10,
          "employees": 10,
          "guests": 120,
          "conference_room_bookings": 10,
          "hotel_branches": 12,
          "hotel_events": 10,
          "guest_event_participation": 20,
          "loyalty_program": 30,
          "menu_items": 40,
          "promotions": 10,
          "room_types": 8,
          "rooms": 10,
          "housekeeping": 350,
          "maintenance_requests": 15,
          "reservations": 300,
          "applied_promotions": 40,
          "dining_orders": 100,
          "dining_order_items": 400,
          "feedback": 100,
          "payments": 300,
          "refunds": 10,
          "room_amenities": 10,
          "room_inventory": 10,
          "services": 16,
          "service_usage": 1000,
          "suppliers": 40,
          "inventory": 10,
          "vehicle_rentals": 10
        },
        "notes": [],
        "downloads": [
          {
            "format": "sql-postgres",
            "label": "PostgreSQL",
            "file": "flagship/1k/postgres.sql.gz",
            "key": "datasets/hotel-reservation-sample-database/v1/flagship/1k/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/flagship/1k/postgres.sql.gz",
            "bytes": 52964,
            "sha256": "f2dda3e41c74ede60abd7d4bc9ce52831d94717c82340e4bc2e7e3cca1f36be0",
            "raw": {
              "bytes": 198523,
              "sha256": "d7d22671b57d5579632cd519e37e3c70baed6276ad5ca1eb0be67c4c70cd3d23"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/1k/mysql.sql.gz",
            "key": "datasets/hotel-reservation-sample-database/v1/flagship/1k/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/flagship/1k/mysql.sql.gz",
            "bytes": 52278,
            "sha256": "5d50494cb493f03b517eab09db95a1c4afae1719fbf489cce729531801edb205",
            "raw": {
              "bytes": 195153,
              "sha256": "2f81260c86220141fae4855408559f3b024e61de023da58f5a6971c7e9959890"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/1k/sqlite.sql.gz",
            "key": "datasets/hotel-reservation-sample-database/v1/flagship/1k/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/flagship/1k/sqlite.sql.gz",
            "bytes": 51956,
            "sha256": "7042320ff65f80a07548bd2eab724159276aa5432c74ab05c4dbf106a9792e55",
            "raw": {
              "bytes": 192870,
              "sha256": "1b215b2ccb5477dfb6d571ef7e74650482ea06e01e97d8d3ee2f3bb6b04c75ea"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/1k/csv.zip",
            "key": "datasets/hotel-reservation-sample-database/v1/flagship/1k/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/flagship/1k/csv.zip",
            "bytes": 52486,
            "sha256": "e3e8e1ed55aed01c56c0dbf39a6c66d7f5f899f69ce77e2534672ae6ae4d458a",
            "tables": {
              "amenities": {
                "bytes": 1032,
                "sha256": "ee0fb11662deeb833d4d8f056e7a77c4a747e93cd17ce09aec05971255a1784f"
              },
              "applied_promotions": {
                "bytes": 412,
                "sha256": "9d9ad7124109d1c9f00df6f91b1e76def7e421b5fc3a05b08e19770ada5eb1b8"
              },
              "conference_room_bookings": {
                "bytes": 534,
                "sha256": "d26a1d9fc18883f3ffbabb1db9553b59ed5107995cd4fa70a17ca9e4495ac64d"
              },
              "conference_rooms": {
                "bytes": 242,
                "sha256": "a200a66f724b77de5b05685f9252f5137a07742d676e95af6ef259d8d3a2f73e"
              },
              "dining_order_items": {
                "bytes": 11415,
                "sha256": "f934bb89665416b35473ba52ef1a3b288623ea7ae510247e9d936f156e8e47c3"
              },
              "dining_orders": {
                "bytes": 4160,
                "sha256": "222c157d69fcf389da5490b6b1299f73ad7c5f64e761f3116d6e1a52dc976b5f"
              },
              "employees": {
                "bytes": 824,
                "sha256": "2bab3360af28ff8b495e6035bb00c8b276779a8175792ffe4e51f94a50788454"
              },
              "feedback": {
                "bytes": 4978,
                "sha256": "c79d54d68586861e423e686dd90a047002c42bef9ccdd9625adf0a9490d5ace7"
              },
              "guest_event_participation": {
                "bytes": 205,
                "sha256": "756d4f2e5cc1f3258c85b36d6449b2ee43f0c9a0de6e251ae7290c4a7cbbfdbd"
              },
              "guests": {
                "bytes": 11203,
                "sha256": "6ff039e5348b7779daf465894b2395efca863a2955b08719d3ae8fe28f5929e0"
              },
              "hotel_branches": {
                "bytes": 390,
                "sha256": "1663791a5bdd5c77d2286eaa7e6856ab53b6645af74bee8a8c219b0f69dbc64f"
              },
              "hotel_events": {
                "bytes": 847,
                "sha256": "df6dd87f74f5221ea2230e897916876037b9be9245b024fc19433f4ae91fb923"
              },
              "housekeeping": {
                "bytes": 12398,
                "sha256": "804cae65cfabf7ce3ca738fe579f95590836c2abcdf37bbaba791473f29495c6"
              },
              "inventory": {
                "bytes": 270,
                "sha256": "c5a4dbede5c2ebe587f882ad9730cd0b9718b7871336526f4a63ad31aea582a5"
              },
              "loyalty_program": {
                "bytes": 407,
                "sha256": "ce8a7d476b2193d5e69a3446736021e24369b641d8cd47ef23a38560887e917f"
              },
              "maintenance_requests": {
                "bytes": 889,
                "sha256": "629443955159dd40ba017897ddfd81eebaf0a715c88dfa2f271a2277bfc89c37"
              },
              "menu_items": {
                "bytes": 1660,
                "sha256": "c85b311ce186a2c01321251e54f7b0b35af7c076cccd814170295c443a08f8fc"
              },
              "payments": {
                "bytes": 17366,
                "sha256": "d6943afd903de4027bd1d52ee2baa867ca07c9263759bcda28b018b0d5641cf0"
              },
              "promotions": {
                "bytes": 477,
                "sha256": "eec4373e69b742c3a04b508a6566b76c5b7b2f827d8e40b5a96b7fa10da62ac3"
              },
              "refunds": {
                "bytes": 383,
                "sha256": "6b762d5f8dfdc6da82b3d9d1f83554fc1a240bb537872c09fae4f33418f58377"
              },
              "reservations": {
                "bytes": 14775,
                "sha256": "a131bcadc76c667d3fd0186e77bb68e843b65f8e46da550ab8561bc932e145d2"
              },
              "room_amenities": {
                "bytes": 113,
                "sha256": "cc05b14d8b3c87feff487559a4a264479ebae6d509632f9766c86300c126fe1a"
              },
              "room_inventory": {
                "bytes": 214,
                "sha256": "3d6252f6cd57e859bfe3417be30706a1790422b4c1f829da4c89cb5c86f72e82"
              },
              "room_types": {
                "bytes": 334,
                "sha256": "de8de0121c0ba4f2c0f601ad62fa9d0e4a477b75da4ebc45dab5beefc185f908"
              },
              "rooms": {
                "bytes": 395,
                "sha256": "505428562e898a5323e24685e219ad34beecb6fb35a9a5cc3dba96946e9a5cf8"
              },
              "service_usage": {
                "bytes": 39007,
                "sha256": "6764a1e1ad218393a55a1909a5f8b1beba0de65ab284660dac8cdc647d113757"
              },
              "services": {
                "bytes": 693,
                "sha256": "46de040ec0f6a6ab5d84786186e6492a9a8f622b45bcf820fb18ebe2aa6a3a82"
              },
              "suppliers": {
                "bytes": 2836,
                "sha256": "3981201ed883944f44d8c750bbe9f449f32655577320fedd73562bcd47339811"
              },
              "vehicle_rentals": {
                "bytes": 654,
                "sha256": "2f4642993504633463dccf907c2cf12615f4601f98973f9251cd0020c903b268"
              }
            },
            "contentType": "application/zip"
          }
        ],
        "checks": {
          "postgres": {
            "version": "18.3",
            "ok": true
          },
          "sqlite": {
            "version": "3.53.1",
            "ok": true
          },
          "notRun": [
            {
              "engine": "MySQL",
              "note": "Written from the same rows; not loaded here, no MySQL server runs in the build."
            }
          ]
        },
        "rules": [
          {
            "name": "Every check-out is on or after its check-in",
            "violations": 0
          },
          {
            "name": "Every payment equals the price of its stay",
            "violations": 0
          },
          {
            "name": "Every refund returns the whole payment, after it",
            "violations": 0
          },
          {
            "name": "Every service charge is its quantity times the service price",
            "violations": 0
          },
          {
            "name": "Every restaurant bill is the sum of its lines",
            "violations": 0
          },
          {
            "name": "Feedback names the guest who stayed, after check-out",
            "violations": 0
          },
          {
            "name": "One loyalty account per guest",
            "violations": 0
          }
        ],
        "dirty": {
          "report": {
            "rates": {
              "missing": 0.03,
              "typos": 0.03,
              "outliers": 0.005,
              "duplicates": 0.01
            },
            "tables": {
              "amenities": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "conference_rooms": {
                "duplicates": 0,
                "columns": {
                  "capacity": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "price_per_hour": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "employees": {
                "duplicates": 0,
                "columns": {
                  "email": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "first_name": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "phone": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "guests": {
                "duplicates": 0,
                "columns": {
                  "address": {
                    "missing": 2,
                    "typos": 3,
                    "outliers": 0
                  },
                  "email": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "first_name": {
                    "missing": 2,
                    "typos": 5,
                    "outliers": 0
                  },
                  "idproof": {
                    "missing": 2,
                    "typos": 2,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 4,
                    "typos": 4,
                    "outliers": 0
                  },
                  "phone": {
                    "missing": 3,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "hotel_events": {
                "duplicates": 0,
                "columns": {
                  "event_date": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  },
                  "organizer": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "guest_event_participation": {
                "duplicates": 1,
                "columns": {}
              },
              "loyalty_program": {
                "duplicates": 0,
                "columns": {
                  "points": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "menu_items": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  },
                  "item_name": {
                    "missing": 1,
                    "typos": 3,
                    "outliers": 0
                  },
                  "menu_item_id": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 1
                  },
                  "price": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "restaurant_id": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "room_types": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "type_name": {
                    "missing": 0,
                    "typos": 2,
                    "outliers": 0
                  }
                }
              },
              "rooms": {
                "duplicates": 0,
                "columns": {
                  "price_per_night": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "room_number": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "housekeeping": {
                "duplicates": 2,
                "columns": {
                  "cleaning_date": {
                    "missing": 11,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 13,
                    "typos": 10,
                    "outliers": 0
                  }
                }
              },
              "maintenance_requests": {
                "duplicates": 0,
                "columns": {
                  "issue_description": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "request_date": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "reservations": {
                "duplicates": 3,
                "columns": {
                  "check_in_date": {
                    "missing": 8,
                    "typos": 0,
                    "outliers": 0
                  },
                  "check_out_date": {
                    "missing": 13,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 8,
                    "typos": 12,
                    "outliers": 0
                  },
                  "total_price": {
                    "missing": 10,
                    "typos": 0,
                    "outliers": 2
                  }
                }
              },
              "applied_promotions": {
                "duplicates": 1,
                "columns": {}
              },
              "dining_orders": {
                "duplicates": 1,
                "columns": {
                  "order_date": {
                    "missing": 5,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 2,
                    "typos": 3,
                    "outliers": 0
                  },
                  "total_amount": {
                    "missing": 3,
                    "typos": 0,
                    "outliers": 2
                  }
                }
              },
              "dining_order_items": {
                "duplicates": 3,
                "columns": {
                  "item_name": {
                    "missing": 22,
                    "typos": 13,
                    "outliers": 0
                  },
                  "price": {
                    "missing": 14,
                    "typos": 0,
                    "outliers": 0
                  },
                  "quantity": {
                    "missing": 10,
                    "typos": 0,
                    "outliers": 4
                  }
                }
              },
              "feedback": {
                "duplicates": 0,
                "columns": {
                  "comments": {
                    "missing": 4,
                    "typos": 4,
                    "outliers": 0
                  },
                  "feedback_date": {
                    "missing": 4,
                    "typos": 0,
                    "outliers": 0
                  },
                  "guest_id": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "rating": {
                    "missing": 4,
                    "typos": 0,
                    "outliers": 2
                  }
                }
              },
              "payments": {
                "duplicates": 3,
                "columns": {
                  "amount": {
                    "missing": 11,
                    "typos": 0,
                    "outliers": 2
                  },
                  "payment_date": {
                    "missing": 7,
                    "typos": 0,
                    "outliers": 0
                  },
                  "payment_method": {
                    "missing": 8,
                    "typos": 5,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 10,
                    "typos": 13,
                    "outliers": 0
                  }
                }
              },
              "room_inventory": {
                "duplicates": 0,
                "columns": {
                  "quantity": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "service_usage": {
                "duplicates": 11,
                "columns": {
                  "quantity": {
                    "missing": 40,
                    "typos": 0,
                    "outliers": 0
                  },
                  "total_cost": {
                    "missing": 36,
                    "typos": 0,
                    "outliers": 3
                  },
                  "usage_date": {
                    "missing": 22,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "suppliers": {
                "duplicates": 0,
                "columns": {
                  "contact": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "email": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "inventory": {
                "duplicates": 0,
                "columns": {
                  "item_name": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "vehicle_rentals": {
                "duplicates": 0,
                "columns": {
                  "end_date": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "total_cost": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              }
            },
            "totals": {
              "missing": 309,
              "typos": 87,
              "outliers": 16,
              "duplicates": 25
            }
          },
          "downloads": [
            {
              "format": "dirty-sql-postgres",
              "label": "PostgreSQL, with faults",
              "file": "flagship/1k/dirty-postgres.sql.gz",
              "key": "datasets/hotel-reservation-sample-database/v1/flagship/1k/dirty-postgres.sql.gz",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/flagship/1k/dirty-postgres.sql.gz",
              "bytes": 51125,
              "sha256": "719cfc8832eb5f1fa4b6046a625ea5d1d6b52da790c3205b60a6bb6b221a61d1",
              "raw": {
                "bytes": 188862,
                "sha256": "c8729690e53606b833c9fd4e55e70b8a4c4a726366f36c7a33de2931298e3e06"
              },
              "contentType": "application/gzip"
            },
            {
              "format": "dirty-csv",
              "label": "CSV, with faults",
              "file": "flagship/1k/dirty-csv.zip",
              "key": "datasets/hotel-reservation-sample-database/v1/flagship/1k/dirty-csv.zip",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/flagship/1k/dirty-csv.zip",
              "bytes": 52642,
              "sha256": "077a218b28242997167948077fb095fbd38a630e534dfdf4b13ccbd1ac07edb9",
              "tables": {
                "amenities": {
                  "bytes": 1017,
                  "sha256": "0d0830d63b12dd2da07b006f944f9b6929b9793effa28bfa129ea4fd84af4658"
                },
                "applied_promotions": {
                  "bytes": 422,
                  "sha256": "1b8a91b2b333b8f2f54de997a3cd72b8d5ddc0892c345bc6b36ab451d77cdd04"
                },
                "conference_room_bookings": {
                  "bytes": 534,
                  "sha256": "d26a1d9fc18883f3ffbabb1db9553b59ed5107995cd4fa70a17ca9e4495ac64d"
                },
                "conference_rooms": {
                  "bytes": 230,
                  "sha256": "c2bd799dca44b0fc06e3ec6973a3e927a2a99ca1b5458549889f1c02bd7f1435"
                },
                "dining_order_items": {
                  "bytes": 11197,
                  "sha256": "59057488fadaf28a2ec7243eb2addc2c03deb5ff3bc069143f21f9df57ae183c"
                },
                "dining_orders": {
                  "bytes": 4090,
                  "sha256": "d833f0415715c08e650ee72955d25f561889ee0bb201ca325245440d906124d3"
                },
                "employees": {
                  "bytes": 781,
                  "sha256": "900d08da06b6c716d7364afd7f68a69328e78394f3756e240870802dd7118f8f"
                },
                "feedback": {
                  "bytes": 4828,
                  "sha256": "5ddae69e4578f210844381ad4e57698cfad26b0d10f0fb0a851880090ef50c09"
                },
                "guest_event_participation": {
                  "bytes": 214,
                  "sha256": "2fa0602a0d16bfbe6951adcd2a4366c8a91c1aecd9457ac1d68632e72b58dd79"
                },
                "guests": {
                  "bytes": 11067,
                  "sha256": "4a9b9c9fb202946f77f2505f008e18832eb1323e7b8acd8d5e4a433df96615d9"
                },
                "hotel_branches": {
                  "bytes": 390,
                  "sha256": "1663791a5bdd5c77d2286eaa7e6856ab53b6645af74bee8a8c219b0f69dbc64f"
                },
                "hotel_events": {
                  "bytes": 801,
                  "sha256": "166cec33b6786d2f895acf849472369dfe4f7a27a81cffc74cf5de1e1df72f26"
                },
                "housekeeping": {
                  "bytes": 12175,
                  "sha256": "c31b66dac89c8b8b96a6d01bfcc80beb73cbb171b3430ad126cafb9a9f37161e"
                },
                "inventory": {
                  "bytes": 262,
                  "sha256": "3dd61bc15775b509f11a66c5dcc0535504abce6f157558f061a009995add64f4"
                },
                "loyalty_program": {
                  "bytes": 401,
                  "sha256": "dfb74baf2173093cd5a74fed1a8f79b47b34e2bfc46b2964f345962827cb8940"
                },
                "maintenance_requests": {
                  "bytes": 850,
                  "sha256": "9911c09847241bbb996904d7cc6d41034600af9e0b0de7ac5699f66488061d52"
                },
                "menu_items": {
                  "bytes": 1619,
                  "sha256": "583e2a76d5c629777c25c40e569e6b3354708fa29941fd3b003fe55f899ccfd3"
                },
                "payments": {
                  "bytes": 17195,
                  "sha256": "6439d352d5c6930694726cea08c5e67881a14b49f76ec60d0cd0b986443604f1"
                },
                "promotions": {
                  "bytes": 477,
                  "sha256": "eec4373e69b742c3a04b508a6566b76c5b7b2f827d8e40b5a96b7fa10da62ac3"
                },
                "refunds": {
                  "bytes": 383,
                  "sha256": "6b762d5f8dfdc6da82b3d9d1f83554fc1a240bb537872c09fae4f33418f58377"
                },
                "reservations": {
                  "bytes": 14599,
                  "sha256": "bd8f4c70ff75a2ace6cf096c3a95d5e60fa929e21e70b8344ee2024fb7640690"
                },
                "room_amenities": {
                  "bytes": 113,
                  "sha256": "cc05b14d8b3c87feff487559a4a264479ebae6d509632f9766c86300c126fe1a"
                },
                "room_inventory": {
                  "bytes": 213,
                  "sha256": "ad81eb3695a5f59d41b46ebe92a3ad847cd59bc8855d8a579baaa60fc0599c5b"
                },
                "room_types": {
                  "bytes": 337,
                  "sha256": "afc1a1e0fc4f8b9adf9cfac2244e1e946e638efadaca5a0dc834f8ef3be61bdf"
                },
                "rooms": {
                  "bytes": 375,
                  "sha256": "0f26b965abe5097eee80eb6574341ba9019206eaab07fd2abb0bda960544b546"
                },
                "service_usage": {
                  "bytes": 38797,
                  "sha256": "9ed4d2e61094dda42b22b2682bcfdbea6da757fc35ce4258d1a9fee55debcc2a"
                },
                "services": {
                  "bytes": 693,
                  "sha256": "46de040ec0f6a6ab5d84786186e6492a9a8f622b45bcf820fb18ebe2aa6a3a82"
                },
                "suppliers": {
                  "bytes": 2764,
                  "sha256": "f0c94923baee775ebc495d9bc80fa3ba94cef73db8202a1c9287b9585967180d"
                },
                "vehicle_rentals": {
                  "bytes": 629,
                  "sha256": "dada1410f681d97f7a220b714bbc7cebc2196b5c859668ed9f614cac7c59a69c"
                }
              },
              "contentType": "application/zip"
            }
          ]
        }
      },
      "100k": {
        "rows": 281070,
        "counts": {
          "amenities": 24,
          "conference_rooms": 10,
          "employees": 80,
          "guests": 12000,
          "conference_room_bookings": 500,
          "hotel_branches": 12,
          "hotel_events": 100,
          "guest_event_participation": 2000,
          "loyalty_program": 3000,
          "menu_items": 40,
          "promotions": 40,
          "room_types": 8,
          "rooms": 100,
          "housekeeping": 35000,
          "maintenance_requests": 1500,
          "reservations": 30000,
          "applied_promotions": 4000,
          "dining_orders": 10000,
          "dining_order_items": 40000,
          "feedback": 10000,
          "payments": 30000,
          "refunds": 800,
          "room_amenities": 400,
          "room_inventory": 600,
          "services": 16,
          "service_usage": 100000,
          "suppliers": 40,
          "inventory": 200,
          "vehicle_rentals": 600
        },
        "notes": [],
        "downloads": [
          {
            "format": "sql-postgres",
            "label": "PostgreSQL",
            "file": "flagship/100k/postgres.sql.gz",
            "key": "datasets/hotel-reservation-sample-database/v1/flagship/100k/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/flagship/100k/postgres.sql.gz",
            "bytes": 4207775,
            "sha256": "92ff958103bb2d2a79b47f4df5a68582aad11074f326acf8728acfa8ab49c7e8",
            "raw": {
              "bytes": 17082231,
              "sha256": "c702d3674f43fdf8d16a8f55275ce31e28bfb6856a4dd0c8a367e0e97221d935"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/100k/mysql.sql.gz",
            "key": "datasets/hotel-reservation-sample-database/v1/flagship/100k/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/flagship/100k/mysql.sql.gz",
            "bytes": 4205979,
            "sha256": "bcb4c514f5776d249f97d25f75f4acd4d9e3723b0523634bb4b2b60a4c206693",
            "raw": {
              "bytes": 17078861,
              "sha256": "e652b75aab13cf4599357e4ab3b3ed1b327958d0dae6d8db0654654aedb4d060"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/100k/sqlite.sql.gz",
            "key": "datasets/hotel-reservation-sample-database/v1/flagship/100k/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/flagship/100k/sqlite.sql.gz",
            "bytes": 4205320,
            "sha256": "ebe93b42640bdecad95df697ba312b1a45160103cf0f3e1a95c61b0dc709ebc2",
            "raw": {
              "bytes": 17076578,
              "sha256": "9f84514d8f2a82f43724a844ded46bd90a4db636854959e60e5aa6720550d1dd"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/100k/csv.zip",
            "key": "datasets/hotel-reservation-sample-database/v1/flagship/100k/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/flagship/100k/csv.zip",
            "bytes": 4277726,
            "sha256": "fff43107f424fa7f82938c5234ada87df1b858e3cf3f542e65e1d9053700ddec",
            "tables": {
              "amenities": {
                "bytes": 1019,
                "sha256": "5adc2f27264225c851853352b874f46d6a2809d229efeca6e06d51b1f3165c84"
              },
              "applied_promotions": {
                "bytes": 53668,
                "sha256": "5b0a666bd7ce039abb7035474e5bf8157e138cea12eb3324f081643cc0fd69a2"
              },
              "conference_room_bookings": {
                "bytes": 25823,
                "sha256": "ada1bccb9356c5415e45e2955af8c447f818c0cbaf418d53512b6db2e6dcfc9a"
              },
              "conference_rooms": {
                "bytes": 244,
                "sha256": "78f5f5181b6435276d879910a0528a35e1525b640dea6d6f11a391aab93e74ab"
              },
              "dining_order_items": {
                "bytes": 1294194,
                "sha256": "dd557c79cf8f0302c4b49d04c0ab71eed0fe01c23b95690cb34c43969b4ef371"
              },
              "dining_orders": {
                "bytes": 453252,
                "sha256": "0127b42634fc08870c7c09f410a864101607c13326c6ce3ed152d7aa9990bd16"
              },
              "employees": {
                "bytes": 6483,
                "sha256": "9ca4ab58389cc57244c64f7cac07cb3139528ba8ffafe467f1b5259caaf8b0fc"
              },
              "feedback": {
                "bytes": 546443,
                "sha256": "62fd3c5e9f96d137d462763914274bffd5a665f32eec4ee40cd73e21cbc505c8"
              },
              "guest_event_participation": {
                "bytes": 25735,
                "sha256": "7f8929e29dbeeecf219900e6917cd3cf82060fe58836f7fa3a55d92c55753a70"
              },
              "guests": {
                "bytes": 1136428,
                "sha256": "0cfb93fbc6b720776d117091ad2b313e6ed1777fbf920aea49c4d3e19239f120"
              },
              "hotel_branches": {
                "bytes": 402,
                "sha256": "5d9a8fd73f7ea989fcc671e6c614761ad15f298e0ae52d867ceb0ce8bfd0908a"
              },
              "hotel_events": {
                "bytes": 8041,
                "sha256": "53f3265ff73800c7de06b07bd10528e30c956ccc5e50ef92fc851e162333d778"
              },
              "housekeeping": {
                "bytes": 1348646,
                "sha256": "e1de42e4a6bc24777afca87e06b1a46799c6340fcb6d0517adfad539e74ca42f"
              },
              "inventory": {
                "bytes": 4716,
                "sha256": "d2f190caf9d0e27a7d94922f8fe40058354a1b44f3d4427f41c147adb59ded84"
              },
              "loyalty_program": {
                "bytes": 50478,
                "sha256": "3c1bd1375299b27195ce2e96bfa89882abdb153a8a4ee6422e36ab4c64afa555"
              },
              "maintenance_requests": {
                "bytes": 87982,
                "sha256": "04046a4d354a682698671e185a2e42e19bd798925a2f8bd856e573a3deaaa74d"
              },
              "menu_items": {
                "bytes": 1681,
                "sha256": "79a267edd7fed06a5ef7e59dd1cf4735d72a5832f896278333507767cbb670d5"
              },
              "payments": {
                "bytes": 1846949,
                "sha256": "a7aefb5cbbbf06d9176cd95044cdbbba5269a88bd553e154471ba6e9d84c0369"
              },
              "promotions": {
                "bytes": 1768,
                "sha256": "56287aa7faa66f56f4ff0a4186ab93a49aa3c3dbd4edd7f1ca1f04b9713b059b"
              },
              "refunds": {
                "bytes": 30119,
                "sha256": "c48114e5b100f4d7b426c0cd565c1d6dac9913e6830839974914cf932be2a1eb"
              },
              "reservations": {
                "bytes": 1605942,
                "sha256": "a3edd7867d7256595a5674fa92d3f4dea2c4e97caaa4f6a8464cb4ae3f69b299"
              },
              "room_amenities": {
                "bytes": 3957,
                "sha256": "31c9fd219f533553f6ba70b6bf14b9fe64afb327c14d60b1fa8642c15582ff49"
              },
              "room_inventory": {
                "bytes": 12099,
                "sha256": "3b0c23b6ec0b55a90537ec1be2a6dbd3a67fc9281f70f36ee2a98f57b8966f2a"
              },
              "room_types": {
                "bytes": 350,
                "sha256": "1fcad3f0f4b4d3026b3fb2276bccd81ee990689f412f0a1310e502b6a4078f06"
              },
              "rooms": {
                "bytes": 3381,
                "sha256": "8945f5c117bc57a718b980f81568a5ce1561cbd27d6c7747d62e9098c4ebc478"
              },
              "service_usage": {
                "bytes": 4245140,
                "sha256": "45f00b1ef7e68e462a1252209bbfec6ae0957c3d8f274dbf18a9aa49b522c1c9"
              },
              "services": {
                "bytes": 700,
                "sha256": "1fcf71a25199c7f9e8be142706979f8a2baf4245611e26f23f2d4f26dea74c5a"
              },
              "suppliers": {
                "bytes": 2747,
                "sha256": "c53e298250690235a0c2bcbea46d1e007f6a629e256c8f580f25547f090d9add"
              },
              "vehicle_rentals": {
                "bytes": 38434,
                "sha256": "88d572c7e795c804f70f01f4e5c31a8cd04f0bcddbf5919a7ca24a3702824ac1"
              }
            },
            "contentType": "application/zip"
          }
        ],
        "checks": {
          "postgres": {
            "version": "18.3",
            "ok": true
          },
          "sqlite": {
            "version": "3.53.1",
            "ok": true
          },
          "notRun": [
            {
              "engine": "MySQL",
              "note": "Written from the same rows; not loaded here, no MySQL server runs in the build."
            }
          ]
        },
        "rules": [
          {
            "name": "Every check-out is on or after its check-in",
            "violations": 0
          },
          {
            "name": "Every payment equals the price of its stay",
            "violations": 0
          },
          {
            "name": "Every refund returns the whole payment, after it",
            "violations": 0
          },
          {
            "name": "Every service charge is its quantity times the service price",
            "violations": 0
          },
          {
            "name": "Every restaurant bill is the sum of its lines",
            "violations": 0
          },
          {
            "name": "Feedback names the guest who stayed, after check-out",
            "violations": 0
          },
          {
            "name": "One loyalty account per guest",
            "violations": 0
          }
        ],
        "dirty": {
          "report": {
            "rates": {
              "missing": 0.03,
              "typos": 0.03,
              "outliers": 0.005,
              "duplicates": 0.01
            },
            "tables": {
              "amenities": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 2,
                    "typos": 1,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "employees": {
                "duplicates": 2,
                "columns": {
                  "email": {
                    "missing": 2,
                    "typos": 5,
                    "outliers": 0
                  },
                  "first_name": {
                    "missing": 1,
                    "typos": 2,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 3,
                    "typos": 3,
                    "outliers": 0
                  },
                  "phone": {
                    "missing": 2,
                    "typos": 1,
                    "outliers": 0
                  },
                  "role": {
                    "missing": 3,
                    "typos": 4,
                    "outliers": 0
                  }
                }
              },
              "guests": {
                "duplicates": 108,
                "columns": {
                  "address": {
                    "missing": 388,
                    "typos": 370,
                    "outliers": 0
                  },
                  "email": {
                    "missing": 354,
                    "typos": 396,
                    "outliers": 0
                  },
                  "first_name": {
                    "missing": 371,
                    "typos": 339,
                    "outliers": 0
                  },
                  "idproof": {
                    "missing": 340,
                    "typos": 314,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 344,
                    "typos": 387,
                    "outliers": 0
                  },
                  "phone": {
                    "missing": 400,
                    "typos": 107,
                    "outliers": 0
                  }
                }
              },
              "conference_room_bookings": {
                "duplicates": 4,
                "columns": {
                  "end_time": {
                    "missing": 15,
                    "typos": 0,
                    "outliers": 0
                  },
                  "start_time": {
                    "missing": 19,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "hotel_branches": {
                "duplicates": 0,
                "columns": {
                  "name": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "hotel_events": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 3,
                    "typos": 5,
                    "outliers": 0
                  },
                  "event_date": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 2,
                    "typos": 2,
                    "outliers": 0
                  },
                  "organizer": {
                    "missing": 5,
                    "typos": 5,
                    "outliers": 0
                  }
                }
              },
              "guest_event_participation": {
                "duplicates": 19,
                "columns": {}
              },
              "loyalty_program": {
                "duplicates": 33,
                "columns": {
                  "points": {
                    "missing": 92,
                    "typos": 0,
                    "outliers": 8
                  }
                }
              },
              "menu_items": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 2,
                    "typos": 2,
                    "outliers": 0
                  },
                  "menu_item_id": {
                    "missing": 4,
                    "typos": 0,
                    "outliers": 0
                  },
                  "price": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 1
                  },
                  "restaurant_id": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "promotions": {
                "duplicates": 0,
                "columns": {
                  "code": {
                    "missing": 0,
                    "typos": 2,
                    "outliers": 0
                  },
                  "discount_percentage": {
                    "missing": 3,
                    "typos": 0,
                    "outliers": 0
                  },
                  "end_date": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "start_date": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "room_types": {
                "duplicates": 0,
                "columns": {
                  "capacity": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "type_name": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "rooms": {
                "duplicates": 0,
                "columns": {
                  "floor": {
                    "missing": 4,
                    "typos": 0,
                    "outliers": 1
                  },
                  "price_per_night": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 1
                  },
                  "room_number": {
                    "missing": 0,
                    "typos": 3,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 4,
                    "typos": 4,
                    "outliers": 0
                  }
                }
              },
              "housekeeping": {
                "duplicates": 358,
                "columns": {
                  "cleaning_date": {
                    "missing": 1051,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 1154,
                    "typos": 1036,
                    "outliers": 0
                  }
                }
              },
              "maintenance_requests": {
                "duplicates": 17,
                "columns": {
                  "issue_description": {
                    "missing": 58,
                    "typos": 41,
                    "outliers": 0
                  },
                  "request_date": {
                    "missing": 50,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 46,
                    "typos": 41,
                    "outliers": 0
                  }
                }
              },
              "reservations": {
                "duplicates": 292,
                "columns": {
                  "check_in_date": {
                    "missing": 880,
                    "typos": 0,
                    "outliers": 0
                  },
                  "check_out_date": {
                    "missing": 934,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 939,
                    "typos": 873,
                    "outliers": 0
                  },
                  "total_price": {
                    "missing": 887,
                    "typos": 0,
                    "outliers": 126
                  }
                }
              },
              "applied_promotions": {
                "duplicates": 34,
                "columns": {}
              },
              "dining_orders": {
                "duplicates": 86,
                "columns": {
                  "order_date": {
                    "missing": 266,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 289,
                    "typos": 318,
                    "outliers": 0
                  },
                  "total_amount": {
                    "missing": 324,
                    "typos": 0,
                    "outliers": 57
                  }
                }
              },
              "dining_order_items": {
                "duplicates": 413,
                "columns": {
                  "item_name": {
                    "missing": 1183,
                    "typos": 1251,
                    "outliers": 0
                  },
                  "price": {
                    "missing": 1223,
                    "typos": 0,
                    "outliers": 193
                  },
                  "quantity": {
                    "missing": 1151,
                    "typos": 0,
                    "outliers": 192
                  }
                }
              },
              "feedback": {
                "duplicates": 102,
                "columns": {
                  "comments": {
                    "missing": 215,
                    "typos": 214,
                    "outliers": 0
                  },
                  "feedback_date": {
                    "missing": 292,
                    "typos": 0,
                    "outliers": 0
                  },
                  "guest_id": {
                    "missing": 301,
                    "typos": 0,
                    "outliers": 50
                  },
                  "rating": {
                    "missing": 327,
                    "typos": 0,
                    "outliers": 43
                  }
                }
              },
              "payments": {
                "duplicates": 267,
                "columns": {
                  "amount": {
                    "missing": 909,
                    "typos": 0,
                    "outliers": 174
                  },
                  "payment_date": {
                    "missing": 919,
                    "typos": 0,
                    "outliers": 0
                  },
                  "payment_method": {
                    "missing": 930,
                    "typos": 919,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 898,
                    "typos": 878,
                    "outliers": 0
                  }
                }
              },
              "refunds": {
                "duplicates": 9,
                "columns": {
                  "refund_amount": {
                    "missing": 19,
                    "typos": 0,
                    "outliers": 4
                  },
                  "refund_date": {
                    "missing": 27,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "room_amenities": {
                "duplicates": 5,
                "columns": {}
              },
              "room_inventory": {
                "duplicates": 5,
                "columns": {
                  "item_name": {
                    "missing": 19,
                    "typos": 14,
                    "outliers": 0
                  },
                  "quantity": {
                    "missing": 13,
                    "typos": 0,
                    "outliers": 5
                  }
                }
              },
              "services": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "service_usage": {
                "duplicates": 979,
                "columns": {
                  "quantity": {
                    "missing": 3006,
                    "typos": 0,
                    "outliers": 488
                  },
                  "total_cost": {
                    "missing": 2988,
                    "typos": 0,
                    "outliers": 500
                  },
                  "usage_date": {
                    "missing": 3024,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "suppliers": {
                "duplicates": 0,
                "columns": {
                  "contact": {
                    "missing": 2,
                    "typos": 2,
                    "outliers": 0
                  },
                  "email": {
                    "missing": 2,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "inventory": {
                "duplicates": 2,
                "columns": {
                  "item_name": {
                    "missing": 9,
                    "typos": 11,
                    "outliers": 0
                  },
                  "quantity": {
                    "missing": 4,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "vehicle_rentals": {
                "duplicates": 4,
                "columns": {
                  "end_date": {
                    "missing": 20,
                    "typos": 0,
                    "outliers": 0
                  },
                  "start_date": {
                    "missing": 15,
                    "typos": 0,
                    "outliers": 0
                  },
                  "total_cost": {
                    "missing": 17,
                    "typos": 0,
                    "outliers": 4
                  },
                  "vehicle_type": {
                    "missing": 13,
                    "typos": 20,
                    "outliers": 0
                  }
                }
              }
            },
            "totals": {
              "missing": 26781,
              "typos": 7573,
              "outliers": 1847,
              "duplicates": 2739
            }
          },
          "downloads": [
            {
              "format": "dirty-sql-postgres",
              "label": "PostgreSQL, with faults",
              "file": "flagship/100k/dirty-postgres.sql.gz",
              "key": "datasets/hotel-reservation-sample-database/v1/flagship/100k/dirty-postgres.sql.gz",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/flagship/100k/dirty-postgres.sql.gz",
              "bytes": 4257359,
              "sha256": "8202f8bc815d2f8a98f44a47465d522176d0a69d0fc471d1eb04f11f8bf1f74b",
              "raw": {
                "bytes": 17066793,
                "sha256": "917049c10f17ba14ad4737be7bd2c221aaa1d62ca605a503d6d69bfb0b0e8c69"
              },
              "contentType": "application/gzip"
            },
            {
              "format": "dirty-csv",
              "label": "CSV, with faults",
              "file": "flagship/100k/dirty-csv.zip",
              "key": "datasets/hotel-reservation-sample-database/v1/flagship/100k/dirty-csv.zip",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/flagship/100k/dirty-csv.zip",
              "bytes": 4306481,
              "sha256": "7416885ca35bc36615fd9f7cd6901fa1e53bd0fb2db4f82e216ad32c85e1f854",
              "tables": {
                "amenities": {
                  "bytes": 962,
                  "sha256": "7db61cc95d228fb398d011e0ccb69efd706a7ac877fee41ff85889e9624ce12e"
                },
                "applied_promotions": {
                  "bytes": 54139,
                  "sha256": "a290844d1658f3353d58ab9e9f5d7b5d50e14c7f7ac57bcb28e63bb3eabd1914"
                },
                "conference_room_bookings": {
                  "bytes": 25386,
                  "sha256": "df00cd9dc896ea3fc8be410cdae869534f2472af411537859ba8990f2372b902"
                },
                "conference_rooms": {
                  "bytes": 244,
                  "sha256": "78f5f5181b6435276d879910a0528a35e1525b640dea6d6f11a391aab93e74ab"
                },
                "dining_order_items": {
                  "bytes": 1288421,
                  "sha256": "b690dcf1185d4f97228894936623a1b3d5fbe61fdbec63cf1d4bcaf87d4f6b18"
                },
                "dining_orders": {
                  "bytes": 449759,
                  "sha256": "349c22ef2af2ee074fd8a9fc7aea7f7bb3d26d2ced54c7bd94a59ac1c1d63166"
                },
                "employees": {
                  "bytes": 6498,
                  "sha256": "29583c44c185a56ddea740da0e4c9c17a464e7f349913a9c3001e8c0d3e79935"
                },
                "feedback": {
                  "bytes": 540729,
                  "sha256": "e12314dc6580758dea3fea327d4efd9e674b2a3ce77dbe9225ce5ede254f7547"
                },
                "guest_event_participation": {
                  "bytes": 25987,
                  "sha256": "f955ce25d5246848cd736153e8872f0c40d663773f42fd3c9eae89f25bdcaa2b"
                },
                "guests": {
                  "bytes": 1118514,
                  "sha256": "ab931892a53f03e9463b1ef36f79da5acd85274794a33cf2ded3289478e98580"
                },
                "hotel_branches": {
                  "bytes": 389,
                  "sha256": "fa98beb88fad0b9691cc6f1d44a7438f24b90d1924f433a30a7e1a1c5f748d0c"
                },
                "hotel_events": {
                  "bytes": 7815,
                  "sha256": "cf53c446f64c534b4fdcba40534ff8048e1c386499c035add769bbeaf19efadd"
                },
                "housekeeping": {
                  "bytes": 1337492,
                  "sha256": "347ed3444871f78e15cf54bc16329f2cfe886ffb6602d1fc40ff227d51230318"
                },
                "inventory": {
                  "bytes": 4674,
                  "sha256": "fb91795cf3794a6682f1a739b91a257a5fc16622d42bc86f8a13f8f933239244"
                },
                "loyalty_program": {
                  "bytes": 50580,
                  "sha256": "0d8953445529329cd9f7005fba23153eb1a17b6d19de1ccd6135c25b6b61cac1"
                },
                "maintenance_requests": {
                  "bytes": 86751,
                  "sha256": "f25dbd3e83f2ae2961206b158b95d5907c4a78cf715d2fe63a8cc23d9d52048b"
                },
                "menu_items": {
                  "bytes": 1636,
                  "sha256": "f86cf098bd9a9ffdc67ff8a544bd87c9dec2a69b05d667999c8db2ae2454929d"
                },
                "payments": {
                  "bytes": 1823827,
                  "sha256": "cd7da809f6a2a1bce4d4890c6375a9b044a3376c00d51869092ecf3ae66c2206"
                },
                "promotions": {
                  "bytes": 1736,
                  "sha256": "4110268a3c020d21b2e455331743b024703e9ddc035a38193481f3fddd5796fb"
                },
                "refunds": {
                  "bytes": 29815,
                  "sha256": "db9b3d313e3ba8418d8ef2e7ea56fc25e7aa643349c7648752e10f0a829ccdf2"
                },
                "reservations": {
                  "bytes": 1590514,
                  "sha256": "07e13e9b791c7ca5f628f80a458eba0210642bdc428f5fd939881b8634db5d7f"
                },
                "room_amenities": {
                  "bytes": 4010,
                  "sha256": "cb4a83e55382ae0324aa11063514b5ac1474879cc289efaf69b670c334d53706"
                },
                "room_inventory": {
                  "bytes": 12045,
                  "sha256": "93211b8ec6247b73b7acbf5fd1e911e6b6301b8e1bb7be5f8f0079b11d1478e4"
                },
                "room_types": {
                  "bytes": 342,
                  "sha256": "a2761223f3ccf4fcee4d7241a9d534469af43763ba57c978dee063efbc8329dd"
                },
                "rooms": {
                  "bytes": 3340,
                  "sha256": "34f9ec20dd1322a49592ee8c72fac36b770b7e32f7fc1af5945ae303442e9b99"
                },
                "service_usage": {
                  "bytes": 4212249,
                  "sha256": "77c36b76db907bea9190401d7f37d79439beee40f6e519ed246d293dca3affc1"
                },
                "services": {
                  "bytes": 703,
                  "sha256": "29d29fca026b887f8bd0e7fea9e70b726f3014b73a3af81ac3ff684b8c9bb420"
                },
                "suppliers": {
                  "bytes": 2667,
                  "sha256": "26e3baba5507526d7bb669c18e91ed77b46f61090da1061306ef78439553b2ec"
                },
                "vehicle_rentals": {
                  "bytes": 37875,
                  "sha256": "e84835d403bcb321e05004033be56c3cd158d2fbdb35a24cc77df1ae0448b6ac"
                }
              },
              "contentType": "application/zip"
            }
          ]
        }
      },
      "1m": {
        "rows": 2809350,
        "counts": {
          "amenities": 24,
          "conference_rooms": 10,
          "employees": 800,
          "guests": 120000,
          "conference_room_bookings": 5000,
          "hotel_branches": 12,
          "hotel_events": 1000,
          "guest_event_participation": 20000,
          "loyalty_program": 30000,
          "menu_items": 40,
          "promotions": 400,
          "room_types": 8,
          "rooms": 1000,
          "housekeeping": 350000,
          "maintenance_requests": 15000,
          "reservations": 300000,
          "applied_promotions": 40000,
          "dining_orders": 100000,
          "dining_order_items": 400000,
          "feedback": 100000,
          "payments": 300000,
          "refunds": 8000,
          "room_amenities": 4000,
          "room_inventory": 6000,
          "services": 16,
          "service_usage": 1000000,
          "suppliers": 40,
          "inventory": 2000,
          "vehicle_rentals": 6000
        },
        "notes": [
          "At this size the tables beside service_usage were cut to 1/16 of it, so the whole build stays under 3,000,000 rows."
        ],
        "downloads": [
          {
            "format": "sql-postgres",
            "label": "PostgreSQL",
            "file": "flagship/1m/postgres.sql.gz",
            "key": "datasets/hotel-reservation-sample-database/v1/flagship/1m/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/flagship/1m/postgres.sql.gz",
            "bytes": 44224692,
            "sha256": "1b16291749b15ecbb1ca5fe48bb76d60937f2c545854c8597b713fe04061914b",
            "raw": {
              "bytes": 176753280,
              "sha256": "508f5be661567cdedf9d3a76334ab6421f2ee27f3242d3e0fd0a472cebb17698"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/1m/mysql.sql.gz",
            "key": "datasets/hotel-reservation-sample-database/v1/flagship/1m/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/flagship/1m/mysql.sql.gz",
            "bytes": 44222170,
            "sha256": "959d53c2cadf91db3537c515f410e8e73a9adfa04bdf25915640dd0c378e87b6",
            "raw": {
              "bytes": 176749910,
              "sha256": "939d20fde4685f860707c078a4dc1eb2060c4859c1bd839983660cbdcd3653fb"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/1m/sqlite.sql.gz",
            "key": "datasets/hotel-reservation-sample-database/v1/flagship/1m/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/flagship/1m/sqlite.sql.gz",
            "bytes": 44221502,
            "sha256": "206325434eaea893dd3caf47adf85305b2cbb8ad0d53657fa957a08da6cf51ae",
            "raw": {
              "bytes": 176747627,
              "sha256": "e5051932a5195cba48506515649e792fb195cc6c47e315a95da77868ccc481f2"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/1m/csv.zip",
            "key": "datasets/hotel-reservation-sample-database/v1/flagship/1m/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/hotel-reservation-sample-database/v1/flagship/1m/csv.zip",
            "bytes": 45219974,
            "sha256": "ea372b8d948b4ab4a46b43e55453ccbc03ea14e993ee168e46b2d804a22d1b8e",
            "tables": {
              "amenities": {
                "bytes": 1011,
                "sha256": "34e354ff5c9911415e28d0dd42086e93fdcf0a49061b9b7c491475e1e25d324a"
              },
              "applied_promotions": {
                "bytes": 649444,
                "sha256": "8585776da04e55b27fea85079d4bafc7f6debe5e7d176b3ace8c5d52abb7ab21"
              },
              "conference_room_bookings": {
                "bytes": 267607,
                "sha256": "e92bdc6c347a6bb517e6004f6c3d36a24726347759c44386cd0ce3c4e19d0855"
              },
              "conference_rooms": {
                "bytes": 242,
                "sha256": "de2bb140525f7e4610862f97386289af47ab4c7bb1aaaf924ae88ace3711101d"
              },
              "dining_order_items": {
                "bytes": 13736510,
                "sha256": "196d079b46e981a1d7ba28034ca41229294a47e4a2b2ebf1c75b1bdaebc5b166"
              },
              "dining_orders": {
                "bytes": 4819391,
                "sha256": "fca2388d6f699e1aa3f1b44dc84773f7b85b8f652e365a258999baa17d8c909d"
              },
              "employees": {
                "bytes": 64160,
                "sha256": "753bb6f4f6bfa04844f0b33fa1cb796128740bdefaab7e7a607cda0321798603"
              },
              "feedback": {
                "bytes": 5742503,
                "sha256": "08a1176eb1793c29423a5dfbbd03b261a86a6af8e964b2a1bc53c87babaede8d"
              },
              "guest_event_participation": {
                "bytes": 314154,
                "sha256": "996acc2eeed74cc46e3e6be35332f71f7112839bdec991e011a351c6a3ef7573"
              },
              "guests": {
                "bytes": 11488338,
                "sha256": "e9b4b18434b130480b2dcc759345eb5c4c14ae4d37eb5c2c9b04ebabbabda616"
              },
              "hotel_branches": {
                "bytes": 396,
                "sha256": "078f86db296838a303509b8305d24ace03c3f4902d480df03098c1a72ed17b5b"
              },
              "hotel_events": {
                "bytes": 80186,
                "sha256": "bde37158997ae7f93de4fa21f39eef06499e1f3b96e70d389300861cd7ddba83"
              },
              "housekeeping": {
                "bytes": 14463406,
                "sha256": "5b0f2eec250eb8fefb58361ec940fb5202c8976028fd693d15048b2fac7de7a3"
              },
              "inventory": {
                "bytes": 49691,
                "sha256": "6e825b414e242ae7a342d7a04e31ac80f762a0b092aaf16a97112f13589e2486"
              },
              "loyalty_program": {
                "bytes": 563590,
                "sha256": "ebc0c345fb545f70b3260d3c94aab606e3ed0d40a5866684cc6146f5ed430881"
              },
              "maintenance_requests": {
                "bytes": 918660,
                "sha256": "17fa1b4dfcd13bcc341e7e2d87ca3d24277873779176fa6d355c3767a23dbc60"
              },
              "menu_items": {
                "bytes": 1682,
                "sha256": "b853e9133d669851d22ec68f865f440933b21e475391c42a44245ca2b38799f3"
              },
              "payments": {
                "bytes": 19072993,
                "sha256": "33a184ea29066343013f02398b7a35c04023f2c2b3cc5f6a35cf8d5dad011e0f"
              },
              "promotions": {
                "bytes": 17493,
                "sha256": "d015169dfb654445b624bb10bd1546969b53e349dabfed80e8219d6a4a11bced"
              },
              "refunds": {
                "bytes": 316657,
                "sha256": "0af87a515da1e9f65816aec77ce004a125abfdedf8b8beacb01c74f1be17ff2d"
              },
              "reservations": {
                "bytes": 16919296,
                "sha256": "4243df73b48b7c41790e6a9b19a0876ac33d981941a3839f13743fe83ba68e3c"
              },
              "room_amenities": {
                "bytes": 46858,
                "sha256": "e8e778bfb434675ff2d02e5f5f4ccde5fab64042f7ef3b391d73794f6f608d56"
              },
              "room_inventory": {
                "bytes": 131694,
                "sha256": "1319fb32dc5a2f5dd8ceab02aa04c69ffb6fcf1c3c396f798908be4f7480d076"
              },
              "room_types": {
                "bytes": 338,
                "sha256": "69b79eecb8781ad8a5f74a4e749a8ac5276625883eae01dba9c465d67a9311c4"
              },
              "rooms": {
                "bytes": 34132,
                "sha256": "d5258de9fafcec91700d7ef8566f1241d9f7e471f8c9fa0246fe18c85baaea16"
              },
              "service_usage": {
                "bytes": 44424742,
                "sha256": "c246a417547297773b18ed33bc470c207019821167193b182df63524f4ece9e5"
              },
              "services": {
                "bytes": 706,
                "sha256": "6aa6a45de1f7d7fb2788545c42ca4fc115213656a6f33cfcb56c0f2c0d76f0ca"
              },
              "suppliers": {
                "bytes": 2741,
                "sha256": "1337081b983850f2465963f46ad08e64c8892b5dba3499a0e756be8541844ddb"
              },
              "vehicle_rentals": {
                "bytes": 395022,
                "sha256": "777baed1f252da2fce708b81776a5c6e70b7ee2fefde469b68e0db640c7adc7a"
              }
            },
            "contentType": "application/zip"
          }
        ],
        "checks": {
          "postgres": {
            "version": "18.3",
            "ok": true
          },
          "sqlite": {
            "version": "3.53.1",
            "ok": true
          },
          "notRun": [
            {
              "engine": "MySQL",
              "note": "Written from the same rows; not loaded here, no MySQL server runs in the build."
            }
          ]
        },
        "rules": [
          {
            "name": "Every check-out is on or after its check-in",
            "violations": 0
          },
          {
            "name": "Every payment equals the price of its stay",
            "violations": 0
          },
          {
            "name": "Every refund returns the whole payment, after it",
            "violations": 0
          },
          {
            "name": "Every service charge is its quantity times the service price",
            "violations": 0
          },
          {
            "name": "Every restaurant bill is the sum of its lines",
            "violations": 0
          },
          {
            "name": "Feedback names the guest who stayed, after check-out",
            "violations": 0
          },
          {
            "name": "One loyalty account per guest",
            "violations": 0
          }
        ]
      }
    },
    "rules": [
      {
        "name": "Every check-out is on or after its check-in",
        "sql": "SELECT count(*) AS violations FROM reservations WHERE check_out_date < check_in_date"
      },
      {
        "name": "Every payment equals the price of its stay",
        "sql": "SELECT count(*) AS violations FROM payments p JOIN reservations r ON r.reservation_id = p.reservation_id WHERE p.amount <> r.total_price"
      },
      {
        "name": "Every refund returns the whole payment, after it",
        "sql": "SELECT count(*) AS violations FROM refunds f JOIN payments p ON p.payment_id = f.payment_id WHERE f.refund_amount <> p.amount OR f.refund_date < p.payment_date"
      },
      {
        "name": "Every service charge is its quantity times the service price",
        "sql": "SELECT count(*) AS violations FROM service_usage u JOIN services s ON s.service_id = u.service_id WHERE u.total_cost <> round(u.quantity * s.price, 2)"
      },
      {
        "name": "Every restaurant bill is the sum of its lines",
        "sql": "SELECT count(*) AS violations FROM dining_orders o LEFT JOIN (SELECT order_id, sum(price) AS lines FROM dining_order_items GROUP BY order_id) i ON i.order_id = o.order_id WHERE o.total_amount <> COALESCE(i.lines, 0)"
      },
      {
        "name": "Feedback names the guest who stayed, after check-out",
        "sql": "SELECT count(*) AS violations FROM feedback f JOIN reservations r ON r.reservation_id = f.reservation_id WHERE f.guest_id <> r.guest_id OR f.feedback_date::date < r.check_out_date"
      },
      {
        "name": "One loyalty account per guest",
        "sql": "SELECT count(*) - count(DISTINCT guest_id) AS violations FROM loyalty_program"
      }
    ]
  },
  "publishedAt": 1791314833235,
  "updatedAt": 1791314833235
}
