{
  "format": "dataset-manifest/1",
  "slug": "airline-sample-database",
  "version": 1,
  "seed": "flagship:airline-sample-database:1k",
  "engine": 2,
  "engineVersion": "1.0.0",
  "spec": {
    "format": "dataset/1",
    "engine": 2,
    "slug": "airline-sample-database",
    "name": "Airline sample database",
    "tagline": "Six airlines, forty airports, departures, bookings, tickets, seats, boarding passes, bags and payments.",
    "description": "Six fictional airlines flying between forty real airports over five years, 2021 to 2025. A flight number links two different airports; each departure is flown by an aircraft of that flight’s airline and lands one to ten hours after it leaves. A ticket covers one or more flights; on a flight every passenger has a seat of their own on that aircraft, the fare follows the seat’s cabin -- First, Business, Premium Economy or Economy -- and a ticket’s price is the sum of its fares. A booking is made one to 120 days before its first departure and paid within fifteen minutes: the sum of its tickets less the promotion it used. Boarding passes name a gate at the departure airport and are scanned fifteen minutes to an hour before take-off; a refund is never more than the payment.",
    "domain": "travel",
    "shape": "transactional",
    "useCases": [
      "sql-practice",
      "bi-dashboards",
      "test-fixtures"
    ],
    "keywords": [
      "airline",
      "flights",
      "bookings",
      "tickets",
      "sample database"
    ],
    "locale": "en_US",
    "license": "CC0-1.0",
    "version": 1,
    "seed": "flagship:airline-sample-database",
    "tables": {
      "aircraft_models": {
        "description": "Rows for the aircraft_models table.",
        "rows": 8,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "capacity": {
            "kind": "int",
            "min": 50,
            "max": 450
          },
          "manufacturer": {
            "kind": "enum",
            "values": [
              "Airbus",
              "Boeing",
              "Embraer"
            ]
          },
          "model_number": {
            "kind": "enum",
            "values": [
              "737-800",
              "A320neo",
              "A321neo",
              "787-9",
              "A350-900",
              "E175",
              "777-300ER",
              "A220-300"
            ],
            "unique": true
          }
        }
      },
      "aircrafts": {
        "description": "Rows for the aircrafts table.",
        "rows": 60,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "airline_id": {
            "kind": "fk",
            "ref": "airlines.id",
            "skew": "flat"
          },
          "model_id": {
            "kind": "fk",
            "ref": "aircraft_models.id",
            "weights": [
              24,
              22,
              14,
              10,
              8,
              10,
              6,
              6
            ]
          },
          "registration_number": {
            "kind": "pattern",
            "pattern": "[N]###AA",
            "unique": true
          },
          "status": {
            "kind": "enum",
            "values": [
              "in_service",
              "maintenance"
            ],
            "weights": [
              92,
              8
            ]
          }
        }
      },
      "airlines": {
        "description": "Rows for the airlines table.",
        "rows": 6,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "country_id": {
            "kind": "fk",
            "ref": "countries.id",
            "skew": "long-tail"
          },
          "iata_code": {
            "kind": "enum",
            "values": [
              "N7",
              "B9",
              "C8",
              "R4",
              "W6",
              "P2"
            ],
            "unique": true
          },
          "name": {
            "kind": "enum",
            "values": [
              "Northwind Air",
              "Blue Harbor Airlines",
              "Atlantic Crown",
              "Rhine Sky",
              "Bosphorus Wings",
              "Pacific Lantern"
            ],
            "unique": true
          }
        }
      },
      "airport_terminals": {
        "description": "Rows for the airport_terminals table.",
        "rows": 80,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "airport_id": {
            "kind": "fk",
            "ref": "airports.id",
            "skew": "flat"
          },
          "name": {
            "kind": "enum",
            "values": [
              "Terminal 1",
              "Terminal 2",
              "Terminal 3",
              "Terminal A",
              "Terminal B",
              "International"
            ]
          }
        }
      },
      "airports": {
        "description": "Rows for the airports table.",
        "rows": 40,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "city_id": {
            "kind": "fk",
            "ref": "cities.id",
            "skew": "long-tail"
          },
          "iata_code": {
            "kind": "enum",
            "values": [
              "JFK",
              "LAX",
              "ORD",
              "ATL",
              "DFW",
              "SFO",
              "SEA",
              "MIA",
              "BOS",
              "DEN",
              "LHR",
              "LGW",
              "MAN",
              "FRA",
              "MUC",
              "BER",
              "CDG",
              "NCE",
              "MAD",
              "BCN",
              "FCO",
              "MXP",
              "AMS",
              "IST",
              "AYT",
              "ADB",
              "DXB",
              "AUH",
              "HND",
              "KIX",
              "YYZ",
              "YVR",
              "YUL",
              "SIN",
              "MCO",
              "LAS",
              "PHX",
              "LBA",
              "EDI",
              "HAM"
            ],
            "unique": true
          },
          "icao_code": {
            "kind": "enum",
            "values": [
              "KJFK",
              "KLAX",
              "KORD",
              "KATL",
              "KDFW",
              "KSFO",
              "KSEA",
              "KMIA",
              "KBOS",
              "KDEN",
              "EGLL",
              "EGKK",
              "EGCC",
              "EDDF",
              "EDDM",
              "EDDB",
              "LFPG",
              "LFMN",
              "LEMD",
              "LEBL",
              "LIRF",
              "LIMC",
              "EHAM",
              "LTFM",
              "LTAI",
              "LTBJ",
              "OMDB",
              "OMAA",
              "RJTT",
              "RJBB",
              "CYYZ",
              "CYVR",
              "CYUL",
              "WSSS",
              "KMCO",
              "KLAS",
              "KPHX",
              "EGNM",
              "EGPH",
              "EDDH"
            ],
            "unique": true
          },
          "name": {
            "kind": "enum",
            "values": [
              "John F. Kennedy International",
              "Los Angeles International",
              "O’Hare International",
              "Hartsfield-Jackson Atlanta International",
              "Dallas/Fort Worth International",
              "San Francisco International",
              "Seattle-Tacoma International",
              "Miami International",
              "Boston Logan International",
              "Denver International",
              "Heathrow",
              "Gatwick",
              "Manchester",
              "Frankfurt",
              "Munich",
              "Berlin Brandenburg",
              "Charles de Gaulle",
              "Nice Cote d’Azur",
              "Adolfo Suarez Madrid-Barajas",
              "Barcelona-El Prat",
              "Leonardo da Vinci-Fiumicino",
              "Milan Malpensa",
              "Amsterdam Schiphol",
              "Istanbul",
              "Antalya",
              "Izmir Adnan Menderes",
              "Dubai International",
              "Abu Dhabi International",
              "Tokyo Haneda",
              "Osaka Kansai",
              "Toronto Pearson",
              "Vancouver International",
              "Montreal-Trudeau",
              "Singapore Changi",
              "Orlando International",
              "Las Vegas Harry Reid International",
              "Phoenix Sky Harbor",
              "Leeds Bradford",
              "Edinburgh",
              "Hamburg"
            ],
            "unique": true
          }
        }
      },
      "baggage": {
        "description": "Rows for the baggage table.",
        "rows": 80,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "status": {
            "kind": "constant",
            "value": "delivered"
          },
          "tag_number": {
            "kind": "pattern",
            "pattern": "[0]#########",
            "unique": true
          },
          "ticket_flight_id": {
            "kind": "fk",
            "ref": "ticket_flights.id",
            "skew": "flat"
          },
          "weight": {
            "kind": "decimal",
            "min": 4,
            "max": 32,
            "scale": 1,
            "distribution": "normal"
          }
        }
      },
      "baggage_rules": {
        "description": "Rows for the baggage_rules table.",
        "rows": 4,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "allowed_pieces": {
            "kind": "int",
            "min": 1,
            "max": 3
          },
          "cabin_id": {
            "kind": "fk",
            "ref": "cabins.id",
            "unique": true
          },
          "max_dimensions": {
            "kind": "constant",
            "value": "158 cm"
          },
          "max_weight": {
            "kind": "int",
            "min": 20,
            "max": 32
          }
        }
      },
      "boarding_passes": {
        "description": "Rows for the boarding_passes table.",
        "rows": 120,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "boarding_time": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "gate_id": {
            "kind": "fk",
            "ref": "gates.id"
          },
          "sequence_number": {
            "kind": "int",
            "min": 1,
            "max": 300
          },
          "ticket_flight_id": {
            "kind": "fk",
            "ref": "ticket_flights.id",
            "unique": true
          }
        }
      },
      "bookings": {
        "description": "Rows for the bookings table.",
        "rows": 350,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "booking_date": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "booking_reference": {
            "kind": "pattern",
            "pattern": "AAAAAA",
            "unique": true
          },
          "promotion_id": {
            "kind": "fk",
            "ref": "promotions.id",
            "weights": [
              85,
              7,
              5,
              3
            ]
          },
          "status": {
            "kind": "constant",
            "value": "confirmed"
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          }
        }
      },
      "cabins": {
        "description": "Rows for the cabins table.",
        "rows": 4,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "class_code": {
            "kind": "enum",
            "values": [
              "F",
              "J",
              "W",
              "Y"
            ],
            "unique": true
          },
          "name": {
            "kind": "enum",
            "values": [
              "First",
              "Business",
              "Premium Economy",
              "Economy"
            ],
            "unique": true
          }
        }
      },
      "cities": {
        "description": "Rows for the cities table.",
        "rows": 40,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "country_id": {
            "kind": "fk",
            "ref": "countries.id",
            "skew": "long-tail"
          },
          "name": {
            "kind": "enum",
            "values": [
              "New York",
              "Los Angeles",
              "Chicago",
              "Atlanta",
              "Dallas",
              "San Francisco",
              "Seattle",
              "Miami",
              "Boston",
              "Denver",
              "London",
              "Crawley",
              "Manchester",
              "Frankfurt",
              "Munich",
              "Berlin",
              "Paris",
              "Nice",
              "Madrid",
              "Barcelona",
              "Rome",
              "Milan",
              "Amsterdam",
              "Istanbul",
              "Antalya",
              "Izmir",
              "Dubai",
              "Abu Dhabi",
              "Tokyo",
              "Osaka",
              "Toronto",
              "Vancouver",
              "Montreal",
              "Singapore",
              "Orlando",
              "Las Vegas",
              "Phoenix",
              "Leeds",
              "Edinburgh",
              "Hamburg"
            ],
            "unique": true
          }
        }
      },
      "countries": {
        "description": "Rows for the countries table.",
        "rows": 12,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "iso_code": {
            "kind": "enum",
            "values": [
              "US",
              "GB",
              "DE",
              "FR",
              "ES",
              "IT",
              "NL",
              "TR",
              "AE",
              "JP",
              "CA",
              "SG"
            ],
            "unique": true
          },
          "name": {
            "kind": "enum",
            "values": [
              "United States",
              "United Kingdom",
              "Germany",
              "France",
              "Spain",
              "Italy",
              "Netherlands",
              "Turkey",
              "United Arab Emirates",
              "Japan",
              "Canada",
              "Singapore"
            ],
            "unique": true
          }
        }
      },
      "crews": {
        "description": "Rows for the crews table.",
        "rows": 400,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "first_name": {
            "kind": "person.firstName"
          },
          "last_name": {
            "kind": "person.lastName"
          },
          "license_number": {
            "kind": "pattern",
            "pattern": "[CR-]######",
            "unique": true,
            "description": "A made-up crew licence reference."
          },
          "role": {
            "kind": "enum",
            "values": [
              "captain",
              "first_officer",
              "purser",
              "flight_attendant"
            ],
            "weights": [
              15,
              15,
              10,
              60
            ]
          }
        }
      },
      "flight_crews": {
        "description": "Rows for the flight_crews table.",
        "rows": 20,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "crew_id": {
            "kind": "fk",
            "ref": "crews.id",
            "skew": "flat"
          },
          "flight_instance_id": {
            "kind": "fk",
            "ref": "flight_instances.id",
            "skew": "flat"
          },
          "role_assigned": {
            "kind": "enum",
            "values": [
              "captain",
              "first_officer",
              "purser",
              "cabin"
            ],
            "weights": [
              15,
              15,
              10,
              60
            ]
          }
        }
      },
      "flight_delays": {
        "description": "Rows for the flight_delays table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "delay_reason": {
            "kind": "enum",
            "values": [
              "Weather",
              "Air traffic control",
              "Late inbound aircraft",
              "Technical",
              "Crew"
            ],
            "weights": [
              30,
              25,
              25,
              12,
              8
            ]
          },
          "duration_minutes": {
            "kind": "int",
            "min": 15,
            "max": 300,
            "distribution": "long-tail"
          },
          "flight_instance_id": {
            "kind": "fk",
            "ref": "flight_instances.id",
            "unique": true
          }
        }
      },
      "flight_instances": {
        "description": "Rows for the flight_instances table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "aircraft_id": {
            "kind": "fk",
            "ref": "aircrafts.id"
          },
          "arrival_time": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "departure_time": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31",
            "dayProfile": "waking",
            "trend": "growing"
          },
          "flight_id": {
            "kind": "fk",
            "ref": "flights.id",
            "skew": "flat"
          },
          "status": {
            "kind": "constant",
            "value": "arrived"
          }
        }
      },
      "flight_schedules": {
        "description": "Rows for the flight_schedules table.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "days_of_week": {
            "kind": "enum",
            "values": [
              "Daily",
              "Mon-Fri",
              "Weekends",
              "Mon, Wed, Fri",
              "Tue, Thu, Sat"
            ],
            "weights": [
              45,
              20,
              10,
              15,
              10
            ]
          },
          "flight_id": {
            "kind": "fk",
            "ref": "flights.id",
            "unique": true
          },
          "scheduled_arrival": {
            "kind": "time",
            "from": "00:00:00",
            "to": "23:59:00"
          },
          "scheduled_departure": {
            "kind": "time",
            "from": "06:00:00",
            "to": "22:30:00"
          }
        }
      },
      "flights": {
        "description": "Rows for the flights table.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "airline_id": {
            "kind": "fk",
            "ref": "airlines.id",
            "skew": "flat"
          },
          "arrival_airport_id": {
            "kind": "fk",
            "ref": "airports.id",
            "skew": "long-tail"
          },
          "departure_airport_id": {
            "kind": "fk",
            "ref": "airports.id",
            "skew": "long-tail"
          },
          "flight_number": {
            "kind": "pattern",
            "pattern": "####",
            "unique": true
          }
        }
      },
      "frequent_flyer_members": {
        "description": "Rows for the frequent_flyer_members table.",
        "rows": 20,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "membership_number": {
            "kind": "pattern",
            "pattern": "##########",
            "unique": true
          },
          "miles_balance": {
            "kind": "int",
            "min": 0,
            "max": 400000,
            "distribution": "long-tail"
          },
          "passenger_id": {
            "kind": "fk",
            "ref": "passengers.id",
            "skew": "flat"
          },
          "program_id": {
            "kind": "fk",
            "ref": "frequent_flyer_programs.id",
            "skew": "flat"
          },
          "tier_level": {
            "kind": "enum",
            "values": [
              "blue",
              "silver",
              "gold",
              "platinum"
            ],
            "weights": [
              70,
              18,
              9,
              3
            ]
          }
        }
      },
      "frequent_flyer_programs": {
        "description": "Rows for the frequent_flyer_programs table.",
        "rows": 6,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "airline_id": {
            "kind": "fk",
            "ref": "airlines.id",
            "skew": "long-tail"
          },
          "name": {
            "kind": "enum",
            "values": [
              "Northwind Air Miles",
              "Blue Harbor Airlines Miles",
              "Atlantic Crown Miles",
              "Rhine Sky Miles",
              "Bosphorus Wings Miles",
              "Pacific Lantern Miles"
            ],
            "unique": true
          }
        }
      },
      "gates": {
        "description": "Rows for the gates table.",
        "rows": 400,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "name": {
            "kind": "pattern",
            "pattern": "A##"
          },
          "terminal_id": {
            "kind": "fk",
            "ref": "airport_terminals.id",
            "skew": "flat"
          }
        }
      },
      "meal_bookings": {
        "description": "Rows for the meal_bookings table.",
        "rows": 30,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "meal_id": {
            "kind": "fk",
            "ref": "meals.id",
            "weights": [
              10,
              18,
              8,
              12,
              5,
              9,
              5,
              33
            ]
          },
          "status": {
            "kind": "constant",
            "value": "served"
          },
          "ticket_flight_id": {
            "kind": "fk",
            "ref": "ticket_flights.id",
            "unique": true
          }
        }
      },
      "meals": {
        "description": "Rows for the meals table.",
        "rows": 8,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "code": {
            "kind": "enum",
            "values": [
              "VGML",
              "VLML",
              "GFML",
              "CHML",
              "KSML",
              "MOML",
              "DBML",
              "STD"
            ],
            "unique": true
          },
          "description": {
            "kind": "enum",
            "values": [
              "Vegan meal",
              "Vegetarian meal",
              "Gluten-free meal",
              "Child meal",
              "Kosher meal",
              "Halal meal",
              "Diabetic meal",
              "Standard meal"
            ],
            "unique": true
          },
          "gluten_free": {
            "kind": "bool"
          },
          "vegan": {
            "kind": "bool"
          },
          "vegetarian": {
            "kind": "bool"
          }
        }
      },
      "passengers": {
        "description": "Rows for the passengers table.",
        "rows": 120,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "date_of_birth": {
            "kind": "date",
            "from": "1935-01-01",
            "to": "2024-12-31",
            "distribution": "normal"
          },
          "first_name": {
            "kind": "person.firstName"
          },
          "last_name": {
            "kind": "person.lastName"
          },
          "nationality_country_id": {
            "kind": "fk",
            "ref": "countries.id",
            "weights": [
              40,
              12,
              9,
              7,
              5,
              5,
              4,
              6,
              3,
              4,
              4,
              1
            ]
          },
          "passport_number": {
            "kind": "pattern",
            "pattern": "[P-]AA######",
            "unique": true,
            "description": "A made-up travel document reference."
          }
        }
      },
      "payments": {
        "description": "Rows for the payments table.",
        "rows": 350,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "amount": {
            "kind": "decimal",
            "min": 0,
            "max": 4729,
            "scale": 2
          },
          "booking_id": {
            "kind": "fk",
            "ref": "bookings.id",
            "unique": true
          },
          "payment_date": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "payment_method": {
            "kind": "enum",
            "values": [
              "card",
              "paypal",
              "apple_pay",
              "bank_transfer"
            ],
            "weights": [
              70,
              14,
              12,
              4
            ]
          },
          "transaction_status": {
            "kind": "constant",
            "value": "succeeded"
          }
        }
      },
      "promotions": {
        "description": "Rows for the promotions table.",
        "rows": 4,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "code": {
            "kind": "enum",
            "values": [
              "NONE",
              "SUMMER10",
              "EARLY15",
              "STUDENT20"
            ],
            "unique": true
          },
          "discount_percentage": {
            "kind": "int",
            "min": 0,
            "max": 20
          },
          "end_date": {
            "kind": "constant",
            "value": "2025-12-31",
            "type": "date"
          },
          "start_date": {
            "kind": "constant",
            "value": "2021-01-01",
            "type": "date"
          }
        }
      },
      "refunds": {
        "description": "Rows for the refunds table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "amount": {
            "kind": "decimal",
            "min": 0,
            "max": 2197,
            "scale": 2
          },
          "payment_id": {
            "kind": "fk",
            "ref": "payments.id",
            "unique": true
          },
          "reason": {
            "kind": "enum",
            "values": [
              "Schedule change",
              "Cancelled by customer",
              "Duplicate booking",
              "Medical",
              "Downgrade"
            ]
          },
          "refund_date": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31"
          }
        }
      },
      "seat_pricing": {
        "description": "Rows for the seat_pricing table.",
        "rows": 30,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "base_price": {
            "kind": "decimal",
            "min": 1,
            "max": 5000,
            "scale": 2
          },
          "cabin_id": {
            "kind": "fk",
            "ref": "cabins.id",
            "skew": "flat"
          },
          "flight_instance_id": {
            "kind": "fk",
            "ref": "flight_instances.id",
            "skew": "flat"
          }
        }
      },
      "seats": {
        "description": "Rows for the seats table.",
        "rows": 14400,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "aircraft_id": {
            "kind": "fk",
            "ref": "aircrafts.id",
            "skew": "flat"
          },
          "cabin_id": {
            "kind": "fk",
            "ref": "cabins.id",
            "weights": [
              3,
              10,
              12,
              75
            ]
          },
          "letter": {
            "kind": "enum",
            "values": [
              "A",
              "B",
              "C",
              "D",
              "E",
              "F",
              "G",
              "H",
              "J",
              "K"
            ]
          },
          "row_number": {
            "kind": "int",
            "min": 1,
            "max": 60
          }
        }
      },
      "ticket_flights": {
        "description": "Rows for the ticket_flights table.",
        "rows": 1000,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "cabin_id": {
            "kind": "fk",
            "ref": "cabins.id"
          },
          "fare": {
            "kind": "decimal",
            "min": 0,
            "max": 2544,
            "scale": 2
          },
          "flight_instance_id": {
            "kind": "fk",
            "ref": "flight_instances.id",
            "skew": "flat"
          },
          "seat_id": {
            "kind": "fk",
            "ref": "seats.id"
          },
          "ticket_id": {
            "kind": "fk",
            "ref": "tickets.id",
            "skew": "flat"
          }
        }
      },
      "tickets": {
        "description": "Rows for the tickets table.",
        "rows": 700,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "booking_id": {
            "kind": "fk",
            "ref": "bookings.id",
            "skew": "flat"
          },
          "passenger_id": {
            "kind": "fk",
            "ref": "passengers.id",
            "skew": "long-tail"
          },
          "ticket_number": {
            "kind": "pattern",
            "pattern": "[016-]##########",
            "unique": true
          },
          "total_price": {
            "kind": "decimal",
            "min": 0,
            "max": 20000,
            "scale": 2
          }
        }
      },
      "users": {
        "description": "Rows for the users table.",
        "rows": 60,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "email": {
            "kind": "internet.email",
            "unique": true
          },
          "password_hash": {
            "kind": "pattern",
            "pattern": "[$2b$12$]xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
          },
          "phone_number": {
            "kind": "phone.number"
          },
          "registration_date": {
            "kind": "date",
            "from": "2015-01-01",
            "to": "2020-12-31"
          }
        }
      }
    }
  },
  "counts": {
    "aircraft_models": 8,
    "cabins": 4,
    "baggage_rules": 4,
    "countries": 12,
    "airlines": 6,
    "aircrafts": 60,
    "cities": 40,
    "airports": 40,
    "airport_terminals": 80,
    "crews": 400,
    "flights": 300,
    "flight_instances": 10,
    "flight_crews": 20,
    "flight_delays": 10,
    "flight_schedules": 300,
    "frequent_flyer_programs": 6,
    "gates": 400,
    "meals": 8,
    "passengers": 120,
    "frequent_flyer_members": 20,
    "promotions": 4,
    "seat_pricing": 30,
    "seats": 14400,
    "users": 60,
    "bookings": 350,
    "payments": 350,
    "refunds": 10,
    "tickets": 700,
    "ticket_flights": 1000,
    "baggage": 80,
    "boarding_passes": 120,
    "meal_bookings": 30
  },
  "artifacts": [
    {
      "file": "csv/aircraft_models.csv",
      "format": "csv",
      "table": "aircraft_models",
      "key": "datasets/airline-sample-database/v1/csv/aircraft_models.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/aircraft_models.csv",
      "bytes": 214,
      "sha256": "1cc1c0678757c55f2c536990e051e4c75a14fabdf3e8c6f47f2fd1fc7cb5dd86",
      "rows": 8,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/cabins.csv",
      "format": "csv",
      "table": "cabins",
      "key": "datasets/airline-sample-database/v1/csv/cabins.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/cabins.csv",
      "bytes": 79,
      "sha256": "d12aa9e193e4f85be90dfe787cb8ed29d9402de457ac4fb9b0d62f5f017e9aff",
      "rows": 4,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/baggage_rules.csv",
      "format": "csv",
      "table": "baggage_rules",
      "key": "datasets/airline-sample-database/v1/csv/baggage_rules.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/baggage_rules.csv",
      "bytes": 122,
      "sha256": "037868c629e47cec5a8c9af2fecf39673f01769f6a4891155d5c25c1195bc781",
      "rows": 4,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/countries.csv",
      "format": "csv",
      "table": "countries",
      "key": "datasets/airline-sample-database/v1/csv/countries.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/countries.csv",
      "bytes": 212,
      "sha256": "3d2ca343a86fa07478fe4cea579391240a5d10a587a6b047a5abac3e2eca33f9",
      "rows": 12,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/airlines.csv",
      "format": "csv",
      "table": "airlines",
      "key": "datasets/airline-sample-database/v1/csv/airlines.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/airlines.csv",
      "bytes": 171,
      "sha256": "11ef3f8b8d38b43e10529c1e644d51cf9f055db6b1a9c14b37a178ef1d361de7",
      "rows": 6,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/aircrafts.csv",
      "format": "csv",
      "table": "aircrafts",
      "key": "datasets/airline-sample-database/v1/csv/aircrafts.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/aircrafts.csv",
      "bytes": 1608,
      "sha256": "8eb32ca7eace522efd1ba0b90b5ca3edbaffa2cac24a2739685ebed4fe687252",
      "rows": 60,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/cities.csv",
      "format": "csv",
      "table": "cities",
      "key": "datasets/airline-sample-database/v1/csv/cities.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/cities.csv",
      "bytes": 580,
      "sha256": "baa9266610bedacb0d6a16c29c891003e151330d6dcca867b1675ca0c6fd5324",
      "rows": 40,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/airports.csv",
      "format": "csv",
      "table": "airports",
      "key": "datasets/airline-sample-database/v1/csv/airports.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/airports.csv",
      "bytes": 1437,
      "sha256": "676f87ed545138a43bda8a580e1f691a17a1177ed3ac5d3005b391c0a50b4682",
      "rows": 40,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/airport_terminals.csv",
      "format": "csv",
      "table": "airport_terminals",
      "key": "datasets/airline-sample-database/v1/csv/airport_terminals.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/airport_terminals.csv",
      "bytes": 1500,
      "sha256": "dc0d8d936f000856280242e598d3d08dec32717207fa4f6f4249399221702d72",
      "rows": 80,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/crews.csv",
      "format": "csv",
      "table": "crews",
      "key": "datasets/airline-sample-database/v1/csv/crews.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/crews.csv",
      "bytes": 17511,
      "sha256": "ef4500a937de8efa082b3b575bec279ee76ce9c5d5b0e775d9f625133b3240af",
      "rows": 400,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/flights.csv",
      "format": "csv",
      "table": "flights",
      "key": "datasets/airline-sample-database/v1/csv/flights.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/flights.csv",
      "bytes": 5068,
      "sha256": "d227590042f57aed57c08b683737c4cb38b502b3b9b6330230163ecd4f39e04a",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/flight_instances.csv",
      "format": "csv",
      "table": "flight_instances",
      "key": "datasets/airline-sample-database/v1/csv/flight_instances.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/flight_instances.csv",
      "bytes": 635,
      "sha256": "c4bba677daebd4c4f1c3592a9175db6addd3c67237d9d4efbffb736d1f85e8f3",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/flight_crews.csv",
      "format": "csv",
      "table": "flight_crews",
      "key": "datasets/airline-sample-database/v1/csv/flight_crews.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/flight_crews.csv",
      "bytes": 400,
      "sha256": "afab42f4d6b93365fb68baa7d8cf6057fa269e54b3abe9e12470f90b02d4a3dc",
      "rows": 20,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/flight_delays.csv",
      "format": "csv",
      "table": "flight_delays",
      "key": "datasets/airline-sample-database/v1/csv/flight_delays.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/flight_delays.csv",
      "bytes": 290,
      "sha256": "e0907971e19cd860ea912661ce282471414e975d9ba6561672bf93acc7c9bfcd",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/flight_schedules.csv",
      "format": "csv",
      "table": "flight_schedules",
      "key": "datasets/airline-sample-database/v1/csv/flight_schedules.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/flight_schedules.csv",
      "bytes": 10790,
      "sha256": "076e2ab66ad60655b017a0696cef28685dfc4bae4587e7f2ae6365c2c5dc569a",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/frequent_flyer_programs.csv",
      "format": "csv",
      "table": "frequent_flyer_programs",
      "key": "datasets/airline-sample-database/v1/csv/frequent_flyer_programs.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/frequent_flyer_programs.csv",
      "bytes": 178,
      "sha256": "719c2a67b8d1a4bad8d9b0b8c06d98897dcca7f3d2bd615bf6672521fcafbfc4",
      "rows": 6,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/gates.csv",
      "format": "csv",
      "table": "gates",
      "key": "datasets/airline-sample-database/v1/csv/gates.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/gates.csv",
      "bytes": 4669,
      "sha256": "66a6d9dcbeb025abeeba0a65d7fe12afdd213a0585edbd1d808c189ec0868164",
      "rows": 400,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/meals.csv",
      "format": "csv",
      "table": "meals",
      "key": "datasets/airline-sample-database/v1/csv/meals.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/meals.csv",
      "bytes": 359,
      "sha256": "3926ef499c246bec01b7ffe03423ee9e0c6156a082334d48ad7b857bf33934b1",
      "rows": 8,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/passengers.csv",
      "format": "csv",
      "table": "passengers",
      "key": "datasets/airline-sample-database/v1/csv/passengers.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/passengers.csv",
      "bytes": 5237,
      "sha256": "fd34f3e1ac1ceaf89900f8c8818b4200734a3bacecee1fe3f16951e886f7818b",
      "rows": 120,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/frequent_flyer_members.csv",
      "format": "csv",
      "table": "frequent_flyer_members",
      "key": "datasets/airline-sample-database/v1/csv/frequent_flyer_members.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/frequent_flyer_members.csv",
      "bytes": 699,
      "sha256": "83ecf5a0a7b8e9f72bbef8abf11680c95dde9f11234a365ee286df12cfc50126",
      "rows": 20,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/promotions.csv",
      "format": "csv",
      "table": "promotions",
      "key": "datasets/airline-sample-database/v1/csv/promotions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/promotions.csv",
      "bytes": 192,
      "sha256": "ede5f28b4d5a728f01a1675fcf5da4cc97eccb197095efe8ddecd55009e27293",
      "rows": 4,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/seat_pricing.csv",
      "format": "csv",
      "table": "seat_pricing",
      "key": "datasets/airline-sample-database/v1/csv/seat_pricing.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/seat_pricing.csv",
      "bytes": 407,
      "sha256": "97f67fbe49df87320e52725ec374fd57ca76529362681c24f28051976b33e34e",
      "rows": 30,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/seats.csv",
      "format": "csv",
      "table": "seats",
      "key": "datasets/airline-sample-database/v1/csv/seats.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/seats.csv",
      "bytes": 229520,
      "sha256": "78ab23b03ccdf3b8c5b5634b579b9fc4504184a66192d586fd5d569b81553c88",
      "rows": 14400,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/airline-sample-database/v1/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/users.csv",
      "bytes": 7079,
      "sha256": "56776449ee636491677ba2d4e00728ad126ba9fe31a3c647628bda0584333b84",
      "rows": 60,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/bookings.csv",
      "format": "csv",
      "table": "bookings",
      "key": "datasets/airline-sample-database/v1/csv/bookings.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/bookings.csv",
      "bytes": 16268,
      "sha256": "eab1fb81412918972ec0696f9d8b33309c0be6940bb53b33dc6ddc4475e8aa95",
      "rows": 350,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/payments.csv",
      "format": "csv",
      "table": "payments",
      "key": "datasets/airline-sample-database/v1/csv/payments.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/payments.csv",
      "bytes": 17895,
      "sha256": "d71014f174bcb904ddcc9634f7112e9d545fff8cb101d8cc55d12b4592e32dde",
      "rows": 350,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/refunds.csv",
      "format": "csv",
      "table": "refunds",
      "key": "datasets/airline-sample-database/v1/csv/refunds.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/refunds.csv",
      "bytes": 521,
      "sha256": "436dac4708c24c335a4b422e14e998b2d56ddb1ecb2198a77f72e29320675d9d",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/tickets.csv",
      "format": "csv",
      "table": "tickets",
      "key": "datasets/airline-sample-database/v1/csv/tickets.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/tickets.csv",
      "bytes": 22533,
      "sha256": "a8cefa9510cf63f242798e45cd4823d0e7d87901d18229942a814b20ea654853",
      "rows": 700,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/ticket_flights.csv",
      "format": "csv",
      "table": "ticket_flights",
      "key": "datasets/airline-sample-database/v1/csv/ticket_flights.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/ticket_flights.csv",
      "bytes": 23751,
      "sha256": "353db8d121f75b052f9617c62ef24b5794f813e6ea317473fb634659b658d7b2",
      "rows": 1000,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/baggage.csv",
      "format": "csv",
      "table": "baggage",
      "key": "datasets/airline-sample-database/v1/csv/baggage.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/baggage.csv",
      "bytes": 2751,
      "sha256": "21c1a51438f291362bb1a8fcaf9a1a4138c5fa24cf1960637f48ae6c19e63980",
      "rows": 80,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/boarding_passes.csv",
      "format": "csv",
      "table": "boarding_passes",
      "key": "datasets/airline-sample-database/v1/csv/boarding_passes.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/boarding_passes.csv",
      "bytes": 4289,
      "sha256": "b6b79f55fb4df4ae924ce28f8a4fa4b8cb902da498ad19bb4de123f731542c4d",
      "rows": 120,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/meal_bookings.csv",
      "format": "csv",
      "table": "meal_bookings",
      "key": "datasets/airline-sample-database/v1/csv/meal_bookings.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/csv/meal_bookings.csv",
      "bytes": 534,
      "sha256": "f9e23e5907ab82378265eb01d378af1e7f73393e1136626f74c934ec6d3e2b65",
      "rows": 30,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "airline-sample-database.json",
      "format": "json",
      "table": null,
      "key": "datasets/airline-sample-database/v1/airline-sample-database.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/airline-sample-database.json",
      "bytes": 2429306,
      "sha256": "97cbcf5942481986b27d7a7ddc2fa7ffcc48f86891c36d97f6a85104cbcbde34",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/airline-sample-database/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/sql/postgres.sql",
      "bytes": 637175,
      "sha256": "b0b0c64313067594b6de801e6887e8d5e1456b778c100dc50bbf6f4883546c74",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/airline-sample-database/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/sql/mysql.sql",
      "bytes": 634044,
      "sha256": "5dc9f9f14bfddaac02ccc6252ae6c42fb109733c21ab66fc620bda81e0479ecd",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/airline-sample-database/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/sql/mssql.sql",
      "bytes": 657468,
      "sha256": "8eaed2fa00cd5e7f5cf123790aa85b7b8c7aff86104e4cc5ec67bd71bc0b7a0f",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/airline-sample-database/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/sql/sqlite.sql",
      "bytes": 631396,
      "sha256": "d0231c60ef914c87f39c05cca49ce67842e6975a1a6774182e49c9fe293e1b4b",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/airline-sample-database/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/prisma/seed.ts",
      "bytes": 1754663,
      "sha256": "f7ede8b5f95df781acca216c79d8975bc7353c6d9a87b76e7f468b255d06ba1d",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/airline-sample-database/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/django/fixtures.json",
      "bytes": 3113846,
      "sha256": "35b1140c16ea6c3c4d229658979fb3d9bfea0e9aa4773a6b91518efda857ccd5",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "flagship": {
    "sizes": {
      "1k": {
        "rows": 18982,
        "counts": {
          "aircraft_models": 8,
          "cabins": 4,
          "baggage_rules": 4,
          "countries": 12,
          "airlines": 6,
          "aircrafts": 60,
          "cities": 40,
          "airports": 40,
          "airport_terminals": 80,
          "crews": 400,
          "flights": 300,
          "flight_instances": 10,
          "flight_crews": 20,
          "flight_delays": 10,
          "flight_schedules": 300,
          "frequent_flyer_programs": 6,
          "gates": 400,
          "meals": 8,
          "passengers": 120,
          "frequent_flyer_members": 20,
          "promotions": 4,
          "seat_pricing": 30,
          "seats": 14400,
          "users": 60,
          "bookings": 350,
          "payments": 350,
          "refunds": 10,
          "tickets": 700,
          "ticket_flights": 1000,
          "baggage": 80,
          "boarding_passes": 120,
          "meal_bookings": 30
        },
        "notes": [],
        "downloads": [
          {
            "format": "sql-postgres",
            "label": "PostgreSQL",
            "file": "flagship/1k/postgres.sql.gz",
            "key": "datasets/airline-sample-database/v1/flagship/1k/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/flagship/1k/postgres.sql.gz",
            "bytes": 158214,
            "sha256": "26d94479e34dd95478ef441d98e907d888f694c9a2c3bf16d628300830c088dc",
            "raw": {
              "bytes": 643105,
              "sha256": "47262131270d7f25e0c590d3f7a189a0b5edf1891dd5fc3f743b5a062bd4ee9d"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/1k/mysql.sql.gz",
            "key": "datasets/airline-sample-database/v1/flagship/1k/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/flagship/1k/mysql.sql.gz",
            "bytes": 157731,
            "sha256": "7a4ddc4a5d25e6ff26f211d36e675cb152ad37de9f32e2e49a9b0786c626a587",
            "raw": {
              "bytes": 639974,
              "sha256": "aea6a6a1e0adced67c6dbfc3501a551d48a62cd74b6187e2e6333bb8ec22112d"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/1k/sqlite.sql.gz",
            "key": "datasets/airline-sample-database/v1/flagship/1k/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/flagship/1k/sqlite.sql.gz",
            "bytes": 157047,
            "sha256": "a8cd7f87d8f4e83c90a195bd96091a01434ecd0002b8d105e33791278fbdd7ef",
            "raw": {
              "bytes": 637326,
              "sha256": "f81e8708af1443a49bfada571d8dd3534e1afa8e4c3eae2620697ff80ae6c583"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/1k/csv.zip",
            "key": "datasets/airline-sample-database/v1/flagship/1k/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/flagship/1k/csv.zip",
            "bytes": 150077,
            "sha256": "1da02dfd136a20bcf55c62be0abfdf52ed89887687137daf78db1a7e3c04df0d",
            "tables": {
              "aircraft_models": {
                "bytes": 214,
                "sha256": "1cc1c0678757c55f2c536990e051e4c75a14fabdf3e8c6f47f2fd1fc7cb5dd86"
              },
              "aircrafts": {
                "bytes": 1608,
                "sha256": "8eb32ca7eace522efd1ba0b90b5ca3edbaffa2cac24a2739685ebed4fe687252"
              },
              "airlines": {
                "bytes": 171,
                "sha256": "11ef3f8b8d38b43e10529c1e644d51cf9f055db6b1a9c14b37a178ef1d361de7"
              },
              "airport_terminals": {
                "bytes": 1500,
                "sha256": "dc0d8d936f000856280242e598d3d08dec32717207fa4f6f4249399221702d72"
              },
              "airports": {
                "bytes": 1437,
                "sha256": "676f87ed545138a43bda8a580e1f691a17a1177ed3ac5d3005b391c0a50b4682"
              },
              "baggage": {
                "bytes": 2751,
                "sha256": "21c1a51438f291362bb1a8fcaf9a1a4138c5fa24cf1960637f48ae6c19e63980"
              },
              "baggage_rules": {
                "bytes": 122,
                "sha256": "037868c629e47cec5a8c9af2fecf39673f01769f6a4891155d5c25c1195bc781"
              },
              "boarding_passes": {
                "bytes": 4289,
                "sha256": "b6b79f55fb4df4ae924ce28f8a4fa4b8cb902da498ad19bb4de123f731542c4d"
              },
              "bookings": {
                "bytes": 16268,
                "sha256": "eab1fb81412918972ec0696f9d8b33309c0be6940bb53b33dc6ddc4475e8aa95"
              },
              "cabins": {
                "bytes": 79,
                "sha256": "d12aa9e193e4f85be90dfe787cb8ed29d9402de457ac4fb9b0d62f5f017e9aff"
              },
              "cities": {
                "bytes": 580,
                "sha256": "baa9266610bedacb0d6a16c29c891003e151330d6dcca867b1675ca0c6fd5324"
              },
              "countries": {
                "bytes": 212,
                "sha256": "3d2ca343a86fa07478fe4cea579391240a5d10a587a6b047a5abac3e2eca33f9"
              },
              "crews": {
                "bytes": 17511,
                "sha256": "ef4500a937de8efa082b3b575bec279ee76ce9c5d5b0e775d9f625133b3240af"
              },
              "flight_crews": {
                "bytes": 400,
                "sha256": "afab42f4d6b93365fb68baa7d8cf6057fa269e54b3abe9e12470f90b02d4a3dc"
              },
              "flight_delays": {
                "bytes": 290,
                "sha256": "e0907971e19cd860ea912661ce282471414e975d9ba6561672bf93acc7c9bfcd"
              },
              "flight_instances": {
                "bytes": 635,
                "sha256": "c4bba677daebd4c4f1c3592a9175db6addd3c67237d9d4efbffb736d1f85e8f3"
              },
              "flight_schedules": {
                "bytes": 10790,
                "sha256": "076e2ab66ad60655b017a0696cef28685dfc4bae4587e7f2ae6365c2c5dc569a"
              },
              "flights": {
                "bytes": 5068,
                "sha256": "d227590042f57aed57c08b683737c4cb38b502b3b9b6330230163ecd4f39e04a"
              },
              "frequent_flyer_members": {
                "bytes": 699,
                "sha256": "83ecf5a0a7b8e9f72bbef8abf11680c95dde9f11234a365ee286df12cfc50126"
              },
              "frequent_flyer_programs": {
                "bytes": 178,
                "sha256": "719c2a67b8d1a4bad8d9b0b8c06d98897dcca7f3d2bd615bf6672521fcafbfc4"
              },
              "gates": {
                "bytes": 4669,
                "sha256": "66a6d9dcbeb025abeeba0a65d7fe12afdd213a0585edbd1d808c189ec0868164"
              },
              "meal_bookings": {
                "bytes": 534,
                "sha256": "f9e23e5907ab82378265eb01d378af1e7f73393e1136626f74c934ec6d3e2b65"
              },
              "meals": {
                "bytes": 359,
                "sha256": "3926ef499c246bec01b7ffe03423ee9e0c6156a082334d48ad7b857bf33934b1"
              },
              "passengers": {
                "bytes": 5237,
                "sha256": "fd34f3e1ac1ceaf89900f8c8818b4200734a3bacecee1fe3f16951e886f7818b"
              },
              "payments": {
                "bytes": 17895,
                "sha256": "d71014f174bcb904ddcc9634f7112e9d545fff8cb101d8cc55d12b4592e32dde"
              },
              "promotions": {
                "bytes": 192,
                "sha256": "ede5f28b4d5a728f01a1675fcf5da4cc97eccb197095efe8ddecd55009e27293"
              },
              "refunds": {
                "bytes": 521,
                "sha256": "436dac4708c24c335a4b422e14e998b2d56ddb1ecb2198a77f72e29320675d9d"
              },
              "seat_pricing": {
                "bytes": 407,
                "sha256": "97f67fbe49df87320e52725ec374fd57ca76529362681c24f28051976b33e34e"
              },
              "seats": {
                "bytes": 229520,
                "sha256": "78ab23b03ccdf3b8c5b5634b579b9fc4504184a66192d586fd5d569b81553c88"
              },
              "ticket_flights": {
                "bytes": 23751,
                "sha256": "353db8d121f75b052f9617c62ef24b5794f813e6ea317473fb634659b658d7b2"
              },
              "tickets": {
                "bytes": 22533,
                "sha256": "a8cefa9510cf63f242798e45cd4823d0e7d87901d18229942a814b20ea654853"
              },
              "users": {
                "bytes": 7079,
                "sha256": "56776449ee636491677ba2d4e00728ad126ba9fe31a3c647628bda0584333b84"
              }
            },
            "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": "A route links two airports, and a departure is flown by its airline's aircraft and lands one to ten hours later",
            "violations": 0
          },
          {
            "name": "Every passenger on a departure has a seat of their own, on that aircraft, in the seat's cabin",
            "violations": 0
          },
          {
            "name": "A ticket's price is the sum of its fares, and every ticket and booking has a flight",
            "violations": 0
          },
          {
            "name": "A booking is made one to 120 days before its first departure, and paid within fifteen minutes: its tickets less its promotion",
            "violations": 0
          },
          {
            "name": "A boarding pass names a gate at the departure airport and is scanned fifteen minutes to an hour before take-off",
            "violations": 0
          },
          {
            "name": "A refund is never more than its payment and comes after it",
            "violations": 0
          },
          {
            "name": "No crew member twice on a departure, no cabin priced twice on one, and one membership per programme",
            "violations": 0
          }
        ],
        "dirty": {
          "report": {
            "rates": {
              "missing": 0.03,
              "typos": 0.03,
              "outliers": 0.005,
              "duplicates": 0.01
            },
            "tables": {
              "aircraft_models": {
                "duplicates": 0,
                "columns": {
                  "capacity": {
                    "missing": 3,
                    "typos": 0,
                    "outliers": 0
                  },
                  "manufacturer": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "cabins": {
                "duplicates": 0,
                "columns": {
                  "class_code": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "countries": {
                "duplicates": 0,
                "columns": {
                  "name": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "airlines": {
                "duplicates": 0,
                "columns": {
                  "iata_code": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "aircrafts": {
                "duplicates": 2,
                "columns": {
                  "registration_number": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "airports": {
                "duplicates": 0,
                "columns": {
                  "iata_code": {
                    "missing": 0,
                    "typos": 2,
                    "outliers": 0
                  },
                  "icao_code": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 2,
                    "typos": 2,
                    "outliers": 0
                  }
                }
              },
              "airport_terminals": {
                "duplicates": 0,
                "columns": {
                  "name": {
                    "missing": 3,
                    "typos": 4,
                    "outliers": 0
                  }
                }
              },
              "crews": {
                "duplicates": 3,
                "columns": {
                  "first_name": {
                    "missing": 18,
                    "typos": 8,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 12,
                    "typos": 10,
                    "outliers": 0
                  },
                  "license_number": {
                    "missing": 17,
                    "typos": 8,
                    "outliers": 0
                  },
                  "role": {
                    "missing": 14,
                    "typos": 11,
                    "outliers": 0
                  }
                }
              },
              "flights": {
                "duplicates": 4,
                "columns": {
                  "flight_number": {
                    "missing": 7,
                    "typos": 3,
                    "outliers": 0
                  }
                }
              },
              "flight_crews": {
                "duplicates": 0,
                "columns": {
                  "role_assigned": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "flight_delays": {
                "duplicates": 0,
                "columns": {
                  "delay_reason": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "flight_schedules": {
                "duplicates": 4,
                "columns": {
                  "days_of_week": {
                    "missing": 7,
                    "typos": 5,
                    "outliers": 0
                  },
                  "scheduled_arrival": {
                    "missing": 13,
                    "typos": 0,
                    "outliers": 0
                  },
                  "scheduled_departure": {
                    "missing": 8,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "frequent_flyer_programs": {
                "duplicates": 0,
                "columns": {
                  "name": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "gates": {
                "duplicates": 4,
                "columns": {
                  "name": {
                    "missing": 12,
                    "typos": 8,
                    "outliers": 0
                  }
                }
              },
              "meals": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "vegetarian": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "passengers": {
                "duplicates": 2,
                "columns": {
                  "date_of_birth": {
                    "missing": 3,
                    "typos": 0,
                    "outliers": 0
                  },
                  "first_name": {
                    "missing": 4,
                    "typos": 8,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 6,
                    "typos": 3,
                    "outliers": 0
                  },
                  "passport_number": {
                    "missing": 5,
                    "typos": 6,
                    "outliers": 0
                  }
                }
              },
              "frequent_flyer_members": {
                "duplicates": 1,
                "columns": {
                  "tier_level": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "seat_pricing": {
                "duplicates": 0,
                "columns": {
                  "base_price": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "seats": {
                "duplicates": 143,
                "columns": {
                  "letter": {
                    "missing": 427,
                    "typos": 467,
                    "outliers": 0
                  },
                  "row_number": {
                    "missing": 395,
                    "typos": 0,
                    "outliers": 70
                  }
                }
              },
              "users": {
                "duplicates": 1,
                "columns": {
                  "email": {
                    "missing": 4,
                    "typos": 0,
                    "outliers": 0
                  },
                  "password_hash": {
                    "missing": 3,
                    "typos": 2,
                    "outliers": 0
                  },
                  "phone_number": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  },
                  "registration_date": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "bookings": {
                "duplicates": 4,
                "columns": {
                  "booking_date": {
                    "missing": 6,
                    "typos": 0,
                    "outliers": 0
                  },
                  "booking_reference": {
                    "missing": 14,
                    "typos": 7,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 13,
                    "typos": 4,
                    "outliers": 0
                  }
                }
              },
              "payments": {
                "duplicates": 6,
                "columns": {
                  "amount": {
                    "missing": 10,
                    "typos": 0,
                    "outliers": 2
                  },
                  "payment_date": {
                    "missing": 15,
                    "typos": 0,
                    "outliers": 0
                  },
                  "payment_method": {
                    "missing": 6,
                    "typos": 15,
                    "outliers": 0
                  },
                  "transaction_status": {
                    "missing": 8,
                    "typos": 10,
                    "outliers": 0
                  }
                }
              },
              "refunds": {
                "duplicates": 0,
                "columns": {
                  "reason": {
                    "missing": 2,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "tickets": {
                "duplicates": 4,
                "columns": {
                  "ticket_number": {
                    "missing": 21,
                    "typos": 5,
                    "outliers": 0
                  },
                  "total_price": {
                    "missing": 19,
                    "typos": 0,
                    "outliers": 10
                  }
                }
              },
              "ticket_flights": {
                "duplicates": 12,
                "columns": {
                  "fare": {
                    "missing": 39,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "baggage": {
                "duplicates": 1,
                "columns": {
                  "status": {
                    "missing": 4,
                    "typos": 3,
                    "outliers": 0
                  },
                  "tag_number": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "weight": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 1
                  }
                }
              },
              "boarding_passes": {
                "duplicates": 3,
                "columns": {
                  "boarding_time": {
                    "missing": 6,
                    "typos": 0,
                    "outliers": 0
                  },
                  "sequence_number": {
                    "missing": 4,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "meal_bookings": {
                "duplicates": 1,
                "columns": {
                  "status": {
                    "missing": 2,
                    "typos": 3,
                    "outliers": 0
                  }
                }
              }
            },
            "totals": {
              "missing": 1152,
              "typos": 600,
              "outliers": 83,
              "duplicates": 195
            }
          },
          "downloads": [
            {
              "format": "dirty-sql-postgres",
              "label": "PostgreSQL, with faults",
              "file": "flagship/1k/dirty-postgres.sql.gz",
              "key": "datasets/airline-sample-database/v1/flagship/1k/dirty-postgres.sql.gz",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/flagship/1k/dirty-postgres.sql.gz",
              "bytes": 159112,
              "sha256": "3083bb8af5b988b4a3eda521e336b0e0ed51929d31efcdebb42e190c3c01b480",
              "raw": {
                "bytes": 642328,
                "sha256": "9d9e0d54ff91d18eace31a9e70c714e6e09d2eab33eca696c80adfedd0957a6e"
              },
              "contentType": "application/gzip"
            },
            {
              "format": "dirty-csv",
              "label": "CSV, with faults",
              "file": "flagship/1k/dirty-csv.zip",
              "key": "datasets/airline-sample-database/v1/flagship/1k/dirty-csv.zip",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/flagship/1k/dirty-csv.zip",
              "bytes": 151870,
              "sha256": "4a7a51b5439dca4653c2d52df14568c261b6cf45b8ef995207ab8d5ebc7ccc24",
              "tables": {
                "aircraft_models": {
                  "bytes": 199,
                  "sha256": "c7c36ff3751547db74f1576910791462a4d9a7c859b78fbf529dd8d902f5e125"
                },
                "aircrafts": {
                  "bytes": 1630,
                  "sha256": "90571ee2a4362b1262d1ae29fcfc8ad6608cff5f3220f31ed4f3559b84f36c0c"
                },
                "airlines": {
                  "bytes": 171,
                  "sha256": "b7820feebd0b8ee07dd39f17b326a2ee801f5993f5099ff387aba60db47a2648"
                },
                "airport_terminals": {
                  "bytes": 1473,
                  "sha256": "0489e6e5f59e457b1e12e473d6927327caa2965035570f8f89536a2062538c79"
                },
                "airports": {
                  "bytes": 1398,
                  "sha256": "2fd18a8be0e89866687c5530a9b689528f7758a01f6fdeb5a155cfa4caf86130"
                },
                "baggage": {
                  "bytes": 2732,
                  "sha256": "a2d7d0882aa1a24516cb9eb243b7b7c46658d99b18da8922ebc82682f8629ffc"
                },
                "baggage_rules": {
                  "bytes": 122,
                  "sha256": "037868c629e47cec5a8c9af2fecf39673f01769f6a4891155d5c25c1195bc781"
                },
                "boarding_passes": {
                  "bytes": 4274,
                  "sha256": "cf03b4b12cff83c7368c63142540b0ec1c1b0a2d7ff1c3f4c0d1fc42b6c52e9a"
                },
                "bookings": {
                  "bytes": 16152,
                  "sha256": "005ddfdbbb1e26c772da8b5285432993c676e85b9e0bd9dbce485d312ec9729b"
                },
                "cabins": {
                  "bytes": 78,
                  "sha256": "2f93e3314558e2cacfa68cd065cdf4faecefcdbe73029bb26955f2e8021dc976"
                },
                "cities": {
                  "bytes": 580,
                  "sha256": "baa9266610bedacb0d6a16c29c891003e151330d6dcca867b1675ca0c6fd5324"
                },
                "countries": {
                  "bytes": 203,
                  "sha256": "cc686afacbe6b5477d8f2badcf529e8e3ebc67a54e4620776a5ce3cd1b046e27"
                },
                "crews": {
                  "bytes": 17179,
                  "sha256": "a7b9526ce84d2b44497717748c3794438ab3be24101fdf360d5f39215c76ccb9"
                },
                "flight_crews": {
                  "bytes": 395,
                  "sha256": "d5f05e7f11fac7d6bdd27f3af71a2c5fd8a926684177ded52a2ba41be347d116"
                },
                "flight_delays": {
                  "bytes": 271,
                  "sha256": "98adbb2e1256d593aeb049a3c2aeadf0504db72fb43d99a1515a4af5b0239c08"
                },
                "flight_instances": {
                  "bytes": 635,
                  "sha256": "c4bba677daebd4c4f1c3592a9175db6addd3c67237d9d4efbffb736d1f85e8f3"
                },
                "flight_schedules": {
                  "bytes": 10689,
                  "sha256": "bbb63c1493860bc4618857f2d456313edd1f0f816668e89dd56099ba49d92365"
                },
                "flights": {
                  "bytes": 5119,
                  "sha256": "458cb0b2cb29f9e67a7b46774255e80a591459930eb6e6c0a1fde1da19d90373"
                },
                "frequent_flyer_members": {
                  "bytes": 729,
                  "sha256": "c0db333ce5d6c491402d00c3af45a94a0f262439fd5ecc6a93efd7985fd4cf40"
                },
                "frequent_flyer_programs": {
                  "bytes": 178,
                  "sha256": "c27120416e19179d80f2965aea85d2c16420ea6e42c536aecf5ff2a0a0b432e0"
                },
                "gates": {
                  "bytes": 4691,
                  "sha256": "a3f69c232f7530981081dcb2d1ea56f96223d1e7a0a463fc7d9d88749a69f0f7"
                },
                "meal_bookings": {
                  "bytes": 542,
                  "sha256": "2900ecc047bc6fd07d9f87d801c5b2d64280870e67db2266ec1d4fc2270cfbe5"
                },
                "meals": {
                  "bytes": 342,
                  "sha256": "506f1348739ff5a9f0f654812cd517cb0e76ffae2d6bdf1ac10ee7ea0a088843"
                },
                "passengers": {
                  "bytes": 5192,
                  "sha256": "c17f457ba8824c529160b1e4e140a8be14017fe5400bb2d45b620202ea1bc050"
                },
                "payments": {
                  "bytes": 17756,
                  "sha256": "e406f9b6c36000fb66ca1486c799814273fc8ad4c127471601d0f4751de7a7f3"
                },
                "promotions": {
                  "bytes": 192,
                  "sha256": "ede5f28b4d5a728f01a1675fcf5da4cc97eccb197095efe8ddecd55009e27293"
                },
                "refunds": {
                  "bytes": 496,
                  "sha256": "544c5f8f20cccf59f7ba1eeec5c40dadf21e4e013223b355fb95c10073305c45"
                },
                "seat_pricing": {
                  "bytes": 403,
                  "sha256": "418050753c86e059374d5b90040ef25258ff63be8418ba8b28666b949619696d"
                },
                "seats": {
                  "bytes": 231521,
                  "sha256": "8d9f56b53266afea50a7b002fda010cc5d12ae82a4f5a926a4c7b5cfec8b4726"
                },
                "ticket_flights": {
                  "bytes": 23876,
                  "sha256": "41a00c62156c327216efcf519194d875e37093a6959e1ff3a8d34c350693f779"
                },
                "tickets": {
                  "bytes": 22290,
                  "sha256": "d77e9345bed339058d994e3f776618a5830f4969079b8187379f051588c231c0"
                },
                "users": {
                  "bytes": 6903,
                  "sha256": "c431ab82e86600296bb43bde1ffb76cae1e548f2eee20c673ad8402657b98e61"
                }
              },
              "contentType": "application/zip"
            }
          ]
        }
      },
      "100k": {
        "rows": 305672,
        "counts": {
          "aircraft_models": 8,
          "cabins": 4,
          "baggage_rules": 4,
          "countries": 12,
          "airlines": 6,
          "aircrafts": 60,
          "cities": 40,
          "airports": 40,
          "airport_terminals": 80,
          "crews": 400,
          "flights": 300,
          "flight_instances": 1000,
          "flight_crews": 2000,
          "flight_delays": 100,
          "flight_schedules": 300,
          "frequent_flyer_programs": 6,
          "gates": 400,
          "meals": 8,
          "passengers": 12000,
          "frequent_flyer_members": 2000,
          "promotions": 4,
          "seat_pricing": 3000,
          "seats": 14400,
          "users": 6000,
          "bookings": 35000,
          "payments": 35000,
          "refunds": 500,
          "tickets": 70000,
          "ticket_flights": 100000,
          "baggage": 8000,
          "boarding_passes": 12000,
          "meal_bookings": 3000
        },
        "notes": [],
        "downloads": [
          {
            "format": "sql-postgres",
            "label": "PostgreSQL",
            "file": "flagship/100k/postgres.sql.gz",
            "key": "datasets/airline-sample-database/v1/flagship/100k/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/flagship/100k/postgres.sql.gz",
            "bytes": 4751714,
            "sha256": "a61c99d6a204a3ecf953ce98fc05eb6cc052319380db4507085b8ea992d9f97e",
            "raw": {
              "bytes": 16119791,
              "sha256": "c4b99aac6e830ff47746a44255bf9c284bc20faa09665d907b1c465a39c1e140"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/100k/mysql.sql.gz",
            "key": "datasets/airline-sample-database/v1/flagship/100k/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/flagship/100k/mysql.sql.gz",
            "bytes": 4750145,
            "sha256": "fcdfec2c73a4db7650e064d91eca4fe177eb9100afe96977cbc7252874667d99",
            "raw": {
              "bytes": 16116660,
              "sha256": "1f7105d67b8e33d08244cf90566fdf4499371b8f3f0b648f8158524b10e84ecb"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/100k/sqlite.sql.gz",
            "key": "datasets/airline-sample-database/v1/flagship/100k/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/flagship/100k/sqlite.sql.gz",
            "bytes": 4749308,
            "sha256": "df8a329415ca83a9b1f1989bfbf33d959ea9f48b9e144b3a756f76917c384afd",
            "raw": {
              "bytes": 16114012,
              "sha256": "66c3aefef2ba770773963c21901b9d95f3ac8e4548a80d9b2b6cc3deb2836f5c"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/100k/csv.zip",
            "key": "datasets/airline-sample-database/v1/flagship/100k/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/flagship/100k/csv.zip",
            "bytes": 4712856,
            "sha256": "f13d13a697773d16ca1757a3a459e2238b6aa932807ea56d989b27f3a4844bee",
            "tables": {
              "aircraft_models": {
                "bytes": 214,
                "sha256": "1cc1c0678757c55f2c536990e051e4c75a14fabdf3e8c6f47f2fd1fc7cb5dd86"
              },
              "aircrafts": {
                "bytes": 1604,
                "sha256": "8f1b9ee2958b3b136505a8dba6a7cbc4877ae01a7d3de96654a9c346f0897e28"
              },
              "airlines": {
                "bytes": 171,
                "sha256": "11ef3f8b8d38b43e10529c1e644d51cf9f055db6b1a9c14b37a178ef1d361de7"
              },
              "airport_terminals": {
                "bytes": 1467,
                "sha256": "dd4703936be4524a074008ae13679000c5897d63cde96d723dd1ae67ff378868"
              },
              "airports": {
                "bytes": 1437,
                "sha256": "676f87ed545138a43bda8a580e1f691a17a1177ed3ac5d3005b391c0a50b4682"
              },
              "baggage": {
                "bytes": 301928,
                "sha256": "3668538a51e83e818e217c328e5a1170888b4090470ad52d3c504fcbd90a2ac8"
              },
              "baggage_rules": {
                "bytes": 122,
                "sha256": "037868c629e47cec5a8c9af2fecf39673f01769f6a4891155d5c25c1195bc781"
              },
              "boarding_passes": {
                "bytes": 472610,
                "sha256": "4cef999de41a88a79b2c9f06c1179a2abc39e5a7dcd5ddfc3b35107294c61fcf"
              },
              "bookings": {
                "bytes": 1753859,
                "sha256": "794c12e7d09ff1563bb4d3345dd18e4c89d61911389fd3cd7475605c260d9355"
              },
              "cabins": {
                "bytes": 79,
                "sha256": "d12aa9e193e4f85be90dfe787cb8ed29d9402de457ac4fb9b0d62f5f017e9aff"
              },
              "cities": {
                "bytes": 580,
                "sha256": "baa9266610bedacb0d6a16c29c891003e151330d6dcca867b1675ca0c6fd5324"
              },
              "countries": {
                "bytes": 212,
                "sha256": "3d2ca343a86fa07478fe4cea579391240a5d10a587a6b047a5abac3e2eca33f9"
              },
              "crews": {
                "bytes": 17808,
                "sha256": "5b0c0869716202ed70d24db9497455266d5274e262be50775437d25031bd0496"
              },
              "flight_crews": {
                "bytes": 41347,
                "sha256": "edb98d6e7168cbda784d0150be104ab522ca2f41820fc488be9935e76554fa80"
              },
              "flight_delays": {
                "bytes": 2624,
                "sha256": "31f29c3e2d3c055ab732d785edff204ca98e4d4bfd86e14703f9b6202932aa4d"
              },
              "flight_instances": {
                "bytes": 59430,
                "sha256": "d3afe7cff4cae43f9fbe27aa17b87883cbb530723dee029d5f09745363da32c7"
              },
              "flight_schedules": {
                "bytes": 10771,
                "sha256": "21ca3bbad00720af47fc009928f22e1ff3d1449695da3b503a63c2909e41130a"
              },
              "flights": {
                "bytes": 5059,
                "sha256": "5551a533880f6a661f96a5f73825fe563893da06dd3ba7103baa4f075822406f"
              },
              "frequent_flyer_members": {
                "bytes": 70575,
                "sha256": "49722b3a5d7b122f88a609ad017e3b5118201f0043dccc75d9b1d153bf1217b1"
              },
              "frequent_flyer_programs": {
                "bytes": 178,
                "sha256": "719c2a67b8d1a4bad8d9b0b8c06d98897dcca7f3d2bd615bf6672521fcafbfc4"
              },
              "gates": {
                "bytes": 4678,
                "sha256": "75c824a5ef30bf319d45b64483b674aff73521bd6987bb87dd8dcf819fb6ad23"
              },
              "meal_bookings": {
                "bytes": 61609,
                "sha256": "138fda8b480dbb0a766a47959e16b6d25eafe088c15e21cf2667b02484f9cd4a"
              },
              "meals": {
                "bytes": 359,
                "sha256": "3926ef499c246bec01b7ffe03423ee9e0c6156a082334d48ad7b857bf33934b1"
              },
              "passengers": {
                "bytes": 539840,
                "sha256": "c4b14a7a92f66ce21c6650f243bb36aac523fa5dadfa5c802dfe815a28b1c4a4"
              },
              "payments": {
                "bytes": 1914137,
                "sha256": "10589c79eb2a0eb71a76e06272e3994708a4da0d1f148379652cd6deb13ecc08"
              },
              "promotions": {
                "bytes": 192,
                "sha256": "ede5f28b4d5a728f01a1675fcf5da4cc97eccb197095efe8ddecd55009e27293"
              },
              "refunds": {
                "bytes": 26287,
                "sha256": "d9c9a8d46ed352d181d919b3923fc57d3f8cf8b07af618dc7ac75b27f5eb20b7"
              },
              "seat_pricing": {
                "bytes": 47327,
                "sha256": "f2bd8e1879db114193b475811a5349f1ba79ff5c92accc3b0bed4e4ce13ceeeb"
              },
              "seats": {
                "bytes": 229500,
                "sha256": "0608993f292d28f9cbf9a9aa635a6bd8c852e8676fdbcab312edf9f67063475c"
              },
              "ticket_flights": {
                "bytes": 2946782,
                "sha256": "d14f8dda0178b2ae803f1b8b84f5def4e8d4d906dc3466cc2d16c8eadd3059f3"
              },
              "tickets": {
                "bytes": 2652371,
                "sha256": "a83030909b33bad257e9f8adf49d5452202bcb35b1c6643aba4ff1923bd25dff"
              },
              "users": {
                "bytes": 715676,
                "sha256": "7c5e9461ca938c9b466b3da608404b2d67b632fdec4ac71cce4812d17758fd48"
              }
            },
            "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": "A route links two airports, and a departure is flown by its airline's aircraft and lands one to ten hours later",
            "violations": 0
          },
          {
            "name": "Every passenger on a departure has a seat of their own, on that aircraft, in the seat's cabin",
            "violations": 0
          },
          {
            "name": "A ticket's price is the sum of its fares, and every ticket and booking has a flight",
            "violations": 0
          },
          {
            "name": "A booking is made one to 120 days before its first departure, and paid within fifteen minutes: its tickets less its promotion",
            "violations": 0
          },
          {
            "name": "A boarding pass names a gate at the departure airport and is scanned fifteen minutes to an hour before take-off",
            "violations": 0
          },
          {
            "name": "A refund is never more than its payment and comes after it",
            "violations": 0
          },
          {
            "name": "No crew member twice on a departure, no cabin priced twice on one, and one membership per programme",
            "violations": 0
          }
        ],
        "dirty": {
          "report": {
            "rates": {
              "missing": 0.03,
              "typos": 0.03,
              "outliers": 0.005,
              "duplicates": 0.01
            },
            "tables": {
              "aircraft_models": {
                "duplicates": 0,
                "columns": {
                  "manufacturer": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "countries": {
                "duplicates": 0,
                "columns": {
                  "iso_code": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "aircrafts": {
                "duplicates": 0,
                "columns": {
                  "registration_number": {
                    "missing": 2,
                    "typos": 1,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "cities": {
                "duplicates": 0,
                "columns": {
                  "name": {
                    "missing": 2,
                    "typos": 2,
                    "outliers": 0
                  }
                }
              },
              "airports": {
                "duplicates": 0,
                "columns": {
                  "iata_code": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "icao_code": {
                    "missing": 4,
                    "typos": 2,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "airport_terminals": {
                "duplicates": 1,
                "columns": {
                  "name": {
                    "missing": 5,
                    "typos": 5,
                    "outliers": 0
                  }
                }
              },
              "crews": {
                "duplicates": 5,
                "columns": {
                  "first_name": {
                    "missing": 7,
                    "typos": 12,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 11,
                    "typos": 14,
                    "outliers": 0
                  },
                  "license_number": {
                    "missing": 11,
                    "typos": 10,
                    "outliers": 0
                  },
                  "role": {
                    "missing": 12,
                    "typos": 9,
                    "outliers": 0
                  }
                }
              },
              "flights": {
                "duplicates": 5,
                "columns": {
                  "flight_number": {
                    "missing": 12,
                    "typos": 4,
                    "outliers": 0
                  }
                }
              },
              "flight_instances": {
                "duplicates": 12,
                "columns": {
                  "arrival_time": {
                    "missing": 31,
                    "typos": 0,
                    "outliers": 0
                  },
                  "departure_time": {
                    "missing": 30,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 30,
                    "typos": 25,
                    "outliers": 0
                  }
                }
              },
              "flight_crews": {
                "duplicates": 20,
                "columns": {
                  "role_assigned": {
                    "missing": 55,
                    "typos": 67,
                    "outliers": 0
                  }
                }
              },
              "flight_delays": {
                "duplicates": 1,
                "columns": {
                  "delay_reason": {
                    "missing": 3,
                    "typos": 1,
                    "outliers": 0
                  },
                  "duration_minutes": {
                    "missing": 6,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "flight_schedules": {
                "duplicates": 2,
                "columns": {
                  "days_of_week": {
                    "missing": 11,
                    "typos": 12,
                    "outliers": 0
                  },
                  "scheduled_arrival": {
                    "missing": 12,
                    "typos": 0,
                    "outliers": 0
                  },
                  "scheduled_departure": {
                    "missing": 6,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "gates": {
                "duplicates": 2,
                "columns": {
                  "name": {
                    "missing": 14,
                    "typos": 8,
                    "outliers": 0
                  }
                }
              },
              "meals": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "passengers": {
                "duplicates": 115,
                "columns": {
                  "date_of_birth": {
                    "missing": 335,
                    "typos": 0,
                    "outliers": 0
                  },
                  "first_name": {
                    "missing": 352,
                    "typos": 333,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 373,
                    "typos": 336,
                    "outliers": 0
                  },
                  "passport_number": {
                    "missing": 342,
                    "typos": 361,
                    "outliers": 0
                  }
                }
              },
              "frequent_flyer_members": {
                "duplicates": 19,
                "columns": {
                  "membership_number": {
                    "missing": 58,
                    "typos": 20,
                    "outliers": 0
                  },
                  "miles_balance": {
                    "missing": 86,
                    "typos": 0,
                    "outliers": 10
                  },
                  "tier_level": {
                    "missing": 64,
                    "typos": 63,
                    "outliers": 0
                  }
                }
              },
              "seat_pricing": {
                "duplicates": 21,
                "columns": {
                  "base_price": {
                    "missing": 90,
                    "typos": 0,
                    "outliers": 24
                  }
                }
              },
              "seats": {
                "duplicates": 145,
                "columns": {
                  "letter": {
                    "missing": 434,
                    "typos": 457,
                    "outliers": 0
                  },
                  "row_number": {
                    "missing": 453,
                    "typos": 0,
                    "outliers": 70
                  }
                }
              },
              "users": {
                "duplicates": 67,
                "columns": {
                  "email": {
                    "missing": 185,
                    "typos": 176,
                    "outliers": 0
                  },
                  "password_hash": {
                    "missing": 169,
                    "typos": 184,
                    "outliers": 0
                  },
                  "phone_number": {
                    "missing": 210,
                    "typos": 50,
                    "outliers": 0
                  },
                  "registration_date": {
                    "missing": 160,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "bookings": {
                "duplicates": 344,
                "columns": {
                  "booking_date": {
                    "missing": 1061,
                    "typos": 0,
                    "outliers": 0
                  },
                  "booking_reference": {
                    "missing": 1071,
                    "typos": 1039,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 1092,
                    "typos": 1054,
                    "outliers": 0
                  }
                }
              },
              "payments": {
                "duplicates": 350,
                "columns": {
                  "amount": {
                    "missing": 1061,
                    "typos": 0,
                    "outliers": 178
                  },
                  "payment_date": {
                    "missing": 1047,
                    "typos": 0,
                    "outliers": 0
                  },
                  "payment_method": {
                    "missing": 1085,
                    "typos": 991,
                    "outliers": 0
                  },
                  "transaction_status": {
                    "missing": 1049,
                    "typos": 1060,
                    "outliers": 0
                  }
                }
              },
              "refunds": {
                "duplicates": 2,
                "columns": {
                  "amount": {
                    "missing": 16,
                    "typos": 0,
                    "outliers": 5
                  },
                  "reason": {
                    "missing": 11,
                    "typos": 11,
                    "outliers": 0
                  },
                  "refund_date": {
                    "missing": 15,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "tickets": {
                "duplicates": 677,
                "columns": {
                  "ticket_number": {
                    "missing": 2170,
                    "typos": 697,
                    "outliers": 0
                  },
                  "total_price": {
                    "missing": 2053,
                    "typos": 0,
                    "outliers": 326
                  }
                }
              },
              "ticket_flights": {
                "duplicates": 976,
                "columns": {
                  "fare": {
                    "missing": 2882,
                    "typos": 0,
                    "outliers": 496
                  }
                }
              },
              "baggage": {
                "duplicates": 78,
                "columns": {
                  "status": {
                    "missing": 272,
                    "typos": 201,
                    "outliers": 0
                  },
                  "tag_number": {
                    "missing": 250,
                    "typos": 86,
                    "outliers": 0
                  },
                  "weight": {
                    "missing": 250,
                    "typos": 0,
                    "outliers": 39
                  }
                }
              },
              "boarding_passes": {
                "duplicates": 104,
                "columns": {
                  "boarding_time": {
                    "missing": 338,
                    "typos": 0,
                    "outliers": 0
                  },
                  "sequence_number": {
                    "missing": 389,
                    "typos": 0,
                    "outliers": 66
                  }
                }
              },
              "meal_bookings": {
                "duplicates": 31,
                "columns": {
                  "status": {
                    "missing": 110,
                    "typos": 82,
                    "outliers": 0
                  }
                }
              }
            },
            "totals": {
              "missing": 19802,
              "typos": 7377,
              "outliers": 1214,
              "duplicates": 2977
            }
          },
          "downloads": [
            {
              "format": "dirty-sql-postgres",
              "label": "PostgreSQL, with faults",
              "file": "flagship/100k/dirty-postgres.sql.gz",
              "key": "datasets/airline-sample-database/v1/flagship/100k/dirty-postgres.sql.gz",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/flagship/100k/dirty-postgres.sql.gz",
              "bytes": 4789112,
              "sha256": "a2b71ad80bf0bc0d67463abebe1b3b10c1e739eb13eef1d41a0889223c3c1998",
              "raw": {
                "bytes": 16148824,
                "sha256": "57c63b97975b0ba64e9e3cf88cad1f5e7533186145b2a5b313262d4f6306fc50"
              },
              "contentType": "application/gzip"
            },
            {
              "format": "dirty-csv",
              "label": "CSV, with faults",
              "file": "flagship/100k/dirty-csv.zip",
              "key": "datasets/airline-sample-database/v1/flagship/100k/dirty-csv.zip",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/flagship/100k/dirty-csv.zip",
              "bytes": 4737665,
              "sha256": "f33e6d2c77fa22d8b8c1aafa227ab08c72e301eba53a070efc880327567b030e",
              "tables": {
                "aircraft_models": {
                  "bytes": 211,
                  "sha256": "6629b54ded3309a79a3e6e7eb77bc6da273626bf16dbd32ac9b26381bc7ac1d3"
                },
                "aircrafts": {
                  "bytes": 1595,
                  "sha256": "9bc048cf3d23a31d7f0b8364b2e38b5e1a74abe154e9782b371f489bd9574db2"
                },
                "airlines": {
                  "bytes": 171,
                  "sha256": "11ef3f8b8d38b43e10529c1e644d51cf9f055db6b1a9c14b37a178ef1d361de7"
                },
                "airport_terminals": {
                  "bytes": 1441,
                  "sha256": "9dd6fb2fdf56007f3928a671eafc128308e10d25e8e28c110c1c631c7ae58904"
                },
                "airports": {
                  "bytes": 1421,
                  "sha256": "3fd07f61b1f8791516c7a9543a0572e66871998e3886330d279cd5c49250afbb"
                },
                "baggage": {
                  "bytes": 299388,
                  "sha256": "39c3f22dbf9c3708ce50c56b2681e897afbe4c3f3dd7b8536ab2d63f27502596"
                },
                "baggage_rules": {
                  "bytes": 122,
                  "sha256": "037868c629e47cec5a8c9af2fecf39673f01769f6a4891155d5c25c1195bc781"
                },
                "boarding_passes": {
                  "bytes": 469368,
                  "sha256": "330c71e8d47f8aa4a042d55dc72280a7f96452169d835eb82f59b2321c397029"
                },
                "bookings": {
                  "bytes": 1736555,
                  "sha256": "7ce1ba470a69b59992b090c70b9c1be5123c1b692094ad28481bdf13be464480"
                },
                "cabins": {
                  "bytes": 79,
                  "sha256": "d12aa9e193e4f85be90dfe787cb8ed29d9402de457ac4fb9b0d62f5f017e9aff"
                },
                "cities": {
                  "bytes": 575,
                  "sha256": "6bd124feb21ab1881574b36dc2dca01d1f04e80058efedf848bf39c11cbd640d"
                },
                "countries": {
                  "bytes": 204,
                  "sha256": "4a196bc3bb86c9866b918bf086db045b103c6307f4e09ca553bb76e777b4bb97"
                },
                "crews": {
                  "bytes": 17666,
                  "sha256": "c12779f754c3186f1a2cc166504e4a0b2994fb41bae585cbe9324ae50ce8fe32"
                },
                "flight_crews": {
                  "bytes": 41531,
                  "sha256": "210f73c1baefe27d2b3e835a830b2e49f0eee575c6127eba9987ae6b40af6301"
                },
                "flight_delays": {
                  "bytes": 2608,
                  "sha256": "e0750abe3a765c5d7de09ee6086b3d9da1115e1393579063f64be3fe7f927edc"
                },
                "flight_instances": {
                  "bytes": 58781,
                  "sha256": "62ea3b344a76265390e00da1f5b69cc2887b74557de3b32fafc61165412878eb"
                },
                "flight_schedules": {
                  "bytes": 10629,
                  "sha256": "e3ad538bcf0ebb33bdbb9fd87d4af9d9b11a573e93c287ced555c15e51b799c6"
                },
                "flights": {
                  "bytes": 5105,
                  "sha256": "bb0e1c7642faafe33e1efb09b3f449dafb2656a8433a9dce9e85975369f35fa4"
                },
                "frequent_flyer_members": {
                  "bytes": 70078,
                  "sha256": "31a442dbdf5eed15089dfeba6e1dae9bae2c1858fac08d0091ab00582cdc4798"
                },
                "frequent_flyer_programs": {
                  "bytes": 178,
                  "sha256": "719c2a67b8d1a4bad8d9b0b8c06d98897dcca7f3d2bd615bf6672521fcafbfc4"
                },
                "gates": {
                  "bytes": 4678,
                  "sha256": "6bc6fb85d5ae50c7475b43bc9fa37587fbaf376b170b45593233eeb0fc5291ec"
                },
                "meal_bookings": {
                  "bytes": 61677,
                  "sha256": "bb2767df8d260d7ca4d30ad364945065bca03c7512193dda0999e2ee9b0362fe"
                },
                "meals": {
                  "bytes": 346,
                  "sha256": "6358779dae3f46e0f00601bb0ecf82bb82f4f4b458d381834c457d45b6dae3af"
                },
                "passengers": {
                  "bytes": 534586,
                  "sha256": "2bd5efc0a34fbde3dbe356a5e0114eb0792fd77b173b581099c93fb75d2c390f"
                },
                "payments": {
                  "bytes": 1895044,
                  "sha256": "5b24a98ed886485d3529432d8f2cb05d85075a2b82d1fa4592a2b1f40ba0e8cf"
                },
                "promotions": {
                  "bytes": 192,
                  "sha256": "ede5f28b4d5a728f01a1675fcf5da4cc97eccb197095efe8ddecd55009e27293"
                },
                "refunds": {
                  "bytes": 25854,
                  "sha256": "1b9478b0bce2b81ff00b8572f150c7feb496cdcbb32d7fc5598c777319ae61be"
                },
                "seat_pricing": {
                  "bytes": 47397,
                  "sha256": "675a608ba998493b08165a6b81176d97579f1fa540b22c777f4ed13df427d140"
                },
                "seats": {
                  "bytes": 231386,
                  "sha256": "d600b987533717b5cfcd96afe09e6fc9e7b62a348f33cc9a26d036f33e175f48"
                },
                "ticket_flights": {
                  "bytes": 2963198,
                  "sha256": "e9aa41984ace375ab9479a6938954d5c1ab8660dcdd179142a3c3a07a8478c70"
                },
                "tickets": {
                  "bytes": 2640060,
                  "sha256": "424cd3a9ae2a4bfd8ba6f5b3557bcce4c53b57e61b4a088228751d9f1193607f"
                },
                "users": {
                  "bytes": 704597,
                  "sha256": "7d71cb630c948aa0ccb4276e35d6f222ecbdce50b158848e3b673de0096ed675"
                }
              },
              "contentType": "application/zip"
            }
          ]
        }
      },
      "1m": {
        "rows": 2912072,
        "counts": {
          "aircraft_models": 8,
          "cabins": 4,
          "baggage_rules": 4,
          "countries": 12,
          "airlines": 6,
          "aircrafts": 60,
          "cities": 40,
          "airports": 40,
          "airport_terminals": 80,
          "crews": 400,
          "flights": 300,
          "flight_instances": 10000,
          "flight_crews": 20000,
          "flight_delays": 1000,
          "flight_schedules": 300,
          "frequent_flyer_programs": 6,
          "gates": 400,
          "meals": 8,
          "passengers": 120000,
          "frequent_flyer_members": 20000,
          "promotions": 4,
          "seat_pricing": 30000,
          "seats": 14400,
          "users": 60000,
          "bookings": 350000,
          "payments": 350000,
          "refunds": 5000,
          "tickets": 700000,
          "ticket_flights": 1000000,
          "baggage": 80000,
          "boarding_passes": 120000,
          "meal_bookings": 30000
        },
        "notes": [],
        "downloads": [
          {
            "format": "sql-postgres",
            "label": "PostgreSQL",
            "file": "flagship/1m/postgres.sql.gz",
            "key": "datasets/airline-sample-database/v1/flagship/1m/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/flagship/1m/postgres.sql.gz",
            "bytes": 48917891,
            "sha256": "c6964ebffabd5f264f7dfd027304eed66167c9c1d88f3087b78538fa7defb3ae",
            "raw": {
              "bytes": 163979004,
              "sha256": "6435c7024ae5063b68f0daca3feff3c72fc23b8cad8e78995db59d3e70cc5180"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/1m/mysql.sql.gz",
            "key": "datasets/airline-sample-database/v1/flagship/1m/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/flagship/1m/mysql.sql.gz",
            "bytes": 48916060,
            "sha256": "7d76dc3962f740ae77b853a8f2b6855b489a8f27c3c86eebcde9e8372aafff0e",
            "raw": {
              "bytes": 163975873,
              "sha256": "67dadbc47ea976e0f7d72b299a7a015ce09fab0a9ca531edd5cae21c4834f787"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/1m/sqlite.sql.gz",
            "key": "datasets/airline-sample-database/v1/flagship/1m/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/flagship/1m/sqlite.sql.gz",
            "bytes": 48915247,
            "sha256": "026fb15a5f02ccc9d8118ab8140f093d6e1d942e7d5ed555acc4d718a013076f",
            "raw": {
              "bytes": 163973225,
              "sha256": "aa5191fa287d6a0200b2874e5600d4b8e85c6bcdb90defda83ac1b39ab40e28f"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/1m/csv.zip",
            "key": "datasets/airline-sample-database/v1/flagship/1m/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/airline-sample-database/v1/flagship/1m/csv.zip",
            "bytes": 48959092,
            "sha256": "bbcc5f2a9c9c109d93cbf4597ada87af46df16e70ac5bf257dd248ee2f7feac7",
            "tables": {
              "aircraft_models": {
                "bytes": 214,
                "sha256": "1cc1c0678757c55f2c536990e051e4c75a14fabdf3e8c6f47f2fd1fc7cb5dd86"
              },
              "aircrafts": {
                "bytes": 1605,
                "sha256": "85630602aa9e6e6de08b52156fc543e23a3aad3088d74dcc7a507a139e7a98e3"
              },
              "airlines": {
                "bytes": 171,
                "sha256": "11ef3f8b8d38b43e10529c1e644d51cf9f055db6b1a9c14b37a178ef1d361de7"
              },
              "airport_terminals": {
                "bytes": 1466,
                "sha256": "f508cad3f04d565820d15a22f23a5505bef77e378eefa80eb5036749f75284e2"
              },
              "airports": {
                "bytes": 1437,
                "sha256": "676f87ed545138a43bda8a580e1f691a17a1177ed3ac5d3005b391c0a50b4682"
              },
              "baggage": {
                "bytes": 3178383,
                "sha256": "e9b2c662aee9b844f2a947861068e1eac480bb4f342152f25d6f794807bee007"
              },
              "baggage_rules": {
                "bytes": 122,
                "sha256": "037868c629e47cec5a8c9af2fecf39673f01769f6a4891155d5c25c1195bc781"
              },
              "boarding_passes": {
                "bytes": 4955858,
                "sha256": "171faa48cbc9e2084caabff588e7967651f107ccdcade1f987589b15447b03d5"
              },
              "bookings": {
                "bytes": 18232841,
                "sha256": "d9d0550d60e0ea41dad4c44ae41fe1af76e4760299fcee45e7df7caa1d97d67c"
              },
              "cabins": {
                "bytes": 79,
                "sha256": "d12aa9e193e4f85be90dfe787cb8ed29d9402de457ac4fb9b0d62f5f017e9aff"
              },
              "cities": {
                "bytes": 580,
                "sha256": "baa9266610bedacb0d6a16c29c891003e151330d6dcca867b1675ca0c6fd5324"
              },
              "countries": {
                "bytes": 212,
                "sha256": "3d2ca343a86fa07478fe4cea579391240a5d10a587a6b047a5abac3e2eca33f9"
              },
              "crews": {
                "bytes": 17351,
                "sha256": "519b6a07653ed20b308a84d4d645424da1e5b7bbe03d8dc3fbcd6d4b6addbaa1"
              },
              "flight_crews": {
                "bytes": 453298,
                "sha256": "b89a1e06de95572394e7fa5ad66134de7569071be829a0f6ab4cf71083f04f0d"
              },
              "flight_delays": {
                "bytes": 27437,
                "sha256": "a71d5d4b42246edd597f9d05fa10a989f050982854277f27af26dfd9ae60b413"
              },
              "flight_instances": {
                "bytes": 603930,
                "sha256": "03a4dc3bcf706bf27fc25b9fc7e824c88739f03b53c83d27df638ecc6e7b0baa"
              },
              "flight_schedules": {
                "bytes": 10703,
                "sha256": "acfca171d7983e29be4992043b3f95b1786ee862e2df5a43056679c7295104da"
              },
              "flights": {
                "bytes": 5067,
                "sha256": "0b5050c9ac0a0f2be2305707ffd9cc3b21953c91392d11ae0f608497512bd56e"
              },
              "frequent_flyer_members": {
                "bytes": 745767,
                "sha256": "540b5a12e81ce1ce2501acf21adad65ae9e2841b0359efb9ca0da8da0f5bea1d"
              },
              "frequent_flyer_programs": {
                "bytes": 178,
                "sha256": "719c2a67b8d1a4bad8d9b0b8c06d98897dcca7f3d2bd615bf6672521fcafbfc4"
              },
              "gates": {
                "bytes": 4673,
                "sha256": "e7a62a4daac13de81c19a9ef520c11b10f949a0b9001aa83d69456a55c18cd38"
              },
              "meal_bookings": {
                "bytes": 675673,
                "sha256": "01bd30e489f4270538ba112c73f5378667742478716e1453fb198cb7682984df"
              },
              "meals": {
                "bytes": 359,
                "sha256": "3926ef499c246bec01b7ffe03423ee9e0c6156a082334d48ad7b857bf33934b1"
              },
              "passengers": {
                "bytes": 5520935,
                "sha256": "fac77e5a3e585d5c5deb9ef854514b361f94ede2d6a8489459685f78564b6226"
              },
              "payments": {
                "bytes": 19839002,
                "sha256": "8fac33fa19ef23c5b645a6aad60bdfd59a402ac5db6b0817fe01d19836f99f08"
              },
              "promotions": {
                "bytes": 192,
                "sha256": "ede5f28b4d5a728f01a1675fcf5da4cc97eccb197095efe8ddecd55009e27293"
              },
              "refunds": {
                "bytes": 270833,
                "sha256": "d13b097abad0ccc078a440e95941ee51ce947aab529100d1a2d4572a4c9a70f5"
              },
              "seat_pricing": {
                "bytes": 533061,
                "sha256": "51e8fbfbab668f8f4551da85719085368ca43885ee6fb4b165df19134ec5c26c"
              },
              "seats": {
                "bytes": 229509,
                "sha256": "b0874083912ffc3602863da75605e0640317e017ffdac9311d0e2a3ed6a80a3c"
              },
              "ticket_flights": {
                "bytes": 32466156,
                "sha256": "84c1ab77805631ac8c6a58c4d88e703db4508b14e2818a81468f40f8e8708741"
              },
              "tickets": {
                "bytes": 28615435,
                "sha256": "0b771dda63e5dcd5b3bdf00e9a1f8f9ca78b6fae3d46a1b1ba7d3a1fcf0b36b1"
              },
              "users": {
                "bytes": 7217005,
                "sha256": "8a94cafecb08553a28abab5c5191702a2dec061118d513d788b9a4fdc883313f"
              }
            },
            "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": "A route links two airports, and a departure is flown by its airline's aircraft and lands one to ten hours later",
            "violations": 0
          },
          {
            "name": "Every passenger on a departure has a seat of their own, on that aircraft, in the seat's cabin",
            "violations": 0
          },
          {
            "name": "A ticket's price is the sum of its fares, and every ticket and booking has a flight",
            "violations": 0
          },
          {
            "name": "A booking is made one to 120 days before its first departure, and paid within fifteen minutes: its tickets less its promotion",
            "violations": 0
          },
          {
            "name": "A boarding pass names a gate at the departure airport and is scanned fifteen minutes to an hour before take-off",
            "violations": 0
          },
          {
            "name": "A refund is never more than its payment and comes after it",
            "violations": 0
          },
          {
            "name": "No crew member twice on a departure, no cabin priced twice on one, and one membership per programme",
            "violations": 0
          }
        ]
      }
    },
    "rules": [
      {
        "name": "A route links two airports, and a departure is flown by its airline's aircraft and lands one to ten hours later",
        "sql": "SELECT (SELECT count(*) FROM flights WHERE departure_airport_id = arrival_airport_id) + (SELECT count(*) FROM flight_instances fi JOIN flights f ON f.id = fi.flight_id JOIN aircrafts ac ON ac.id = fi.aircraft_id WHERE ac.airline_id <> f.airline_id OR fi.arrival_time < fi.departure_time + interval '1 hour' OR fi.arrival_time > fi.departure_time + interval '10 hours') AS violations"
      },
      {
        "name": "Every passenger on a departure has a seat of their own, on that aircraft, in the seat's cabin",
        "sql": "SELECT (SELECT count(*) - count(DISTINCT (flight_instance_id, seat_id)) FROM ticket_flights) + (SELECT count(*) FROM ticket_flights tf JOIN flight_instances fi ON fi.id = tf.flight_instance_id JOIN seats s ON s.id = tf.seat_id WHERE s.aircraft_id <> fi.aircraft_id OR s.cabin_id <> tf.cabin_id) AS violations"
      },
      {
        "name": "A ticket's price is the sum of its fares, and every ticket and booking has a flight",
        "sql": "SELECT (SELECT count(*) FROM tickets t LEFT JOIN (SELECT ticket_id, sum(fare) AS fares FROM ticket_flights GROUP BY ticket_id) x ON x.ticket_id = t.id WHERE x.fares IS NULL OR t.total_price <> x.fares) + (SELECT count(*) FROM bookings b LEFT JOIN (SELECT DISTINCT booking_id FROM tickets) t ON t.booking_id = b.id WHERE t.booking_id IS NULL) AS violations"
      },
      {
        "name": "A booking is made one to 120 days before its first departure, and paid within fifteen minutes: its tickets less its promotion",
        "sql": "SELECT (SELECT count(*) FROM bookings b JOIN (SELECT t.booking_id, min(fi.departure_time) AS first_departure FROM tickets t JOIN ticket_flights tf ON tf.ticket_id = t.id JOIN flight_instances fi ON fi.id = tf.flight_instance_id GROUP BY t.booking_id) x ON x.booking_id = b.id WHERE b.booking_date > x.first_departure - interval '1 day' OR b.booking_date < x.first_departure - interval '120 days') + (SELECT count(*) FROM payments p JOIN bookings b ON b.id = p.booking_id JOIN promotions pr ON pr.id = b.promotion_id JOIN (SELECT booking_id, sum(total_price) AS tickets FROM tickets GROUP BY booking_id) t ON t.booking_id = b.id WHERE p.amount <> round(t.tickets * (100 - pr.discount_percentage) / 100.0, 2) OR p.payment_date < b.booking_date OR p.payment_date > b.booking_date + interval '15 minutes') AS violations"
      },
      {
        "name": "A boarding pass names a gate at the departure airport and is scanned fifteen minutes to an hour before take-off",
        "sql": "SELECT count(*) AS violations FROM boarding_passes bp JOIN ticket_flights tf ON tf.id = bp.ticket_flight_id JOIN flight_instances fi ON fi.id = tf.flight_instance_id JOIN flights f ON f.id = fi.flight_id JOIN gates g ON g.id = bp.gate_id JOIN airport_terminals at ON at.id = g.terminal_id WHERE at.airport_id <> f.departure_airport_id OR bp.boarding_time > fi.departure_time - interval '15 minutes' OR bp.boarding_time < fi.departure_time - interval '1 hour'"
      },
      {
        "name": "A refund is never more than its payment and comes after it",
        "sql": "SELECT count(*) AS violations FROM refunds r JOIN payments p ON p.id = r.payment_id WHERE r.amount > p.amount OR r.refund_date <= p.payment_date"
      },
      {
        "name": "No crew member twice on a departure, no cabin priced twice on one, and one membership per programme",
        "sql": "SELECT (SELECT count(*) - count(DISTINCT (flight_instance_id, crew_id)) FROM flight_crews) + (SELECT count(*) - count(DISTINCT (flight_instance_id, cabin_id)) FROM seat_pricing) + (SELECT count(*) - count(DISTINCT (program_id, passenger_id)) FROM frequent_flyer_members) AS violations"
      }
    ]
  },
  "publishedAt": 1791377614720,
  "updatedAt": 1791377614720
}
