{
  "format": "dataset-manifest/1",
  "slug": "cinema-sample-database",
  "version": 1,
  "seed": "flagship:cinema-sample-database:1k",
  "engine": 2,
  "engineVersion": "1.0.0",
  "spec": {
    "format": "dataset/1",
    "engine": 2,
    "slug": "cinema-sample-database",
    "name": "Cinema sample database",
    "tagline": "Theaters, screens and numbered seats, films and showtimes, ticket orders with concessions, promotions and refunds.",
    "description": "Three cinema chains with twelve theaters in eight US cities, from mid-2023 to the end of 2025: screens with numbered seats in lettered rows, a hundred and twenty films and their showtimes, and customers buying tickets and snacks. A ticket is for a seat on its show’s own screen, and no seat is sold twice for one show; every ticket of an order is for the same show. A ticket costs the show’s base price times its seat type’s factor, and an order is its tickets and concessions less its promotion’s percentage, charged in one transaction. A film plays from its release for up to eight weeks, a show runs at least ten minutes longer than its film, and a ticket is bought ten minutes to two weeks before the lights go down.",
    "domain": "media",
    "shape": "transactional",
    "useCases": [
      "sql-practice",
      "analytics-demo",
      "test-fixtures"
    ],
    "keywords": [
      "cinema",
      "movie tickets",
      "showtimes",
      "seats",
      "sample database"
    ],
    "locale": "en_US",
    "license": "CC0-1.0",
    "version": 1,
    "seed": "flagship:cinema-sample-database",
    "tables": {
      "addresses": {
        "description": "Rows for the addresses table.",
        "rows": 12,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "building_number": {
            "kind": "location.buildingNumber"
          },
          "city_id": {
            "kind": "fk",
            "ref": "cities.id",
            "skew": "flat"
          },
          "latitude": {
            "kind": "decimal",
            "min": 0,
            "max": 48,
            "scale": 4
          },
          "longitude": {
            "kind": "decimal",
            "min": -123,
            "max": 0,
            "scale": 4
          },
          "street": {
            "kind": "location.street"
          }
        }
      },
      "chains": {
        "description": "Rows for the chains table.",
        "rows": 3,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "logo_url": {
            "kind": "pattern",
            "pattern": "[https://cdn.example.com/logos/]xxxxxxxx[.png]"
          },
          "name": {
            "kind": "enum",
            "values": [
              "Starlight Cinemas",
              "Marquee Theaters",
              "Reel House"
            ],
            "unique": true
          },
          "website_url": {
            "kind": "internet.url"
          }
        }
      },
      "cities": {
        "description": "Rows for the cities table.",
        "rows": 8,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "country_id": {
            "kind": "fk",
            "ref": "countries.id"
          },
          "name": {
            "kind": "enum",
            "values": [
              "Seattle",
              "Portland",
              "Denver",
              "Minneapolis",
              "Atlanta",
              "Boston",
              "Nashville",
              "Columbus"
            ],
            "unique": true
          },
          "postal_code": {
            "kind": "enum",
            "values": [
              "98101",
              "97204",
              "80202",
              "55402",
              "30303",
              "02108",
              "37203",
              "43215"
            ],
            "unique": true
          }
        }
      },
      "concession_items": {
        "description": "Rows for the concession_items table.",
        "rows": 15,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "category": {
            "kind": "enum",
            "values": [
              "Bar",
              "Candy",
              "Combos",
              "Drinks",
              "Snacks"
            ]
          },
          "description": {
            "kind": "enum",
            "values": [
              "Made fresh",
              "Fan favourite",
              "Great for sharing",
              "Ask about refills"
            ]
          },
          "image_url": {
            "kind": "pattern",
            "pattern": "[https://cdn.example.com/menu/]xxxxxxxx[.jpg]"
          },
          "name": {
            "kind": "enum",
            "values": [
              "Small popcorn",
              "Medium popcorn",
              "Large popcorn",
              "Nachos",
              "Hot dog",
              "Pretzel bites",
              "Candy box",
              "Chocolate bar",
              "Small soda",
              "Large soda",
              "Bottled water",
              "Iced coffee",
              "Beer",
              "Glass of wine",
              "Combo: large popcorn and two sodas"
            ],
            "unique": true
          },
          "price": {
            "kind": "decimal",
            "min": 3,
            "max": 20,
            "scale": 2
          }
        }
      },
      "content_ratings": {
        "description": "Rows for the content_ratings table.",
        "rows": 5,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "description": {
            "kind": "enum",
            "values": [
              "General audiences",
              "Parental guidance suggested",
              "Parents strongly cautioned",
              "Restricted",
              "Adults only"
            ],
            "unique": true
          },
          "minimum_age": {
            "kind": "int",
            "min": 0,
            "max": 18
          },
          "rating_code": {
            "kind": "enum",
            "values": [
              "G",
              "PG",
              "PG-13",
              "R",
              "NC-17"
            ],
            "unique": true
          }
        }
      },
      "countries": {
        "description": "Rows for the countries table.",
        "rows": 1,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "currency": {
            "kind": "enum",
            "values": [
              "USD"
            ]
          },
          "iso_code": {
            "kind": "enum",
            "values": [
              "US"
            ]
          },
          "name": {
            "kind": "enum",
            "values": [
              "United States"
            ]
          }
        }
      },
      "device_tokens": {
        "description": "Rows for the device_tokens table.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "device_type": {
            "kind": "enum",
            "values": [
              "ios",
              "android",
              "web"
            ],
            "weights": [
              45,
              40,
              15
            ]
          },
          "last_used_at": {
            "kind": "datetime",
            "from": "2025-01-01",
            "to": "2025-12-31"
          },
          "token": {
            "kind": "pattern",
            "pattern": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            "unique": true
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "flat"
          }
        }
      },
      "facilities": {
        "description": "Rows for the facilities table.",
        "rows": 8,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "description": {
            "kind": "enum",
            "values": [
              "Large-format screen",
              "Object-based surround sound",
              "Power reclining seats",
              "3D projection",
              "Beer, wine and cocktails",
              "On-site parking",
              "Step-free access and spaces",
              "Games in the lobby"
            ],
            "unique": true
          },
          "name": {
            "kind": "enum",
            "values": [
              "IMAX",
              "Dolby Atmos",
              "Recliners",
              "3D",
              "Bar",
              "Free parking",
              "Wheelchair access",
              "Arcade"
            ],
            "unique": true
          }
        }
      },
      "genres": {
        "description": "Rows for the genres table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "description": {
            "kind": "enum",
            "values": [
              "Chases, fights and stunts",
              "Made to make you laugh",
              "Character-driven stories",
              "Made to frighten",
              "Futures and other worlds",
              "Drawn or computer-animated",
              "Suspense and danger",
              "Love stories",
              "True stories",
              "For all ages"
            ],
            "unique": true
          },
          "name": {
            "kind": "enum",
            "values": [
              "Action",
              "Comedy",
              "Drama",
              "Horror",
              "Science fiction",
              "Animation",
              "Thriller",
              "Romance",
              "Documentary",
              "Family"
            ],
            "unique": true
          }
        }
      },
      "movie_crews": {
        "description": "Rows for the movie_crews table.",
        "rows": 1200,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "character_name": {
            "kind": "person.fullName"
          },
          "movie_id": {
            "kind": "fk",
            "ref": "movies.id",
            "skew": "flat"
          },
          "person_id": {
            "kind": "fk",
            "ref": "people.id"
          },
          "role": {
            "kind": "enum",
            "values": [
              "Actor"
            ]
          }
        }
      },
      "movie_genres": {
        "description": "Rows for the movie_genres table.",
        "rows": 220,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "genre_id": {
            "kind": "fk",
            "ref": "genres.id",
            "skew": "flat"
          },
          "movie_id": {
            "kind": "fk",
            "ref": "movies.id",
            "skew": "flat"
          }
        }
      },
      "movies": {
        "description": "Rows for the movies table.",
        "rows": 120,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "content_rating_id": {
            "kind": "fk",
            "ref": "content_ratings.id",
            "weights": [
              8,
              22,
              40,
              27,
              3
            ]
          },
          "duration_minutes": {
            "kind": "int",
            "min": 85,
            "max": 150,
            "distribution": "normal"
          },
          "language": {
            "kind": "enum",
            "values": [
              "English",
              "Spanish",
              "French",
              "Korean",
              "Japanese",
              "Hindi"
            ],
            "weights": [
              80,
              5,
              4,
              4,
              4,
              3
            ]
          },
          "original_title": {
            "kind": "enum",
            "values": [
              "La sombra del puerto",
              "Le dernier signal",
              "Bam-ui jeong-won",
              "Yoru no eki",
              "Raat ki roshni"
            ],
            "nullable": true,
            "nullRate": 0.85
          },
          "poster_url": {
            "kind": "pattern",
            "pattern": "[https://cdn.example.com/posters/]xxxxxxxxxx[.jpg]"
          },
          "release_date": {
            "kind": "date",
            "from": "2023-05-01",
            "to": "2025-11-30"
          },
          "synopsis": {
            "kind": "enum",
            "values": [
              "A heist goes wrong",
              "Two strangers on a long journey",
              "A family secret comes out",
              "The last mission before retirement",
              "A small town meets something it cannot explain",
              "A comeback against the odds"
            ]
          },
          "title": {
            "kind": "book.title",
            "unique": true
          },
          "trailer_url": {
            "kind": "pattern",
            "pattern": "[https://video.example.com/trailers/]xxxxxxxxxx"
          }
        }
      },
      "notifications": {
        "description": "Rows for the notifications table.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "is_read": {
            "kind": "bool",
            "trueRate": 0.7
          },
          "message": {
            "kind": "enum",
            "values": [
              "Your tickets are in the app",
              "A film you saved is now showing",
              "Your show starts in one hour",
              "Your refund is on its way"
            ]
          },
          "sent_at": {
            "kind": "datetime",
            "from": "2023-05-01",
            "to": "2025-12-31"
          },
          "title": {
            "kind": "enum",
            "values": [
              "Your tickets",
              "Now showing",
              "Show reminder",
              "Refund processed"
            ]
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id"
          }
        }
      },
      "order_concessions": {
        "description": "Rows for the order_concessions table.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "concession_item_id": {
            "kind": "fk",
            "ref": "concession_items.id",
            "weights": [
              10,
              18,
              12,
              8,
              7,
              5,
              9,
              6,
              9,
              10,
              6,
              4,
              3,
              2,
              8
            ]
          },
          "order_id": {
            "kind": "fk",
            "ref": "orders.id",
            "skew": "flat"
          },
          "price_at_purchase": {
            "kind": "decimal",
            "min": 0,
            "max": 17,
            "scale": 2
          },
          "quantity": {
            "kind": "int",
            "min": 1,
            "max": 3,
            "distribution": "long-tail"
          }
        }
      },
      "orders": {
        "description": "Rows for the orders table.",
        "rows": 450,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "created_at": {
            "kind": "datetime",
            "from": "2023-04-01",
            "to": "2025-12-31"
          },
          "discount_amount": {
            "kind": "decimal",
            "min": 0,
            "max": 25,
            "scale": 2
          },
          "final_amount": {
            "kind": "decimal",
            "min": 0,
            "max": 122,
            "scale": 2
          },
          "order_status": {
            "kind": "enum",
            "values": [
              "completed"
            ]
          },
          "payment_method_id": {
            "kind": "fk",
            "ref": "payment_methods.id",
            "weights": [
              45,
              20,
              18,
              12,
              5
            ]
          },
          "promotion_id": {
            "kind": "fk",
            "ref": "promotions.id",
            "nullable": true,
            "nullRate": 0.85
          },
          "total_amount": {
            "kind": "decimal",
            "min": 0,
            "max": 122,
            "scale": 2
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id"
          }
        }
      },
      "payment_methods": {
        "description": "Rows for the payment_methods table.",
        "rows": 5,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "name": {
            "kind": "enum",
            "values": [
              "Credit card",
              "Debit card",
              "Apple Pay",
              "Google Pay",
              "Gift card"
            ],
            "unique": true
          },
          "provider": {
            "kind": "enum",
            "values": [
              "Card",
              "Gift card",
              "Wallet"
            ]
          }
        }
      },
      "people": {
        "description": "Rows for the people table.",
        "rows": 600,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "biography": {
            "kind": "enum",
            "values": [
              "Stage actor turned film star",
              "Began in commercials",
              "Award-winning character actor",
              "Former stunt performer",
              "Known for comedy roles"
            ]
          },
          "birth_date": {
            "kind": "date",
            "from": "1945-01-01",
            "to": "2008-12-31"
          },
          "birth_place": {
            "kind": "place.city"
          },
          "first_name": {
            "kind": "person.firstName"
          },
          "last_name": {
            "kind": "person.lastName"
          },
          "profile_picture_url": {
            "kind": "pattern",
            "pattern": "[https://cdn.example.com/people/]xxxxxxxxxx[.jpg]"
          }
        }
      },
      "promotions": {
        "description": "Rows for the promotions table.",
        "rows": 8,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "code": {
            "kind": "enum",
            "values": [
              "MATINEE10",
              "STUDENT15",
              "SENIOR15",
              "TUESDAY20",
              "FAMILY10",
              "MEMBER10",
              "FIRSTFILM25",
              "BIRTHDAY20"
            ],
            "unique": true
          },
          "description": {
            "kind": "enum",
            "values": [
              "Weekday matinee",
              "Student discount",
              "Seniors 65 and over",
              "Discount Tuesday",
              "Family of four",
              "Members",
              "First booking",
              "Birthday month"
            ],
            "unique": true
          },
          "discount_percentage": {
            "kind": "decimal",
            "min": 10,
            "max": 25,
            "scale": 2
          },
          "end_date": {
            "kind": "date",
            "from": "2026-01-31",
            "to": "2026-01-31"
          },
          "start_date": {
            "kind": "date",
            "from": "2023-05-01",
            "to": "2023-05-01"
          }
        }
      },
      "reviews": {
        "description": "Rows for the reviews table.",
        "rows": 20,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "comment": {
            "kind": "enum",
            "values": [
              "Loved it",
              "Better on a big screen",
              "Too long",
              "Great soundtrack",
              "Not for me",
              "Saw it twice"
            ],
            "nullable": true,
            "nullRate": 0.3
          },
          "created_at": {
            "kind": "datetime",
            "from": "2023-05-01",
            "to": "2025-12-31"
          },
          "movie_id": {
            "kind": "fk",
            "ref": "movies.id"
          },
          "rating": {
            "kind": "int",
            "min": 1,
            "max": 5,
            "distribution": "high"
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id"
          }
        }
      },
      "screens": {
        "description": "Rows for the screens table.",
        "rows": 60,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "capacity": {
            "kind": "int",
            "min": 0,
            "max": 400
          },
          "name": {
            "kind": "enum",
            "values": [
              "Screen 1",
              "Screen 2",
              "Screen 3",
              "Screen 4",
              "Screen 5",
              "Screen 6",
              "Screen 7",
              "Screen 8",
              "Screen 9",
              "Screen 10",
              "Screen 11",
              "Screen 12",
              "Screen 13",
              "Screen 14",
              "Screen 15",
              "Screen 16",
              "Screen 17",
              "Screen 18",
              "Screen 19",
              "Screen 20"
            ]
          },
          "screen_type": {
            "kind": "enum",
            "values": [
              "Standard",
              "IMAX",
              "Dolby Cinema",
              "ScreenX"
            ],
            "weights": [
              75,
              10,
              10,
              5
            ]
          },
          "sound_system": {
            "kind": "enum",
            "values": [
              "Dolby 7.1",
              "Dolby Atmos",
              "DTS:X"
            ],
            "weights": [
              55,
              35,
              10
            ]
          },
          "theater_id": {
            "kind": "fk",
            "ref": "theaters.id",
            "skew": "flat"
          }
        }
      },
      "seat_types": {
        "description": "Rows for the seat_types table.",
        "rows": 4,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "base_price_factor": {
            "kind": "decimal",
            "min": 1,
            "max": 1.6,
            "scale": 2
          },
          "description": {
            "kind": "enum",
            "values": [
              "A regular seat",
              "Best view, middle rows",
              "Power recliner with footrest",
              "Wheelchair space with companion seat"
            ],
            "unique": true
          },
          "name": {
            "kind": "enum",
            "values": [
              "Standard",
              "Premium",
              "Recliner",
              "Accessible"
            ],
            "unique": true
          }
        }
      },
      "seats": {
        "description": "Rows for the seats table.",
        "rows": 10800,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "grid_column": {
            "kind": "int",
            "min": 1,
            "max": 400
          },
          "grid_row": {
            "kind": "int",
            "min": 1,
            "max": 20
          },
          "number_label": {
            "kind": "enum",
            "values": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "10",
              "11",
              "12",
              "13",
              "14",
              "15",
              "16",
              "17",
              "18"
            ]
          },
          "row_label": {
            "kind": "enum",
            "values": [
              "A",
              "B",
              "C",
              "D",
              "E",
              "F",
              "G",
              "H",
              "J",
              "K",
              "L",
              "M",
              "N",
              "O",
              "P",
              "Q",
              "R",
              "S"
            ]
          },
          "screen_id": {
            "kind": "fk",
            "ref": "screens.id",
            "skew": "flat"
          },
          "seat_type_id": {
            "kind": "fk",
            "ref": "seat_types.id",
            "weights": [
              70,
              15,
              12,
              3
            ]
          }
        }
      },
      "shows": {
        "description": "Rows for the shows table.",
        "rows": 15,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "audio_language": {
            "kind": "enum",
            "values": [
              "Original"
            ]
          },
          "base_ticket_price": {
            "kind": "decimal",
            "min": 9,
            "max": 16,
            "scale": 2
          },
          "end_time": {
            "kind": "datetime",
            "from": "2023-05-01",
            "to": "2026-01-31"
          },
          "movie_id": {
            "kind": "fk",
            "ref": "movies.id"
          },
          "screen_id": {
            "kind": "fk",
            "ref": "screens.id",
            "skew": "flat"
          },
          "start_time": {
            "kind": "datetime",
            "from": "2023-05-01",
            "to": "2025-12-31",
            "dayProfile": "waking"
          },
          "subtitle_language": {
            "kind": "enum",
            "values": [
              "None",
              "English",
              "Spanish"
            ],
            "weights": [
              80,
              12,
              8
            ]
          }
        }
      },
      "theater_facilities": {
        "description": "Rows for the theater_facilities table.",
        "rows": 40,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "facility_id": {
            "kind": "fk",
            "ref": "facilities.id",
            "skew": "flat"
          },
          "theater_id": {
            "kind": "fk",
            "ref": "theaters.id",
            "skew": "flat"
          }
        }
      },
      "theaters": {
        "description": "Rows for the theaters table.",
        "rows": 12,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "address_id": {
            "kind": "fk",
            "ref": "addresses.id",
            "unique": true
          },
          "chain_id": {
            "kind": "fk",
            "ref": "chains.id",
            "skew": "flat"
          },
          "name": {
            "kind": "enum",
            "values": [
              "Plaza 12",
              "Riverside 8",
              "Uptown 10",
              "Harbor 6",
              "Grand 14",
              "Galleria 9",
              "Westgate 7",
              "Union Station 5",
              "Lakefront 8",
              "Midtown 11",
              "Northgate 6",
              "Old Mill 4"
            ],
            "unique": true
          },
          "phone": {
            "kind": "phone.number"
          }
        }
      },
      "tickets": {
        "description": "Rows for the tickets table.",
        "rows": 1000,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "order_id": {
            "kind": "fk",
            "ref": "orders.id",
            "skew": "flat"
          },
          "price": {
            "kind": "decimal",
            "min": 0,
            "max": 25,
            "scale": 2
          },
          "seat_id": {
            "kind": "fk",
            "ref": "seats.id"
          },
          "show_id": {
            "kind": "fk",
            "ref": "shows.id",
            "skew": "flat"
          }
        }
      },
      "transactions": {
        "description": "Rows for the transactions table.",
        "rows": 450,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "amount": {
            "kind": "decimal",
            "min": 0,
            "max": 122,
            "scale": 2
          },
          "order_id": {
            "kind": "fk",
            "ref": "orders.id",
            "unique": true
          },
          "processed_at": {
            "kind": "datetime",
            "from": "2023-04-01",
            "to": "2025-12-31"
          },
          "status": {
            "kind": "enum",
            "values": [
              "succeeded"
            ]
          },
          "transaction_reference": {
            "kind": "pattern",
            "pattern": "[TX-]AAAA########",
            "unique": true
          }
        }
      },
      "user_favorites": {
        "description": "Rows for the user_favorites table.",
        "rows": 30,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "movie_id": {
            "kind": "fk",
            "ref": "movies.id",
            "skew": "flat"
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "flat"
          }
        }
      },
      "user_refunds": {
        "description": "Rows for the user_refunds table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "amount": {
            "kind": "decimal",
            "min": 0,
            "max": 31,
            "scale": 2
          },
          "order_id": {
            "kind": "fk",
            "ref": "orders.id",
            "unique": true
          },
          "processed_at": {
            "kind": "datetime",
            "from": "2023-04-01",
            "to": "2026-02-28"
          },
          "reason": {
            "kind": "enum",
            "values": [
              "Show cancelled",
              "Bought the wrong time",
              "Could not attend",
              "Projector fault during the show",
              "Charged twice"
            ]
          },
          "requested_at": {
            "kind": "datetime",
            "from": "2023-04-01",
            "to": "2026-01-31"
          },
          "status": {
            "kind": "enum",
            "values": [
              "processed",
              "rejected"
            ],
            "weights": [
              85,
              15
            ]
          }
        }
      },
      "users": {
        "description": "Rows for the users table.",
        "rows": 80,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "created_at": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2025-06-30"
          },
          "email": {
            "kind": "internet.email",
            "from": {
              "firstName": "first_name",
              "lastName": "last_name"
            },
            "unique": true
          },
          "first_name": {
            "kind": "person.firstName"
          },
          "last_name": {
            "kind": "person.lastName"
          },
          "password_hash": {
            "kind": "pattern",
            "pattern": "[$2b$12$]xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
          },
          "phone": {
            "kind": "phone.number"
          }
        }
      }
    }
  },
  "counts": {
    "chains": 3,
    "concession_items": 15,
    "content_ratings": 5,
    "countries": 1,
    "cities": 8,
    "addresses": 12,
    "facilities": 8,
    "genres": 10,
    "movies": 120,
    "movie_genres": 220,
    "payment_methods": 5,
    "people": 600,
    "movie_crews": 1200,
    "promotions": 8,
    "seat_types": 4,
    "theaters": 12,
    "screens": 60,
    "seats": 10800,
    "shows": 15,
    "theater_facilities": 40,
    "users": 80,
    "device_tokens": 50,
    "notifications": 50,
    "orders": 450,
    "order_concessions": 300,
    "reviews": 20,
    "tickets": 1000,
    "transactions": 450,
    "user_favorites": 30,
    "user_refunds": 10
  },
  "artifacts": [
    {
      "file": "csv/chains.csv",
      "format": "csv",
      "table": "chains",
      "key": "datasets/cinema-sample-database/v1/csv/chains.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/chains.csv",
      "bytes": 302,
      "sha256": "3fde29ddecd5276b762b5aef86ee0a8db1bbb8d50f5948b4eb30da92281c8ef9",
      "rows": 3,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/concession_items.csv",
      "format": "csv",
      "table": "concession_items",
      "key": "datasets/cinema-sample-database/v1/csv/concession_items.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/concession_items.csv",
      "bytes": 1313,
      "sha256": "7f744c187b7ff3a7f3ccba85b4ad8e6b0aba8ee844ed4a23c227bb168f6f324c",
      "rows": 15,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/content_ratings.csv",
      "format": "csv",
      "table": "content_ratings",
      "key": "datasets/cinema-sample-database/v1/csv/content_ratings.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/content_ratings.csv",
      "bytes": 183,
      "sha256": "251739db163de04f64b93ac9fb820e7ab673a7929da1126b19564530a1d0e46e",
      "rows": 5,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/countries.csv",
      "format": "csv",
      "table": "countries",
      "key": "datasets/cinema-sample-database/v1/csv/countries.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/countries.csv",
      "bytes": 51,
      "sha256": "2ac1c41ebf4602a03e00e3b8d4b618e712f05973099fe66b549c9b73d409c88b",
      "rows": 1,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/cities.csv",
      "format": "csv",
      "table": "cities",
      "key": "datasets/cinema-sample-database/v1/csv/cities.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/cities.csv",
      "bytes": 190,
      "sha256": "67581fafd1665ad475eee5c337d83db8a6ee5f626b308968850a42e0b8149311",
      "rows": 8,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/addresses.csv",
      "format": "csv",
      "table": "addresses",
      "key": "datasets/cinema-sample-database/v1/csv/addresses.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/addresses.csv",
      "bytes": 543,
      "sha256": "87fdf9ea461a67a7fcf2c04ab3d23cbbaa1347b51f76bacc7584dedb7e020560",
      "rows": 12,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/facilities.csv",
      "format": "csv",
      "table": "facilities",
      "key": "datasets/cinema-sample-database/v1/csv/facilities.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/facilities.csv",
      "bytes": 291,
      "sha256": "f69c37c038b6a6a9d5d64feff228082e71710cf06ec2f21559a18cdc0e6d174e",
      "rows": 8,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/genres.csv",
      "format": "csv",
      "table": "genres",
      "key": "datasets/cinema-sample-database/v1/csv/genres.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/genres.csv",
      "bytes": 345,
      "sha256": "f845a32d800049a6b4e578bbdb167185d51d9aae44475eb63a15ad28b7d9efa8",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/movies.csv",
      "format": "csv",
      "table": "movies",
      "key": "datasets/cinema-sample-database/v1/csv/movies.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/movies.csv",
      "bytes": 21143,
      "sha256": "bb8d679c962101bef49f2718950628e1135871ee6845d261bd3ee93fe4f442ca",
      "rows": 120,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/movie_genres.csv",
      "format": "csv",
      "table": "movie_genres",
      "key": "datasets/cinema-sample-database/v1/csv/movie_genres.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/movie_genres.csv",
      "bytes": 2158,
      "sha256": "01e1ff443db59bda563b0b62e9a4505debc6d1099e7d995fc12df1187fe340bc",
      "rows": 220,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/payment_methods.csv",
      "format": "csv",
      "table": "payment_methods",
      "key": "datasets/cinema-sample-database/v1/csv/payment_methods.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/payment_methods.csv",
      "bytes": 121,
      "sha256": "6f61ad055e229aec45aab01f2f21fdbb8facaa89d338a3d5b7127642138197a4",
      "rows": 5,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/people.csv",
      "format": "csv",
      "table": "people",
      "key": "datasets/cinema-sample-database/v1/csv/people.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/people.csv",
      "bytes": 66753,
      "sha256": "d72eaed73405947a4ce42edce97ff46834b58f1cae10985646eec705c2732e22",
      "rows": 600,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/movie_crews.csv",
      "format": "csv",
      "table": "movie_crews",
      "key": "datasets/cinema-sample-database/v1/csv/movie_crews.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/movie_crews.csv",
      "bytes": 40427,
      "sha256": "dabba61b12c1bd4be0a521c133e427ced30fc2fb5bf14a82bb0955250a880618",
      "rows": 1200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/promotions.csv",
      "format": "csv",
      "table": "promotions",
      "key": "datasets/cinema-sample-database/v1/csv/promotions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/promotions.csv",
      "bytes": 487,
      "sha256": "2416f8cefe67481daa135b2505cba529da08fcd42eedb7efccfb280bbf1bef5e",
      "rows": 8,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/seat_types.csv",
      "format": "csv",
      "table": "seat_types",
      "key": "datasets/cinema-sample-database/v1/csv/seat_types.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/seat_types.csv",
      "bytes": 207,
      "sha256": "1ae5dfca707b906a67df61f6bb7339506e05237328da13ba899e76ae6c3e3598",
      "rows": 4,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/theaters.csv",
      "format": "csv",
      "table": "theaters",
      "key": "datasets/cinema-sample-database/v1/csv/theaters.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/theaters.csv",
      "bytes": 438,
      "sha256": "4fa404abf6d127cc0174cf7237ec963dce35ff5fa983eb47947922dad000235b",
      "rows": 12,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/screens.csv",
      "format": "csv",
      "table": "screens",
      "key": "datasets/cinema-sample-database/v1/csv/screens.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/screens.csv",
      "bytes": 2361,
      "sha256": "b0b1425835e33d01d119d9b5a5ff116df7aa4f45c7f019e9452314a155344389",
      "rows": 60,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/seats.csv",
      "format": "csv",
      "table": "seats",
      "key": "datasets/cinema-sample-database/v1/csv/seats.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/seats.csv",
      "bytes": 214920,
      "sha256": "adbb52173695d8ea337fa54bda6d4b050dc02f82730f376e17d3a5271a1f9a3c",
      "rows": 10800,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/shows.csv",
      "format": "csv",
      "table": "shows",
      "key": "datasets/cinema-sample-database/v1/csv/shows.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/shows.csv",
      "bytes": 1133,
      "sha256": "6c06f33b5199c696a332a5ffbe53a3f27b0eb5f1e298685276bd25012a10abae",
      "rows": 15,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/theater_facilities.csv",
      "format": "csv",
      "table": "theater_facilities",
      "key": "datasets/cinema-sample-database/v1/csv/theater_facilities.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/theater_facilities.csv",
      "bytes": 349,
      "sha256": "40e323b764fc743feda63baff77cf1f098b834036042d39507cb1ae87752b7e8",
      "rows": 40,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/cinema-sample-database/v1/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/users.csv",
      "bytes": 11340,
      "sha256": "88ae6fa4df3b96688795ef0ef50b986d5b541ae8866af2547f7c6a359f68194b",
      "rows": 80,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/device_tokens.csv",
      "format": "csv",
      "table": "device_tokens",
      "key": "datasets/cinema-sample-database/v1/csv/device_tokens.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/device_tokens.csv",
      "bytes": 3720,
      "sha256": "1e09677c5d52db05346bcc8c4281141f5efb97cca02fe43d58106806e72f871c",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/notifications.csv",
      "format": "csv",
      "table": "notifications",
      "key": "datasets/cinema-sample-database/v1/csv/notifications.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/notifications.csv",
      "bytes": 3807,
      "sha256": "2594f6bfe6cbaaf168a2eb176aed449eddc5ffc1d69837179db790b89dbddf9a",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/orders.csv",
      "format": "csv",
      "table": "orders",
      "key": "datasets/cinema-sample-database/v1/csv/orders.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/orders.csv",
      "bytes": 24774,
      "sha256": "288f6a0e87f36a881e3022a93570a61ab6906350d9f9ea6f98bb6eb0fe9d209d",
      "rows": 450,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/order_concessions.csv",
      "format": "csv",
      "table": "order_concessions",
      "key": "datasets/cinema-sample-database/v1/csv/order_concessions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/order_concessions.csv",
      "bytes": 5084,
      "sha256": "62a9496800b10156a778d81e107fcc905d5f28a0b7442e53c75e95c48ba1539d",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/reviews.csv",
      "format": "csv",
      "table": "reviews",
      "key": "datasets/cinema-sample-database/v1/csv/reviews.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/reviews.csv",
      "bytes": 864,
      "sha256": "49cc60c57de97a11ad19ff2336448dae3881536628632a60a07f08820fb95741",
      "rows": 20,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/tickets.csv",
      "format": "csv",
      "table": "tickets",
      "key": "datasets/cinema-sample-database/v1/csv/tickets.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/tickets.csv",
      "bytes": 21752,
      "sha256": "8933f75af7c9cf1d4c889d5472269870322841ca0566d1dfc2ed19abb6aaa87a",
      "rows": 1000,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/transactions.csv",
      "format": "csv",
      "table": "transactions",
      "key": "datasets/cinema-sample-database/v1/csv/transactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/transactions.csv",
      "bytes": 27219,
      "sha256": "d02e77e02341e9bd90f2dec96dda0dd42196a7fff91bd5b08c4fdef0cbdbd74e",
      "rows": 450,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/user_favorites.csv",
      "format": "csv",
      "table": "user_favorites",
      "key": "datasets/cinema-sample-database/v1/csv/user_favorites.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/user_favorites.csv",
      "bytes": 309,
      "sha256": "d6ae43f535b11dc679b243ba32a51376a836754daa55dccb7829aeb705a5c35b",
      "rows": 30,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/user_refunds.csv",
      "format": "csv",
      "table": "user_refunds",
      "key": "datasets/cinema-sample-database/v1/csv/user_refunds.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/csv/user_refunds.csv",
      "bytes": 900,
      "sha256": "df47240b541db29abc1f0a07ef4c61c05f637cd82aa9327f9b19ef5a223fc1f1",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "cinema-sample-database.json",
      "format": "json",
      "table": null,
      "key": "datasets/cinema-sample-database/v1/cinema-sample-database.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/cinema-sample-database.json",
      "bytes": 2741486,
      "sha256": "28eeb4d77d4c4fd93105c4dba99a107a6b0ea5c47927e58edc417d20ab52c37f",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/cinema-sample-database/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/sql/postgres.sql",
      "bytes": 725078,
      "sha256": "8faa8d646469c2ade3673d2e6592926ed1e773bbc33959fe43553262b0623aa1",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/cinema-sample-database/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/sql/mysql.sql",
      "bytes": 722116,
      "sha256": "54858201601b1c2b8af1ebb7da2db2978acc8b5decb595b11dbef919213bfd03",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/cinema-sample-database/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/sql/mssql.sql",
      "bytes": 755363,
      "sha256": "a0f9c245582e37fca5aaef0409b8619743bb6cde8ee724dd4f0cceb2566ca53f",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/cinema-sample-database/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/sql/sqlite.sql",
      "bytes": 719858,
      "sha256": "4ba11f61380cffe1080ce394aad53b0ab0bfdb0bf53b990df34a0c77c7eaad73",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/cinema-sample-database/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/prisma/seed.ts",
      "bytes": 1993996,
      "sha256": "271d1d0c24ce16babad6560b0ab65a43c66ea0cfd42ad81e45aad8bd2cff368f",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/cinema-sample-database/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/django/fixtures.json",
      "bytes": 3309373,
      "sha256": "0f4f8be5c160cc121c2fa201675c4bcaf1e17ea08cd0aca68dfa8e684d8923fa",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "flagship": {
    "sizes": {
      "1k": {
        "rows": 15586,
        "counts": {
          "chains": 3,
          "concession_items": 15,
          "content_ratings": 5,
          "countries": 1,
          "cities": 8,
          "addresses": 12,
          "facilities": 8,
          "genres": 10,
          "movies": 120,
          "movie_genres": 220,
          "payment_methods": 5,
          "people": 600,
          "movie_crews": 1200,
          "promotions": 8,
          "seat_types": 4,
          "theaters": 12,
          "screens": 60,
          "seats": 10800,
          "shows": 15,
          "theater_facilities": 40,
          "users": 80,
          "device_tokens": 50,
          "notifications": 50,
          "orders": 450,
          "order_concessions": 300,
          "reviews": 20,
          "tickets": 1000,
          "transactions": 450,
          "user_favorites": 30,
          "user_refunds": 10
        },
        "notes": [],
        "downloads": [
          {
            "format": "sql-postgres",
            "label": "PostgreSQL",
            "file": "flagship/1k/postgres.sql.gz",
            "key": "datasets/cinema-sample-database/v1/flagship/1k/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/flagship/1k/postgres.sql.gz",
            "bytes": 148887,
            "sha256": "5a35223fa063ed95a9edc557c69ec8667730f584fb420ac5d397e26049156767",
            "raw": {
              "bytes": 731481,
              "sha256": "2aef9e40937c636c7e21fe20bd295f07e408475014136814851885e91aa66463"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/1k/mysql.sql.gz",
            "key": "datasets/cinema-sample-database/v1/flagship/1k/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/flagship/1k/mysql.sql.gz",
            "bytes": 148060,
            "sha256": "a59ae545dd736193693e1b6306da22f8810721915fc84fbd53041935185b6f0c",
            "raw": {
              "bytes": 728519,
              "sha256": "55cb68fe1b8e6f82e9e144faf0dfdf3911178142bed3bc08b7e6fd576ff19f24"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/1k/sqlite.sql.gz",
            "key": "datasets/cinema-sample-database/v1/flagship/1k/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/flagship/1k/sqlite.sql.gz",
            "bytes": 147601,
            "sha256": "bf2232083db5d4fd40b47a217879deeb2d567ce2c2b960029fdde785d9c56951",
            "raw": {
              "bytes": 726261,
              "sha256": "f986c0f951ae1640e51e0376d055710aaebffe797fc77f396cfa5654cba3e00a"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/1k/csv.zip",
            "key": "datasets/cinema-sample-database/v1/flagship/1k/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/flagship/1k/csv.zip",
            "bytes": 152447,
            "sha256": "833c13a02f260f2dc4033c81109acd745a03c61d5c6594ad46b87c3b4b838d35",
            "tables": {
              "addresses": {
                "bytes": 543,
                "sha256": "87fdf9ea461a67a7fcf2c04ab3d23cbbaa1347b51f76bacc7584dedb7e020560"
              },
              "chains": {
                "bytes": 302,
                "sha256": "3fde29ddecd5276b762b5aef86ee0a8db1bbb8d50f5948b4eb30da92281c8ef9"
              },
              "cities": {
                "bytes": 190,
                "sha256": "67581fafd1665ad475eee5c337d83db8a6ee5f626b308968850a42e0b8149311"
              },
              "concession_items": {
                "bytes": 1313,
                "sha256": "7f744c187b7ff3a7f3ccba85b4ad8e6b0aba8ee844ed4a23c227bb168f6f324c"
              },
              "content_ratings": {
                "bytes": 183,
                "sha256": "251739db163de04f64b93ac9fb820e7ab673a7929da1126b19564530a1d0e46e"
              },
              "countries": {
                "bytes": 51,
                "sha256": "2ac1c41ebf4602a03e00e3b8d4b618e712f05973099fe66b549c9b73d409c88b"
              },
              "device_tokens": {
                "bytes": 3720,
                "sha256": "1e09677c5d52db05346bcc8c4281141f5efb97cca02fe43d58106806e72f871c"
              },
              "facilities": {
                "bytes": 291,
                "sha256": "f69c37c038b6a6a9d5d64feff228082e71710cf06ec2f21559a18cdc0e6d174e"
              },
              "genres": {
                "bytes": 345,
                "sha256": "f845a32d800049a6b4e578bbdb167185d51d9aae44475eb63a15ad28b7d9efa8"
              },
              "movie_crews": {
                "bytes": 40427,
                "sha256": "dabba61b12c1bd4be0a521c133e427ced30fc2fb5bf14a82bb0955250a880618"
              },
              "movie_genres": {
                "bytes": 2158,
                "sha256": "01e1ff443db59bda563b0b62e9a4505debc6d1099e7d995fc12df1187fe340bc"
              },
              "movies": {
                "bytes": 21143,
                "sha256": "bb8d679c962101bef49f2718950628e1135871ee6845d261bd3ee93fe4f442ca"
              },
              "notifications": {
                "bytes": 3807,
                "sha256": "2594f6bfe6cbaaf168a2eb176aed449eddc5ffc1d69837179db790b89dbddf9a"
              },
              "order_concessions": {
                "bytes": 5084,
                "sha256": "62a9496800b10156a778d81e107fcc905d5f28a0b7442e53c75e95c48ba1539d"
              },
              "orders": {
                "bytes": 24774,
                "sha256": "288f6a0e87f36a881e3022a93570a61ab6906350d9f9ea6f98bb6eb0fe9d209d"
              },
              "payment_methods": {
                "bytes": 121,
                "sha256": "6f61ad055e229aec45aab01f2f21fdbb8facaa89d338a3d5b7127642138197a4"
              },
              "people": {
                "bytes": 66753,
                "sha256": "d72eaed73405947a4ce42edce97ff46834b58f1cae10985646eec705c2732e22"
              },
              "promotions": {
                "bytes": 487,
                "sha256": "2416f8cefe67481daa135b2505cba529da08fcd42eedb7efccfb280bbf1bef5e"
              },
              "reviews": {
                "bytes": 864,
                "sha256": "49cc60c57de97a11ad19ff2336448dae3881536628632a60a07f08820fb95741"
              },
              "screens": {
                "bytes": 2361,
                "sha256": "b0b1425835e33d01d119d9b5a5ff116df7aa4f45c7f019e9452314a155344389"
              },
              "seat_types": {
                "bytes": 207,
                "sha256": "1ae5dfca707b906a67df61f6bb7339506e05237328da13ba899e76ae6c3e3598"
              },
              "seats": {
                "bytes": 214920,
                "sha256": "adbb52173695d8ea337fa54bda6d4b050dc02f82730f376e17d3a5271a1f9a3c"
              },
              "shows": {
                "bytes": 1133,
                "sha256": "6c06f33b5199c696a332a5ffbe53a3f27b0eb5f1e298685276bd25012a10abae"
              },
              "theater_facilities": {
                "bytes": 349,
                "sha256": "40e323b764fc743feda63baff77cf1f098b834036042d39507cb1ae87752b7e8"
              },
              "theaters": {
                "bytes": 438,
                "sha256": "4fa404abf6d127cc0174cf7237ec963dce35ff5fa983eb47947922dad000235b"
              },
              "tickets": {
                "bytes": 21752,
                "sha256": "8933f75af7c9cf1d4c889d5472269870322841ca0566d1dfc2ed19abb6aaa87a"
              },
              "transactions": {
                "bytes": 27219,
                "sha256": "d02e77e02341e9bd90f2dec96dda0dd42196a7fff91bd5b08c4fdef0cbdbd74e"
              },
              "user_favorites": {
                "bytes": 309,
                "sha256": "d6ae43f535b11dc679b243ba32a51376a836754daa55dccb7829aeb705a5c35b"
              },
              "user_refunds": {
                "bytes": 900,
                "sha256": "df47240b541db29abc1f0a07ef4c61c05f637cd82aa9327f9b19ef5a223fc1f1"
              },
              "users": {
                "bytes": 11340,
                "sha256": "88ae6fa4df3b96688795ef0ef50b986d5b541ae8866af2547f7c6a359f68194b"
              }
            },
            "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 ticket is for a seat on its show's screen, no seat is sold twice for a show, and an order's tickets are all for one show",
            "violations": 0
          },
          {
            "name": "A ticket costs its show's base price times its seat type's factor",
            "violations": 0
          },
          {
            "name": "An order is its tickets and concessions less its promotion's percentage, charged in full by one transaction",
            "violations": 0
          },
          {
            "name": "A film plays from its release for up to eight weeks, and a show runs ten or more minutes longer than its film and at most three hours",
            "violations": 0
          },
          {
            "name": "A ticket is bought ten minutes to two weeks before its show; a refund is at most what was paid and comes after the order",
            "violations": 0
          },
          {
            "name": "A screen's capacity is its seats, numbered 1 to 18 in lettered rows with no seat twice, and each theater names its screens once",
            "violations": 0
          },
          {
            "name": "No theater lists a facility twice, no film a genre twice, and no customer saves a film twice; every theater has screens",
            "violations": 0
          }
        ],
        "dirty": {
          "report": {
            "rates": {
              "missing": 0.03,
              "typos": 0.03,
              "outliers": 0.005,
              "duplicates": 0.01
            },
            "tables": {
              "chains": {
                "duplicates": 0,
                "columns": {
                  "website_url": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "content_ratings": {
                "duplicates": 0,
                "columns": {
                  "rating_code": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "cities": {
                "duplicates": 0,
                "columns": {
                  "postal_code": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "movies": {
                "duplicates": 1,
                "columns": {
                  "duration_minutes": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 1
                  },
                  "language": {
                    "missing": 5,
                    "typos": 3,
                    "outliers": 0
                  },
                  "original_title": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "poster_url": {
                    "missing": 1,
                    "typos": 4,
                    "outliers": 0
                  },
                  "release_date": {
                    "missing": 4,
                    "typos": 0,
                    "outliers": 0
                  },
                  "synopsis": {
                    "missing": 4,
                    "typos": 3,
                    "outliers": 0
                  },
                  "title": {
                    "missing": 3,
                    "typos": 3,
                    "outliers": 0
                  },
                  "trailer_url": {
                    "missing": 1,
                    "typos": 3,
                    "outliers": 0
                  }
                }
              },
              "movie_genres": {
                "duplicates": 3,
                "columns": {}
              },
              "people": {
                "duplicates": 4,
                "columns": {
                  "biography": {
                    "missing": 12,
                    "typos": 20,
                    "outliers": 0
                  },
                  "birth_date": {
                    "missing": 12,
                    "typos": 0,
                    "outliers": 0
                  },
                  "birth_place": {
                    "missing": 15,
                    "typos": 21,
                    "outliers": 0
                  },
                  "first_name": {
                    "missing": 20,
                    "typos": 19,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 18,
                    "typos": 23,
                    "outliers": 0
                  },
                  "profile_picture_url": {
                    "missing": 20,
                    "typos": 17,
                    "outliers": 0
                  }
                }
              },
              "movie_crews": {
                "duplicates": 9,
                "columns": {
                  "character_name": {
                    "missing": 35,
                    "typos": 32,
                    "outliers": 0
                  },
                  "role": {
                    "missing": 36,
                    "typos": 34,
                    "outliers": 0
                  }
                }
              },
              "promotions": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "start_date": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "theaters": {
                "duplicates": 0,
                "columns": {
                  "name": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "screens": {
                "duplicates": 0,
                "columns": {
                  "capacity": {
                    "missing": 3,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 3,
                    "typos": 2,
                    "outliers": 0
                  },
                  "screen_type": {
                    "missing": 0,
                    "typos": 2,
                    "outliers": 0
                  },
                  "sound_system": {
                    "missing": 2,
                    "typos": 2,
                    "outliers": 0
                  }
                }
              },
              "seats": {
                "duplicates": 98,
                "columns": {
                  "grid_column": {
                    "missing": 344,
                    "typos": 0,
                    "outliers": 48
                  },
                  "grid_row": {
                    "missing": 348,
                    "typos": 0,
                    "outliers": 67
                  },
                  "number_label": {
                    "missing": 317,
                    "typos": 151,
                    "outliers": 0
                  },
                  "row_label": {
                    "missing": 358,
                    "typos": 339,
                    "outliers": 0
                  }
                }
              },
              "shows": {
                "duplicates": 0,
                "columns": {
                  "start_time": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "theater_facilities": {
                "duplicates": 1,
                "columns": {}
              },
              "users": {
                "duplicates": 3,
                "columns": {
                  "created_at": {
                    "missing": 3,
                    "typos": 0,
                    "outliers": 0
                  },
                  "email": {
                    "missing": 3,
                    "typos": 1,
                    "outliers": 0
                  },
                  "first_name": {
                    "missing": 4,
                    "typos": 2,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 2,
                    "typos": 3,
                    "outliers": 0
                  },
                  "password_hash": {
                    "missing": 4,
                    "typos": 1,
                    "outliers": 0
                  },
                  "phone": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "device_tokens": {
                "duplicates": 0,
                "columns": {
                  "device_type": {
                    "missing": 1,
                    "typos": 2,
                    "outliers": 0
                  },
                  "last_used_at": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "token": {
                    "missing": 0,
                    "typos": 2,
                    "outliers": 0
                  }
                }
              },
              "notifications": {
                "duplicates": 0,
                "columns": {
                  "is_read": {
                    "missing": 4,
                    "typos": 0,
                    "outliers": 0
                  },
                  "message": {
                    "missing": 3,
                    "typos": 1,
                    "outliers": 0
                  },
                  "sent_at": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "title": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "orders": {
                "duplicates": 3,
                "columns": {
                  "created_at": {
                    "missing": 15,
                    "typos": 0,
                    "outliers": 0
                  },
                  "discount_amount": {
                    "missing": 9,
                    "typos": 0,
                    "outliers": 0
                  },
                  "final_amount": {
                    "missing": 10,
                    "typos": 0,
                    "outliers": 1
                  },
                  "order_status": {
                    "missing": 13,
                    "typos": 17,
                    "outliers": 0
                  },
                  "total_amount": {
                    "missing": 16,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "order_concessions": {
                "duplicates": 4,
                "columns": {
                  "price_at_purchase": {
                    "missing": 12,
                    "typos": 0,
                    "outliers": 3
                  },
                  "quantity": {
                    "missing": 9,
                    "typos": 0,
                    "outliers": 1
                  }
                }
              },
              "reviews": {
                "duplicates": 1,
                "columns": {
                  "comment": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "created_at": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "rating": {
                    "missing": 0,
                    "typos": 0,
                    "outliers": 1
                  }
                }
              },
              "tickets": {
                "duplicates": 9,
                "columns": {
                  "price": {
                    "missing": 29,
                    "typos": 0,
                    "outliers": 4
                  }
                }
              },
              "transactions": {
                "duplicates": 2,
                "columns": {
                  "amount": {
                    "missing": 18,
                    "typos": 0,
                    "outliers": 2
                  },
                  "processed_at": {
                    "missing": 8,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 14,
                    "typos": 16,
                    "outliers": 0
                  },
                  "transaction_reference": {
                    "missing": 10,
                    "typos": 13,
                    "outliers": 0
                  }
                }
              },
              "user_refunds": {
                "duplicates": 0,
                "columns": {
                  "reason": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "requested_at": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              }
            },
            "totals": {
              "missing": 1763,
              "typos": 742,
              "outliers": 128,
              "duplicates": 138
            }
          },
          "downloads": [
            {
              "format": "dirty-sql-postgres",
              "label": "PostgreSQL, with faults",
              "file": "flagship/1k/dirty-postgres.sql.gz",
              "key": "datasets/cinema-sample-database/v1/flagship/1k/dirty-postgres.sql.gz",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/flagship/1k/dirty-postgres.sql.gz",
              "bytes": 152890,
              "sha256": "cc5d1eca8a90a9089cb4fe491c19bbe1e47ca152cd17e27baa7a5b4226e1d494",
              "raw": {
                "bytes": 729557,
                "sha256": "273c0c5e8f7fb2bfe6f795b3aac63be28dfdfddfed86cdcc7e3dd71083676323"
              },
              "contentType": "application/gzip"
            },
            {
              "format": "dirty-csv",
              "label": "CSV, with faults",
              "file": "flagship/1k/dirty-csv.zip",
              "key": "datasets/cinema-sample-database/v1/flagship/1k/dirty-csv.zip",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/flagship/1k/dirty-csv.zip",
              "bytes": 156223,
              "sha256": "b261441d746790028341013e8471e016d0b0b92a679c27a590e79d81e2357109",
              "tables": {
                "addresses": {
                  "bytes": 543,
                  "sha256": "87fdf9ea461a67a7fcf2c04ab3d23cbbaa1347b51f76bacc7584dedb7e020560"
                },
                "chains": {
                  "bytes": 305,
                  "sha256": "1533d6a635fb4bbc3763cfb88454de15368ebf66803b1c6ffc3c2d9d0c1b95de"
                },
                "cities": {
                  "bytes": 193,
                  "sha256": "db95c0d0dc9f95549811e68b668e23e871d4b12e97592d0f73a749059bbc4b2c"
                },
                "concession_items": {
                  "bytes": 1313,
                  "sha256": "7f744c187b7ff3a7f3ccba85b4ad8e6b0aba8ee844ed4a23c227bb168f6f324c"
                },
                "content_ratings": {
                  "bytes": 186,
                  "sha256": "70994d68f54a26fd209d044e6666968af5c696380482e77a9ad21919ae7b5063"
                },
                "countries": {
                  "bytes": 51,
                  "sha256": "2ac1c41ebf4602a03e00e3b8d4b618e712f05973099fe66b549c9b73d409c88b"
                },
                "device_tokens": {
                  "bytes": 3697,
                  "sha256": "cd03f1e0db46f76a76f35541822e7d5a628466856a58a8b014f7a14c8d685b16"
                },
                "facilities": {
                  "bytes": 291,
                  "sha256": "f69c37c038b6a6a9d5d64feff228082e71710cf06ec2f21559a18cdc0e6d174e"
                },
                "genres": {
                  "bytes": 345,
                  "sha256": "f845a32d800049a6b4e578bbdb167185d51d9aae44475eb63a15ad28b7d9efa8"
                },
                "movie_crews": {
                  "bytes": 40159,
                  "sha256": "a327f23438e7ae1cdedcac3ec4af2ca627d0ddedc48a96d0c399918dd011e80e"
                },
                "movie_genres": {
                  "bytes": 2188,
                  "sha256": "447b85ad03868d15bce4c46a5f42c42b3e9fdc7152ff1265e83a79c85bfeb69b"
                },
                "movies": {
                  "bytes": 21021,
                  "sha256": "6c6be08213d6e754ce247ccd8154d80c608843550268b2657609cd14e0e7b95e"
                },
                "notifications": {
                  "bytes": 3676,
                  "sha256": "1e5df9caabbaae573aeaab3a38bffbca2cf4b8106d4c2651b33746954bdf6e86"
                },
                "order_concessions": {
                  "bytes": 5109,
                  "sha256": "05adceb3cb1e11f3a42d850e2bd1ab79ed0faf2d32698ac2e1bc00d8a94a53d4"
                },
                "orders": {
                  "bytes": 24429,
                  "sha256": "11993f93d60ace61169f4a819f95d41ba4400f78c9586439fb80d4e066e3b928"
                },
                "payment_methods": {
                  "bytes": 121,
                  "sha256": "6f61ad055e229aec45aab01f2f21fdbb8facaa89d338a3d5b7127642138197a4"
                },
                "people": {
                  "bytes": 65635,
                  "sha256": "5fcbb605263d53bd5ad4d5220d488d93eb2eb0f13abaa67b63ab6fe9db741b08"
                },
                "promotions": {
                  "bytes": 463,
                  "sha256": "214d4fb8353b6a1de091e1884f2feb39d6caf81e374c2be0980e265b4cdd7ca7"
                },
                "reviews": {
                  "bytes": 891,
                  "sha256": "f884e9f564aa7e63931f26ce57b626cdd9afae214772e33b46b6011865162036"
                },
                "screens": {
                  "bytes": 2324,
                  "sha256": "68a76f060e26b0034d113580dcf2328e7fef960a4b5c117509a3621cee540a99"
                },
                "seat_types": {
                  "bytes": 207,
                  "sha256": "1ae5dfca707b906a67df61f6bb7339506e05237328da13ba899e76ae6c3e3598"
                },
                "seats": {
                  "bytes": 216279,
                  "sha256": "5a9300830d0454390330ef94d59e9befde6b052b6187b218d8d1e77c9c6a1891"
                },
                "shows": {
                  "bytes": 1114,
                  "sha256": "90d1e72cac37f0af6d4db7855a56b72d5488a38d3b81942fe5e6809178e78822"
                },
                "theater_facilities": {
                  "bytes": 357,
                  "sha256": "9502f62473875a7bb4350e660a2861efda0bf59bd6a5ec511d6bc3a503f14d14"
                },
                "theaters": {
                  "bytes": 428,
                  "sha256": "5c07dc0bb579b04c1f80ece8b8cf42add139d8b8c828ab130b3f8122b1fef286"
                },
                "tickets": {
                  "bytes": 21821,
                  "sha256": "3e081c22a3292cf9dc8b3478b4ad5d6e5482dc6cd5129a8dc55010adc351f8bd"
                },
                "transactions": {
                  "bytes": 26864,
                  "sha256": "a2cb627e2b570ae04cdeaed3ffe0b09385748b0fc66d0682d8cb63328ead6e3f"
                },
                "user_favorites": {
                  "bytes": 309,
                  "sha256": "d6ae43f535b11dc679b243ba32a51376a836754daa55dccb7829aeb705a5c35b"
                },
                "user_refunds": {
                  "bytes": 842,
                  "sha256": "2e2c4526d517a782b20410835ad79f32816d2fc70e63c76dcf6f3e8d69f1fa02"
                },
                "users": {
                  "bytes": 11345,
                  "sha256": "9d484cd339e117d8e65c97005c03a8b1e0ee15f591cad16e2135d3a86e238ecc"
                }
              },
              "contentType": "application/zip"
            }
          ]
        }
      },
      "100k": {
        "rows": 258631,
        "counts": {
          "chains": 3,
          "concession_items": 15,
          "content_ratings": 5,
          "countries": 1,
          "cities": 8,
          "addresses": 12,
          "facilities": 8,
          "genres": 10,
          "movies": 120,
          "movie_genres": 220,
          "payment_methods": 5,
          "people": 600,
          "movie_crews": 1200,
          "promotions": 8,
          "seat_types": 4,
          "theaters": 12,
          "screens": 60,
          "seats": 10800,
          "shows": 1500,
          "theater_facilities": 40,
          "users": 8000,
          "device_tokens": 5000,
          "notifications": 5000,
          "orders": 45000,
          "order_concessions": 30000,
          "reviews": 2000,
          "tickets": 100000,
          "transactions": 45000,
          "user_favorites": 3000,
          "user_refunds": 1000
        },
        "notes": [],
        "downloads": [
          {
            "format": "sql-postgres",
            "label": "PostgreSQL",
            "file": "flagship/100k/postgres.sql.gz",
            "key": "datasets/cinema-sample-database/v1/flagship/100k/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/flagship/100k/postgres.sql.gz",
            "bytes": 4495205,
            "sha256": "f2670a56e1f073a4b3846976d0a20f9e4d8d7f29d776cb1aaec623aac8bb4507",
            "raw": {
              "bytes": 15399777,
              "sha256": "ec0d0615e7303c18aec51ec43bf200bd2a8633dd6edb91ad2105c44e574fb456"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/100k/mysql.sql.gz",
            "key": "datasets/cinema-sample-database/v1/flagship/100k/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/flagship/100k/mysql.sql.gz",
            "bytes": 4492827,
            "sha256": "ab0ded829b217b378b434a79551390fdfc23b78a603a34c9763fe23bae2017ad",
            "raw": {
              "bytes": 15380458,
              "sha256": "48d9227b5229f87784c1d625383ae23b73f1aa948bad2392954158c6b71b77b3"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/100k/sqlite.sql.gz",
            "key": "datasets/cinema-sample-database/v1/flagship/100k/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/flagship/100k/sqlite.sql.gz",
            "bytes": 4492205,
            "sha256": "a7c06fa79e2a8e6a1c3d6ed25c6ffd16fe83c10f7eeed3d5b41a2a06ff252485",
            "raw": {
              "bytes": 15378200,
              "sha256": "8785fdd1e846069b6aaad09e14c0e2f17b95e81f7a5310705da1498ff09bf46e"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/100k/csv.zip",
            "key": "datasets/cinema-sample-database/v1/flagship/100k/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/flagship/100k/csv.zip",
            "bytes": 4526900,
            "sha256": "f05cafe8a0f2349f5fcee5a6143b34e07ad03c3f02c30c3aca1e52fdb5be21de",
            "tables": {
              "addresses": {
                "bytes": 547,
                "sha256": "aabc77878d340596349d4a4c10f28764ee74bb1261d69f31a1f7e060054c9562"
              },
              "chains": {
                "bytes": 302,
                "sha256": "9e33704d749f6f71ee87eec0b6f3bcf94b97c0ec12ac2550b19289de448d8158"
              },
              "cities": {
                "bytes": 190,
                "sha256": "67581fafd1665ad475eee5c337d83db8a6ee5f626b308968850a42e0b8149311"
              },
              "concession_items": {
                "bytes": 1317,
                "sha256": "ecefea86c85d66ea91872128c2573f8f723345309c35516fb3782b5402d5a6e0"
              },
              "content_ratings": {
                "bytes": 183,
                "sha256": "251739db163de04f64b93ac9fb820e7ab673a7929da1126b19564530a1d0e46e"
              },
              "countries": {
                "bytes": 51,
                "sha256": "2ac1c41ebf4602a03e00e3b8d4b618e712f05973099fe66b549c9b73d409c88b"
              },
              "device_tokens": {
                "bytes": 386260,
                "sha256": "dcfb87f73e5b8f456b7cbb1cea3c624efd72dfe2ec6704bed4bef192599b9093"
              },
              "facilities": {
                "bytes": 291,
                "sha256": "f69c37c038b6a6a9d5d64feff228082e71710cf06ec2f21559a18cdc0e6d174e"
              },
              "genres": {
                "bytes": 345,
                "sha256": "f845a32d800049a6b4e578bbdb167185d51d9aae44475eb63a15ad28b7d9efa8"
              },
              "movie_crews": {
                "bytes": 40619,
                "sha256": "f26fd4f87ccd65f3cfaef37e8ffcb4207c55e4d5ce38f626499f0251ad3ee1d4"
              },
              "movie_genres": {
                "bytes": 2156,
                "sha256": "fd6e884ba3f5f07b7d4c819c37d2b30882bdec4bd12852b7b63bc35953c25f46"
              },
              "movies": {
                "bytes": 21286,
                "sha256": "d1aa9460419bee30dcc989534cb697d136d4b8207305fa093a4c73d7017eb16f"
              },
              "notifications": {
                "bytes": 393802,
                "sha256": "f2b7fe904e6389b0d89e6bd71d439ada5b02ae4563fb9a0fb8a2411d6209fc47"
              },
              "order_concessions": {
                "bytes": 620934,
                "sha256": "d90b21eac59eafdc816e0bd1b715267ebe0b0e291d3f13ec1163a260d0cc76c2"
              },
              "orders": {
                "bytes": 2651019,
                "sha256": "98c140bb8d9d1383636d3d90e821a5e00189ae60c825e35429d80ebc7a825efe"
              },
              "payment_methods": {
                "bytes": 121,
                "sha256": "6f61ad055e229aec45aab01f2f21fdbb8facaa89d338a3d5b7127642138197a4"
              },
              "people": {
                "bytes": 66747,
                "sha256": "628b2488bf95d36da321f396f89082a40cff392f5a00afb9fc07748e52362e4e"
              },
              "promotions": {
                "bytes": 487,
                "sha256": "2416f8cefe67481daa135b2505cba529da08fcd42eedb7efccfb280bbf1bef5e"
              },
              "reviews": {
                "bytes": 90586,
                "sha256": "e7fd5765a7a87bede48a9dfb399cfcb121b09c1a0891815e72ac5280479c2b40"
              },
              "screens": {
                "bytes": 2346,
                "sha256": "e9937eea3e1a06da241b7e3bc3187c5d9bd103fdba168ee1b511d13e9dad613a"
              },
              "seat_types": {
                "bytes": 207,
                "sha256": "1ae5dfca707b906a67df61f6bb7339506e05237328da13ba899e76ae6c3e3598"
              },
              "seats": {
                "bytes": 214987,
                "sha256": "8d115e098042d560a7240e369071775539aab370f151c9b5323d6a3b019f818b"
              },
              "shows": {
                "bytes": 107593,
                "sha256": "e8bf967d471da8a463902d993b78f6a315cac77bc9bd060956379f51c5712a50"
              },
              "theater_facilities": {
                "bytes": 351,
                "sha256": "3fb5eb1dd22e1f49c750ef69b9052d15bc3fb9d9f5eabf1918467af3bb5bfede"
              },
              "theaters": {
                "bytes": 438,
                "sha256": "748fe60029fb361016573c42a288345f1a3f98c8c7838538581ee73e6ce58912"
              },
              "tickets": {
                "bytes": 2764413,
                "sha256": "4959414f3acc194264e9bf5fff341d858e4cad00b82f2b6bbc7cd8abbbea033b"
              },
              "transactions": {
                "bytes": 2895853,
                "sha256": "6cc68e61aa1218c2424f8d980d180b2758ffdb581b6dd7fecf6411a6416655ea"
              },
              "user_favorites": {
                "bytes": 40817,
                "sha256": "0a7df5203bf4df5d12371b300e3c0bc6555f021349fe504396a6d520d00b93aa"
              },
              "user_refunds": {
                "bytes": 86278,
                "sha256": "be21e5d711d4dd4c5d22168bb99c291cc53b30bbc89a3e5c3ff9272909969a20"
              },
              "users": {
                "bytes": 1144729,
                "sha256": "9758d08b6edcd04b3bcb2191f48acc6ee61e625538d54a42cf89c56498dfcea9"
              }
            },
            "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 ticket is for a seat on its show's screen, no seat is sold twice for a show, and an order's tickets are all for one show",
            "violations": 0
          },
          {
            "name": "A ticket costs its show's base price times its seat type's factor",
            "violations": 0
          },
          {
            "name": "An order is its tickets and concessions less its promotion's percentage, charged in full by one transaction",
            "violations": 0
          },
          {
            "name": "A film plays from its release for up to eight weeks, and a show runs ten or more minutes longer than its film and at most three hours",
            "violations": 0
          },
          {
            "name": "A ticket is bought ten minutes to two weeks before its show; a refund is at most what was paid and comes after the order",
            "violations": 0
          },
          {
            "name": "A screen's capacity is its seats, numbered 1 to 18 in lettered rows with no seat twice, and each theater names its screens once",
            "violations": 0
          },
          {
            "name": "No theater lists a facility twice, no film a genre twice, and no customer saves a film twice; every theater has screens",
            "violations": 0
          }
        ],
        "dirty": {
          "report": {
            "rates": {
              "missing": 0.03,
              "typos": 0.03,
              "outliers": 0.005,
              "duplicates": 0.01
            },
            "tables": {
              "concession_items": {
                "duplicates": 0,
                "columns": {
                  "category": {
                    "missing": 1,
                    "typos": 2,
                    "outliers": 0
                  },
                  "description": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "image_url": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "facilities": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "genres": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "movies": {
                "duplicates": 0,
                "columns": {
                  "duration_minutes": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 1
                  },
                  "language": {
                    "missing": 2,
                    "typos": 4,
                    "outliers": 0
                  },
                  "poster_url": {
                    "missing": 3,
                    "typos": 4,
                    "outliers": 0
                  },
                  "release_date": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "synopsis": {
                    "missing": 1,
                    "typos": 4,
                    "outliers": 0
                  },
                  "title": {
                    "missing": 5,
                    "typos": 2,
                    "outliers": 0
                  },
                  "trailer_url": {
                    "missing": 6,
                    "typos": 4,
                    "outliers": 0
                  }
                }
              },
              "payment_methods": {
                "duplicates": 0,
                "columns": {
                  "provider": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "people": {
                "duplicates": 9,
                "columns": {
                  "biography": {
                    "missing": 10,
                    "typos": 15,
                    "outliers": 0
                  },
                  "birth_date": {
                    "missing": 18,
                    "typos": 0,
                    "outliers": 0
                  },
                  "birth_place": {
                    "missing": 16,
                    "typos": 16,
                    "outliers": 0
                  },
                  "first_name": {
                    "missing": 22,
                    "typos": 14,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 19,
                    "typos": 16,
                    "outliers": 0
                  },
                  "profile_picture_url": {
                    "missing": 19,
                    "typos": 21,
                    "outliers": 0
                  }
                }
              },
              "movie_crews": {
                "duplicates": 9,
                "columns": {
                  "character_name": {
                    "missing": 34,
                    "typos": 36,
                    "outliers": 0
                  },
                  "role": {
                    "missing": 30,
                    "typos": 49,
                    "outliers": 0
                  }
                }
              },
              "promotions": {
                "duplicates": 0,
                "columns": {
                  "code": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "theaters": {
                "duplicates": 0,
                "columns": {
                  "name": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "screens": {
                "duplicates": 1,
                "columns": {
                  "capacity": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 3,
                    "typos": 1,
                    "outliers": 0
                  },
                  "screen_type": {
                    "missing": 1,
                    "typos": 4,
                    "outliers": 0
                  },
                  "sound_system": {
                    "missing": 2,
                    "typos": 2,
                    "outliers": 0
                  }
                }
              },
              "seats": {
                "duplicates": 118,
                "columns": {
                  "grid_column": {
                    "missing": 335,
                    "typos": 0,
                    "outliers": 42
                  },
                  "grid_row": {
                    "missing": 340,
                    "typos": 0,
                    "outliers": 52
                  },
                  "number_label": {
                    "missing": 340,
                    "typos": 157,
                    "outliers": 0
                  },
                  "row_label": {
                    "missing": 345,
                    "typos": 288,
                    "outliers": 0
                  }
                }
              },
              "shows": {
                "duplicates": 23,
                "columns": {
                  "audio_language": {
                    "missing": 33,
                    "typos": 44,
                    "outliers": 0
                  },
                  "base_ticket_price": {
                    "missing": 50,
                    "typos": 0,
                    "outliers": 7
                  },
                  "end_time": {
                    "missing": 43,
                    "typos": 0,
                    "outliers": 0
                  },
                  "start_time": {
                    "missing": 58,
                    "typos": 0,
                    "outliers": 0
                  },
                  "subtitle_language": {
                    "missing": 53,
                    "typos": 31,
                    "outliers": 0
                  }
                }
              },
              "theater_facilities": {
                "duplicates": 1,
                "columns": {}
              },
              "users": {
                "duplicates": 83,
                "columns": {
                  "created_at": {
                    "missing": 237,
                    "typos": 0,
                    "outliers": 0
                  },
                  "email": {
                    "missing": 251,
                    "typos": 213,
                    "outliers": 0
                  },
                  "first_name": {
                    "missing": 250,
                    "typos": 237,
                    "outliers": 0
                  },
                  "last_name": {
                    "missing": 229,
                    "typos": 247,
                    "outliers": 0
                  },
                  "password_hash": {
                    "missing": 260,
                    "typos": 272,
                    "outliers": 0
                  },
                  "phone": {
                    "missing": 223,
                    "typos": 93,
                    "outliers": 0
                  }
                }
              },
              "device_tokens": {
                "duplicates": 57,
                "columns": {
                  "device_type": {
                    "missing": 171,
                    "typos": 152,
                    "outliers": 0
                  },
                  "last_used_at": {
                    "missing": 147,
                    "typos": 0,
                    "outliers": 0
                  },
                  "token": {
                    "missing": 145,
                    "typos": 162,
                    "outliers": 0
                  }
                }
              },
              "notifications": {
                "duplicates": 41,
                "columns": {
                  "is_read": {
                    "missing": 150,
                    "typos": 0,
                    "outliers": 0
                  },
                  "message": {
                    "missing": 153,
                    "typos": 148,
                    "outliers": 0
                  },
                  "sent_at": {
                    "missing": 163,
                    "typos": 0,
                    "outliers": 0
                  },
                  "title": {
                    "missing": 148,
                    "typos": 174,
                    "outliers": 0
                  }
                }
              },
              "orders": {
                "duplicates": 408,
                "columns": {
                  "created_at": {
                    "missing": 1394,
                    "typos": 0,
                    "outliers": 0
                  },
                  "discount_amount": {
                    "missing": 1374,
                    "typos": 0,
                    "outliers": 26
                  },
                  "final_amount": {
                    "missing": 1319,
                    "typos": 0,
                    "outliers": 228
                  },
                  "order_status": {
                    "missing": 1266,
                    "typos": 1311,
                    "outliers": 0
                  },
                  "total_amount": {
                    "missing": 1326,
                    "typos": 0,
                    "outliers": 227
                  }
                }
              },
              "order_concessions": {
                "duplicates": 289,
                "columns": {
                  "price_at_purchase": {
                    "missing": 877,
                    "typos": 0,
                    "outliers": 142
                  },
                  "quantity": {
                    "missing": 887,
                    "typos": 0,
                    "outliers": 141
                  }
                }
              },
              "reviews": {
                "duplicates": 23,
                "columns": {
                  "comment": {
                    "missing": 41,
                    "typos": 43,
                    "outliers": 0
                  },
                  "created_at": {
                    "missing": 52,
                    "typos": 0,
                    "outliers": 0
                  },
                  "rating": {
                    "missing": 69,
                    "typos": 0,
                    "outliers": 13
                  }
                }
              },
              "tickets": {
                "duplicates": 1025,
                "columns": {
                  "price": {
                    "missing": 3117,
                    "typos": 0,
                    "outliers": 491
                  }
                }
              },
              "transactions": {
                "duplicates": 465,
                "columns": {
                  "amount": {
                    "missing": 1368,
                    "typos": 0,
                    "outliers": 222
                  },
                  "processed_at": {
                    "missing": 1334,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 1346,
                    "typos": 1260,
                    "outliers": 0
                  },
                  "transaction_reference": {
                    "missing": 1375,
                    "typos": 1376,
                    "outliers": 0
                  }
                }
              },
              "user_favorites": {
                "duplicates": 35,
                "columns": {}
              },
              "user_refunds": {
                "duplicates": 13,
                "columns": {
                  "amount": {
                    "missing": 37,
                    "typos": 0,
                    "outliers": 6
                  },
                  "processed_at": {
                    "missing": 34,
                    "typos": 0,
                    "outliers": 0
                  },
                  "reason": {
                    "missing": 27,
                    "typos": 28,
                    "outliers": 0
                  },
                  "requested_at": {
                    "missing": 22,
                    "typos": 0,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 36,
                    "typos": 32,
                    "outliers": 0
                  }
                }
              }
            },
            "totals": {
              "missing": 21626,
              "typos": 6465,
              "outliers": 1598,
              "duplicates": 2600
            }
          },
          "downloads": [
            {
              "format": "dirty-sql-postgres",
              "label": "PostgreSQL, with faults",
              "file": "flagship/100k/dirty-postgres.sql.gz",
              "key": "datasets/cinema-sample-database/v1/flagship/100k/dirty-postgres.sql.gz",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/flagship/100k/dirty-postgres.sql.gz",
              "bytes": 4529539,
              "sha256": "c611a5165dd864876933767e0165b5e49a858ef74a6d23275dd479bfb3ae5bf1",
              "raw": {
                "bytes": 15418181,
                "sha256": "d4cb9056543f626f94403e82025537e6c9bfd916994d4fe7cce875a38fb8179e"
              },
              "contentType": "application/gzip"
            },
            {
              "format": "dirty-csv",
              "label": "CSV, with faults",
              "file": "flagship/100k/dirty-csv.zip",
              "key": "datasets/cinema-sample-database/v1/flagship/100k/dirty-csv.zip",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/flagship/100k/dirty-csv.zip",
              "bytes": 4545559,
              "sha256": "1965855353a4bb46d219746abc9d09d66af46f6f0ba325b4f152c95a4d123e67",
              "tables": {
                "addresses": {
                  "bytes": 547,
                  "sha256": "aabc77878d340596349d4a4c10f28764ee74bb1261d69f31a1f7e060054c9562"
                },
                "chains": {
                  "bytes": 302,
                  "sha256": "9e33704d749f6f71ee87eec0b6f3bcf94b97c0ec12ac2550b19289de448d8158"
                },
                "cities": {
                  "bytes": 190,
                  "sha256": "67581fafd1665ad475eee5c337d83db8a6ee5f626b308968850a42e0b8149311"
                },
                "concession_items": {
                  "bytes": 1266,
                  "sha256": "cbe27d63a42ef181db7d51badeb026ba89c84aab7e6a9a0b93fa411c97ad027b"
                },
                "content_ratings": {
                  "bytes": 183,
                  "sha256": "251739db163de04f64b93ac9fb820e7ab673a7929da1126b19564530a1d0e46e"
                },
                "countries": {
                  "bytes": 51,
                  "sha256": "2ac1c41ebf4602a03e00e3b8d4b618e712f05973099fe66b549c9b73d409c88b"
                },
                "device_tokens": {
                  "bytes": 381617,
                  "sha256": "80d823bcc8c10948e1d1c904fc8e25393124b6299e7fd118d227015f9ef165e3"
                },
                "facilities": {
                  "bytes": 273,
                  "sha256": "b0ae15bfd7b85192a320d88210ee9147f6141772faee4f1bf9f9510eaf006487"
                },
                "genres": {
                  "bytes": 348,
                  "sha256": "ce2965aee516068b19a759cb096db3c111c9291aa26afade5d9e627c78d0e17a"
                },
                "movie_crews": {
                  "bytes": 40396,
                  "sha256": "ee201b5efaa3a2800800eb6af3c768d6a7ea2b160f7f29e06f6da3e12299413e"
                },
                "movie_genres": {
                  "bytes": 2156,
                  "sha256": "fd6e884ba3f5f07b7d4c819c37d2b30882bdec4bd12852b7b63bc35953c25f46"
                },
                "movies": {
                  "bytes": 20776,
                  "sha256": "7941abc19f9fef828c55ef96c09e8643011f875ab561b9105da5aeeea9de5a8e"
                },
                "notifications": {
                  "bytes": 387438,
                  "sha256": "39d662bcb23711aca861ca8e387b2dc04c85d888a37e1260929e576695a26d35"
                },
                "order_concessions": {
                  "bytes": 623529,
                  "sha256": "96c88d62e1bcff2f6e7f07381b5cadf481fd103f56afb6b62b4a7112d7052fd8"
                },
                "orders": {
                  "bytes": 2624124,
                  "sha256": "2a1debdf2456ea309ab5575d17c73746f376807a2b20ed1b5991c2228c48900e"
                },
                "payment_methods": {
                  "bytes": 112,
                  "sha256": "61cfbf0399e2385084cbaa79504f6035bb64765e2de57a42926e8a7e99444594"
                },
                "people": {
                  "bytes": 66157,
                  "sha256": "3d63ec9e276bc8e313ec0826737ef9c6e77f464d1fd1d463b5ad157d693ebf32"
                },
                "promotions": {
                  "bytes": 476,
                  "sha256": "78c74e6addf2f105ceba7eb20869acee99a50d6c59a896eb66e35f633db27bc2"
                },
                "reviews": {
                  "bytes": 90140,
                  "sha256": "e587e21c46da19cf41ff6ebff5c199858d37a4254da4d90168ae54e5b1a98fc8"
                },
                "screens": {
                  "bytes": 2346,
                  "sha256": "4e5c5266213156b8b57bfedd04da0eda4cee395a8d5022e9d602c098ec6fc285"
                },
                "seat_types": {
                  "bytes": 207,
                  "sha256": "1ae5dfca707b906a67df61f6bb7339506e05237328da13ba899e76ae6c3e3598"
                },
                "seats": {
                  "bytes": 216667,
                  "sha256": "7da8fbd803807a8d122f104cdacaef48372ff5d3023414137ca404a6a3a39273"
                },
                "shows": {
                  "bytes": 106675,
                  "sha256": "f1847f318d1e990b7357401984b0ddc58070d204a00c840057c0c78ed035d52a"
                },
                "theater_facilities": {
                  "bytes": 360,
                  "sha256": "e54aa3af19e217f676da87c6b707cecdb068dc92b84b842fd0703715aa8332f5"
                },
                "theaters": {
                  "bytes": 430,
                  "sha256": "148daa31481ead800bfc8d9625aa01bc0e3f186ace0f394c669b86a8ad21b1f0"
                },
                "tickets": {
                  "bytes": 2779054,
                  "sha256": "5ba2e4c1157c6ffa64761cf74a93db24473c65fedd0013c51d241594a89138fc"
                },
                "transactions": {
                  "bytes": 2863919,
                  "sha256": "d074c7a3add494af10c306b456df1f3609a54529e6e33a40c5dcd057268c9aa2"
                },
                "user_favorites": {
                  "bytes": 41305,
                  "sha256": "88e4ceff6a1781ddf1237335568c4a56dd54c6b93e3f4fe2e08443b731349a91"
                },
                "user_refunds": {
                  "bytes": 85456,
                  "sha256": "bc3f7df63f5ab463e5b20b670e58e237a03e1b8996c4078eaa953e69972216c3"
                },
                "users": {
                  "bytes": 1125080,
                  "sha256": "36ec3910c6f783f5dc7f27c090798ac6d96984b162d18ba374960574dd18ffa8"
                }
              },
              "contentType": "application/zip"
            }
          ]
        }
      },
      "1m": {
        "rows": 2468131,
        "counts": {
          "chains": 3,
          "concession_items": 15,
          "content_ratings": 5,
          "countries": 1,
          "cities": 8,
          "addresses": 12,
          "facilities": 8,
          "genres": 10,
          "movies": 120,
          "movie_genres": 220,
          "payment_methods": 5,
          "people": 600,
          "movie_crews": 1200,
          "promotions": 8,
          "seat_types": 4,
          "theaters": 12,
          "screens": 60,
          "seats": 10800,
          "shows": 15000,
          "theater_facilities": 40,
          "users": 80000,
          "device_tokens": 50000,
          "notifications": 50000,
          "orders": 450000,
          "order_concessions": 300000,
          "reviews": 20000,
          "tickets": 1000000,
          "transactions": 450000,
          "user_favorites": 30000,
          "user_refunds": 10000
        },
        "notes": [],
        "downloads": [
          {
            "format": "sql-postgres",
            "label": "PostgreSQL",
            "file": "flagship/1m/postgres.sql.gz",
            "key": "datasets/cinema-sample-database/v1/flagship/1m/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/flagship/1m/postgres.sql.gz",
            "bytes": 45982871,
            "sha256": "205d131a8a0b2f4e194462c1872b69be8dc600145609515faa9826ab0aae6485",
            "raw": {
              "bytes": 154475962,
              "sha256": "8b3e03c718b431c7702d1f53d8d56d51499f159e1929c801f34994e11866c9e5"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/1m/mysql.sql.gz",
            "key": "datasets/cinema-sample-database/v1/flagship/1m/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/flagship/1m/mysql.sql.gz",
            "bytes": 45976924,
            "sha256": "e6071b906eec7de37c8f8ed32a13420be33a6d3669b795d4002e82df9ba267b8",
            "raw": {
              "bytes": 154307930,
              "sha256": "4f4aca994586a133d59226936a8c8e2da0d20349ad97f4e0a4634870dadb3724"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/1m/sqlite.sql.gz",
            "key": "datasets/cinema-sample-database/v1/flagship/1m/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/flagship/1m/sqlite.sql.gz",
            "bytes": 45976548,
            "sha256": "1a95b5f3aa72e5259d58a95d601cdf6e623796da2cb395e4207dac24eadd63d7",
            "raw": {
              "bytes": 154305672,
              "sha256": "b0bc60921b4ef46cef7f9bdea703e9122e7e7d7ea042df988dd417c213171e42"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/1m/csv.zip",
            "key": "datasets/cinema-sample-database/v1/flagship/1m/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/cinema-sample-database/v1/flagship/1m/csv.zip",
            "bytes": 46641613,
            "sha256": "47668ef635f6a1a415338be5319c66ca2f9bd42d4994f161d20b110cbe61b9bd",
            "tables": {
              "addresses": {
                "bytes": 549,
                "sha256": "561f3578d4ebee0294a1a7c7d424e76f1d470f0573fd95151c7b894415c67df1"
              },
              "chains": {
                "bytes": 302,
                "sha256": "f44968e7f093247502eb3827ae29a4e47d0a86b0e3b0032a6673018896045dfe"
              },
              "cities": {
                "bytes": 190,
                "sha256": "67581fafd1665ad475eee5c337d83db8a6ee5f626b308968850a42e0b8149311"
              },
              "concession_items": {
                "bytes": 1321,
                "sha256": "f7f818d4419846cf5b1ed459bad9fff6dbcfb204393179cbd8df39bfa9118dfd"
              },
              "content_ratings": {
                "bytes": 183,
                "sha256": "251739db163de04f64b93ac9fb820e7ab673a7929da1126b19564530a1d0e46e"
              },
              "countries": {
                "bytes": 51,
                "sha256": "2ac1c41ebf4602a03e00e3b8d4b618e712f05973099fe66b549c9b73d409c88b"
              },
              "device_tokens": {
                "bytes": 3961848,
                "sha256": "6bc0fc48d08f7a482af8f5656bf40e353becf4ab91b30164e6219292ec17901e"
              },
              "facilities": {
                "bytes": 291,
                "sha256": "f69c37c038b6a6a9d5d64feff228082e71710cf06ec2f21559a18cdc0e6d174e"
              },
              "genres": {
                "bytes": 345,
                "sha256": "f845a32d800049a6b4e578bbdb167185d51d9aae44475eb63a15ad28b7d9efa8"
              },
              "movie_crews": {
                "bytes": 40728,
                "sha256": "a9bfa92e55140727a43b4e2653da6e641bceba6f5a292ad963db64969da3ac3d"
              },
              "movie_genres": {
                "bytes": 2157,
                "sha256": "f48962279063a088bde17f769f827a9faa3609cca63814a5f6beec2f79e8f6f0"
              },
              "movies": {
                "bytes": 21016,
                "sha256": "9a9552f0f33b62b56c35856608f96c820a1d2508d5870cbdc3adafb42ab2cf2d"
              },
              "notifications": {
                "bytes": 4034718,
                "sha256": "56f5a80ba83d373f40b77d0f89ff38f485219228234a877cff8d4d7626f91efd"
              },
              "order_concessions": {
                "bytes": 6810407,
                "sha256": "df6a4237bc973568fbdb3ad5545aff2320fc11cea2527994178869b5bdae5fa4"
              },
              "orders": {
                "bytes": 27412154,
                "sha256": "1397c71a899449015d95e48c1f0a0d4b44d34f31424497ed30d27471d843312b"
              },
              "payment_methods": {
                "bytes": 121,
                "sha256": "6f61ad055e229aec45aab01f2f21fdbb8facaa89d338a3d5b7127642138197a4"
              },
              "people": {
                "bytes": 66519,
                "sha256": "c6a8ee8de3703a9fc4feaf2e95263ce26c93976e0254f79b945f7e04333a0cac"
              },
              "promotions": {
                "bytes": 487,
                "sha256": "2416f8cefe67481daa135b2505cba529da08fcd42eedb7efccfb280bbf1bef5e"
              },
              "reviews": {
                "bytes": 944488,
                "sha256": "36321a01fcf8ad542052cc728bc3878c164eb48a4d7a7ff10818b7f22971dd6e"
              },
              "screens": {
                "bytes": 2348,
                "sha256": "20bb0ad6854776425316cc099879712317b1a14419ed4f7b6e45243cb0bc8964"
              },
              "seat_types": {
                "bytes": 207,
                "sha256": "1ae5dfca707b906a67df61f6bb7339506e05237328da13ba899e76ae6c3e3598"
              },
              "seats": {
                "bytes": 215037,
                "sha256": "f429c3c3761e219ab0300ade3b4a7b27ba8e89866cd08a99a0145cc63b6c8af2"
              },
              "shows": {
                "bytes": 1090043,
                "sha256": "b37cd7941328dde16461756ea161924d3c1d1c53ca8f2ba153983259f2414317"
              },
              "theater_facilities": {
                "bytes": 348,
                "sha256": "15943bf42e3f2f3662f7512b9b1060cdb55776a07d5ec6dce985a748c1aeef78"
              },
              "theaters": {
                "bytes": 438,
                "sha256": "60dac3d539829b2dd45fd8b6ac5cf2ff591891ba6cd3b9cef1399969253a4a77"
              },
              "tickets": {
                "bytes": 30648475,
                "sha256": "9ac3b3594608ae7394e0da49da3eb8646b6cb0966aa5bb93da6d24b1a73d95c9"
              },
              "transactions": {
                "bytes": 29859530,
                "sha256": "ddd0ba2c9f124b9b8d119a89e7ef8a54eb81def6681e125f3e7fe8529dc6c6cb"
              },
              "user_favorites": {
                "bytes": 467641,
                "sha256": "8a6cc632bc136c3c38949167c36c81bb8de042962af73af39a6f33ae72d3b130"
              },
              "user_refunds": {
                "bytes": 881115,
                "sha256": "2a45a6564bd20d8c50873c782d6fc00ed499673b917b3b2e34dd02d4bb7a21b8"
              },
              "users": {
                "bytes": 11535005,
                "sha256": "f5afad6f0aed0bf30989bb037cab8347042dffe8cf4500395e53e3c047dae13b"
              }
            },
            "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 ticket is for a seat on its show's screen, no seat is sold twice for a show, and an order's tickets are all for one show",
            "violations": 0
          },
          {
            "name": "A ticket costs its show's base price times its seat type's factor",
            "violations": 0
          },
          {
            "name": "An order is its tickets and concessions less its promotion's percentage, charged in full by one transaction",
            "violations": 0
          },
          {
            "name": "A film plays from its release for up to eight weeks, and a show runs ten or more minutes longer than its film and at most three hours",
            "violations": 0
          },
          {
            "name": "A ticket is bought ten minutes to two weeks before its show; a refund is at most what was paid and comes after the order",
            "violations": 0
          },
          {
            "name": "A screen's capacity is its seats, numbered 1 to 18 in lettered rows with no seat twice, and each theater names its screens once",
            "violations": 0
          },
          {
            "name": "No theater lists a facility twice, no film a genre twice, and no customer saves a film twice; every theater has screens",
            "violations": 0
          }
        ]
      }
    },
    "rules": [
      {
        "name": "A ticket is for a seat on its show's screen, no seat is sold twice for a show, and an order's tickets are all for one show",
        "sql": "SELECT (SELECT count(*) FROM tickets t JOIN shows s ON s.id = t.show_id JOIN seats se ON se.id = t.seat_id WHERE se.screen_id <> s.screen_id) + (SELECT count(*) - count(DISTINCT (show_id, seat_id)) FROM tickets) + (SELECT count(*) FROM (SELECT order_id FROM tickets GROUP BY order_id HAVING count(DISTINCT show_id) > 1) x) + (SELECT count(*) FROM orders o LEFT JOIN (SELECT DISTINCT order_id FROM tickets) t ON t.order_id = o.id WHERE t.order_id IS NULL) AS violations"
      },
      {
        "name": "A ticket costs its show's base price times its seat type's factor",
        "sql": "SELECT count(*) AS violations FROM tickets t JOIN shows s ON s.id = t.show_id JOIN seats se ON se.id = t.seat_id JOIN seat_types st ON st.id = se.seat_type_id WHERE t.price <> round(s.base_ticket_price * st.base_price_factor, 2)"
      },
      {
        "name": "An order is its tickets and concessions less its promotion's percentage, charged in full by one transaction",
        "sql": "SELECT (SELECT count(*) FROM orders o LEFT JOIN (SELECT order_id, sum(price) AS tickets FROM tickets GROUP BY order_id) t ON t.order_id = o.id LEFT JOIN (SELECT order_id, sum(quantity * price_at_purchase) AS snacks FROM order_concessions GROUP BY order_id) c ON c.order_id = o.id LEFT JOIN promotions p ON p.id = o.promotion_id WHERE o.total_amount <> coalesce(t.tickets, 0) + coalesce(c.snacks, 0) OR o.discount_amount <> coalesce(round(o.total_amount * p.discount_percentage / 100.0, 2), 0) OR o.final_amount <> o.total_amount - o.discount_amount) + (SELECT count(*) FROM order_concessions oc JOIN concession_items ci ON ci.id = oc.concession_item_id WHERE oc.price_at_purchase <> ci.price) + (SELECT count(*) FROM transactions x JOIN orders o ON o.id = x.order_id WHERE x.amount <> o.final_amount OR x.processed_at <= o.created_at) AS violations"
      },
      {
        "name": "A film plays from its release for up to eight weeks, and a show runs ten or more minutes longer than its film and at most three hours",
        "sql": "SELECT count(*) AS violations FROM shows s JOIN movies m ON m.id = s.movie_id WHERE s.start_time::date < m.release_date OR s.start_time::date > m.release_date + 56 OR s.end_time < s.start_time + (m.duration_minutes + 10) * interval '1 minute' OR s.end_time > s.start_time + interval '3 hours'"
      },
      {
        "name": "A ticket is bought ten minutes to two weeks before its show; a refund is at most what was paid and comes after the order",
        "sql": "SELECT (SELECT count(*) FROM orders o JOIN (SELECT DISTINCT order_id, show_id FROM tickets) t ON t.order_id = o.id JOIN shows s ON s.id = t.show_id WHERE o.created_at > s.start_time - interval '10 minutes' OR o.created_at < s.start_time - interval '14 days') + (SELECT count(*) FROM user_refunds r JOIN orders o ON o.id = r.order_id WHERE r.amount > o.final_amount OR r.requested_at <= o.created_at OR r.processed_at <= r.requested_at) AS violations"
      },
      {
        "name": "A screen's capacity is its seats, numbered 1 to 18 in lettered rows with no seat twice, and each theater names its screens once",
        "sql": "SELECT (SELECT count(*) FROM screens sc LEFT JOIN (SELECT screen_id, count(*) AS seats FROM seats GROUP BY screen_id) s ON s.screen_id = sc.id WHERE sc.capacity <> coalesce(s.seats, 0)) + (SELECT count(*) - count(DISTINCT (screen_id, row_label, number_label)) FROM seats) + (SELECT count(*) - count(DISTINCT (theater_id, name)) FROM screens) + (SELECT count(*) FROM seats WHERE grid_column NOT BETWEEN 1 AND 18) AS violations"
      },
      {
        "name": "No theater lists a facility twice, no film a genre twice, and no customer saves a film twice; every theater has screens",
        "sql": "SELECT (SELECT count(*) - count(DISTINCT (theater_id, facility_id)) FROM theater_facilities) + (SELECT count(*) - count(DISTINCT (movie_id, genre_id)) FROM movie_genres) + (SELECT count(*) - count(DISTINCT (user_id, movie_id)) FROM user_favorites) + (SELECT count(*) FROM theaters th LEFT JOIN screens sc ON sc.theater_id = th.id WHERE sc.id IS NULL) AS violations"
      }
    ]
  },
  "publishedAt": 1791387005627,
  "updatedAt": 1791387005627
}
