{
  "format": "dataset-manifest/1",
  "slug": "food-delivery-sample-database",
  "version": 1,
  "seed": "flagship:food-delivery-sample-database:1k",
  "engine": 2,
  "engineVersion": "1.0.0",
  "spec": {
    "format": "dataset/1",
    "engine": 2,
    "slug": "food-delivery-sample-database",
    "name": "Food delivery sample database",
    "tagline": "Restaurants, menus with modifiers, customers, delivery orders, couriers, coupons, reviews and support tickets.",
    "description": "A food delivery marketplace in ten US cities through 2024 and 2025: restaurants with their cuisines, menus and opening hours, customers ordering to their own address, couriers picking up and delivering, coupons, reviews and support. The numbers agree the way a real platform’s do: every item of an order is on that restaurant’s menu at its menu price, every modifier belongs to the item’s own modifier group, and an order’s total is its items and modifiers, less its coupon, plus 8% tax and the delivery fee. A courier picks an order up ten to forty minutes after it was placed and delivers it within forty-five; a review rates the restaurant and the courier of the order it is about.",
    "domain": "restaurants",
    "shape": "transactional",
    "useCases": [
      "sql-practice",
      "analytics-demo",
      "test-fixtures"
    ],
    "keywords": [
      "food delivery",
      "orders",
      "menu",
      "couriers",
      "sample database"
    ],
    "locale": "en_US",
    "license": "CC0-1.0",
    "version": 1,
    "seed": "flagship:food-delivery-sample-database",
    "tables": {
      "addresses": {
        "description": "Rows for the addresses table.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "apartment_number": {
            "kind": "pattern",
            "pattern": "[Apt ]##",
            "nullable": true,
            "nullRate": 0.55
          },
          "building_number": {
            "kind": "location.buildingNumber"
          },
          "city_id": {
            "kind": "fk",
            "ref": "cities.id",
            "weights": [
              30,
              18,
              14,
              10,
              8,
              7,
              5,
              5,
              6,
              7
            ]
          },
          "postal_code": {
            "kind": "pattern",
            "pattern": "#####"
          },
          "street": {
            "kind": "location.street"
          }
        }
      },
      "cart_item_modifiers": {
        "description": "Rows for the cart_item_modifiers table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "cart_item_id": {
            "kind": "fk",
            "ref": "cart_items.id",
            "unique": true
          },
          "modifier_option_id": {
            "kind": "fk",
            "ref": "modifier_options.id"
          }
        }
      },
      "cart_items": {
        "description": "Rows for the cart_items table.",
        "rows": 20,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "cart_id": {
            "kind": "fk",
            "ref": "shopping_carts.id",
            "skew": "flat"
          },
          "menu_item_id": {
            "kind": "fk",
            "ref": "menu_items.id"
          },
          "quantity": {
            "kind": "int",
            "min": 1,
            "max": 3,
            "distribution": "long-tail"
          }
        }
      },
      "cities": {
        "description": "Rows for the cities table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "name": {
            "kind": "enum",
            "values": [
              "New York",
              "Los Angeles",
              "Chicago",
              "Houston",
              "Phoenix",
              "Philadelphia",
              "San Antonio",
              "San Diego",
              "Dallas",
              "Austin"
            ],
            "unique": true
          },
          "state_id": {
            "kind": "fk",
            "ref": "states.id",
            "skew": "flat"
          }
        }
      },
      "countries": {
        "description": "Rows for the countries table.",
        "rows": 1,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "code": {
            "kind": "enum",
            "values": [
              "US"
            ]
          },
          "name": {
            "kind": "enum",
            "values": [
              "United States"
            ]
          }
        }
      },
      "coupons": {
        "description": "Rows for the coupons table.",
        "rows": 20,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "code": {
            "kind": "enum",
            "values": [
              "WELCOME10",
              "WELCOME15",
              "LUNCH10",
              "LUNCH15",
              "FRIDAY20",
              "WEEKEND15",
              "SPRING10",
              "SUMMER15",
              "AUTUMN10",
              "WINTER20",
              "PIZZA15",
              "SUSHI10",
              "FAMILY20",
              "NIGHT10",
              "BRUNCH15",
              "STUDENT10",
              "LOYAL20",
              "FIRST15",
              "TACO10",
              "CURRY15"
            ],
            "unique": true
          },
          "discount_type": {
            "kind": "enum",
            "values": [
              "percent"
            ]
          },
          "discount_value": {
            "kind": "decimal",
            "min": 10,
            "max": 20,
            "scale": 2
          },
          "expires_at": {
            "kind": "datetime",
            "from": "2026-01-01",
            "to": "2026-12-31"
          },
          "min_order_amount": {
            "kind": "decimal",
            "min": 0,
            "max": 0,
            "scale": 2
          }
        }
      },
      "courier_locations": {
        "description": "Rows for the courier_locations table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "courier_id": {
            "kind": "fk",
            "ref": "couriers.id",
            "skew": "flat"
          },
          "latitude": {
            "kind": "place.latitude"
          },
          "longitude": {
            "kind": "place.longitude"
          },
          "updated_at": {
            "kind": "datetime",
            "from": "2025-12-01",
            "to": "2025-12-31",
            "dayProfile": "meals"
          }
        }
      },
      "courier_reviews": {
        "description": "Rows for the courier_reviews table.",
        "rows": 80,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "comment": {
            "kind": "enum",
            "values": [
              "Very friendly",
              "Left it at the door as asked",
              "Called when outside",
              "Took a long time",
              "Wrong building"
            ],
            "nullable": true,
            "nullRate": 0.5
          },
          "courier_id": {
            "kind": "fk",
            "ref": "couriers.id"
          },
          "created_at": {
            "kind": "datetime",
            "from": "2024-01-01",
            "to": "2025-12-31"
          },
          "order_id": {
            "kind": "fk",
            "ref": "orders.id",
            "unique": true
          },
          "rating": {
            "kind": "int",
            "min": 1,
            "max": 5,
            "distribution": "high"
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id"
          }
        }
      },
      "couriers": {
        "description": "Rows for the couriers table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "first_name": {
            "kind": "person.firstName"
          },
          "last_name": {
            "kind": "person.lastName"
          },
          "phone": {
            "kind": "phone.number"
          },
          "status": {
            "kind": "enum",
            "values": [
              "active",
              "inactive",
              "suspended"
            ],
            "weights": [
              85,
              13,
              2
            ]
          },
          "vehicle_type": {
            "kind": "enum",
            "values": [
              "bicycle",
              "e-bike",
              "scooter",
              "car"
            ],
            "weights": [
              20,
              30,
              25,
              25
            ]
          }
        }
      },
      "cuisine_types": {
        "description": "Rows for the cuisine_types table.",
        "rows": 12,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "description": {
            "kind": "enum",
            "values": [
              "Pasta, pizza and risotto",
              "Tacos, burritos and bowls",
              "Sushi, ramen and donburi",
              "Noodles, dumplings and stir-fries",
              "Curries, biryani and tandoor",
              "Curries, noodles and salads",
              "Burgers, wings and fries",
              "Mezze, grills and wraps",
              "Barbecue, bibimbap and fried chicken",
              "Pho, banh mi and rolls",
              "Pancakes, eggs and coffee",
              "Salads, bowls and smoothies"
            ]
          },
          "name": {
            "kind": "enum",
            "values": [
              "Italian",
              "Mexican",
              "Japanese",
              "Chinese",
              "Indian",
              "Thai",
              "American",
              "Mediterranean",
              "Korean",
              "Vietnamese",
              "Breakfast",
              "Healthy"
            ],
            "unique": true
          }
        }
      },
      "deliveries": {
        "description": "Rows for the deliveries table.",
        "rows": 400,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "courier_id": {
            "kind": "fk",
            "ref": "couriers.id"
          },
          "delivered_at": {
            "kind": "datetime",
            "from": "2024-01-01",
            "to": "2025-12-31"
          },
          "order_id": {
            "kind": "fk",
            "ref": "orders.id",
            "unique": true
          },
          "picked_up_at": {
            "kind": "datetime",
            "from": "2024-01-01",
            "to": "2025-12-31"
          },
          "status": {
            "kind": "enum",
            "values": [
              "delivered"
            ]
          }
        }
      },
      "dietary_tags": {
        "description": "Rows for the dietary_tags table.",
        "rows": 6,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "description": {
            "kind": "enum",
            "values": [
              "No meat or fish",
              "No animal products",
              "Made without gluten",
              "Hot",
              "No milk products",
              "Made without nuts"
            ]
          },
          "name": {
            "kind": "enum",
            "values": [
              "Vegetarian",
              "Vegan",
              "Gluten-free",
              "Spicy",
              "Dairy-free",
              "Nut-free"
            ],
            "unique": true
          }
        }
      },
      "menu_categories": {
        "description": "Rows for the menu_categories table.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "description": {
            "kind": "enum",
            "values": [
              "Most ordered this month",
              "Made to order",
              "Good to share",
              "Order before 3 pm",
              "Serves four"
            ]
          },
          "name": {
            "kind": "enum",
            "values": [
              "Popular",
              "Mains",
              "Sides",
              "Desserts",
              "Drinks",
              "Lunch deals",
              "Family meals"
            ]
          },
          "restaurant_id": {
            "kind": "fk",
            "ref": "restaurants.id",
            "skew": "flat"
          }
        }
      },
      "menu_item_tags": {
        "description": "Rows for the menu_item_tags table.",
        "rows": 1200,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "menu_item_id": {
            "kind": "fk",
            "ref": "menu_items.id",
            "unique": true
          },
          "tag_id": {
            "kind": "fk",
            "ref": "dietary_tags.id"
          }
        }
      },
      "menu_items": {
        "description": "Rows for the menu_items table.",
        "rows": 1800,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "category_id": {
            "kind": "fk",
            "ref": "menu_categories.id",
            "skew": "flat"
          },
          "description": {
            "kind": "enum",
            "values": [
              "House recipe",
              "Freshly made",
              "Customer favourite",
              "Contains allergens: ask us",
              "New on the menu"
            ]
          },
          "is_available": {
            "kind": "bool",
            "trueRate": 0.93
          },
          "name": {
            "kind": "enum",
            "values": [
              "Margherita pizza",
              "Pepperoni pizza",
              "Spaghetti carbonara",
              "Lasagna",
              "Mushroom risotto",
              "Chicken burrito",
              "Beef tacos",
              "Burrito bowl",
              "Chicken quesadilla",
              "Nachos",
              "Salmon nigiri set",
              "California roll",
              "Tonkotsu ramen",
              "Chicken katsu don",
              "Pork dumplings",
              "Kung pao chicken",
              "Beef chow mein",
              "Fried rice",
              "Butter chicken",
              "Chicken tikka masala",
              "Lamb biryani",
              "Garlic naan",
              "Samosas",
              "Pad thai",
              "Green curry",
              "Tom yum soup",
              "Cheeseburger",
              "Bacon burger",
              "Buffalo wings",
              "French fries",
              "Onion rings",
              "Falafel wrap",
              "Chicken shawarma",
              "Hummus plate",
              "Greek salad",
              "Bibimbap",
              "Korean fried chicken",
              "Beef pho",
              "Banh mi",
              "Spring rolls",
              "Pancake stack",
              "Avocado toast",
              "Breakfast burrito",
              "Caesar salad",
              "Poke bowl",
              "Chocolate cake",
              "Cheesecake",
              "Tiramisu",
              "Iced tea",
              "Lemonade",
              "Cola",
              "Latte",
              "Mango smoothie"
            ]
          },
          "price": {
            "kind": "decimal",
            "min": 0,
            "max": 22,
            "scale": 2
          }
        }
      },
      "modifier_groups": {
        "description": "Rows for the modifier_groups table.",
        "rows": 1800,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "max_selection": {
            "kind": "int",
            "min": 1,
            "max": 3
          },
          "menu_item_id": {
            "kind": "fk",
            "ref": "menu_items.id",
            "unique": true
          },
          "min_selection": {
            "kind": "int",
            "min": 0,
            "max": 1
          },
          "name": {
            "kind": "enum",
            "values": [
              "Size",
              "Extras",
              "Sauce",
              "Spice level"
            ]
          }
        }
      },
      "modifier_options": {
        "description": "Rows for the modifier_options table.",
        "rows": 5400,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "modifier_group_id": {
            "kind": "fk",
            "ref": "modifier_groups.id",
            "skew": "flat"
          },
          "name": {
            "kind": "enum",
            "values": [
              "Large",
              "Extra cheese",
              "Bacon",
              "Avocado",
              "Extra sauce",
              "Garlic sauce",
              "Hot",
              "Double portion",
              "Side salad"
            ]
          },
          "price": {
            "kind": "decimal",
            "min": 0.5,
            "max": 3.5,
            "scale": 2
          }
        }
      },
      "operating_hours": {
        "description": "Rows for the operating_hours table.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "close_time": {
            "kind": "time",
            "from": "21:00:00",
            "to": "23:59:00"
          },
          "day_of_week": {
            "kind": "int",
            "min": 0,
            "max": 6
          },
          "open_time": {
            "kind": "time",
            "from": "07:00:00",
            "to": "12:00:00"
          },
          "restaurant_id": {
            "kind": "fk",
            "ref": "restaurants.id",
            "skew": "flat"
          }
        }
      },
      "order_coupons": {
        "description": "Rows for the order_coupons table.",
        "rows": 40,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "coupon_id": {
            "kind": "fk",
            "ref": "coupons.id"
          },
          "order_id": {
            "kind": "fk",
            "ref": "orders.id",
            "unique": true
          }
        }
      },
      "order_item_modifiers": {
        "description": "Rows for the order_item_modifiers table.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "modifier_option_id": {
            "kind": "fk",
            "ref": "modifier_options.id"
          },
          "order_item_id": {
            "kind": "fk",
            "ref": "order_items.id"
          },
          "price": {
            "kind": "decimal",
            "min": 0,
            "max": 4,
            "scale": 2
          }
        }
      },
      "order_items": {
        "description": "Rows for the order_items table.",
        "rows": 1000,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "menu_item_id": {
            "kind": "fk",
            "ref": "menu_items.id"
          },
          "notes": {
            "kind": "enum",
            "values": [
              "No onions",
              "Extra napkins please",
              "Sauce on the side",
              "No ice",
              "Well done"
            ],
            "nullable": true,
            "nullRate": 0.85
          },
          "order_id": {
            "kind": "fk",
            "ref": "orders.id",
            "skew": "flat"
          },
          "quantity": {
            "kind": "int",
            "min": 1,
            "max": 4,
            "distribution": "long-tail"
          },
          "unit_price": {
            "kind": "decimal",
            "min": 0,
            "max": 22,
            "scale": 2
          }
        }
      },
      "orders": {
        "description": "Rows for the orders table.",
        "rows": 400,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "address_id": {
            "kind": "fk",
            "ref": "addresses.id"
          },
          "created_at": {
            "kind": "datetime",
            "from": "2024-01-01",
            "to": "2025-12-31",
            "dayProfile": "meals",
            "trend": "growing"
          },
          "delivery_fee": {
            "kind": "decimal",
            "min": 0,
            "max": 3.99,
            "scale": 2
          },
          "restaurant_id": {
            "kind": "fk",
            "ref": "restaurants.id"
          },
          "status": {
            "kind": "enum",
            "values": [
              "delivered"
            ]
          },
          "tax_amount": {
            "kind": "decimal",
            "min": 0,
            "max": 17,
            "scale": 2
          },
          "total_amount": {
            "kind": "decimal",
            "min": 0,
            "max": 225,
            "scale": 2
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id"
          }
        }
      },
      "payment_methods": {
        "description": "Rows for the payment_methods table.",
        "rows": 30,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "account_number": {
            "kind": "pattern",
            "pattern": "[**** **** **** ]####",
            "description": "Masked; only the last four digits are kept."
          },
          "expiry_date": {
            "kind": "date",
            "from": "2026-01-01",
            "to": "2030-12-31"
          },
          "provider": {
            "kind": "enum",
            "values": [
              "Visa",
              "Mastercard",
              "American Express",
              "PayPal",
              "Apple Pay"
            ],
            "weights": [
              40,
              25,
              10,
              15,
              10
            ]
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "flat"
          }
        }
      },
      "payouts": {
        "description": "Rows for the payouts table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "amount": {
            "kind": "decimal",
            "min": 150,
            "max": 9000,
            "scale": 2,
            "distribution": "long-tail"
          },
          "processed_at": {
            "kind": "datetime",
            "from": "2024-01-01",
            "to": "2025-12-31",
            "dayProfile": "business"
          },
          "restaurant_id": {
            "kind": "fk",
            "ref": "restaurants.id"
          },
          "status": {
            "kind": "enum",
            "values": [
              "paid",
              "pending",
              "failed"
            ],
            "weights": [
              93,
              5,
              2
            ]
          }
        }
      },
      "restaurant_cuisines": {
        "description": "Rows for the restaurant_cuisines table.",
        "rows": 80,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "cuisine_type_id": {
            "kind": "fk",
            "ref": "cuisine_types.id",
            "skew": "flat"
          },
          "restaurant_id": {
            "kind": "fk",
            "ref": "restaurants.id",
            "skew": "flat"
          }
        }
      },
      "restaurants": {
        "description": "Rows for the restaurants table.",
        "rows": 60,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "address_id": {
            "kind": "fk",
            "ref": "addresses.id",
            "unique": true
          },
          "description": {
            "kind": "enum",
            "values": [
              "Family-run since 2009",
              "Chef-owned kitchen",
              "Late-night favourite",
              "Neighbourhood spot",
              "Fast and fresh",
              "Award-winning"
            ]
          },
          "is_active": {
            "kind": "bool",
            "trueRate": 0.94
          },
          "name": {
            "kind": "company.name",
            "unique": true
          },
          "rating": {
            "kind": "decimal",
            "min": 3.4,
            "max": 4.9,
            "scale": 1,
            "distribution": "normal"
          }
        }
      },
      "reviews": {
        "description": "Rows for the reviews table.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "comment": {
            "kind": "enum",
            "values": [
              "Arrived hot and on time",
              "Great portions",
              "Food was cold",
              "Missing an item",
              "Will order again",
              "Too salty",
              "Best in town"
            ],
            "nullable": true,
            "nullRate": 0.4
          },
          "created_at": {
            "kind": "datetime",
            "from": "2024-01-01",
            "to": "2025-12-31"
          },
          "order_id": {
            "kind": "fk",
            "ref": "orders.id",
            "unique": true
          },
          "rating": {
            "kind": "int",
            "min": 1,
            "max": 5,
            "distribution": "high"
          },
          "restaurant_id": {
            "kind": "fk",
            "ref": "restaurants.id"
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id"
          }
        }
      },
      "shopping_carts": {
        "description": "Rows for the shopping_carts table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "restaurant_id": {
            "kind": "fk",
            "ref": "restaurants.id"
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "unique": true
          }
        }
      },
      "states": {
        "description": "Rows for the states table.",
        "rows": 6,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "country_id": {
            "kind": "fk",
            "ref": "countries.id"
          },
          "name": {
            "kind": "enum",
            "values": [
              "New York",
              "California",
              "Illinois",
              "Texas",
              "Arizona",
              "Pennsylvania"
            ],
            "unique": true
          }
        }
      },
      "support_messages": {
        "description": "Rows for the support_messages table.",
        "rows": 20,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "created_at": {
            "kind": "datetime",
            "from": "2024-01-01",
            "to": "2025-12-31"
          },
          "message": {
            "kind": "enum",
            "values": [
              "Can you look into this?",
              "Sorry about that, a refund is on its way",
              "Thanks for the quick help",
              "Could you send a photo?",
              "We have credited your account"
            ]
          },
          "sender_type": {
            "kind": "enum",
            "values": [
              "customer",
              "agent"
            ],
            "weights": [
              55,
              45
            ]
          },
          "ticket_id": {
            "kind": "fk",
            "ref": "support_tickets.id",
            "skew": "flat"
          }
        }
      },
      "support_tickets": {
        "description": "Rows for the support_tickets table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "created_at": {
            "kind": "datetime",
            "from": "2024-01-01",
            "to": "2025-12-31"
          },
          "order_id": {
            "kind": "fk",
            "ref": "orders.id",
            "unique": true
          },
          "status": {
            "kind": "enum",
            "values": [
              "resolved",
              "closed",
              "open"
            ],
            "weights": [
              70,
              25,
              5
            ]
          },
          "subject": {
            "kind": "enum",
            "values": [
              "Missing item",
              "Order arrived late",
              "Wrong order",
              "Refund request",
              "Coupon did not apply",
              "Courier issue"
            ]
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id"
          }
        }
      },
      "users": {
        "description": "Rows for the users table.",
        "rows": 40,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "address_id": {
            "kind": "fk",
            "ref": "addresses.id",
            "unique": true
          },
          "email": {
            "kind": "internet.email",
            "from": {
              "firstName": "first_name",
              "lastName": "last_name"
            },
            "unique": true
          },
          "first_name": {
            "kind": "person.firstName"
          },
          "last_name": {
            "kind": "person.lastName"
          },
          "password_hash": {
            "kind": "pattern",
            "pattern": "[$2b$12$]xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
          },
          "phone": {
            "kind": "phone.number"
          }
        }
      }
    }
  },
  "counts": {
    "countries": 1,
    "coupons": 20,
    "couriers": 10,
    "courier_locations": 10,
    "cuisine_types": 12,
    "dietary_tags": 6,
    "states": 6,
    "cities": 10,
    "addresses": 100,
    "restaurants": 60,
    "menu_categories": 300,
    "menu_items": 1800,
    "menu_item_tags": 1200,
    "modifier_groups": 1800,
    "modifier_options": 5400,
    "operating_hours": 300,
    "payouts": 10,
    "restaurant_cuisines": 80,
    "users": 40,
    "orders": 400,
    "courier_reviews": 80,
    "deliveries": 400,
    "order_coupons": 40,
    "order_items": 1000,
    "order_item_modifiers": 150,
    "payment_methods": 30,
    "reviews": 100,
    "shopping_carts": 10,
    "cart_items": 20,
    "cart_item_modifiers": 10,
    "support_tickets": 10,
    "support_messages": 20
  },
  "artifacts": [
    {
      "file": "csv/countries.csv",
      "format": "csv",
      "table": "countries",
      "key": "datasets/food-delivery-sample-database/v1/csv/countries.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/countries.csv",
      "bytes": 34,
      "sha256": "ef5b0ea2701f3f242c90ab3946547bc0335bcd6a9375de79ab4708dde14359f4",
      "rows": 1,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/coupons.csv",
      "format": "csv",
      "table": "coupons",
      "key": "datasets/food-delivery-sample-database/v1/csv/coupons.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/coupons.csv",
      "bytes": 1031,
      "sha256": "371d7dedf90541c232de7f080ac67b9b5f55216438e3108465c53edc48eb4a6d",
      "rows": 20,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/couriers.csv",
      "format": "csv",
      "table": "couriers",
      "key": "datasets/food-delivery-sample-database/v1/csv/couriers.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/couriers.csv",
      "bytes": 528,
      "sha256": "734439b4cf8fb96c66d1aefa864cc095335157653e709214d16f141e5c3d434e",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/courier_locations.csv",
      "format": "csv",
      "table": "courier_locations",
      "key": "datasets/food-delivery-sample-database/v1/csv/courier_locations.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/courier_locations.csv",
      "bytes": 509,
      "sha256": "e6e3e71a71c0a078981ce352cfba97f599ca094f06dce3cd0324dfeab8a6387d",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/cuisine_types.csv",
      "format": "csv",
      "table": "cuisine_types",
      "key": "datasets/food-delivery-sample-database/v1/csv/cuisine_types.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/cuisine_types.csv",
      "bytes": 518,
      "sha256": "0ca2d282e8c0998161ee7ab820d85b3c68d5de5d40d95bb093db9e53701f8a01",
      "rows": 12,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/dietary_tags.csv",
      "format": "csv",
      "table": "dietary_tags",
      "key": "datasets/food-delivery-sample-database/v1/csv/dietary_tags.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/dietary_tags.csv",
      "bytes": 188,
      "sha256": "a756240c3a878f8c2307c57c96327e3f911db56c952758cb17fb1c68ad3a99cb",
      "rows": 6,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/states.csv",
      "format": "csv",
      "table": "states",
      "key": "datasets/food-delivery-sample-database/v1/csv/states.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/states.csv",
      "bytes": 106,
      "sha256": "567e85862ccb9248107511c878011c10c3ee523b17f449284b26d591e8e00c23",
      "rows": 6,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/cities.csv",
      "format": "csv",
      "table": "cities",
      "key": "datasets/food-delivery-sample-database/v1/csv/cities.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/cities.csv",
      "bytes": 163,
      "sha256": "962d1554ecb9f406a72b3f64da7a3b23ead0c2b4710337a02c5d5822fdd38836",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/addresses.csv",
      "format": "csv",
      "table": "addresses",
      "key": "datasets/food-delivery-sample-database/v1/csv/addresses.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/addresses.csv",
      "bytes": 3566,
      "sha256": "f43b78300d934ea858eb1a59390e691977c89161b57d16bb11e8ecf8eb1385f3",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/restaurants.csv",
      "format": "csv",
      "table": "restaurants",
      "key": "datasets/food-delivery-sample-database/v1/csv/restaurants.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/restaurants.csv",
      "bytes": 3440,
      "sha256": "5ac7a37ca2684998e177a44f42457124f95f6271eb3397fdd70adaeaf7c8ba71",
      "rows": 60,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/menu_categories.csv",
      "format": "csv",
      "table": "menu_categories",
      "key": "datasets/food-delivery-sample-database/v1/csv/menu_categories.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/menu_categories.csv",
      "bytes": 9758,
      "sha256": "3cec95b06dfc0000efefc47c9e215aa7302dbf51c4106624a3c90f8ac98cfd9f",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/menu_items.csv",
      "format": "csv",
      "table": "menu_items",
      "key": "datasets/food-delivery-sample-database/v1/csv/menu_items.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/menu_items.csv",
      "bytes": 90413,
      "sha256": "62732eb64ad94e6bbcde25305f2d87b93447e78321440b1c3bd27d1f79dcf265",
      "rows": 1800,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/menu_item_tags.csv",
      "format": "csv",
      "table": "menu_item_tags",
      "key": "datasets/food-delivery-sample-database/v1/csv/menu_item_tags.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/menu_item_tags.csv",
      "bytes": 13798,
      "sha256": "af3ee0313b95ad6136ca72ac903c3d4f5e2f2b7f9cf0904be92f78d237f98c3a",
      "rows": 1200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/modifier_groups.csv",
      "format": "csv",
      "table": "modifier_groups",
      "key": "datasets/food-delivery-sample-database/v1/csv/modifier_groups.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/modifier_groups.csv",
      "bytes": 38039,
      "sha256": "7725b475e99e5f15c6be2c8c77a12067a20068ff3dfccfb8116aaf35a76afd82",
      "rows": 1800,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/modifier_options.csv",
      "format": "csv",
      "table": "modifier_options",
      "key": "datasets/food-delivery-sample-database/v1/csv/modifier_options.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/modifier_options.csv",
      "bytes": 135391,
      "sha256": "cf3a1977a8fd56d6744a82bef71f3babc35eda666e27ec29a2e8a09f180c72ab",
      "rows": 5400,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/operating_hours.csv",
      "format": "csv",
      "table": "operating_hours",
      "key": "datasets/food-delivery-sample-database/v1/csv/operating_hours.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/operating_hours.csv",
      "bytes": 8296,
      "sha256": "a8fc8e525ebddd94f6f9e185279cdaf9e522a693d6521b502b79cf56ac0d05ac",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/payouts.csv",
      "format": "csv",
      "table": "payouts",
      "key": "datasets/food-delivery-sample-database/v1/csv/payouts.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/payouts.csv",
      "bytes": 433,
      "sha256": "abcef46cb57728cd0fdd96d51787ebe1f74cb8cff3d20583c15f4d3ecfdca7b4",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/restaurant_cuisines.csv",
      "format": "csv",
      "table": "restaurant_cuisines",
      "key": "datasets/food-delivery-sample-database/v1/csv/restaurant_cuisines.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/restaurant_cuisines.csv",
      "bytes": 748,
      "sha256": "3d9006dfa9d563b5a9ea148ab5157c88c1e4a2b7b2c8b21f1aabb8c49198f6ae",
      "rows": 80,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/food-delivery-sample-database/v1/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/users.csv",
      "bytes": 5116,
      "sha256": "c03479ce34403c391b18aa5dac653d9e7e56fb12b22c41326afb600459a14ac9",
      "rows": 40,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/orders.csv",
      "format": "csv",
      "table": "orders",
      "key": "datasets/food-delivery-sample-database/v1/csv/orders.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/orders.csv",
      "bytes": 23631,
      "sha256": "85d2129ee554d6767b9a065dcf4f51dd49d1720dae52b0bad5c1a167dd0bdf32",
      "rows": 400,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/courier_reviews.csv",
      "format": "csv",
      "table": "courier_reviews",
      "key": "datasets/food-delivery-sample-database/v1/csv/courier_reviews.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/courier_reviews.csv",
      "bytes": 3615,
      "sha256": "c449a2e0fb13caca94d3e33f64d53f4ec8f351f6f2fdd82043a10ecc226c80b8",
      "rows": 80,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/deliveries.csv",
      "format": "csv",
      "table": "deliveries",
      "key": "datasets/food-delivery-sample-database/v1/csv/deliveries.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/deliveries.csv",
      "bytes": 24271,
      "sha256": "123fd7ee148368dc89de801c9e2c90d014daa3779ba058172c00f042f0958146",
      "rows": 400,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/order_coupons.csv",
      "format": "csv",
      "table": "order_coupons",
      "key": "datasets/food-delivery-sample-database/v1/csv/order_coupons.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/order_coupons.csv",
      "bytes": 417,
      "sha256": "ce6077d00bed4ff6dd2c90637ef9f075f331958cbcb24858e4474c93b1197f11",
      "rows": 40,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/order_items.csv",
      "format": "csv",
      "table": "order_items",
      "key": "datasets/food-delivery-sample-database/v1/csv/order_items.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/order_items.csv",
      "bytes": 23196,
      "sha256": "01538e3f3ee0e1a98b2d07d778c43a5368503bf77481609048f1c91919c0a842",
      "rows": 1000,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/order_item_modifiers.csv",
      "format": "csv",
      "table": "order_item_modifiers",
      "key": "datasets/food-delivery-sample-database/v1/csv/order_item_modifiers.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/order_item_modifiers.csv",
      "bytes": 2711,
      "sha256": "62cfdd2b9a9d7e977a0ed731042e84bb38109b8a5ba0c910b16bdf7b6653cfa4",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/payment_methods.csv",
      "format": "csv",
      "table": "payment_methods",
      "key": "datasets/food-delivery-sample-database/v1/csv/payment_methods.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/payment_methods.csv",
      "bytes": 1449,
      "sha256": "0a09a17ec7b530209f805ba4d0beeda79cbbed1ea12cf21040e30320d24f9ec7",
      "rows": 30,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/reviews.csv",
      "format": "csv",
      "table": "reviews",
      "key": "datasets/food-delivery-sample-database/v1/csv/reviews.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/reviews.csv",
      "bytes": 4573,
      "sha256": "59739b524e5fe15724a1c5392fb7b70847afa26cc1e5d4123151ba570025aac4",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/shopping_carts.csv",
      "format": "csv",
      "table": "shopping_carts",
      "key": "datasets/food-delivery-sample-database/v1/csv/shopping_carts.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/shopping_carts.csv",
      "bytes": 113,
      "sha256": "3ccfb7cdb8772e1cf1e65f0e8abd10ddaaf2cb380ca3a832801c8a5978836de1",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/cart_items.csv",
      "format": "csv",
      "table": "cart_items",
      "key": "datasets/food-delivery-sample-database/v1/csv/cart_items.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/cart_items.csv",
      "bytes": 268,
      "sha256": "3597610cc91d903bedbbe579993f96a5f7abafc54443cd548b8d048f573efd89",
      "rows": 20,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/cart_item_modifiers.csv",
      "format": "csv",
      "table": "cart_item_modifiers",
      "key": "datasets/food-delivery-sample-database/v1/csv/cart_item_modifiers.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/cart_item_modifiers.csv",
      "bytes": 138,
      "sha256": "a7f110c183164dbb4f291165a60bfd549469acfb7ec0b95a876400ec9a753ffa",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/support_tickets.csv",
      "format": "csv",
      "table": "support_tickets",
      "key": "datasets/food-delivery-sample-database/v1/csv/support_tickets.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/support_tickets.csv",
      "bytes": 602,
      "sha256": "67e64b3dafc4bb0336f0d3d3dd941172e37b0e37c7e250154a3ca3a311b127a3",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/support_messages.csv",
      "format": "csv",
      "table": "support_messages",
      "key": "datasets/food-delivery-sample-database/v1/csv/support_messages.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/csv/support_messages.csv",
      "bytes": 1296,
      "sha256": "96e01ed986030ce2c72aac5fb75b5402d2ddbf8cf4b841a19535bd66527efbb2",
      "rows": 20,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "food-delivery-sample-database.json",
      "format": "json",
      "table": null,
      "key": "datasets/food-delivery-sample-database/v1/food-delivery-sample-database.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/food-delivery-sample-database.json",
      "bytes": 1774265,
      "sha256": "f9f626d4567f1674af5929aff2e67f4fd3612af001a3a87062f66528a7d2a3c9",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/food-delivery-sample-database/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/sql/postgres.sql",
      "bytes": 587848,
      "sha256": "0c0b315abb93e81d9c8eba1a50afcb0175a5e2e9a2919039425e4cf6a7807bd2",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/food-delivery-sample-database/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/sql/mysql.sql",
      "bytes": 578987,
      "sha256": "ae34376e947a4323da05b423f6a339d1a5c502a58dc8bd1a2fc3aacff8f4cf16",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/food-delivery-sample-database/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/sql/mssql.sql",
      "bytes": 595969,
      "sha256": "ce3148af68b7e7359ecd048f52389efe31a2a05dad75ada9a70f7ca02fe717a9",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/food-delivery-sample-database/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/sql/sqlite.sql",
      "bytes": 576201,
      "sha256": "85079de127b58132a4f6289a5d9fc3c4520dc1c402e34f9896679b429f43d14e",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/food-delivery-sample-database/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/prisma/seed.ts",
      "bytes": 1347730,
      "sha256": "429b485fdabe54fa8dbae03f2d3c3f819bca71a97e5fe33d712847cfe00596a4",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/food-delivery-sample-database/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/django/fixtures.json",
      "bytes": 2389107,
      "sha256": "a0cfc807b2ba1edc8d78ba26a302e4458bfb3686197d65e37a73e5a74f93faa5",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "flagship": {
    "sizes": {
      "1k": {
        "rows": 13435,
        "counts": {
          "countries": 1,
          "coupons": 20,
          "couriers": 10,
          "courier_locations": 10,
          "cuisine_types": 12,
          "dietary_tags": 6,
          "states": 6,
          "cities": 10,
          "addresses": 100,
          "restaurants": 60,
          "menu_categories": 300,
          "menu_items": 1800,
          "menu_item_tags": 1200,
          "modifier_groups": 1800,
          "modifier_options": 5400,
          "operating_hours": 300,
          "payouts": 10,
          "restaurant_cuisines": 80,
          "users": 40,
          "orders": 400,
          "courier_reviews": 80,
          "deliveries": 400,
          "order_coupons": 40,
          "order_items": 1000,
          "order_item_modifiers": 150,
          "payment_methods": 30,
          "reviews": 100,
          "shopping_carts": 10,
          "cart_items": 20,
          "cart_item_modifiers": 10,
          "support_tickets": 10,
          "support_messages": 20
        },
        "notes": [],
        "downloads": [
          {
            "format": "sql-postgres",
            "label": "PostgreSQL",
            "file": "flagship/1k/postgres.sql.gz",
            "key": "datasets/food-delivery-sample-database/v1/flagship/1k/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/flagship/1k/postgres.sql.gz",
            "bytes": 129549,
            "sha256": "adc41956483f2c95902eb3ac3f95772e6b9cc914f66f7d46eba41dad7c55a51e",
            "raw": {
              "bytes": 594131,
              "sha256": "317bb91401e38362acb6e71c8686408dcc98f5f2fc62875b338a2ae487db924c"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/1k/mysql.sql.gz",
            "key": "datasets/food-delivery-sample-database/v1/flagship/1k/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/flagship/1k/mysql.sql.gz",
            "bytes": 128596,
            "sha256": "ce391aa2a38328b8e611bb572485c0e2de677a7866424b26c579a9932d348df2",
            "raw": {
              "bytes": 585270,
              "sha256": "f6e89c245b62ee27bf502bd79146f58715a005e3b3610b17cb2a78759a319076"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/1k/sqlite.sql.gz",
            "key": "datasets/food-delivery-sample-database/v1/flagship/1k/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/flagship/1k/sqlite.sql.gz",
            "bytes": 128026,
            "sha256": "a049cb099ad053134bfe13790d8dab5000e6ca155d6381362848e1000a339b83",
            "raw": {
              "bytes": 582484,
              "sha256": "958c57b023eb9f241b82f96703eef83bb85613208807bc91e982974c9c5eff36"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/1k/csv.zip",
            "key": "datasets/food-delivery-sample-database/v1/flagship/1k/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/flagship/1k/csv.zip",
            "bytes": 127849,
            "sha256": "3b05251e51b6318af16d4aad255f419d3a2b8b48bb1319171dfb65f8abb8ccdd",
            "tables": {
              "addresses": {
                "bytes": 3566,
                "sha256": "f43b78300d934ea858eb1a59390e691977c89161b57d16bb11e8ecf8eb1385f3"
              },
              "cart_item_modifiers": {
                "bytes": 138,
                "sha256": "a7f110c183164dbb4f291165a60bfd549469acfb7ec0b95a876400ec9a753ffa"
              },
              "cart_items": {
                "bytes": 268,
                "sha256": "3597610cc91d903bedbbe579993f96a5f7abafc54443cd548b8d048f573efd89"
              },
              "cities": {
                "bytes": 163,
                "sha256": "962d1554ecb9f406a72b3f64da7a3b23ead0c2b4710337a02c5d5822fdd38836"
              },
              "countries": {
                "bytes": 34,
                "sha256": "ef5b0ea2701f3f242c90ab3946547bc0335bcd6a9375de79ab4708dde14359f4"
              },
              "coupons": {
                "bytes": 1031,
                "sha256": "371d7dedf90541c232de7f080ac67b9b5f55216438e3108465c53edc48eb4a6d"
              },
              "courier_locations": {
                "bytes": 509,
                "sha256": "e6e3e71a71c0a078981ce352cfba97f599ca094f06dce3cd0324dfeab8a6387d"
              },
              "courier_reviews": {
                "bytes": 3615,
                "sha256": "c449a2e0fb13caca94d3e33f64d53f4ec8f351f6f2fdd82043a10ecc226c80b8"
              },
              "couriers": {
                "bytes": 528,
                "sha256": "734439b4cf8fb96c66d1aefa864cc095335157653e709214d16f141e5c3d434e"
              },
              "cuisine_types": {
                "bytes": 518,
                "sha256": "0ca2d282e8c0998161ee7ab820d85b3c68d5de5d40d95bb093db9e53701f8a01"
              },
              "deliveries": {
                "bytes": 24271,
                "sha256": "123fd7ee148368dc89de801c9e2c90d014daa3779ba058172c00f042f0958146"
              },
              "dietary_tags": {
                "bytes": 188,
                "sha256": "a756240c3a878f8c2307c57c96327e3f911db56c952758cb17fb1c68ad3a99cb"
              },
              "menu_categories": {
                "bytes": 9758,
                "sha256": "3cec95b06dfc0000efefc47c9e215aa7302dbf51c4106624a3c90f8ac98cfd9f"
              },
              "menu_item_tags": {
                "bytes": 13798,
                "sha256": "af3ee0313b95ad6136ca72ac903c3d4f5e2f2b7f9cf0904be92f78d237f98c3a"
              },
              "menu_items": {
                "bytes": 90413,
                "sha256": "62732eb64ad94e6bbcde25305f2d87b93447e78321440b1c3bd27d1f79dcf265"
              },
              "modifier_groups": {
                "bytes": 38039,
                "sha256": "7725b475e99e5f15c6be2c8c77a12067a20068ff3dfccfb8116aaf35a76afd82"
              },
              "modifier_options": {
                "bytes": 135391,
                "sha256": "cf3a1977a8fd56d6744a82bef71f3babc35eda666e27ec29a2e8a09f180c72ab"
              },
              "operating_hours": {
                "bytes": 8296,
                "sha256": "a8fc8e525ebddd94f6f9e185279cdaf9e522a693d6521b502b79cf56ac0d05ac"
              },
              "order_coupons": {
                "bytes": 417,
                "sha256": "ce6077d00bed4ff6dd2c90637ef9f075f331958cbcb24858e4474c93b1197f11"
              },
              "order_item_modifiers": {
                "bytes": 2711,
                "sha256": "62cfdd2b9a9d7e977a0ed731042e84bb38109b8a5ba0c910b16bdf7b6653cfa4"
              },
              "order_items": {
                "bytes": 23196,
                "sha256": "01538e3f3ee0e1a98b2d07d778c43a5368503bf77481609048f1c91919c0a842"
              },
              "orders": {
                "bytes": 23631,
                "sha256": "85d2129ee554d6767b9a065dcf4f51dd49d1720dae52b0bad5c1a167dd0bdf32"
              },
              "payment_methods": {
                "bytes": 1449,
                "sha256": "0a09a17ec7b530209f805ba4d0beeda79cbbed1ea12cf21040e30320d24f9ec7"
              },
              "payouts": {
                "bytes": 433,
                "sha256": "abcef46cb57728cd0fdd96d51787ebe1f74cb8cff3d20583c15f4d3ecfdca7b4"
              },
              "restaurant_cuisines": {
                "bytes": 748,
                "sha256": "3d9006dfa9d563b5a9ea148ab5157c88c1e4a2b7b2c8b21f1aabb8c49198f6ae"
              },
              "restaurants": {
                "bytes": 3440,
                "sha256": "5ac7a37ca2684998e177a44f42457124f95f6271eb3397fdd70adaeaf7c8ba71"
              },
              "reviews": {
                "bytes": 4573,
                "sha256": "59739b524e5fe15724a1c5392fb7b70847afa26cc1e5d4123151ba570025aac4"
              },
              "shopping_carts": {
                "bytes": 113,
                "sha256": "3ccfb7cdb8772e1cf1e65f0e8abd10ddaaf2cb380ca3a832801c8a5978836de1"
              },
              "states": {
                "bytes": 106,
                "sha256": "567e85862ccb9248107511c878011c10c3ee523b17f449284b26d591e8e00c23"
              },
              "support_messages": {
                "bytes": 1296,
                "sha256": "96e01ed986030ce2c72aac5fb75b5402d2ddbf8cf4b841a19535bd66527efbb2"
              },
              "support_tickets": {
                "bytes": 602,
                "sha256": "67e64b3dafc4bb0336f0d3d3dd941172e37b0e37c7e250154a3ca3a311b127a3"
              },
              "users": {
                "bytes": 5116,
                "sha256": "c03479ce34403c391b18aa5dac653d9e7e56fb12b22c41326afb600459a14ac9"
              }
            },
            "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 item of an order is on that restaurant's menu at its menu price, and every modifier is from the item's own group at its price",
            "violations": 0
          },
          {
            "name": "An order's total is its items and modifiers less its coupon, plus 8% tax and the restaurant's delivery fee",
            "violations": 0
          },
          {
            "name": "An order goes to its customer's address, every order has items, and a restaurant charges one delivery fee",
            "violations": 0
          },
          {
            "name": "A courier picks an order up ten to forty minutes after it was placed and delivers it five to forty-five minutes later",
            "violations": 0
          },
          {
            "name": "A review names its order's customer and restaurant, a courier review its order's courier, and both come after the order",
            "violations": 0
          },
          {
            "name": "A ticket is raised by its order's customer after the order, and its messages follow it",
            "violations": 0
          },
          {
            "name": "Every restaurant has a menu and every dish a modifier group with options; a restaurant lists a category name once and opens once a day, and a dish carries one dietary tag",
            "violations": 0
          }
        ],
        "dirty": {
          "report": {
            "rates": {
              "missing": 0.03,
              "typos": 0.03,
              "outliers": 0.005,
              "duplicates": 0.01
            },
            "tables": {
              "coupons": {
                "duplicates": 0,
                "columns": {
                  "discount_type": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  },
                  "expires_at": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "min_order_amount": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "couriers": {
                "duplicates": 0,
                "columns": {
                  "last_name": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "phone": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "vehicle_type": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "courier_locations": {
                "duplicates": 0,
                "columns": {
                  "latitude": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "longitude": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "updated_at": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "cuisine_types": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "cities": {
                "duplicates": 0,
                "columns": {
                  "name": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "addresses": {
                "duplicates": 1,
                "columns": {
                  "apartment_number": {
                    "missing": 2,
                    "typos": 1,
                    "outliers": 0
                  },
                  "building_number": {
                    "missing": 0,
                    "typos": 2,
                    "outliers": 0
                  },
                  "postal_code": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "street": {
                    "missing": 4,
                    "typos": 5,
                    "outliers": 0
                  }
                }
              },
              "restaurants": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 2,
                    "typos": 1,
                    "outliers": 0
                  },
                  "is_active": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "menu_categories": {
                "duplicates": 4,
                "columns": {
                  "description": {
                    "missing": 10,
                    "typos": 9,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 10,
                    "typos": 5,
                    "outliers": 0
                  }
                }
              },
              "menu_items": {
                "duplicates": 15,
                "columns": {
                  "description": {
                    "missing": 65,
                    "typos": 50,
                    "outliers": 0
                  },
                  "is_available": {
                    "missing": 45,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 51,
                    "typos": 53,
                    "outliers": 0
                  },
                  "price": {
                    "missing": 63,
                    "typos": 0,
                    "outliers": 6
                  }
                }
              },
              "menu_item_tags": {
                "duplicates": 9,
                "columns": {}
              },
              "modifier_groups": {
                "duplicates": 14,
                "columns": {
                  "max_selection": {
                    "missing": 57,
                    "typos": 0,
                    "outliers": 6
                  },
                  "min_selection": {
                    "missing": 55,
                    "typos": 0,
                    "outliers": 6
                  },
                  "name": {
                    "missing": 54,
                    "typos": 55,
                    "outliers": 0
                  }
                }
              },
              "modifier_options": {
                "duplicates": 50,
                "columns": {
                  "name": {
                    "missing": 155,
                    "typos": 158,
                    "outliers": 0
                  },
                  "price": {
                    "missing": 179,
                    "typos": 0,
                    "outliers": 27
                  }
                }
              },
              "operating_hours": {
                "duplicates": 1,
                "columns": {
                  "close_time": {
                    "missing": 13,
                    "typos": 0,
                    "outliers": 0
                  },
                  "day_of_week": {
                    "missing": 7,
                    "typos": 0,
                    "outliers": 1
                  },
                  "open_time": {
                    "missing": 7,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "payouts": {
                "duplicates": 0,
                "columns": {
                  "amount": {
                    "missing": 0,
                    "typos": 0,
                    "outliers": 1
                  },
                  "status": {
                    "missing": 0,
                    "typos": 2,
                    "outliers": 0
                  }
                }
              },
              "users": {
                "duplicates": 0,
                "columns": {
                  "email": {
                    "missing": 2,
                    "typos": 2,
                    "outliers": 0
                  },
                  "first_name": {
                    "missing": 1,
                    "typos": 5,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 4,
                    "typos": 0,
                    "outliers": 0
                  },
                  "password_hash": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "phone": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "orders": {
                "duplicates": 4,
                "columns": {
                  "created_at": {
                    "missing": 14,
                    "typos": 0,
                    "outliers": 0
                  },
                  "delivery_fee": {
                    "missing": 12,
                    "typos": 0,
                    "outliers": 4
                  },
                  "status": {
                    "missing": 19,
                    "typos": 10,
                    "outliers": 0
                  },
                  "tax_amount": {
                    "missing": 6,
                    "typos": 0,
                    "outliers": 0
                  },
                  "total_amount": {
                    "missing": 9,
                    "typos": 0,
                    "outliers": 2
                  }
                }
              },
              "courier_reviews": {
                "duplicates": 1,
                "columns": {
                  "comment": {
                    "missing": 0,
                    "typos": 2,
                    "outliers": 0
                  },
                  "created_at": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "rating": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "deliveries": {
                "duplicates": 6,
                "columns": {
                  "delivered_at": {
                    "missing": 14,
                    "typos": 0,
                    "outliers": 0
                  },
                  "picked_up_at": {
                    "missing": 8,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 14,
                    "typos": 13,
                    "outliers": 0
                  }
                }
              },
              "order_coupons": {
                "duplicates": 2,
                "columns": {}
              },
              "order_items": {
                "duplicates": 15,
                "columns": {
                  "notes": {
                    "missing": 8,
                    "typos": 4,
                    "outliers": 0
                  },
                  "quantity": {
                    "missing": 36,
                    "typos": 0,
                    "outliers": 6
                  },
                  "unit_price": {
                    "missing": 27,
                    "typos": 0,
                    "outliers": 5
                  }
                }
              },
              "order_item_modifiers": {
                "duplicates": 1,
                "columns": {
                  "price": {
                    "missing": 3,
                    "typos": 0,
                    "outliers": 2
                  }
                }
              },
              "payment_methods": {
                "duplicates": 1,
                "columns": {
                  "account_number": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "expiry_date": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "provider": {
                    "missing": 0,
                    "typos": 2,
                    "outliers": 0
                  }
                }
              },
              "reviews": {
                "duplicates": 1,
                "columns": {
                  "comment": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  },
                  "created_at": {
                    "missing": 4,
                    "typos": 0,
                    "outliers": 0
                  },
                  "rating": {
                    "missing": 3,
                    "typos": 0,
                    "outliers": 1
                  }
                }
              },
              "cart_items": {
                "duplicates": 0,
                "columns": {
                  "quantity": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "support_tickets": {
                "duplicates": 0,
                "columns": {
                  "status": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "subject": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "support_messages": {
                "duplicates": 0,
                "columns": {
                  "created_at": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "message": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "sender_type": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              }
            },
            "totals": {
              "missing": 993,
              "typos": 386,
              "outliers": 67,
              "duplicates": 125
            }
          },
          "downloads": [
            {
              "format": "dirty-sql-postgres",
              "label": "PostgreSQL, with faults",
              "file": "flagship/1k/dirty-postgres.sql.gz",
              "key": "datasets/food-delivery-sample-database/v1/flagship/1k/dirty-postgres.sql.gz",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/flagship/1k/dirty-postgres.sql.gz",
              "bytes": 130440,
              "sha256": "de51493266a473f357f58eb2c9a549c1e4e8aec4dad782d399c0e44dd5210787",
              "raw": {
                "bytes": 588897,
                "sha256": "5abdf9e7d86a6f0bd07702fae52fa051940acff07d4571ad4efe2ea61f0957ea"
              },
              "contentType": "application/gzip"
            },
            {
              "format": "dirty-csv",
              "label": "CSV, with faults",
              "file": "flagship/1k/dirty-csv.zip",
              "key": "datasets/food-delivery-sample-database/v1/flagship/1k/dirty-csv.zip",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/flagship/1k/dirty-csv.zip",
              "bytes": 129929,
              "sha256": "9e6a5167cf17132b357fbb895fe9fba3d9adb808ba46576d782b22cc8851a393",
              "tables": {
                "addresses": {
                  "bytes": 3542,
                  "sha256": "9a80028763b33bada0dc8de6d2dd7fe2997c2e18120887bd45436ca78ae8f24d"
                },
                "cart_item_modifiers": {
                  "bytes": 138,
                  "sha256": "a7f110c183164dbb4f291165a60bfd549469acfb7ec0b95a876400ec9a753ffa"
                },
                "cart_items": {
                  "bytes": 266,
                  "sha256": "ff4c0bd7004e1f7209daca4c69d8fbb60081b3d5986c0fc3ea0316d24dc472eb"
                },
                "cities": {
                  "bytes": 157,
                  "sha256": "e897d79264bc411af94771d9cc614a2f3ee3ddacf1fc06662292a2f3f672e7ea"
                },
                "countries": {
                  "bytes": 34,
                  "sha256": "ef5b0ea2701f3f242c90ab3946547bc0335bcd6a9375de79ab4708dde14359f4"
                },
                "coupons": {
                  "bytes": 1001,
                  "sha256": "54e904fd84d6488e8c66043e9150764bd309fc71a88c73e172a2d37b3eaa3e28"
                },
                "courier_locations": {
                  "bytes": 471,
                  "sha256": "9967b4c227466fa5159c3ead8af3ad4b7f2d302679d7be1e15dfb9c64bea8b67"
                },
                "courier_reviews": {
                  "bytes": 3615,
                  "sha256": "0dcdc18bb82089d62e27220d542f7d2bc9a7d06ffd6bd5681995a9ed81aa92b4"
                },
                "couriers": {
                  "bytes": 489,
                  "sha256": "8680afc680021af94ffa2bf658a1a2b7a1c3e6a04059ec6b4be2addbd03544e2"
                },
                "cuisine_types": {
                  "bytes": 519,
                  "sha256": "608ee484a60824f0b51332ee38b4f62ad379ffab77b281cfbbd16ec6b15b1c4e"
                },
                "deliveries": {
                  "bytes": 24118,
                  "sha256": "5ab43c4da53de137aeb37d630176a9ec5cb5041104fee508b9c6750ee88ea74b"
                },
                "dietary_tags": {
                  "bytes": 188,
                  "sha256": "a756240c3a878f8c2307c57c96327e3f911db56c952758cb17fb1c68ad3a99cb"
                },
                "menu_categories": {
                  "bytes": 9665,
                  "sha256": "1f858710e92eb86fed7b371a2419cbc3044e53e9140ace9139d5e430e5ae11e5"
                },
                "menu_item_tags": {
                  "bytes": 13907,
                  "sha256": "7fe1fd8729c3c8572171fa8c6d438ea7fc1ea335129d4f3a05f065cfe2d056c2"
                },
                "menu_items": {
                  "bytes": 89221,
                  "sha256": "4f7c7573232fe109e952b44d8bfeee5c9af6e684a46281246b1a6f4530843137"
                },
                "modifier_groups": {
                  "bytes": 37983,
                  "sha256": "b62ba4317e9ca2fbb7954049e1868620c3da6eecc3461ca5869b8efcbb6f8416"
                },
                "modifier_options": {
                  "bytes": 134741,
                  "sha256": "f7661bed7f4da0ad5ef2d7d73f7c039ace7178d9074b609b2281ca516b5c2bbf"
                },
                "operating_hours": {
                  "bytes": 8158,
                  "sha256": "0704e56c9db919f32ed1d5da6357e4e0c6e397426dd4dd5d3f3428283b401c7d"
                },
                "order_coupons": {
                  "bytes": 438,
                  "sha256": "f2bf4dc3727a8a5dc64321b4aa1986fabdbfe3772ad7c9ddd6e50d7c291ec74e"
                },
                "order_item_modifiers": {
                  "bytes": 2720,
                  "sha256": "e9a141b99cadddd1df153e54995a5bad83cc8ad0e7c7c1b1f1b940c32f833e1f"
                },
                "order_items": {
                  "bytes": 23310,
                  "sha256": "9555e67f1121433fb090b43ad24fae7b6927f383b32ac1e9576aaeee19b311c6"
                },
                "orders": {
                  "bytes": 23330,
                  "sha256": "fbdf0ef0476196f8e233c9259ffe3b557c8f9a08da09b3385dcc93999c17b4db"
                },
                "payment_methods": {
                  "bytes": 1449,
                  "sha256": "1f3aeacf670a83f04a46177b4bbf7b74e39d354ff1fb39dc4e4f3517ff119b82"
                },
                "payouts": {
                  "bytes": 437,
                  "sha256": "7fc2bb8e8bdfd275404410ab88c5c99bc2b90d9b66de94693dc2cd8408f94eae"
                },
                "restaurant_cuisines": {
                  "bytes": 748,
                  "sha256": "3d9006dfa9d563b5a9ea148ab5157c88c1e4a2b7b2c8b21f1aabb8c49198f6ae"
                },
                "restaurants": {
                  "bytes": 3407,
                  "sha256": "9ed3cf4056737e85e73c855454e6bbcf97099cb2416e4780d61ec03532e72450"
                },
                "reviews": {
                  "bytes": 4545,
                  "sha256": "91150500f1bf607634e4fd70cfb6f44661608e213fecde47955284390cbaca52"
                },
                "shopping_carts": {
                  "bytes": 113,
                  "sha256": "3ccfb7cdb8772e1cf1e65f0e8abd10ddaaf2cb380ca3a832801c8a5978836de1"
                },
                "states": {
                  "bytes": 106,
                  "sha256": "567e85862ccb9248107511c878011c10c3ee523b17f449284b26d591e8e00c23"
                },
                "support_messages": {
                  "bytes": 1272,
                  "sha256": "dcc103363df1376108988f9517444302dd3d2b8f427a8a026848e175f5ff8407"
                },
                "support_tickets": {
                  "bytes": 582,
                  "sha256": "015181fa1b96008daf75de726ab8e83179e2f07c74f50e9583bbb8309d6258e5"
                },
                "users": {
                  "bytes": 4888,
                  "sha256": "d4d2189edb72b51794a78df32e50cbcaf48cad9b3a122129aa4a6f91e523ce7c"
                }
              },
              "contentType": "application/zip"
            }
          ]
        }
      },
      "100k": {
        "rows": 252995,
        "counts": {
          "countries": 1,
          "coupons": 20,
          "couriers": 200,
          "courier_locations": 1000,
          "cuisine_types": 12,
          "dietary_tags": 6,
          "states": 6,
          "cities": 10,
          "addresses": 10000,
          "restaurants": 60,
          "menu_categories": 300,
          "menu_items": 1800,
          "menu_item_tags": 1200,
          "modifier_groups": 1800,
          "modifier_options": 5400,
          "operating_hours": 300,
          "payouts": 600,
          "restaurant_cuisines": 80,
          "users": 4000,
          "orders": 40000,
          "courier_reviews": 8000,
          "deliveries": 40000,
          "order_coupons": 4000,
          "order_items": 100000,
          "order_item_modifiers": 15000,
          "payment_methods": 3000,
          "reviews": 10000,
          "shopping_carts": 1000,
          "cart_items": 2000,
          "cart_item_modifiers": 400,
          "support_tickets": 800,
          "support_messages": 2000
        },
        "notes": [],
        "downloads": [
          {
            "format": "sql-postgres",
            "label": "PostgreSQL",
            "file": "flagship/100k/postgres.sql.gz",
            "key": "datasets/food-delivery-sample-database/v1/flagship/100k/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/flagship/100k/postgres.sql.gz",
            "bytes": 3849279,
            "sha256": "387884bd27ed78f332293e07cc7d68c1b315b35e5595ea35710d8a22916f1153",
            "raw": {
              "bytes": 14951808,
              "sha256": "242a123817f77e26f43b607465aafc98e612185c32863e2777ffd5ed6ef944af"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/100k/mysql.sql.gz",
            "key": "datasets/food-delivery-sample-database/v1/flagship/100k/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/flagship/100k/mysql.sql.gz",
            "bytes": 3847198,
            "sha256": "72dc687348aad0bbf8622d18c203c9c64df28bc189d0362cccd8781bb9b1e61f",
            "raw": {
              "bytes": 14942930,
              "sha256": "9b8fc33257ae8b67ea9cd750786a66172cab07a5188165c1c8f1e4cd1689672d"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/100k/sqlite.sql.gz",
            "key": "datasets/food-delivery-sample-database/v1/flagship/100k/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/flagship/100k/sqlite.sql.gz",
            "bytes": 3846444,
            "sha256": "27ac236667ed67e9de693c8bbc550b9e5dac4c50b60877e0edf04be1ada37728",
            "raw": {
              "bytes": 14940144,
              "sha256": "53bd49d883d40dc9262a059b8fcd1b16652d82c1007b2eddff9fdcaac54b1bfa"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/100k/csv.zip",
            "key": "datasets/food-delivery-sample-database/v1/flagship/100k/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/flagship/100k/csv.zip",
            "bytes": 3865343,
            "sha256": "b447bd31926228005426b7df0a3b7d58dff21870c2b1caf3712de76f6c2e191e",
            "tables": {
              "addresses": {
                "bytes": 367018,
                "sha256": "2845c43473b2880d4b25aba7b63fc248406be9236919416cb27128787d589ce1"
              },
              "cart_item_modifiers": {
                "bytes": 5613,
                "sha256": "822506fec01357aee77226b1f3afdf321dc8af1f33f6cd0d7712a55e337ae549"
              },
              "cart_items": {
                "bytes": 31516,
                "sha256": "6fa06a0a0d6e9831d4e5f7fe72bcf00ef5d4c04fcf695c0219322417c667bf0f"
              },
              "cities": {
                "bytes": 163,
                "sha256": "962d1554ecb9f406a72b3f64da7a3b23ead0c2b4710337a02c5d5822fdd38836"
              },
              "countries": {
                "bytes": 34,
                "sha256": "ef5b0ea2701f3f242c90ab3946547bc0335bcd6a9375de79ab4708dde14359f4"
              },
              "coupons": {
                "bytes": 1031,
                "sha256": "70b07be1a6d49686c3e10dabe54b5b8196cbb5ae23c3b6f68518733edcd735fa"
              },
              "courier_locations": {
                "bytes": 49707,
                "sha256": "dfe3141c6764b96542cbf646ba99cb10d3c34771587db052000f94e9629642af"
              },
              "courier_reviews": {
                "bytes": 413468,
                "sha256": "cb846171dad3dfe8e999797331ab8b307019125e05eb9ca109e0171439ac6362"
              },
              "couriers": {
                "bytes": 9735,
                "sha256": "1861cfee401d88a9b5b3f68e05938d3f77c87535854fcad4f55c0022832a32ec"
              },
              "cuisine_types": {
                "bytes": 518,
                "sha256": "0ca2d282e8c0998161ee7ab820d85b3c68d5de5d40d95bb093db9e53701f8a01"
              },
              "deliveries": {
                "bytes": 2636349,
                "sha256": "b99c1a75eab6fbcfe02d37180bbed94d15791e26cac0fb82a41de52a3f42f46b"
              },
              "dietary_tags": {
                "bytes": 188,
                "sha256": "a756240c3a878f8c2307c57c96327e3f911db56c952758cb17fb1c68ad3a99cb"
              },
              "menu_categories": {
                "bytes": 9768,
                "sha256": "3f354580e65487db3bd452b0bb44547d7886d43e7585b06e380715677b84e3ff"
              },
              "menu_item_tags": {
                "bytes": 13783,
                "sha256": "78a6d72352f5257cb33facd6244d6c8c0f8af8861e1c90b123ae20ab1a45bf8c"
              },
              "menu_items": {
                "bytes": 90276,
                "sha256": "b311e2d81bddf92c158d546bfb824faf0b1feb43a8fd1c874c57d40439cae3ee"
              },
              "modifier_groups": {
                "bytes": 38318,
                "sha256": "03f4a716d8a8ec5188f3be049fd2bc49ca0643969a20182f2f6e7d769bc186ea"
              },
              "modifier_options": {
                "bytes": 135224,
                "sha256": "e4b3abd9511b7d1b68651e0176c5268fc3533edd995f9565d604fd36a5b97d72"
              },
              "operating_hours": {
                "bytes": 8301,
                "sha256": "3b8dfaaa7fa474dc779c2c977e0422b0f19159eaf006bc3bf7689dd1255fb35e"
              },
              "order_coupons": {
                "bytes": 56000,
                "sha256": "bdfaa0b45fe17ae17d4b1d433825dc8fc0d280bdf3ad07ddd024d8ac5025e460"
              },
              "order_item_modifiers": {
                "bytes": 327459,
                "sha256": "0b91e5237e0404744cabcdc794ad36252e42e0820d2a2d2f9b1911a59f04d251"
              },
              "order_items": {
                "bytes": 2709941,
                "sha256": "8360465a393c8a4b5684adb0835c28238e2c4cbf71ccaa3df93a144d80a673e3"
              },
              "orders": {
                "bytes": 2588364,
                "sha256": "1f4c0fe8ac10f07778b7982fd6b1f4699523bd59ba121f8a6e10bd4a5c337ec2"
              },
              "payment_methods": {
                "bytes": 149690,
                "sha256": "2de81744552491c8f688ed38029cf556c44c1be6f0b14bb10201e8c2ebf1fddb"
              },
              "payouts": {
                "bytes": 24344,
                "sha256": "899e600daf735b1bcf1b741a035d6fb7597eb9d240df5ca941656ae4fbff3a93"
              },
              "restaurant_cuisines": {
                "bytes": 757,
                "sha256": "4f73339423e514fdf145fb85261bac4696da63f9e5d63970d1abf4a0b00dd984"
              },
              "restaurants": {
                "bytes": 3437,
                "sha256": "1e6ee4be9b344a889232209c3c587f21aec212b5fcfb6e8e8d25e14c8b0dd627"
              },
              "reviews": {
                "bytes": 509157,
                "sha256": "5366e245b153077b3af97e26a39727d2221c44e95677df67d4fce57ee4740502"
              },
              "shopping_carts": {
                "bytes": 12496,
                "sha256": "87f053ad6099be481b4fba21615b6c0d6cfde85a199559953a63816e516cf86f"
              },
              "states": {
                "bytes": 106,
                "sha256": "567e85862ccb9248107511c878011c10c3ee523b17f449284b26d591e8e00c23"
              },
              "support_messages": {
                "bytes": 133461,
                "sha256": "62d2ebf443d8db7299a7477e4709a40c6dfe7f2b2d6098363b406ed6c1d93840"
              },
              "support_tickets": {
                "bytes": 47416,
                "sha256": "0f390651b71e27540691e8f74d934da0fe3ab5fb5d0cc8def99664bd856357de"
              },
              "users": {
                "bytes": 511802,
                "sha256": "161c6cd9a271efccb433e03237a339d2d21459b0a950c3a8ea4da6612ee44580"
              }
            },
            "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 item of an order is on that restaurant's menu at its menu price, and every modifier is from the item's own group at its price",
            "violations": 0
          },
          {
            "name": "An order's total is its items and modifiers less its coupon, plus 8% tax and the restaurant's delivery fee",
            "violations": 0
          },
          {
            "name": "An order goes to its customer's address, every order has items, and a restaurant charges one delivery fee",
            "violations": 0
          },
          {
            "name": "A courier picks an order up ten to forty minutes after it was placed and delivers it five to forty-five minutes later",
            "violations": 0
          },
          {
            "name": "A review names its order's customer and restaurant, a courier review its order's courier, and both come after the order",
            "violations": 0
          },
          {
            "name": "A ticket is raised by its order's customer after the order, and its messages follow it",
            "violations": 0
          },
          {
            "name": "Every restaurant has a menu and every dish a modifier group with options; a restaurant lists a category name once and opens once a day, and a dish carries one dietary tag",
            "violations": 0
          }
        ],
        "dirty": {
          "report": {
            "rates": {
              "missing": 0.03,
              "typos": 0.03,
              "outliers": 0.005,
              "duplicates": 0.01
            },
            "tables": {
              "coupons": {
                "duplicates": 0,
                "columns": {
                  "discount_type": {
                    "missing": 3,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "couriers": {
                "duplicates": 3,
                "columns": {
                  "first_name": {
                    "missing": 3,
                    "typos": 2,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 6,
                    "typos": 8,
                    "outliers": 0
                  },
                  "phone": {
                    "missing": 5,
                    "typos": 4,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 6,
                    "typos": 5,
                    "outliers": 0
                  },
                  "vehicle_type": {
                    "missing": 6,
                    "typos": 9,
                    "outliers": 0
                  }
                }
              },
              "courier_locations": {
                "duplicates": 14,
                "columns": {
                  "latitude": {
                    "missing": 32,
                    "typos": 0,
                    "outliers": 11
                  },
                  "longitude": {
                    "missing": 37,
                    "typos": 0,
                    "outliers": 1
                  },
                  "updated_at": {
                    "missing": 26,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "dietary_tags": {
                "duplicates": 0,
                "columns": {
                  "name": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "addresses": {
                "duplicates": 89,
                "columns": {
                  "apartment_number": {
                    "missing": 123,
                    "typos": 134,
                    "outliers": 0
                  },
                  "building_number": {
                    "missing": 292,
                    "typos": 92,
                    "outliers": 0
                  },
                  "postal_code": {
                    "missing": 296,
                    "typos": 103,
                    "outliers": 0
                  },
                  "street": {
                    "missing": 323,
                    "typos": 329,
                    "outliers": 0
                  }
                }
              },
              "restaurants": {
                "duplicates": 1,
                "columns": {
                  "description": {
                    "missing": 3,
                    "typos": 4,
                    "outliers": 0
                  },
                  "is_active": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 3,
                    "typos": 1,
                    "outliers": 0
                  },
                  "rating": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 2
                  }
                }
              },
              "menu_categories": {
                "duplicates": 1,
                "columns": {
                  "description": {
                    "missing": 7,
                    "typos": 11,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 5,
                    "typos": 9,
                    "outliers": 0
                  }
                }
              },
              "menu_items": {
                "duplicates": 20,
                "columns": {
                  "description": {
                    "missing": 61,
                    "typos": 44,
                    "outliers": 0
                  },
                  "is_available": {
                    "missing": 47,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 45,
                    "typos": 61,
                    "outliers": 0
                  },
                  "price": {
                    "missing": 56,
                    "typos": 0,
                    "outliers": 11
                  }
                }
              },
              "menu_item_tags": {
                "duplicates": 7,
                "columns": {}
              },
              "modifier_groups": {
                "duplicates": 12,
                "columns": {
                  "max_selection": {
                    "missing": 45,
                    "typos": 0,
                    "outliers": 7
                  },
                  "min_selection": {
                    "missing": 61,
                    "typos": 0,
                    "outliers": 1
                  },
                  "name": {
                    "missing": 51,
                    "typos": 51,
                    "outliers": 0
                  }
                }
              },
              "modifier_options": {
                "duplicates": 42,
                "columns": {
                  "name": {
                    "missing": 147,
                    "typos": 144,
                    "outliers": 0
                  },
                  "price": {
                    "missing": 163,
                    "typos": 0,
                    "outliers": 28
                  }
                }
              },
              "operating_hours": {
                "duplicates": 4,
                "columns": {
                  "close_time": {
                    "missing": 14,
                    "typos": 0,
                    "outliers": 0
                  },
                  "day_of_week": {
                    "missing": 4,
                    "typos": 0,
                    "outliers": 5
                  },
                  "open_time": {
                    "missing": 14,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "payouts": {
                "duplicates": 6,
                "columns": {
                  "amount": {
                    "missing": 27,
                    "typos": 0,
                    "outliers": 0
                  },
                  "processed_at": {
                    "missing": 21,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 19,
                    "typos": 25,
                    "outliers": 0
                  }
                }
              },
              "restaurant_cuisines": {
                "duplicates": 1,
                "columns": {}
              },
              "users": {
                "duplicates": 38,
                "columns": {
                  "email": {
                    "missing": 125,
                    "typos": 119,
                    "outliers": 0
                  },
                  "first_name": {
                    "missing": 130,
                    "typos": 128,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 125,
                    "typos": 132,
                    "outliers": 0
                  },
                  "password_hash": {
                    "missing": 114,
                    "typos": 92,
                    "outliers": 0
                  },
                  "phone": {
                    "missing": 123,
                    "typos": 40,
                    "outliers": 0
                  }
                }
              },
              "orders": {
                "duplicates": 422,
                "columns": {
                  "created_at": {
                    "missing": 1241,
                    "typos": 0,
                    "outliers": 0
                  },
                  "delivery_fee": {
                    "missing": 1221,
                    "typos": 0,
                    "outliers": 177
                  },
                  "status": {
                    "missing": 1176,
                    "typos": 1259,
                    "outliers": 0
                  },
                  "tax_amount": {
                    "missing": 1189,
                    "typos": 0,
                    "outliers": 207
                  },
                  "total_amount": {
                    "missing": 1129,
                    "typos": 0,
                    "outliers": 201
                  }
                }
              },
              "courier_reviews": {
                "duplicates": 84,
                "columns": {
                  "comment": {
                    "missing": 101,
                    "typos": 127,
                    "outliers": 0
                  },
                  "created_at": {
                    "missing": 253,
                    "typos": 0,
                    "outliers": 0
                  },
                  "rating": {
                    "missing": 249,
                    "typos": 0,
                    "outliers": 43
                  }
                }
              },
              "deliveries": {
                "duplicates": 389,
                "columns": {
                  "delivered_at": {
                    "missing": 1201,
                    "typos": 0,
                    "outliers": 0
                  },
                  "picked_up_at": {
                    "missing": 1231,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 1207,
                    "typos": 1233,
                    "outliers": 0
                  }
                }
              },
              "order_coupons": {
                "duplicates": 42,
                "columns": {}
              },
              "order_items": {
                "duplicates": 1018,
                "columns": {
                  "notes": {
                    "missing": 414,
                    "typos": 451,
                    "outliers": 0
                  },
                  "quantity": {
                    "missing": 2993,
                    "typos": 0,
                    "outliers": 444
                  },
                  "unit_price": {
                    "missing": 3014,
                    "typos": 0,
                    "outliers": 500
                  }
                }
              },
              "order_item_modifiers": {
                "duplicates": 150,
                "columns": {
                  "price": {
                    "missing": 434,
                    "typos": 0,
                    "outliers": 63
                  }
                }
              },
              "payment_methods": {
                "duplicates": 30,
                "columns": {
                  "account_number": {
                    "missing": 95,
                    "typos": 30,
                    "outliers": 0
                  },
                  "expiry_date": {
                    "missing": 92,
                    "typos": 0,
                    "outliers": 0
                  },
                  "provider": {
                    "missing": 84,
                    "typos": 116,
                    "outliers": 0
                  }
                }
              },
              "reviews": {
                "duplicates": 99,
                "columns": {
                  "comment": {
                    "missing": 213,
                    "typos": 155,
                    "outliers": 0
                  },
                  "created_at": {
                    "missing": 300,
                    "typos": 0,
                    "outliers": 0
                  },
                  "rating": {
                    "missing": 303,
                    "typos": 0,
                    "outliers": 52
                  }
                }
              },
              "shopping_carts": {
                "duplicates": 11,
                "columns": {}
              },
              "cart_items": {
                "duplicates": 18,
                "columns": {
                  "quantity": {
                    "missing": 69,
                    "typos": 0,
                    "outliers": 6
                  }
                }
              },
              "cart_item_modifiers": {
                "duplicates": 7,
                "columns": {}
              },
              "support_tickets": {
                "duplicates": 5,
                "columns": {
                  "created_at": {
                    "missing": 24,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 23,
                    "typos": 27,
                    "outliers": 0
                  },
                  "subject": {
                    "missing": 20,
                    "typos": 28,
                    "outliers": 0
                  }
                }
              },
              "support_messages": {
                "duplicates": 25,
                "columns": {
                  "created_at": {
                    "missing": 50,
                    "typos": 0,
                    "outliers": 0
                  },
                  "message": {
                    "missing": 70,
                    "typos": 60,
                    "outliers": 0
                  },
                  "sender_type": {
                    "missing": 63,
                    "typos": 49,
                    "outliers": 0
                  }
                }
              }
            },
            "totals": {
              "missing": 21030,
              "typos": 5083,
              "outliers": 1759,
              "duplicates": 2538
            }
          },
          "downloads": [
            {
              "format": "dirty-sql-postgres",
              "label": "PostgreSQL, with faults",
              "file": "flagship/100k/dirty-postgres.sql.gz",
              "key": "datasets/food-delivery-sample-database/v1/flagship/100k/dirty-postgres.sql.gz",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/flagship/100k/dirty-postgres.sql.gz",
              "bytes": 3891995,
              "sha256": "190ec5b42eb1fdc25ddb57fcdfc3a5b532e469f60e798ca056af54fbe45a778f",
              "raw": {
                "bytes": 14984749,
                "sha256": "2547d950e61679ff30af88b706b8a8f6b7b55fdd4cf9dacd5859b6240b1b29fc"
              },
              "contentType": "application/gzip"
            },
            {
              "format": "dirty-csv",
              "label": "CSV, with faults",
              "file": "flagship/100k/dirty-csv.zip",
              "key": "datasets/food-delivery-sample-database/v1/flagship/100k/dirty-csv.zip",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/flagship/100k/dirty-csv.zip",
              "bytes": 3890886,
              "sha256": "97c10a38bf4610cd5acbd9436d48c3e934bfeea1ce176043142e1dcbebb9f541",
              "tables": {
                "addresses": {
                  "bytes": 363802,
                  "sha256": "acfca2a92eb5a85183de39face903aae3c768ccb58f403bf820521ccd002e4a7"
                },
                "cart_item_modifiers": {
                  "bytes": 5711,
                  "sha256": "ea7e9a6992b17da6b98b4d697e459fd287350174e92144824cd85fb898e2fdf6"
                },
                "cart_items": {
                  "bytes": 31742,
                  "sha256": "74cd04ef4c8b5aed651a922f56d9b0040828bbeb18cb7110076434a98b6aac48"
                },
                "cities": {
                  "bytes": 163,
                  "sha256": "962d1554ecb9f406a72b3f64da7a3b23ead0c2b4710337a02c5d5822fdd38836"
                },
                "countries": {
                  "bytes": 34,
                  "sha256": "ef5b0ea2701f3f242c90ab3946547bc0335bcd6a9375de79ab4708dde14359f4"
                },
                "coupons": {
                  "bytes": 1010,
                  "sha256": "17317ff05ec9fe1f5b0798ad563f1cd594b6f9fed5e535a46b55d0e141681715"
                },
                "courier_locations": {
                  "bytes": 49265,
                  "sha256": "210f125b69334ed836e3c7f31e243e3ba2ff19237f7a707af89722581aa42272"
                },
                "courier_reviews": {
                  "bytes": 411185,
                  "sha256": "900357c93283f22fa2d9cf5865aa6f9d4becdd0d09bbb5411cf784dadd1a4d3f"
                },
                "couriers": {
                  "bytes": 9749,
                  "sha256": "1dfde9420f9740b7148b2549adada694b2147e9c14d7fdf0aa0947491676ae16"
                },
                "cuisine_types": {
                  "bytes": 518,
                  "sha256": "0ca2d282e8c0998161ee7ab820d85b3c68d5de5d40d95bb093db9e53701f8a01"
                },
                "deliveries": {
                  "bytes": 2606504,
                  "sha256": "55051c08c39a53ab7d530bd96a8957c9c39495a7606a936b95ad1eea9ef4c442"
                },
                "dietary_tags": {
                  "bytes": 191,
                  "sha256": "bd7d566a6e7bd9cab93f46ed83b31f6f96a33dd1988ec7563a6bca87c05b2e84"
                },
                "menu_categories": {
                  "bytes": 9672,
                  "sha256": "fff6a77554d5e09a29866b9c192f3ddd0075c004e0690f6230eb1031fb12d11d"
                },
                "menu_item_tags": {
                  "bytes": 13870,
                  "sha256": "3e777f7e752f7e2bfebdd5346e6ee1e5a5339d89aa7002b161e04645bf7d4ca8"
                },
                "menu_items": {
                  "bytes": 89446,
                  "sha256": "2f50cc6501b0617097db9ccda344b6ee18ba59f928f0795027ebba93235b1102"
                },
                "modifier_groups": {
                  "bytes": 38261,
                  "sha256": "5c7ba1976370d024736e50836293195191b0e689cdb8f2da77d8b59dcd02abf4"
                },
                "modifier_options": {
                  "bytes": 134578,
                  "sha256": "ace499c563652f9397d4daa5b252a7fbad9872e4102ef927ad7d6e55ee63543a"
                },
                "operating_hours": {
                  "bytes": 8182,
                  "sha256": "dfbc6eeb4f3ca84d80a8905f79dcb53ef98dd04f13305bb540954583cbd59aa4"
                },
                "order_coupons": {
                  "bytes": 56598,
                  "sha256": "c4466e5a72b613677d86fd86d1b0e77bfb990d60cb3bd406b97f9785a503786b"
                },
                "order_item_modifiers": {
                  "bytes": 329145,
                  "sha256": "2540c12a09098475af318444a92ace322704b19029e6b94e491a4c38bab9ae2d"
                },
                "order_items": {
                  "bytes": 2718698,
                  "sha256": "e81907603003de5689e71e9bb6a6433e91cd413393e98588c4280b9bc65fd97f"
                },
                "orders": {
                  "bytes": 2568468,
                  "sha256": "5f28c3986b3f12cbdf83b1b524a6a12b9397a0a49d317a4127d96367052a7ed1"
                },
                "payment_methods": {
                  "bytes": 148139,
                  "sha256": "2db2792985897f7d1e18f887e03bd4c0f3fcd671a75fa9d196e047b368b044fe"
                },
                "payouts": {
                  "bytes": 23971,
                  "sha256": "373b2c1a4e196c185973ba8cbe2185396776643bff31ce4fdcfb66caf24f0945"
                },
                "restaurant_cuisines": {
                  "bytes": 766,
                  "sha256": "3a72f000556274cf07b52d58d02b7b1b245657e6414b963dbb228e0cdd6a4818"
                },
                "restaurants": {
                  "bytes": 3389,
                  "sha256": "6737e540a2763c824c5a5cc74a8b2d9c15b7a0c8f2988df66b02ec339cf28b02"
                },
                "reviews": {
                  "bytes": 505391,
                  "sha256": "67e4be97cb81b1aa1246f44495a4456e6d8f2a8bd265b9ac6ebee1939f862eca"
                },
                "shopping_carts": {
                  "bytes": 12646,
                  "sha256": "e08b4b55cfb35a50d157ad98c1b53ec5237578980fe2d88a65a0487c8297fe54"
                },
                "states": {
                  "bytes": 106,
                  "sha256": "567e85862ccb9248107511c878011c10c3ee523b17f449284b26d591e8e00c23"
                },
                "support_messages": {
                  "bytes": 131873,
                  "sha256": "e20a53ec9618314bbf70e5c75c29e5fda9fc85b7ecd3bee89ff7037d71506ca4"
                },
                "support_tickets": {
                  "bytes": 46856,
                  "sha256": "ec9d0bcc555f38da12e1e037a046de7f44cea3a6d888dad334cb3081e854b17d"
                },
                "users": {
                  "bytes": 503858,
                  "sha256": "00ea3def81c714e1f100d510b3a55a0e43ad1785f9de91bd4c37ee216e3eb20a"
                }
              },
              "contentType": "application/zip"
            }
          ]
        }
      },
      "1m": {
        "rows": 2430995,
        "counts": {
          "countries": 1,
          "coupons": 20,
          "couriers": 2000,
          "courier_locations": 10000,
          "cuisine_types": 12,
          "dietary_tags": 6,
          "states": 6,
          "cities": 10,
          "addresses": 100000,
          "restaurants": 60,
          "menu_categories": 300,
          "menu_items": 1800,
          "menu_item_tags": 1200,
          "modifier_groups": 1800,
          "modifier_options": 5400,
          "operating_hours": 300,
          "payouts": 6000,
          "restaurant_cuisines": 80,
          "users": 40000,
          "orders": 400000,
          "courier_reviews": 80000,
          "deliveries": 400000,
          "order_coupons": 40000,
          "order_items": 1000000,
          "order_item_modifiers": 150000,
          "payment_methods": 30000,
          "reviews": 100000,
          "shopping_carts": 10000,
          "cart_items": 20000,
          "cart_item_modifiers": 4000,
          "support_tickets": 8000,
          "support_messages": 20000
        },
        "notes": [
          "At this size the tables beside order_items 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/food-delivery-sample-database/v1/flagship/1m/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/flagship/1m/postgres.sql.gz",
            "bytes": 39688524,
            "sha256": "acbdf216dd52c5d6b8ca9615a3162fd79d9626400c8baf2c81da7813194f7a4b",
            "raw": {
              "bytes": 151191692,
              "sha256": "dcd5459b37ba017fab095ddfae08c24e7d3a7317a69571440c228aef32db4984"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/1m/mysql.sql.gz",
            "key": "datasets/food-delivery-sample-database/v1/flagship/1m/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/flagship/1m/mysql.sql.gz",
            "bytes": 39686126,
            "sha256": "cb350a340fc9c53ae9356a84609a015ee3b778fceb1448e7e65b1c816111ee29",
            "raw": {
              "bytes": 151182812,
              "sha256": "3fdc92e68811afec752bdd541d1a1fcdc766eef8e5132752a7df165d277fad19"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/1m/sqlite.sql.gz",
            "key": "datasets/food-delivery-sample-database/v1/flagship/1m/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/flagship/1m/sqlite.sql.gz",
            "bytes": 39685436,
            "sha256": "e4445caa09b3f6ed42d05ecb308f9863e70596566e295831414112d2c3309fb8",
            "raw": {
              "bytes": 151180026,
              "sha256": "81757001009cd89e45b6497c98f4debbeb614ed873d0d5395fa55c9005b2e9e3"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/1m/csv.zip",
            "key": "datasets/food-delivery-sample-database/v1/flagship/1m/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/food-delivery-sample-database/v1/flagship/1m/csv.zip",
            "bytes": 40123106,
            "sha256": "d55c925fb2c5e39a95ae6d04e699149423c6c4774180ad20909a9de37de139aa",
            "tables": {
              "addresses": {
                "bytes": 3780825,
                "sha256": "9ac84fc2088924da425eea3241e7b8605ee6e460b216128ea0809808b96a2786"
              },
              "cart_item_modifiers": {
                "bytes": 63874,
                "sha256": "049902d2cb9a6eb5e83e0fa64c80a369a5d7af11381fd8b9911fa7d42179f41f"
              },
              "cart_items": {
                "bytes": 354549,
                "sha256": "3743e0dd08bfb80529751a4330e68b0a814636d15b11e27fabffaf180dcdc764"
              },
              "cities": {
                "bytes": 163,
                "sha256": "962d1554ecb9f406a72b3f64da7a3b23ead0c2b4710337a02c5d5822fdd38836"
              },
              "countries": {
                "bytes": 34,
                "sha256": "ef5b0ea2701f3f242c90ab3946547bc0335bcd6a9375de79ab4708dde14359f4"
              },
              "coupons": {
                "bytes": 1031,
                "sha256": "67d1b83338e024c0934762c0c79773cab4a7713e1ffcce0cc28c1d82f7e3a1f7"
              },
              "courier_locations": {
                "bytes": 516428,
                "sha256": "03ce1e8383396103f11ba4698ed4ed5a39eb53099f942dcdf09b7c15f7593f82"
              },
              "courier_reviews": {
                "bytes": 4456962,
                "sha256": "8cf033b3f6be196b027fa095a2cc68da8200d076c86554a63ea72cf314d54314"
              },
              "couriers": {
                "bytes": 98834,
                "sha256": "7e2589d70ae21bc4429d400b0a0c4849517d3cbb415ed2529c4b6025796583ed"
              },
              "cuisine_types": {
                "bytes": 518,
                "sha256": "0ca2d282e8c0998161ee7ab820d85b3c68d5de5d40d95bb093db9e53701f8a01"
              },
              "deliveries": {
                "bytes": 27556504,
                "sha256": "864036dcb62ea819558ebecfcf7be9e58295d193a94650d99e0f9ae851216f38"
              },
              "dietary_tags": {
                "bytes": 188,
                "sha256": "a756240c3a878f8c2307c57c96327e3f911db56c952758cb17fb1c68ad3a99cb"
              },
              "menu_categories": {
                "bytes": 9761,
                "sha256": "8e0707d24ad2a8f5cbd9c879c40f9245f88096a20d48e91e99c02a4fd355b2aa"
              },
              "menu_item_tags": {
                "bytes": 13777,
                "sha256": "74eeb935b66547cbc6329b1aacd7c697c2ba341e246688ac9a33971d7ab4efd2"
              },
              "menu_items": {
                "bytes": 90317,
                "sha256": "2f375f6c8ebae86ca7d36bc6199fa0cebd34ed856e2f522ef2c3e67f91c1a3c5"
              },
              "modifier_groups": {
                "bytes": 38284,
                "sha256": "202c08a44a767bf88b078d4a613bb8848cc00f5ba43281fbe26315033a771433"
              },
              "modifier_options": {
                "bytes": 134988,
                "sha256": "d49b94878c3dffacc0785e0aa90284e34cc532108540401208f39518a6dcb118"
              },
              "operating_hours": {
                "bytes": 8294,
                "sha256": "b30291ce8dbff20b0b61dc3666aa468de66c461d5cf7c55f95469394b123d486"
              },
              "order_coupons": {
                "bytes": 639865,
                "sha256": "a93b88454b1ba216765c76af31ca3961cd06ecf8c3aa17fbc3c5d822a18ba3d4"
              },
              "order_item_modifiers": {
                "bytes": 3574194,
                "sha256": "c317c2247a3110569f63c533567e0e0ab3e6ba6c5b3f92d142e62d085b87df21"
              },
              "order_items": {
                "bytes": 29084029,
                "sha256": "019714703c334c20fb2cc8a51ccbd90e2270317c36c237166d96ad5cb02743df"
              },
              "orders": {
                "bytes": 27095970,
                "sha256": "06501a639c31dac3b5e8959ac77b7f99bf3e536698d5b81cc8d6d20df6669520"
              },
              "payment_methods": {
                "bytes": 1555692,
                "sha256": "0a6ce080854ac2dd6ba4a5590628d68a649b7ad707b20cd457bd1ed69a394630"
              },
              "payouts": {
                "bytes": 249285,
                "sha256": "c44ce671bd591dc67a34447f1f52340e15db54ab9ce8e7ebc52185b4ce0fdec1"
              },
              "restaurant_cuisines": {
                "bytes": 750,
                "sha256": "214b49bc1924a541390b74094dbc0641b0654299b0aa6cdb5cde630563876e71"
              },
              "restaurants": {
                "bytes": 3530,
                "sha256": "1d9117b6086d94339d2174aa9c7b278443d62feab8aeb909053675785905055a"
              },
              "reviews": {
                "bytes": 5392900,
                "sha256": "6a32adadf3306c5b74f8b81a59384a5141cd1427554624db3ae4eeee80fdf2ca"
              },
              "shopping_carts": {
                "bytes": 144730,
                "sha256": "b7a70f5c5fef251cea08b24d395457b10a00536792aa0c1e920dfc895beba576"
              },
              "states": {
                "bytes": 106,
                "sha256": "567e85862ccb9248107511c878011c10c3ee523b17f449284b26d591e8e00c23"
              },
              "support_messages": {
                "bytes": 1366527,
                "sha256": "ff2cb896c2fab888d051e84b0503b7a2d17fe6615ab4ac3795e4301d6c661ec3"
              },
              "support_tickets": {
                "bytes": 498061,
                "sha256": "bc484cef44bd649dea014cb10428f10160de9aab062c59988b76e3ae8f5c6952"
              },
              "users": {
                "bytes": 5197828,
                "sha256": "0adc0f62b2a40f540ee4dd6bf7fc63e2b82449a896a7d9dbbe6a66f9dee5a526"
              }
            },
            "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 item of an order is on that restaurant's menu at its menu price, and every modifier is from the item's own group at its price",
            "violations": 0
          },
          {
            "name": "An order's total is its items and modifiers less its coupon, plus 8% tax and the restaurant's delivery fee",
            "violations": 0
          },
          {
            "name": "An order goes to its customer's address, every order has items, and a restaurant charges one delivery fee",
            "violations": 0
          },
          {
            "name": "A courier picks an order up ten to forty minutes after it was placed and delivers it five to forty-five minutes later",
            "violations": 0
          },
          {
            "name": "A review names its order's customer and restaurant, a courier review its order's courier, and both come after the order",
            "violations": 0
          },
          {
            "name": "A ticket is raised by its order's customer after the order, and its messages follow it",
            "violations": 0
          },
          {
            "name": "Every restaurant has a menu and every dish a modifier group with options; a restaurant lists a category name once and opens once a day, and a dish carries one dietary tag",
            "violations": 0
          }
        ]
      }
    },
    "rules": [
      {
        "name": "Every item of an order is on that restaurant's menu at its menu price, and every modifier is from the item's own group at its price",
        "sql": "SELECT (SELECT count(*) FROM order_items oi JOIN orders o ON o.id = oi.order_id JOIN menu_items mi ON mi.id = oi.menu_item_id JOIN menu_categories mc ON mc.id = mi.category_id WHERE mc.restaurant_id <> o.restaurant_id OR oi.unit_price <> mi.price) + (SELECT count(*) FROM order_item_modifiers m JOIN order_items oi ON oi.id = m.order_item_id JOIN modifier_options mo ON mo.id = m.modifier_option_id JOIN modifier_groups g ON g.id = mo.modifier_group_id WHERE g.menu_item_id <> oi.menu_item_id OR m.price <> mo.price) AS violations"
      },
      {
        "name": "An order's total is its items and modifiers less its coupon, plus 8% tax and the restaurant's delivery fee",
        "sql": "SELECT count(*) AS violations FROM (SELECT o.id, o.tax_amount, o.total_amount, o.delivery_fee, round((coalesce(l.items, 0) + coalesce(m.mods, 0)) * (100 - coalesce(c.pct, 0)) / 100.0, 2) AS sub FROM orders o LEFT JOIN (SELECT order_id, sum(quantity * unit_price) AS items FROM order_items GROUP BY order_id) l ON l.order_id = o.id LEFT JOIN (SELECT oi.order_id, sum(m.price) AS mods FROM order_item_modifiers m JOIN order_items oi ON oi.id = m.order_item_id GROUP BY oi.order_id) m ON m.order_id = o.id LEFT JOIN (SELECT oc.order_id, cp.discount_value AS pct FROM order_coupons oc JOIN coupons cp ON cp.id = oc.coupon_id) c ON c.order_id = o.id) x WHERE x.tax_amount <> round(x.sub * 0.08, 2) OR x.total_amount <> x.sub + round(x.sub * 0.08, 2) + x.delivery_fee"
      },
      {
        "name": "An order goes to its customer's address, every order has items, and a restaurant charges one delivery fee",
        "sql": "SELECT (SELECT count(*) FROM orders o JOIN users u ON u.id = o.user_id WHERE o.address_id <> u.address_id) + (SELECT count(*) FROM orders o LEFT JOIN (SELECT DISTINCT order_id FROM order_items) i ON i.order_id = o.id WHERE i.order_id IS NULL) + (SELECT count(*) FROM (SELECT restaurant_id FROM orders GROUP BY restaurant_id HAVING count(DISTINCT delivery_fee) > 1) f) AS violations"
      },
      {
        "name": "A courier picks an order up ten to forty minutes after it was placed and delivers it five to forty-five minutes later",
        "sql": "SELECT count(*) AS violations FROM deliveries d JOIN orders o ON o.id = d.order_id WHERE d.picked_up_at < o.created_at + interval '10 minutes' OR d.picked_up_at > o.created_at + interval '40 minutes' OR d.delivered_at < d.picked_up_at + interval '5 minutes' OR d.delivered_at > d.picked_up_at + interval '45 minutes'"
      },
      {
        "name": "A review names its order's customer and restaurant, a courier review its order's courier, and both come after the order",
        "sql": "SELECT (SELECT count(*) FROM reviews r JOIN orders o ON o.id = r.order_id WHERE r.user_id <> o.user_id OR r.restaurant_id <> o.restaurant_id OR r.created_at <= o.created_at) + (SELECT count(*) FROM courier_reviews cr JOIN orders o ON o.id = cr.order_id JOIN deliveries d ON d.order_id = o.id WHERE cr.user_id <> o.user_id OR cr.courier_id <> d.courier_id OR cr.created_at <= o.created_at) AS violations"
      },
      {
        "name": "A ticket is raised by its order's customer after the order, and its messages follow it",
        "sql": "SELECT (SELECT count(*) FROM support_tickets t JOIN orders o ON o.id = t.order_id WHERE t.user_id <> o.user_id OR t.created_at <= o.created_at) + (SELECT count(*) FROM support_messages m JOIN support_tickets t ON t.id = m.ticket_id WHERE m.created_at <= t.created_at) AS violations"
      },
      {
        "name": "Every restaurant has a menu and every dish a modifier group with options; a restaurant lists a category name once and opens once a day, and a dish carries one dietary tag",
        "sql": "SELECT (SELECT count(*) FROM restaurants r LEFT JOIN menu_categories mc ON mc.restaurant_id = r.id WHERE mc.id IS NULL) + (SELECT count(*) FROM menu_items mi LEFT JOIN modifier_groups g ON g.menu_item_id = mi.id WHERE g.id IS NULL) + (SELECT count(*) FROM modifier_groups g LEFT JOIN modifier_options o ON o.modifier_group_id = g.id WHERE o.id IS NULL) + (SELECT count(*) - count(DISTINCT (restaurant_id, name)) FROM menu_categories) + (SELECT count(*) - count(DISTINCT (restaurant_id, day_of_week)) FROM operating_hours) + (SELECT count(*) - count(DISTINCT menu_item_id) FROM menu_item_tags) AS violations"
      }
    ]
  },
  "publishedAt": 1791383294487,
  "updatedAt": 1791383294487
}
