{
  "format": "dataset-manifest/1",
  "slug": "music-streaming-sample-database",
  "version": 1,
  "seed": "flagship:music-streaming-sample-database:1k",
  "engine": 2,
  "engineVersion": "1.0.0",
  "spec": {
    "format": "dataset/1",
    "engine": 2,
    "slug": "music-streaming-sample-database",
    "name": "Music streaming sample database",
    "tagline": "Listeners, tracks, albums, artists, plays, likes, playlists, podcasts, subscriptions and ads for a streaming app.",
    "description": "A music and podcast streaming service: listeners sign up, play tracks from albums by artists, like and follow, build playlists, download for offline listening, follow podcasts and hear ads. Every play happens after the listener signed up, within their first year; a subscription period runs exactly thirty days and every charge is the price of the one paid tier; podcast progress never passes the length of the episode. Track and album titles are drawn from a word list, and lyrics are not included.",
    "domain": "media",
    "shape": "event-log",
    "useCases": [
      "sql-practice",
      "bi-dashboards",
      "analytics-demo"
    ],
    "keywords": [
      "music streaming",
      "listening history",
      "playlists",
      "podcasts",
      "sample database"
    ],
    "locale": "en_US",
    "license": "CC0-1.0",
    "version": 1,
    "seed": "flagship:music-streaming-sample-database",
    "tables": {
      "ad_campaigns": {
        "description": "Rows for the ad_campaigns table.",
        "rows": 30,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "advertiser_name": {
            "kind": "company.name"
          },
          "budget": {
            "kind": "decimal",
            "min": 1000,
            "max": 50000,
            "scale": 2,
            "distribution": "long-tail"
          },
          "end_date": {
            "kind": "date",
            "after": "start_date",
            "withinDays": 60
          },
          "start_date": {
            "kind": "date",
            "from": "2021-01-01",
            "to": "2025-10-31"
          }
        }
      },
      "ad_impressions": {
        "description": "Rows for the ad_impressions table.",
        "rows": 80,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "ad_id": {
            "kind": "fk",
            "ref": "advertisements.id",
            "skew": "long-tail"
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          },
          "viewed_at": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31",
            "dayProfile": "waking"
          }
        }
      },
      "advertisements": {
        "description": "Rows for the advertisements table.",
        "rows": 120,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "audio_url": {
            "kind": "pattern",
            "pattern": "[https://cdn.example.com/ads/]xxxxxxxxxxxx[.mp3]"
          },
          "campaign_id": {
            "kind": "fk",
            "ref": "ad_campaigns.id",
            "skew": "long-tail"
          },
          "duration_seconds": {
            "kind": "int",
            "min": 15,
            "max": 60
          },
          "target_genre_id": {
            "kind": "fk",
            "ref": "genres.id",
            "skew": "long-tail"
          }
        }
      },
      "album_artists": {
        "description": "Rows for the album_artists table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "album_id": {
            "kind": "fk",
            "ref": "albums.id",
            "skew": "long-tail"
          },
          "artist_id": {
            "kind": "fk",
            "ref": "artists.id",
            "skew": "long-tail"
          }
        }
      },
      "albums": {
        "description": "Rows for the albums table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "cover_url": {
            "kind": "pattern",
            "pattern": "[https://cdn.example.com/covers/]########[.jpg]"
          },
          "release_date": {
            "kind": "date",
            "from": "1965-01-01",
            "to": "2025-12-31",
            "trend": "growing"
          },
          "title": {
            "kind": "title",
            "min": 1,
            "max": 4,
            "pool": [
              "summer",
              "nights",
              "blue",
              "fire",
              "heart",
              "city",
              "lights",
              "dreams",
              "gold",
              "forever",
              "stranger",
              "wild",
              "shadows",
              "ocean",
              "rain",
              "electric",
              "young",
              "love",
              "lost",
              "home",
              "road",
              "sky",
              "glass",
              "radio",
              "diamond",
              "storm",
              "paradise",
              "silence",
              "motion",
              "velvet",
              "midnight",
              "sunset"
            ]
          },
          "type": {
            "kind": "enum",
            "values": [
              "album",
              "single",
              "ep",
              "compilation"
            ],
            "weights": [
              45,
              35,
              15,
              5
            ]
          }
        }
      },
      "alternative_genres": {
        "description": "Rows for the alternative_genres table.",
        "rows": 20,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "parent_genre_id": {
            "kind": "fk",
            "ref": "genres.id",
            "skew": "long-tail"
          },
          "sub_genre_id": {
            "kind": "fk",
            "ref": "genres.id",
            "skew": "long-tail"
          }
        }
      },
      "artist_follows": {
        "description": "Rows for the artist_follows table.",
        "rows": 30,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "artist_id": {
            "kind": "fk",
            "ref": "artists.id",
            "skew": "long-tail"
          },
          "followed_at": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          }
        }
      },
      "artist_socials": {
        "description": "Rows for the artist_socials table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "artist_id": {
            "kind": "fk",
            "ref": "artists.id",
            "unique": true
          },
          "instagram": {
            "kind": "pattern",
            "pattern": "[@]aaaaaaaa"
          },
          "twitter": {
            "kind": "pattern",
            "pattern": "[@]aaaaaaaa"
          },
          "website": {
            "kind": "internet.url"
          }
        }
      },
      "artists": {
        "description": "Rows for the artists table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "bio": {
            "kind": "enum",
            "values": [
              "Independent artist",
              "Signed to a major label",
              "Producer and songwriter",
              "Touring band",
              "Solo project"
            ]
          },
          "image_url": {
            "kind": "pattern",
            "pattern": "[https://cdn.example.com/artists/]########[.jpg]"
          },
          "name": {
            "kind": "title",
            "min": 1,
            "max": 3,
            "pool": [
              "velvet",
              "echo",
              "neon",
              "river",
              "paper",
              "moon",
              "static",
              "golden",
              "hollow",
              "wolves",
              "saints",
              "tide",
              "atlas",
              "kids",
              "garden",
              "parade",
              "ghost",
              "honey",
              "avenue",
              "satellite",
              "drift",
              "harbor",
              "machine",
              "sparrow",
              "lantern",
              "canyon",
              "cherry",
              "midnight",
              "signal",
              "violet",
              "thunder",
              "coast",
              "mirror",
              "orbit"
            ]
          },
          "verified": {
            "kind": "bool",
            "trueRate": 0.3
          }
        }
      },
      "audio_features": {
        "description": "Rows for the audio_features table.",
        "rows": 20,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "danceability": {
            "kind": "decimal",
            "min": 0,
            "max": 1,
            "scale": 3,
            "distribution": "normal"
          },
          "energy": {
            "kind": "decimal",
            "min": 0,
            "max": 1,
            "scale": 3,
            "distribution": "normal"
          },
          "loudness": {
            "kind": "decimal",
            "min": -30,
            "max": 0,
            "scale": 2,
            "distribution": "high"
          },
          "musical_key": {
            "kind": "int",
            "min": 0,
            "max": 11
          },
          "tempo": {
            "kind": "decimal",
            "min": 60,
            "max": 200,
            "scale": 1,
            "distribution": "normal"
          },
          "track_id": {
            "kind": "fk",
            "ref": "tracks.id",
            "unique": true
          },
          "valence": {
            "kind": "decimal",
            "min": 0,
            "max": 1,
            "scale": 3,
            "distribution": "normal"
          }
        }
      },
      "devices": {
        "description": "Rows for the devices table.",
        "rows": 30,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "last_active": {
            "kind": "datetime",
            "from": "2024-01-01",
            "to": "2025-12-31",
            "dayProfile": "waking"
          },
          "name": {
            "kind": "enum",
            "values": [
              "Phone",
              "Living room",
              "Work laptop",
              "Kitchen",
              "Car",
              "Bedroom"
            ],
            "weights": [
              40,
              12,
              18,
              8,
              12,
              10
            ]
          },
          "os": {
            "kind": "enum",
            "values": [
              "Android",
              "iOS",
              "Windows",
              "macOS",
              "Linux",
              "Other"
            ],
            "weights": [
              38,
              30,
              15,
              8,
              2,
              7
            ]
          },
          "type": {
            "kind": "enum",
            "values": [
              "smartphone",
              "computer",
              "smart_speaker",
              "tv",
              "car",
              "tablet"
            ],
            "weights": [
              50,
              20,
              12,
              6,
              6,
              6
            ]
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          }
        }
      },
      "episode_history": {
        "description": "Rows for the episode_history table.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "episode_id": {
            "kind": "fk",
            "ref": "podcast_episodes.id",
            "skew": "long-tail"
          },
          "played_at": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31",
            "dayProfile": "waking"
          },
          "progress_seconds": {
            "kind": "int",
            "min": 0,
            "max": 600
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          }
        }
      },
      "genres": {
        "description": "Rows for the genres table.",
        "rows": 24,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "description": {
            "kind": "enum",
            "values": [
              "Editorial picks weekly",
              "Mostly user playlists",
              "Growing fast",
              "Catalogue staple"
            ]
          },
          "name": {
            "kind": "enum",
            "values": [
              "Pop",
              "Rock",
              "Hip-hop",
              "R&B",
              "Electronic",
              "Dance",
              "Jazz",
              "Classical",
              "Country",
              "Folk",
              "Indie",
              "Metal",
              "Punk",
              "Reggae",
              "Latin",
              "K-pop",
              "Blues",
              "Soul",
              "Funk",
              "Ambient",
              "Soundtrack",
              "Gospel",
              "World",
              "Lo-fi"
            ],
            "unique": true
          }
        }
      },
      "listening_history": {
        "description": "Rows for the listening_history table.",
        "rows": 1000,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "percentage_played": {
            "kind": "int",
            "min": 1,
            "max": 100,
            "distribution": "high"
          },
          "played_at": {
            "kind": "datetime",
            "from": "2019-01-01",
            "to": "2025-12-31",
            "dayProfile": "waking"
          },
          "track_id": {
            "kind": "fk",
            "ref": "tracks.id",
            "skew": "long-tail"
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          }
        }
      },
      "lyrics": {
        "description": "Rows for the lyrics table.",
        "rows": 12,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "content": {
            "kind": "constant",
            "value": "Licensed lyrics are not included in this sample."
          },
          "sync_timestamps": {
            "kind": "constant",
            "value": "[]"
          },
          "track_id": {
            "kind": "fk",
            "ref": "tracks.id",
            "unique": true
          }
        }
      },
      "offline_downloads": {
        "description": "Rows for the offline_downloads table.",
        "rows": 20,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "device_id": {
            "kind": "fk",
            "ref": "devices.id",
            "skew": "long-tail"
          },
          "downloaded_at": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31",
            "dayProfile": "waking"
          },
          "track_id": {
            "kind": "fk",
            "ref": "tracks.id",
            "skew": "long-tail"
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          }
        }
      },
      "payment_transactions": {
        "description": "Rows for the payment_transactions table.",
        "rows": 40,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "amount": {
            "kind": "constant",
            "value": 10.99
          },
          "payment_method": {
            "kind": "enum",
            "values": [
              "card",
              "paypal_wallet",
              "mobile_carrier",
              "gift_card"
            ],
            "weights": [
              65,
              20,
              10,
              5
            ]
          },
          "status": {
            "kind": "enum",
            "values": [
              "completed",
              "failed",
              "refunded"
            ],
            "weights": [
              94,
              4,
              2
            ]
          },
          "transaction_date": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          }
        }
      },
      "playlist_tracks": {
        "description": "Rows for the playlist_tracks table.",
        "rows": 60,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "added_at": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "playlist_id": {
            "kind": "fk",
            "ref": "playlists.id",
            "skew": "long-tail"
          },
          "position": {
            "kind": "int",
            "min": 1,
            "max": 50
          },
          "track_id": {
            "kind": "fk",
            "ref": "tracks.id",
            "skew": "long-tail"
          }
        }
      },
      "playlists": {
        "description": "Rows for the playlists table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "cover_url": {
            "kind": "pattern",
            "pattern": "[https://cdn.example.com/playlists/]########[.jpg]"
          },
          "description": {
            "kind": "enum",
            "values": [
              "Updated weekly",
              "My favourites",
              "For the gym",
              "Background music"
            ],
            "nullable": true,
            "nullRate": 0.4
          },
          "is_private": {
            "kind": "bool",
            "trueRate": 0.4
          },
          "name": {
            "kind": "title",
            "min": 1,
            "max": 3,
            "pool": [
              "chill",
              "workout",
              "focus",
              "road",
              "trip",
              "party",
              "sunday",
              "morning",
              "late",
              "night",
              "study",
              "summer",
              "throwback",
              "favourites",
              "drive",
              "rainy",
              "day",
              "dinner",
              "running",
              "mix",
              "vibes",
              "classics",
              "acoustic",
              "deep"
            ]
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          }
        }
      },
      "podcast_episodes": {
        "description": "Rows for the podcast_episodes table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "audio_url": {
            "kind": "pattern",
            "pattern": "[https://cdn.example.com/episodes/]xxxxxxxxxxxx[.mp3]"
          },
          "description": {
            "kind": "enum",
            "values": [
              "Full episode",
              "Bonus episode",
              "Trailer",
              "Interview"
            ],
            "weights": [
              70,
              15,
              5,
              10
            ]
          },
          "duration_seconds": {
            "kind": "int",
            "min": 600,
            "max": 5400,
            "distribution": "normal"
          },
          "podcast_id": {
            "kind": "fk",
            "ref": "podcasts.id",
            "skew": "long-tail"
          },
          "release_date": {
            "kind": "date",
            "from": "2019-01-01",
            "to": "2025-12-31"
          },
          "title": {
            "kind": "title",
            "min": 2,
            "max": 5,
            "pool": [
              "why",
              "the",
              "future",
              "of",
              "money",
              "inside",
              "story",
              "behind",
              "what",
              "we",
              "got",
              "wrong",
              "about",
              "sleep",
              "work",
              "cities",
              "food",
              "power",
              "last",
              "interview",
              "season",
              "finale",
              "part",
              "one",
              "two"
            ]
          }
        }
      },
      "podcast_subscriptions": {
        "description": "Rows for the podcast_subscriptions table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "podcast_id": {
            "kind": "fk",
            "ref": "podcasts.id",
            "skew": "long-tail"
          },
          "subscribed_at": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          }
        }
      },
      "podcasts": {
        "description": "Rows for the podcasts table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "cover_url": {
            "kind": "pattern",
            "pattern": "[https://cdn.example.com/podcasts/]########[.jpg]"
          },
          "description": {
            "kind": "enum",
            "values": [
              "New episodes every week",
              "Daily news",
              "Interviews",
              "Storytelling series"
            ]
          },
          "language": {
            "kind": "enum",
            "values": [
              "English",
              "Spanish",
              "Portuguese",
              "German",
              "French"
            ],
            "weights": [
              65,
              14,
              8,
              7,
              6
            ]
          },
          "publisher": {
            "kind": "company.name"
          },
          "title": {
            "kind": "title",
            "min": 2,
            "max": 4,
            "pool": [
              "daily",
              "brief",
              "deep",
              "dive",
              "history",
              "hour",
              "tech",
              "talk",
              "money",
              "matters",
              "true",
              "crime",
              "science",
              "weekly",
              "kitchen",
              "table",
              "sports",
              "desk",
              "mind",
              "body",
              "startup",
              "stories",
              "world",
              "news",
              "comedy",
              "club"
            ]
          }
        }
      },
      "recommendation_tracks": {
        "description": "Rows for the recommendation_tracks table.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "recommendation_id": {
            "kind": "fk",
            "ref": "recommendations.id",
            "skew": "long-tail"
          },
          "score": {
            "kind": "decimal",
            "min": 0,
            "max": 1,
            "scale": 3,
            "distribution": "high"
          },
          "track_id": {
            "kind": "fk",
            "ref": "tracks.id",
            "skew": "long-tail"
          }
        }
      },
      "recommendations": {
        "description": "Rows for the recommendations table.",
        "rows": 20,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "algorithm_type": {
            "kind": "enum",
            "values": [
              "collaborative_filtering",
              "content_based",
              "trending",
              "editorial"
            ],
            "weights": [
              45,
              30,
              15,
              10
            ]
          },
          "generated_at": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          }
        }
      },
      "search_queries": {
        "description": "Rows for the search_queries table.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "query_text": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "pool": [
              "chill",
              "beats",
              "live",
              "remix",
              "acoustic",
              "cover",
              "piano",
              "lofi",
              "jazz",
              "workout",
              "sleep",
              "rain",
              "sounds",
              "top",
              "hits",
              "2024",
              "new",
              "songs",
              "love",
              "party",
              "classic",
              "rock",
              "podcast",
              "news"
            ]
          },
          "searched_at": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31",
            "dayProfile": "waking"
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          }
        }
      },
      "subscription_tiers": {
        "description": "Rows for the subscription_tiers table.",
        "rows": 1,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "duration_days": {
            "kind": "constant",
            "value": 30
          },
          "name": {
            "kind": "constant",
            "value": "premium"
          },
          "price": {
            "kind": "constant",
            "value": 10.99
          }
        }
      },
      "track_artists": {
        "description": "Rows for the track_artists table.",
        "rows": 24,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "artist_id": {
            "kind": "fk",
            "ref": "artists.id",
            "skew": "long-tail"
          },
          "track_id": {
            "kind": "fk",
            "ref": "tracks.id",
            "skew": "long-tail"
          }
        }
      },
      "track_comments": {
        "description": "Rows for the track_comments table.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "content": {
            "kind": "enum",
            "values": [
              "This one is on repeat",
              "Better live",
              "Underrated",
              "The bridge though",
              "Takes me back",
              "Skip the intro"
            ]
          },
          "created_at": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31",
            "dayProfile": "waking"
          },
          "track_id": {
            "kind": "fk",
            "ref": "tracks.id",
            "skew": "long-tail"
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          }
        }
      },
      "track_genres": {
        "description": "Rows for the track_genres table.",
        "rows": 25,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "genre_id": {
            "kind": "fk",
            "ref": "genres.id",
            "skew": "long-tail"
          },
          "track_id": {
            "kind": "fk",
            "ref": "tracks.id",
            "skew": "long-tail"
          }
        }
      },
      "track_likes": {
        "description": "Rows for the track_likes table.",
        "rows": 80,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "liked_at": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31",
            "dayProfile": "waking"
          },
          "track_id": {
            "kind": "fk",
            "ref": "tracks.id",
            "skew": "long-tail"
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          }
        }
      },
      "tracks": {
        "description": "Rows for the tracks table.",
        "rows": 20,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "album_id": {
            "kind": "fk",
            "ref": "albums.id",
            "skew": "long-tail"
          },
          "duration_seconds": {
            "kind": "int",
            "min": 95,
            "max": 420,
            "distribution": "normal"
          },
          "explicit": {
            "kind": "bool",
            "trueRate": 0.15
          },
          "file_url": {
            "kind": "pattern",
            "pattern": "[https://cdn.example.com/audio/]xxxxxxxxxxxx[.ogg]",
            "unique": true
          },
          "title": {
            "kind": "title",
            "min": 1,
            "max": 4,
            "pool": [
              "tonight",
              "falling",
              "stay",
              "run",
              "dance",
              "alone",
              "better",
              "together",
              "golden",
              "hours",
              "fire",
              "call",
              "slow",
              "dreams",
              "ghost",
              "river",
              "heart",
              "wild",
              "down",
              "higher",
              "mine",
              "sweet",
              "lies",
              "again",
              "home",
              "light",
              "night",
              "echo",
              "feel",
              "free",
              "gone",
              "rain",
              "shine",
              "young",
              "blue",
              "storm"
            ]
          },
          "track_number": {
            "kind": "int",
            "min": 1,
            "max": 14
          }
        }
      },
      "user_follows": {
        "description": "Rows for the user_follows table.",
        "rows": 30,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "followed_at": {
            "kind": "datetime",
            "from": "2021-01-01",
            "to": "2025-12-31"
          },
          "followed_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          },
          "follower_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          }
        }
      },
      "user_subscriptions": {
        "description": "Rows for the user_subscriptions table.",
        "rows": 12,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "end_date": {
            "kind": "date",
            "after": "start_date",
            "withinDays": 30
          },
          "start_date": {
            "kind": "date",
            "from": "2021-01-01",
            "to": "2025-11-30"
          },
          "tier_id": {
            "kind": "fk",
            "ref": "subscription_tiers.id",
            "skew": "long-tail"
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "skew": "long-tail"
          }
        }
      },
      "users": {
        "description": "Rows for the users table.",
        "rows": 20,
        "columns": {
          "id": {
            "kind": "pk"
          },
          "country": {
            "kind": "enum",
            "values": [
              "United States",
              "United Kingdom",
              "Germany",
              "Brazil",
              "Mexico",
              "France",
              "Canada",
              "Australia",
              "Japan",
              "India",
              "Turkey",
              "Spain"
            ],
            "weights": [
              30,
              9,
              8,
              9,
              6,
              6,
              5,
              4,
              5,
              8,
              4,
              6
            ]
          },
          "created_at": {
            "kind": "datetime",
            "from": "2019-01-01",
            "to": "2024-12-31",
            "trend": "growing"
          },
          "email": {
            "kind": "internet.email",
            "unique": true
          },
          "password_hash": {
            "kind": "pattern",
            "pattern": "[$2b$12$]xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
          },
          "username": {
            "kind": "internet.username",
            "unique": true
          }
        }
      }
    }
  },
  "counts": {
    "ad_campaigns": 30,
    "albums": 10,
    "artists": 10,
    "album_artists": 10,
    "artist_socials": 10,
    "genres": 24,
    "advertisements": 120,
    "alternative_genres": 20,
    "podcasts": 10,
    "podcast_episodes": 10,
    "subscription_tiers": 1,
    "tracks": 20,
    "audio_features": 20,
    "lyrics": 12,
    "track_artists": 24,
    "track_genres": 25,
    "users": 20,
    "ad_impressions": 80,
    "artist_follows": 30,
    "devices": 30,
    "episode_history": 50,
    "listening_history": 1000,
    "offline_downloads": 20,
    "payment_transactions": 40,
    "playlists": 10,
    "playlist_tracks": 60,
    "podcast_subscriptions": 10,
    "recommendations": 20,
    "recommendation_tracks": 100,
    "search_queries": 50,
    "track_comments": 10,
    "track_likes": 80,
    "user_follows": 30,
    "user_subscriptions": 12
  },
  "artifacts": [
    {
      "file": "csv/ad_campaigns.csv",
      "format": "csv",
      "table": "ad_campaigns",
      "key": "datasets/music-streaming-sample-database/v1/csv/ad_campaigns.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/ad_campaigns.csv",
      "bytes": 1741,
      "sha256": "02f4527d68476d6fd6d9deb83f9c58f5f99662b9785a7b19fae7488299284482",
      "rows": 30,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/albums.csv",
      "format": "csv",
      "table": "albums",
      "key": "datasets/music-streaming-sample-database/v1/csv/albums.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/albums.csv",
      "bytes": 829,
      "sha256": "0f583b34c59837986bdd849e58c4b1f18505b4bd2d68a58d672a38daf0fb9e53",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/artists.csv",
      "format": "csv",
      "table": "artists",
      "key": "datasets/music-streaming-sample-database/v1/csv/artists.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/artists.csv",
      "bytes": 925,
      "sha256": "c46b654dc28cb37ee3ec4fa0b39a21c54be11c45ddce324d64b2698bd09f7ebf",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/album_artists.csv",
      "format": "csv",
      "table": "album_artists",
      "key": "datasets/music-streaming-sample-database/v1/csv/album_artists.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/album_artists.csv",
      "bytes": 94,
      "sha256": "78065fc9e088d0ee1a9c0a0554bbed3bc9737649e382715c5358f628786b0917",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/artist_socials.csv",
      "format": "csv",
      "table": "artist_socials",
      "key": "datasets/music-streaming-sample-database/v1/csv/artist_socials.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/artist_socials.csv",
      "bytes": 583,
      "sha256": "6233c464ab2d4c459d6e413053f79524bc31a492bd938148c328b544ced0f67b",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/genres.csv",
      "format": "csv",
      "table": "genres",
      "key": "datasets/music-streaming-sample-database/v1/csv/genres.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/genres.csv",
      "bytes": 690,
      "sha256": "76c04c608bf265fa5f501f81aa01f5f293947068d66a84cf705db3f60c66017f",
      "rows": 24,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/advertisements.csv",
      "format": "csv",
      "table": "advertisements",
      "key": "datasets/music-streaming-sample-database/v1/csv/advertisements.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/advertisements.csv",
      "bytes": 6898,
      "sha256": "9b242da7dd1831166639b4435e559b57db525282d1df7dc0da7bab9832451202",
      "rows": 120,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/alternative_genres.csv",
      "format": "csv",
      "table": "alternative_genres",
      "key": "datasets/music-streaming-sample-database/v1/csv/alternative_genres.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/alternative_genres.csv",
      "bytes": 200,
      "sha256": "ba4dd878df3db8ff6e7747066e6da7a34d066098b7cf2b3a3a138e19688c5c60",
      "rows": 20,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/podcasts.csv",
      "format": "csv",
      "table": "podcasts",
      "key": "datasets/music-streaming-sample-database/v1/csv/podcasts.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/podcasts.csv",
      "bytes": 1169,
      "sha256": "3a9886bffefd164ae92d5051718a4f33f55c09c9f22b7a88a962209825b31ff9",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/podcast_episodes.csv",
      "format": "csv",
      "table": "podcast_episodes",
      "key": "datasets/music-streaming-sample-database/v1/csv/podcast_episodes.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/podcast_episodes.csv",
      "bytes": 1115,
      "sha256": "186e8973aebc67865c2c27500d3da451445d9c915ef9b4b402eee91e547d929e",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/subscription_tiers.csv",
      "format": "csv",
      "table": "subscription_tiers",
      "key": "datasets/music-streaming-sample-database/v1/csv/subscription_tiers.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/subscription_tiers.csv",
      "bytes": 49,
      "sha256": "c361bd615bb953804fffdbfe9d3c548ec4f9bec6126e64c0aa9fa01278c1ecc4",
      "rows": 1,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/tracks.csv",
      "format": "csv",
      "table": "tracks",
      "key": "datasets/music-streaming-sample-database/v1/csv/tracks.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/tracks.csv",
      "bytes": 1656,
      "sha256": "35eb3b25fcc7e1d82810e038d8e005ccca97c243e727aced24ddc82b1925a395",
      "rows": 20,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/audio_features.csv",
      "format": "csv",
      "table": "audio_features",
      "key": "datasets/music-streaming-sample-database/v1/csv/audio_features.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/audio_features.csv",
      "bytes": 837,
      "sha256": "8929f7fa9a1c8746bbd2193dc2d8318d5f985a88368671cbb677d4e8d24e52a0",
      "rows": 20,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/lyrics.csv",
      "format": "csv",
      "table": "lyrics",
      "key": "datasets/music-streaming-sample-database/v1/csv/lyrics.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/lyrics.csv",
      "bytes": 731,
      "sha256": "3510ec0acc313c09611170bcf417d7a0be3b3e6beb0debdbd1a15cf38d0133e0",
      "rows": 12,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/track_artists.csv",
      "format": "csv",
      "table": "track_artists",
      "key": "datasets/music-streaming-sample-database/v1/csv/track_artists.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/track_artists.csv",
      "bytes": 216,
      "sha256": "990c58ba750811a436ce10157a23a48d3421ceee6afecb1744784d303e8e4574",
      "rows": 24,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/track_genres.csv",
      "format": "csv",
      "table": "track_genres",
      "key": "datasets/music-streaming-sample-database/v1/csv/track_genres.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/track_genres.csv",
      "bytes": 231,
      "sha256": "661ffc3bdd34d1b3efea7f5b17818db44a7a6590cd084ae7099c0f3781934943",
      "rows": 25,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/music-streaming-sample-database/v1/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/users.csv",
      "bytes": 2805,
      "sha256": "7989c2c6efc1ff030e11bc61ee8df455a7367a0d7d094cc1a0067e63146f22e8",
      "rows": 20,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/ad_impressions.csv",
      "format": "csv",
      "table": "ad_impressions",
      "key": "datasets/music-streaming-sample-database/v1/csv/ad_impressions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/ad_impressions.csv",
      "bytes": 2352,
      "sha256": "77ea6b6d372430507fa45049d8698a1d123efc20ca2b27fc0cd6b8c99591a3bf",
      "rows": 80,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/artist_follows.csv",
      "format": "csv",
      "table": "artist_follows",
      "key": "datasets/music-streaming-sample-database/v1/csv/artist_follows.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/artist_follows.csv",
      "bytes": 874,
      "sha256": "78b91b7032edccfce8d2518187736d5d27ffbd583b8f51680d0d46477c37e555",
      "rows": 30,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/devices.csv",
      "format": "csv",
      "table": "devices",
      "key": "datasets/music-streaming-sample-database/v1/csv/devices.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/devices.csv",
      "bytes": 1539,
      "sha256": "c9b8f50854b265119c717ab82c3138407049b5c7491988e39a7f442f01390e5b",
      "rows": 30,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/episode_history.csv",
      "format": "csv",
      "table": "episode_history",
      "key": "datasets/music-streaming-sample-database/v1/csv/episode_history.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/episode_history.csv",
      "bytes": 1644,
      "sha256": "11bbfea3c01f2618a93d549c126ac47962ce6aa291d8d334e5cbd7cfe6be6a30",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/listening_history.csv",
      "format": "csv",
      "table": "listening_history",
      "key": "datasets/music-streaming-sample-database/v1/csv/listening_history.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/listening_history.csv",
      "bytes": 32618,
      "sha256": "bab657ab942a68b93823346a3e7ce02e5503707fcb53007aa1a1b383c5487fe2",
      "rows": 1000,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/offline_downloads.csv",
      "format": "csv",
      "table": "offline_downloads",
      "key": "datasets/music-streaming-sample-database/v1/csv/offline_downloads.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/offline_downloads.csv",
      "bytes": 661,
      "sha256": "aaceb848a54ce4335c6939a716c0e1a26aebf73acdbf6f33c3c8fa0b4c251fa8",
      "rows": 20,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/payment_transactions.csv",
      "format": "csv",
      "table": "payment_transactions",
      "key": "datasets/music-streaming-sample-database/v1/csv/payment_transactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/payment_transactions.csv",
      "bytes": 2075,
      "sha256": "e0644d8498a4c0f09bd60d29943a1ea6bd998ee9a4f973678a811a321255d3d7",
      "rows": 40,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/playlists.csv",
      "format": "csv",
      "table": "playlists",
      "key": "datasets/music-streaming-sample-database/v1/csv/playlists.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/playlists.csv",
      "bytes": 836,
      "sha256": "415fe73da66e655eea3359eaa75bf17412dccbea330b32420510a0282b003d0b",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/playlist_tracks.csv",
      "format": "csv",
      "table": "playlist_tracks",
      "key": "datasets/music-streaming-sample-database/v1/csv/playlist_tracks.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/playlist_tracks.csv",
      "bytes": 1904,
      "sha256": "b99d13933c3ca52716733a0ce5f071f7318304d81ef32d804471c501789309d6",
      "rows": 60,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/podcast_subscriptions.csv",
      "format": "csv",
      "table": "podcast_subscriptions",
      "key": "datasets/music-streaming-sample-database/v1/csv/podcast_subscriptions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/podcast_subscriptions.csv",
      "bytes": 313,
      "sha256": "e6cc4e8d5309bd2e1b8e536b355b490bb9e5f17eae58c49dbf6126694b55ebaf",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/recommendations.csv",
      "format": "csv",
      "table": "recommendations",
      "key": "datasets/music-streaming-sample-database/v1/csv/recommendations.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/recommendations.csv",
      "bytes": 903,
      "sha256": "6511153603f83c007b20322efbd50dc3765601df3756828b9b94cd4192bd4a89",
      "rows": 20,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/recommendation_tracks.csv",
      "format": "csv",
      "table": "recommendation_tracks",
      "key": "datasets/music-streaming-sample-database/v1/csv/recommendation_tracks.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/recommendation_tracks.csv",
      "bytes": 1501,
      "sha256": "153fd9cc35ac194afe59d390e7774a27187b42ce50f8afa94aff0fdec105bfdc",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/search_queries.csv",
      "format": "csv",
      "table": "search_queries",
      "key": "datasets/music-streaming-sample-database/v1/csv/search_queries.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/search_queries.csv",
      "bytes": 1909,
      "sha256": "128e803c3d40da1afd4f54e0c7c332e23d9a9ec006519b11206b6f0d79427770",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/track_comments.csv",
      "format": "csv",
      "table": "track_comments",
      "key": "datasets/music-streaming-sample-database/v1/csv/track_comments.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/track_comments.csv",
      "bytes": 454,
      "sha256": "175c387288e69c7f189a7f0dd11def758418566d800da83f1048606df2532e65",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/track_likes.csv",
      "format": "csv",
      "table": "track_likes",
      "key": "datasets/music-streaming-sample-database/v1/csv/track_likes.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/track_likes.csv",
      "bytes": 2314,
      "sha256": "7c04b3c3125e703190b67a34b43f0b4d3724ed9d14330eab160aa73da839c5ab",
      "rows": 80,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/user_follows.csv",
      "format": "csv",
      "table": "user_follows",
      "key": "datasets/music-streaming-sample-database/v1/csv/user_follows.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/user_follows.csv",
      "bytes": 896,
      "sha256": "57eada4eeeb637acabbc43c4c46b6c917581993dd1f3ff0674f2e06dcdb0e7a6",
      "rows": 30,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/user_subscriptions.csv",
      "format": "csv",
      "table": "user_subscriptions",
      "key": "datasets/music-streaming-sample-database/v1/csv/user_subscriptions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/csv/user_subscriptions.csv",
      "bytes": 396,
      "sha256": "9487b3ce81b79a2ddc331fc0cac81e95bfdc81f440fbab19e6d7e098ab3a9eed",
      "rows": 12,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "music-streaming-sample-database.json",
      "format": "json",
      "table": null,
      "key": "datasets/music-streaming-sample-database/v1/music-streaming-sample-database.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/music-streaming-sample-database.json",
      "bytes": 285588,
      "sha256": "21153afdf65a6ff1245697b6173476a76213055b072e6857b4c29c685507be6d",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/music-streaming-sample-database/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/sql/postgres.sql",
      "bytes": 118326,
      "sha256": "e540c59eed548ff4d858fbaa0b3eecfff82476bfc99f041e97663b655357a076",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/music-streaming-sample-database/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/sql/mysql.sql",
      "bytes": 114756,
      "sha256": "cf7fe1d30fd1c80c3cf2e25fb1626a7dad4e8f7d06024bd2102d05e5ebb406a9",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/music-streaming-sample-database/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/sql/mssql.sql",
      "bytes": 118850,
      "sha256": "3ed22b8a0f538599de5ad7f9852f8a999f2731fa1ecc0fa02584517d8f686a0b",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/music-streaming-sample-database/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/sql/sqlite.sql",
      "bytes": 111719,
      "sha256": "9a9e625b812ef0a9463bbcd16f9c39e1be211c120e750bfc59b643f965317a16",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/music-streaming-sample-database/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/prisma/seed.ts",
      "bytes": 236348,
      "sha256": "06eda8e8bfe16c73992141d62d918827f7f34a113caf6cacc0a5bdd70924b662",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/music-streaming-sample-database/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/django/fixtures.json",
      "bytes": 378450,
      "sha256": "d268dd4c4bd30a897689859cccac21e5a22a3d41fdf083bf61091f233d31a2c7",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "flagship": {
    "sizes": {
      "1k": {
        "rows": 2008,
        "counts": {
          "ad_campaigns": 30,
          "albums": 10,
          "artists": 10,
          "album_artists": 10,
          "artist_socials": 10,
          "genres": 24,
          "advertisements": 120,
          "alternative_genres": 20,
          "podcasts": 10,
          "podcast_episodes": 10,
          "subscription_tiers": 1,
          "tracks": 20,
          "audio_features": 20,
          "lyrics": 12,
          "track_artists": 24,
          "track_genres": 25,
          "users": 20,
          "ad_impressions": 80,
          "artist_follows": 30,
          "devices": 30,
          "episode_history": 50,
          "listening_history": 1000,
          "offline_downloads": 20,
          "payment_transactions": 40,
          "playlists": 10,
          "playlist_tracks": 60,
          "podcast_subscriptions": 10,
          "recommendations": 20,
          "recommendation_tracks": 100,
          "search_queries": 50,
          "track_comments": 10,
          "track_likes": 80,
          "user_follows": 30,
          "user_subscriptions": 12
        },
        "notes": [],
        "downloads": [
          {
            "format": "sql-postgres",
            "label": "PostgreSQL",
            "file": "flagship/1k/postgres.sql.gz",
            "key": "datasets/music-streaming-sample-database/v1/flagship/1k/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/flagship/1k/postgres.sql.gz",
            "bytes": 33557,
            "sha256": "5d10ae50824527337e0774ee8acccd988c594405131eab4437c5067fb8186fc1",
            "raw": {
              "bytes": 121964,
              "sha256": "91598d7a2c2c9339fdc26e97713e5e1faa2843aba9efecf74e17ea7e370551f3"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/1k/mysql.sql.gz",
            "key": "datasets/music-streaming-sample-database/v1/flagship/1k/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/flagship/1k/mysql.sql.gz",
            "bytes": 33022,
            "sha256": "374a8bc8bac9c24d2ba80a1baea517f01084511c78542c22fef43629b697d37f",
            "raw": {
              "bytes": 118394,
              "sha256": "2f7572caa3ca45bed7cf53c6fe0fdbc21e92a61dcdbadd43284a3b95ea0c1bee"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/1k/sqlite.sql.gz",
            "key": "datasets/music-streaming-sample-database/v1/flagship/1k/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/flagship/1k/sqlite.sql.gz",
            "bytes": 32459,
            "sha256": "06fef8dba07dc015b461e0f2f48e2e9628b93da684b670fdd0a204148fdfcece",
            "raw": {
              "bytes": 115357,
              "sha256": "a0a994aa572aace43f0f2b714a43500de058e42bc9edecc0013ca3c01a962a1e"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/1k/csv.zip",
            "key": "datasets/music-streaming-sample-database/v1/flagship/1k/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/flagship/1k/csv.zip",
            "bytes": 35399,
            "sha256": "16447bce049697c57f2900d7e3a684065509ffe69509218fc28f6fa6937632c0",
            "tables": {
              "ad_campaigns": {
                "bytes": 1741,
                "sha256": "02f4527d68476d6fd6d9deb83f9c58f5f99662b9785a7b19fae7488299284482"
              },
              "ad_impressions": {
                "bytes": 2352,
                "sha256": "77ea6b6d372430507fa45049d8698a1d123efc20ca2b27fc0cd6b8c99591a3bf"
              },
              "advertisements": {
                "bytes": 6898,
                "sha256": "9b242da7dd1831166639b4435e559b57db525282d1df7dc0da7bab9832451202"
              },
              "album_artists": {
                "bytes": 94,
                "sha256": "78065fc9e088d0ee1a9c0a0554bbed3bc9737649e382715c5358f628786b0917"
              },
              "albums": {
                "bytes": 829,
                "sha256": "0f583b34c59837986bdd849e58c4b1f18505b4bd2d68a58d672a38daf0fb9e53"
              },
              "alternative_genres": {
                "bytes": 200,
                "sha256": "ba4dd878df3db8ff6e7747066e6da7a34d066098b7cf2b3a3a138e19688c5c60"
              },
              "artist_follows": {
                "bytes": 874,
                "sha256": "78b91b7032edccfce8d2518187736d5d27ffbd583b8f51680d0d46477c37e555"
              },
              "artist_socials": {
                "bytes": 583,
                "sha256": "6233c464ab2d4c459d6e413053f79524bc31a492bd938148c328b544ced0f67b"
              },
              "artists": {
                "bytes": 925,
                "sha256": "c46b654dc28cb37ee3ec4fa0b39a21c54be11c45ddce324d64b2698bd09f7ebf"
              },
              "audio_features": {
                "bytes": 837,
                "sha256": "8929f7fa9a1c8746bbd2193dc2d8318d5f985a88368671cbb677d4e8d24e52a0"
              },
              "devices": {
                "bytes": 1539,
                "sha256": "c9b8f50854b265119c717ab82c3138407049b5c7491988e39a7f442f01390e5b"
              },
              "episode_history": {
                "bytes": 1644,
                "sha256": "11bbfea3c01f2618a93d549c126ac47962ce6aa291d8d334e5cbd7cfe6be6a30"
              },
              "genres": {
                "bytes": 690,
                "sha256": "76c04c608bf265fa5f501f81aa01f5f293947068d66a84cf705db3f60c66017f"
              },
              "listening_history": {
                "bytes": 32618,
                "sha256": "bab657ab942a68b93823346a3e7ce02e5503707fcb53007aa1a1b383c5487fe2"
              },
              "lyrics": {
                "bytes": 731,
                "sha256": "3510ec0acc313c09611170bcf417d7a0be3b3e6beb0debdbd1a15cf38d0133e0"
              },
              "offline_downloads": {
                "bytes": 661,
                "sha256": "aaceb848a54ce4335c6939a716c0e1a26aebf73acdbf6f33c3c8fa0b4c251fa8"
              },
              "payment_transactions": {
                "bytes": 2075,
                "sha256": "e0644d8498a4c0f09bd60d29943a1ea6bd998ee9a4f973678a811a321255d3d7"
              },
              "playlist_tracks": {
                "bytes": 1904,
                "sha256": "b99d13933c3ca52716733a0ce5f071f7318304d81ef32d804471c501789309d6"
              },
              "playlists": {
                "bytes": 836,
                "sha256": "415fe73da66e655eea3359eaa75bf17412dccbea330b32420510a0282b003d0b"
              },
              "podcast_episodes": {
                "bytes": 1115,
                "sha256": "186e8973aebc67865c2c27500d3da451445d9c915ef9b4b402eee91e547d929e"
              },
              "podcast_subscriptions": {
                "bytes": 313,
                "sha256": "e6cc4e8d5309bd2e1b8e536b355b490bb9e5f17eae58c49dbf6126694b55ebaf"
              },
              "podcasts": {
                "bytes": 1169,
                "sha256": "3a9886bffefd164ae92d5051718a4f33f55c09c9f22b7a88a962209825b31ff9"
              },
              "recommendation_tracks": {
                "bytes": 1501,
                "sha256": "153fd9cc35ac194afe59d390e7774a27187b42ce50f8afa94aff0fdec105bfdc"
              },
              "recommendations": {
                "bytes": 903,
                "sha256": "6511153603f83c007b20322efbd50dc3765601df3756828b9b94cd4192bd4a89"
              },
              "search_queries": {
                "bytes": 1909,
                "sha256": "128e803c3d40da1afd4f54e0c7c332e23d9a9ec006519b11206b6f0d79427770"
              },
              "subscription_tiers": {
                "bytes": 49,
                "sha256": "c361bd615bb953804fffdbfe9d3c548ec4f9bec6126e64c0aa9fa01278c1ecc4"
              },
              "track_artists": {
                "bytes": 216,
                "sha256": "990c58ba750811a436ce10157a23a48d3421ceee6afecb1744784d303e8e4574"
              },
              "track_comments": {
                "bytes": 454,
                "sha256": "175c387288e69c7f189a7f0dd11def758418566d800da83f1048606df2532e65"
              },
              "track_genres": {
                "bytes": 231,
                "sha256": "661ffc3bdd34d1b3efea7f5b17818db44a7a6590cd084ae7099c0f3781934943"
              },
              "track_likes": {
                "bytes": 2314,
                "sha256": "7c04b3c3125e703190b67a34b43f0b4d3724ed9d14330eab160aa73da839c5ab"
              },
              "tracks": {
                "bytes": 1656,
                "sha256": "35eb3b25fcc7e1d82810e038d8e005ccca97c243e727aced24ddc82b1925a395"
              },
              "user_follows": {
                "bytes": 896,
                "sha256": "57eada4eeeb637acabbc43c4c46b6c917581993dd1f3ff0674f2e06dcdb0e7a6"
              },
              "user_subscriptions": {
                "bytes": 396,
                "sha256": "9487b3ce81b79a2ddc331fc0cac81e95bfdc81f440fbab19e6d7e098ab3a9eed"
              },
              "users": {
                "bytes": 2805,
                "sha256": "7989c2c6efc1ff030e11bc61ee8df455a7367a0d7d094cc1a0067e63146f22e8"
              }
            },
            "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": "Nobody plays a track before they signed up",
            "violations": 0
          },
          {
            "name": "A subscription period is exactly thirty days",
            "violations": 0
          },
          {
            "name": "Every charge is the price of the paid tier",
            "violations": 0
          },
          {
            "name": "Podcast progress never passes the episode",
            "violations": 0
          },
          {
            "name": "An ad campaign ends after it starts",
            "violations": 0
          },
          {
            "name": "One set of audio features, and one lyrics row, per track",
            "violations": 0
          }
        ],
        "dirty": {
          "report": {
            "rates": {
              "missing": 0.03,
              "typos": 0.03,
              "outliers": 0.005,
              "duplicates": 0.01
            },
            "tables": {
              "ad_campaigns": {
                "duplicates": 0,
                "columns": {
                  "advertiser_name": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  },
                  "budget": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 1
                  },
                  "end_date": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "albums": {
                "duplicates": 0,
                "columns": {
                  "title": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "artists": {
                "duplicates": 0,
                "columns": {
                  "bio": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "artist_socials": {
                "duplicates": 0,
                "columns": {
                  "instagram": {
                    "missing": 0,
                    "typos": 2,
                    "outliers": 0
                  },
                  "twitter": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "website": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "genres": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "advertisements": {
                "duplicates": 2,
                "columns": {
                  "audio_url": {
                    "missing": 3,
                    "typos": 8,
                    "outliers": 0
                  },
                  "duration_seconds": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "alternative_genres": {
                "duplicates": 1,
                "columns": {}
              },
              "podcasts": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "language": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "publisher": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "podcast_episodes": {
                "duplicates": 0,
                "columns": {
                  "audio_url": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "duration_seconds": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "title": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "tracks": {
                "duplicates": 0,
                "columns": {
                  "explicit": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "file_url": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  },
                  "title": {
                    "missing": 1,
                    "typos": 2,
                    "outliers": 0
                  },
                  "track_number": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "audio_features": {
                "duplicates": 0,
                "columns": {
                  "energy": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "loudness": {
                    "missing": 0,
                    "typos": 0,
                    "outliers": 1
                  },
                  "valence": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "lyrics": {
                "duplicates": 0,
                "columns": {
                  "content": {
                    "missing": 2,
                    "typos": 1,
                    "outliers": 0
                  },
                  "sync_timestamps": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "users": {
                "duplicates": 0,
                "columns": {
                  "created_at": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "email": {
                    "missing": 0,
                    "typos": 2,
                    "outliers": 0
                  }
                }
              },
              "ad_impressions": {
                "duplicates": 1,
                "columns": {
                  "viewed_at": {
                    "missing": 3,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "devices": {
                "duplicates": 0,
                "columns": {
                  "last_active": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "type": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "episode_history": {
                "duplicates": 1,
                "columns": {
                  "played_at": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  },
                  "progress_seconds": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "listening_history": {
                "duplicates": 12,
                "columns": {
                  "percentage_played": {
                    "missing": 25,
                    "typos": 0,
                    "outliers": 3
                  },
                  "played_at": {
                    "missing": 32,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "payment_transactions": {
                "duplicates": 0,
                "columns": {
                  "amount": {
                    "missing": 0,
                    "typos": 0,
                    "outliers": 1
                  },
                  "payment_method": {
                    "missing": 1,
                    "typos": 4,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  },
                  "transaction_date": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "playlists": {
                "duplicates": 0,
                "columns": {
                  "cover_url": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "is_private": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "playlist_tracks": {
                "duplicates": 0,
                "columns": {
                  "added_at": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "position": {
                    "missing": 3,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "recommendation_tracks": {
                "duplicates": 3,
                "columns": {
                  "score": {
                    "missing": 2,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "search_queries": {
                "duplicates": 1,
                "columns": {
                  "query_text": {
                    "missing": 4,
                    "typos": 1,
                    "outliers": 0
                  },
                  "searched_at": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "track_likes": {
                "duplicates": 0,
                "columns": {
                  "liked_at": {
                    "missing": 3,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              }
            },
            "totals": {
              "missing": 115,
              "typos": 29,
              "outliers": 6,
              "duplicates": 21
            }
          },
          "downloads": [
            {
              "format": "dirty-sql-postgres",
              "label": "PostgreSQL, with faults",
              "file": "flagship/1k/dirty-postgres.sql.gz",
              "key": "datasets/music-streaming-sample-database/v1/flagship/1k/dirty-postgres.sql.gz",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/flagship/1k/dirty-postgres.sql.gz",
              "bytes": 32549,
              "sha256": "7a863664861824e9dc8a7d4c72149b192c71416bd6f1bbbd9e6fa1233a04f494",
              "raw": {
                "bytes": 116991,
                "sha256": "42796fb428dac0b7b294d9b9ef68053b1403e85b7403ccc824675384833ec8a8"
              },
              "contentType": "application/gzip"
            },
            {
              "format": "dirty-csv",
              "label": "CSV, with faults",
              "file": "flagship/1k/dirty-csv.zip",
              "key": "datasets/music-streaming-sample-database/v1/flagship/1k/dirty-csv.zip",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/flagship/1k/dirty-csv.zip",
              "bytes": 35423,
              "sha256": "e44efb1bb240ea1447910e5e8f4044e854ac436f3abd9afe3b8aa78c3965176a",
              "tables": {
                "ad_campaigns": {
                  "bytes": 1694,
                  "sha256": "7488e8084e4383a18362ffb9ca4ad3aea3c0d8387979da8cb3e52a8f94162c87"
                },
                "ad_impressions": {
                  "bytes": 2325,
                  "sha256": "061074c6ef85e8209880ce278bbea9de2c258ae280c7910c7a374ad9c54d2cfa"
                },
                "advertisements": {
                  "bytes": 6885,
                  "sha256": "dc483f19bf577bc062d9c20a3e8bf644b08460792e053f09ef9d6183281839e9"
                },
                "album_artists": {
                  "bytes": 94,
                  "sha256": "78065fc9e088d0ee1a9c0a0554bbed3bc9737649e382715c5358f628786b0917"
                },
                "albums": {
                  "bytes": 811,
                  "sha256": "533a1d75f46013147166120c1cecbb719f89aa54c5d841f79e909c34864cc866"
                },
                "alternative_genres": {
                  "bytes": 209,
                  "sha256": "cfc25340df69ff161eccf4646558f4dbbfa9e154e9d46b0c46ba313eaa58af78"
                },
                "artist_follows": {
                  "bytes": 874,
                  "sha256": "78b91b7032edccfce8d2518187736d5d27ffbd583b8f51680d0d46477c37e555"
                },
                "artist_socials": {
                  "bytes": 583,
                  "sha256": "49514f482ed243307b96f9282dcb64551bfb1d90b646d56e7283099bad93e4fb"
                },
                "artists": {
                  "bytes": 916,
                  "sha256": "99ede38f575c3891e55cb297eae4887bab8bebba95d4fa322f74f00cbffb08fe"
                },
                "audio_features": {
                  "bytes": 818,
                  "sha256": "e069c9d6147aac100bad30603c8439225bbbe2d58c361633917f273016373f84"
                },
                "devices": {
                  "bytes": 1502,
                  "sha256": "555c3b1ab30b9201c7a779f37f18ba31132e0563a20c378f8318869e82ebd67f"
                },
                "episode_history": {
                  "bytes": 1615,
                  "sha256": "51e64c7b7938638fcbbcb64009bd440f1cec173c03bec8c17d5720e333fc7fb1"
                },
                "genres": {
                  "bytes": 676,
                  "sha256": "d4851efe535bdf0dad8b59d292a58d1b3536cbbc55eb95e442446296d9163abd"
                },
                "listening_history": {
                  "bytes": 32368,
                  "sha256": "ac829b9bebe23ce5742f82ef488bb89bd605a793d8ffe84f1eed51a1143f658b"
                },
                "lyrics": {
                  "bytes": 633,
                  "sha256": "fae9a53b042712bdaffaebdb9837a3e3b097b8ba840445b7db4eafa79f71157b"
                },
                "offline_downloads": {
                  "bytes": 661,
                  "sha256": "aaceb848a54ce4335c6939a716c0e1a26aebf73acdbf6f33c3c8fa0b4c251fa8"
                },
                "payment_transactions": {
                  "bytes": 2024,
                  "sha256": "fc36bdd7ff92c6a8ddc8159b355b32822115051da45079b102a40bcdf6568c0d"
                },
                "playlist_tracks": {
                  "bytes": 1880,
                  "sha256": "c940f23229a2649d9db6632fa294c77028e3637649e07331d969c7e4f4ab1aa2"
                },
                "playlists": {
                  "bytes": 785,
                  "sha256": "f3a2f3a86b202d9ab3355e66227dd22f0a5ffecc638eae9b787c12762afa7c80"
                },
                "podcast_episodes": {
                  "bytes": 1050,
                  "sha256": "b72498510188288aafa5d9442b37337d99edadbdc6b7067cf4672cd2b7592482"
                },
                "podcast_subscriptions": {
                  "bytes": 313,
                  "sha256": "e6cc4e8d5309bd2e1b8e536b355b490bb9e5f17eae58c49dbf6126694b55ebaf"
                },
                "podcasts": {
                  "bytes": 1124,
                  "sha256": "b217f626f629d19c02612550ad2b4d5b90cc3236d3353a29618da8a2b4aa73a0"
                },
                "recommendation_tracks": {
                  "bytes": 1539,
                  "sha256": "d9351c97084f3d735d1f8f81c3b6e05fdadba39914ed0d1aec9ec35874c7ffff"
                },
                "recommendations": {
                  "bytes": 903,
                  "sha256": "6511153603f83c007b20322efbd50dc3765601df3756828b9b94cd4192bd4a89"
                },
                "search_queries": {
                  "bytes": 1871,
                  "sha256": "a5fc065517f15ef92f125f883c5797bb974dea58c6c3ade7105c2eb4d0ef8d81"
                },
                "subscription_tiers": {
                  "bytes": 49,
                  "sha256": "c361bd615bb953804fffdbfe9d3c548ec4f9bec6126e64c0aa9fa01278c1ecc4"
                },
                "track_artists": {
                  "bytes": 216,
                  "sha256": "990c58ba750811a436ce10157a23a48d3421ceee6afecb1744784d303e8e4574"
                },
                "track_comments": {
                  "bytes": 454,
                  "sha256": "175c387288e69c7f189a7f0dd11def758418566d800da83f1048606df2532e65"
                },
                "track_genres": {
                  "bytes": 231,
                  "sha256": "661ffc3bdd34d1b3efea7f5b17818db44a7a6590cd084ae7099c0f3781934943"
                },
                "track_likes": {
                  "bytes": 2257,
                  "sha256": "533d02c3b4ac862b61ce7513d184d4c5919f9a5002a38392617ce735fc4b201c"
                },
                "tracks": {
                  "bytes": 1597,
                  "sha256": "63ea9945ed39c7d674d4c6cac9a00ae8106c7891d12cf62ea41ea8ff7f3cfcfd"
                },
                "user_follows": {
                  "bytes": 896,
                  "sha256": "57eada4eeeb637acabbc43c4c46b6c917581993dd1f3ff0674f2e06dcdb0e7a6"
                },
                "user_subscriptions": {
                  "bytes": 396,
                  "sha256": "9487b3ce81b79a2ddc331fc0cac81e95bfdc81f440fbab19e6d7e098ab3a9eed"
                },
                "users": {
                  "bytes": 2789,
                  "sha256": "323b654aa3785ed2e1a6998dc7bbf7e71239b61c838eaf0eb5b7128e019c4176"
                }
              },
              "contentType": "application/zip"
            }
          ]
        }
      },
      "100k": {
        "rows": 176375,
        "counts": {
          "ad_campaigns": 30,
          "albums": 200,
          "artists": 100,
          "album_artists": 250,
          "artist_socials": 100,
          "genres": 24,
          "advertisements": 120,
          "alternative_genres": 20,
          "podcasts": 30,
          "podcast_episodes": 600,
          "subscription_tiers": 1,
          "tracks": 2000,
          "audio_features": 2000,
          "lyrics": 1200,
          "track_artists": 2400,
          "track_genres": 2500,
          "users": 2000,
          "ad_impressions": 8000,
          "artist_follows": 3000,
          "devices": 3000,
          "episode_history": 5000,
          "listening_history": 100000,
          "offline_downloads": 2000,
          "payment_transactions": 4000,
          "playlists": 600,
          "playlist_tracks": 6000,
          "podcast_subscriptions": 1000,
          "recommendations": 2000,
          "recommendation_tracks": 10000,
          "search_queries": 5000,
          "track_comments": 1000,
          "track_likes": 8000,
          "user_follows": 3000,
          "user_subscriptions": 1200
        },
        "notes": [],
        "downloads": [
          {
            "format": "sql-postgres",
            "label": "PostgreSQL",
            "file": "flagship/100k/postgres.sql.gz",
            "key": "datasets/music-streaming-sample-database/v1/flagship/100k/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/flagship/100k/postgres.sql.gz",
            "bytes": 2575294,
            "sha256": "d65d0295d3d304c184ee99a825f38ad0c68268a26248f1b8c15f0653529e1fed",
            "raw": {
              "bytes": 9057097,
              "sha256": "a3218d7a4e1eec0c025e4cfd3a94277f09bac8d85f88e01c5427a6a4a907169a"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/100k/mysql.sql.gz",
            "key": "datasets/music-streaming-sample-database/v1/flagship/100k/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/flagship/100k/mysql.sql.gz",
            "bytes": 2572128,
            "sha256": "8d796a6767c779fc65d8e0c8e2b4dddfe6e039545dfa49be0a4125906f807dd0",
            "raw": {
              "bytes": 9043419,
              "sha256": "a7675fbec801ac977f0376c18fb9a000017ffc1c8eca0a5f23f19bac3e9c83b5"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/100k/sqlite.sql.gz",
            "key": "datasets/music-streaming-sample-database/v1/flagship/100k/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/flagship/100k/sqlite.sql.gz",
            "bytes": 2571330,
            "sha256": "d246ad0f007e46979015f6cba3b0c651cbdb03c455208bec5a5cde5c6fa5ccd8",
            "raw": {
              "bytes": 9040382,
              "sha256": "7c2092cb99178593ac5b271a45a857082843b48a3fe5112ad7faeccd4e75da80"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/100k/csv.zip",
            "key": "datasets/music-streaming-sample-database/v1/flagship/100k/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/flagship/100k/csv.zip",
            "bytes": 2546452,
            "sha256": "aea6499bd429d284b824b1ab644ba0b141f0b83d575250a2e97c4fa92676aac6",
            "tables": {
              "ad_campaigns": {
                "bytes": 1658,
                "sha256": "096c81004b8fe290746c9ef85fc172b77e2dfb6f694645da557e0b00ff935ae1"
              },
              "ad_impressions": {
                "bytes": 261403,
                "sha256": "ba08e9370feba9e86c5cb0b50fad0c7aa9e5d538e7f87ed3daf77ce9d8d7a5c4"
              },
              "advertisements": {
                "bytes": 6882,
                "sha256": "b61b735200f4a90d8a66b642a5f41d8d4a3567c8c4805447c823ed1c5a26d93f"
              },
              "album_artists": {
                "bytes": 2596,
                "sha256": "c402e1b34ac6afd21950a17733e986a509db0c286361ed247bc6df7df51a249f"
              },
              "albums": {
                "bytes": 16513,
                "sha256": "4b1a6b41341aa37abb287cd44c9326b7144b26dbf945c01bd69ae5623d9d865e"
              },
              "alternative_genres": {
                "bytes": 191,
                "sha256": "95292b301688d64c733e489fa05881a823db3e5346c44d631297f595361515c4"
              },
              "artist_follows": {
                "bytes": 97075,
                "sha256": "4b8a8b0560c7978d704af45d6dfd3ff777d723f47d73fb23593f7017f75b8706"
              },
              "artist_socials": {
                "bytes": 5643,
                "sha256": "ee6a4119cf203157d7a0dab8f42af5b861ea9b646c9370c5d7419e6864e23199"
              },
              "artists": {
                "bytes": 8712,
                "sha256": "1655176f77db98c1df1268c581c25cfe5a39cb46983e6df060b0cc6835f716bd"
              },
              "audio_features": {
                "bytes": 84823,
                "sha256": "dd9d1c3c4b30edc5a5a22bff4293701f0cb9102500e7f511d4e2d7fea1227461"
              },
              "devices": {
                "bytes": 161577,
                "sha256": "25f3fce65a53c0c299444f357bdcec78f3f5a397b3732a125df9c22be6548039"
              },
              "episode_history": {
                "bytes": 185434,
                "sha256": "ea46c04403e42ea57a98dc4a2c359ac291a6d8d1c518bdada3bc6158af60c228"
              },
              "genres": {
                "bytes": 715,
                "sha256": "37895b1399e198646e5e74f7bb56c44f550231cc2f882424027bc91cfbfa26c3"
              },
              "listening_history": {
                "bytes": 3792957,
                "sha256": "22218e1895413afbf06d571be63e274dcf68174232aa63cfa2ac96da8bc859b8"
              },
              "lyrics": {
                "bytes": 73877,
                "sha256": "ed59f1179a145a5d3544783ecb45b18f184f09dc50214d0e0b5a6122c7a8316e"
              },
              "offline_downloads": {
                "bytes": 75319,
                "sha256": "442392081d263e479b33f748737d727a8d1fedad78f9a32e2eb34b65cdcfbc31"
              },
              "payment_transactions": {
                "bytes": 214369,
                "sha256": "1a0018073a34cc180cdfea736e87b31fb19ff48ea98287fff9a7ab1de33275e2"
              },
              "playlist_tracks": {
                "bytes": 216636,
                "sha256": "9b143c65a4a3a178f11833f6f41e5554629b21657ecd6de6110bebdbe0ac79a8"
              },
              "playlists": {
                "bytes": 50177,
                "sha256": "e9230a89d3c536ee3f60b75de7cf4ee2193d71a31ab2f55c0b14eb458ff6f522"
              },
              "podcast_episodes": {
                "bytes": 63358,
                "sha256": "dfbf4b75b729db99f4672fe4965b94424a50c3d6ace49c35c41404e02e68ecf1"
              },
              "podcast_subscriptions": {
                "bytes": 31369,
                "sha256": "2ef77b3845ac10dfedb39976c6f74cc1f6b24c54d2af90b7ec65d2ccb8f3d7d7"
              },
              "podcasts": {
                "bytes": 3499,
                "sha256": "9d3b4d5d8a338168a8eed52e64a46d2f0c241cf23a431c13feb3d435af471102"
              },
              "recommendation_tracks": {
                "bytes": 198952,
                "sha256": "4a6836a671f0de27c6f5204781162a31fddf46914d20e7e3debb60bfc7a767be"
              },
              "recommendations": {
                "bytes": 93392,
                "sha256": "4a57570e859d0d815dad3392b08786bfe3c33edaaf114e617ba1a979f35da8cd"
              },
              "search_queries": {
                "bytes": 207749,
                "sha256": "0fa70ba30b345d74b81a4e6d6580a3855f03e4df2d355ab01002d744f4ffe06f"
              },
              "subscription_tiers": {
                "bytes": 49,
                "sha256": "c361bd615bb953804fffdbfe9d3c548ec4f9bec6126e64c0aa9fa01278c1ecc4"
              },
              "track_artists": {
                "bytes": 29403,
                "sha256": "de0cd8a01245e6c5e98460a2e3d16865e25be6d7a2512cc40d2240e5c27d0ef4"
              },
              "track_comments": {
                "bytes": 48259,
                "sha256": "575a5b7af8e2448f8dda4701e8020947888420a544205f2edefad28246b49deb"
              },
              "track_genres": {
                "bytes": 29987,
                "sha256": "9eb981ba531d3c0e95154b8b663c25c24e4858b6b19a4149df9f88f95c13b964"
              },
              "track_likes": {
                "bytes": 270796,
                "sha256": "8ee5f52674b2a517bbef34f7bb29d8247667ed80dae7781e2124bcc0843d2cb2"
              },
              "tracks": {
                "bytes": 164664,
                "sha256": "78c1705cbd2c48cd6534b6a0c3bda27585403b064e0185d16c03412aa152f8aa"
              },
              "user_follows": {
                "bytes": 101122,
                "sha256": "f4bcfc6d16ceb01d80de7413204f45c0349f92e1295ea80a0929fd9c139a4e35"
              },
              "user_subscriptions": {
                "bytes": 39755,
                "sha256": "4e86b0241f22c8528efc61d594322548df9d6d0fd8654457e88e8ec4b199631d"
              },
              "users": {
                "bytes": 276895,
                "sha256": "6403bfcbd25e21d1aab9c32ec2cc934613f228912f0eae29ee5baf4b30c1a137"
              }
            },
            "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": "Nobody plays a track before they signed up",
            "violations": 0
          },
          {
            "name": "A subscription period is exactly thirty days",
            "violations": 0
          },
          {
            "name": "Every charge is the price of the paid tier",
            "violations": 0
          },
          {
            "name": "Podcast progress never passes the episode",
            "violations": 0
          },
          {
            "name": "An ad campaign ends after it starts",
            "violations": 0
          },
          {
            "name": "One set of audio features, and one lyrics row, per track",
            "violations": 0
          }
        ],
        "dirty": {
          "report": {
            "rates": {
              "missing": 0.03,
              "typos": 0.03,
              "outliers": 0.005,
              "duplicates": 0.01
            },
            "tables": {
              "ad_campaigns": {
                "duplicates": 1,
                "columns": {
                  "advertiser_name": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "budget": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "end_date": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "start_date": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "albums": {
                "duplicates": 1,
                "columns": {
                  "cover_url": {
                    "missing": 6,
                    "typos": 5,
                    "outliers": 0
                  },
                  "release_date": {
                    "missing": 6,
                    "typos": 0,
                    "outliers": 0
                  },
                  "title": {
                    "missing": 9,
                    "typos": 9,
                    "outliers": 0
                  },
                  "type": {
                    "missing": 5,
                    "typos": 5,
                    "outliers": 0
                  }
                }
              },
              "artists": {
                "duplicates": 0,
                "columns": {
                  "bio": {
                    "missing": 5,
                    "typos": 2,
                    "outliers": 0
                  },
                  "image_url": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 3,
                    "typos": 3,
                    "outliers": 0
                  },
                  "verified": {
                    "missing": 3,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "album_artists": {
                "duplicates": 2,
                "columns": {}
              },
              "artist_socials": {
                "duplicates": 1,
                "columns": {
                  "instagram": {
                    "missing": 3,
                    "typos": 4,
                    "outliers": 0
                  },
                  "twitter": {
                    "missing": 5,
                    "typos": 3,
                    "outliers": 0
                  },
                  "website": {
                    "missing": 11,
                    "typos": 2,
                    "outliers": 0
                  }
                }
              },
              "genres": {
                "duplicates": 0,
                "columns": {
                  "description": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "advertisements": {
                "duplicates": 0,
                "columns": {
                  "audio_url": {
                    "missing": 4,
                    "typos": 3,
                    "outliers": 0
                  },
                  "duration_seconds": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 1
                  }
                }
              },
              "podcasts": {
                "duplicates": 1,
                "columns": {
                  "cover_url": {
                    "missing": 1,
                    "typos": 0,
                    "outliers": 0
                  },
                  "description": {
                    "missing": 1,
                    "typos": 1,
                    "outliers": 0
                  },
                  "language": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  },
                  "title": {
                    "missing": 0,
                    "typos": 1,
                    "outliers": 0
                  }
                }
              },
              "podcast_episodes": {
                "duplicates": 7,
                "columns": {
                  "audio_url": {
                    "missing": 19,
                    "typos": 18,
                    "outliers": 0
                  },
                  "description": {
                    "missing": 10,
                    "typos": 14,
                    "outliers": 0
                  },
                  "duration_seconds": {
                    "missing": 24,
                    "typos": 0,
                    "outliers": 4
                  },
                  "release_date": {
                    "missing": 29,
                    "typos": 0,
                    "outliers": 0
                  },
                  "title": {
                    "missing": 15,
                    "typos": 26,
                    "outliers": 0
                  }
                }
              },
              "tracks": {
                "duplicates": 18,
                "columns": {
                  "duration_seconds": {
                    "missing": 61,
                    "typos": 0,
                    "outliers": 9
                  },
                  "explicit": {
                    "missing": 63,
                    "typos": 0,
                    "outliers": 0
                  },
                  "file_url": {
                    "missing": 61,
                    "typos": 50,
                    "outliers": 0
                  },
                  "title": {
                    "missing": 70,
                    "typos": 54,
                    "outliers": 0
                  },
                  "track_number": {
                    "missing": 68,
                    "typos": 0,
                    "outliers": 12
                  }
                }
              },
              "audio_features": {
                "duplicates": 27,
                "columns": {
                  "danceability": {
                    "missing": 76,
                    "typos": 0,
                    "outliers": 11
                  },
                  "energy": {
                    "missing": 58,
                    "typos": 0,
                    "outliers": 10
                  },
                  "loudness": {
                    "missing": 53,
                    "typos": 0,
                    "outliers": 4
                  },
                  "musical_key": {
                    "missing": 47,
                    "typos": 0,
                    "outliers": 18
                  },
                  "tempo": {
                    "missing": 60,
                    "typos": 0,
                    "outliers": 7
                  },
                  "valence": {
                    "missing": 63,
                    "typos": 0,
                    "outliers": 5
                  }
                }
              },
              "lyrics": {
                "duplicates": 9,
                "columns": {
                  "content": {
                    "missing": 29,
                    "typos": 37,
                    "outliers": 0
                  },
                  "sync_timestamps": {
                    "missing": 29,
                    "typos": 12,
                    "outliers": 0
                  }
                }
              },
              "track_artists": {
                "duplicates": 25,
                "columns": {}
              },
              "track_genres": {
                "duplicates": 28,
                "columns": {}
              },
              "users": {
                "duplicates": 16,
                "columns": {
                  "country": {
                    "missing": 62,
                    "typos": 67,
                    "outliers": 0
                  },
                  "created_at": {
                    "missing": 60,
                    "typos": 0,
                    "outliers": 0
                  },
                  "email": {
                    "missing": 80,
                    "typos": 56,
                    "outliers": 0
                  },
                  "password_hash": {
                    "missing": 68,
                    "typos": 59,
                    "outliers": 0
                  },
                  "username": {
                    "missing": 61,
                    "typos": 70,
                    "outliers": 0
                  }
                }
              },
              "ad_impressions": {
                "duplicates": 79,
                "columns": {
                  "viewed_at": {
                    "missing": 242,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "artist_follows": {
                "duplicates": 34,
                "columns": {
                  "followed_at": {
                    "missing": 96,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "devices": {
                "duplicates": 27,
                "columns": {
                  "last_active": {
                    "missing": 94,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 77,
                    "typos": 90,
                    "outliers": 0
                  },
                  "os": {
                    "missing": 81,
                    "typos": 106,
                    "outliers": 0
                  },
                  "type": {
                    "missing": 77,
                    "typos": 96,
                    "outliers": 0
                  }
                }
              },
              "episode_history": {
                "duplicates": 51,
                "columns": {
                  "played_at": {
                    "missing": 139,
                    "typos": 0,
                    "outliers": 0
                  },
                  "progress_seconds": {
                    "missing": 157,
                    "typos": 0,
                    "outliers": 38
                  }
                }
              },
              "listening_history": {
                "duplicates": 1026,
                "columns": {
                  "percentage_played": {
                    "missing": 3062,
                    "typos": 0,
                    "outliers": 487
                  },
                  "played_at": {
                    "missing": 2996,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "offline_downloads": {
                "duplicates": 21,
                "columns": {
                  "downloaded_at": {
                    "missing": 59,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "payment_transactions": {
                "duplicates": 45,
                "columns": {
                  "amount": {
                    "missing": 111,
                    "typos": 0,
                    "outliers": 26
                  },
                  "payment_method": {
                    "missing": 120,
                    "typos": 132,
                    "outliers": 0
                  },
                  "status": {
                    "missing": 122,
                    "typos": 127,
                    "outliers": 0
                  },
                  "transaction_date": {
                    "missing": 121,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "playlists": {
                "duplicates": 6,
                "columns": {
                  "cover_url": {
                    "missing": 24,
                    "typos": 11,
                    "outliers": 0
                  },
                  "description": {
                    "missing": 12,
                    "typos": 7,
                    "outliers": 0
                  },
                  "is_private": {
                    "missing": 22,
                    "typos": 0,
                    "outliers": 0
                  },
                  "name": {
                    "missing": 13,
                    "typos": 20,
                    "outliers": 0
                  }
                }
              },
              "playlist_tracks": {
                "duplicates": 69,
                "columns": {
                  "added_at": {
                    "missing": 166,
                    "typos": 0,
                    "outliers": 0
                  },
                  "position": {
                    "missing": 168,
                    "typos": 0,
                    "outliers": 29
                  }
                }
              },
              "podcast_subscriptions": {
                "duplicates": 7,
                "columns": {
                  "subscribed_at": {
                    "missing": 31,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "recommendations": {
                "duplicates": 17,
                "columns": {
                  "algorithm_type": {
                    "missing": 53,
                    "typos": 51,
                    "outliers": 0
                  },
                  "generated_at": {
                    "missing": 52,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "recommendation_tracks": {
                "duplicates": 89,
                "columns": {
                  "score": {
                    "missing": 291,
                    "typos": 0,
                    "outliers": 59
                  }
                }
              },
              "search_queries": {
                "duplicates": 49,
                "columns": {
                  "query_text": {
                    "missing": 120,
                    "typos": 154,
                    "outliers": 0
                  },
                  "searched_at": {
                    "missing": 139,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "track_comments": {
                "duplicates": 11,
                "columns": {
                  "content": {
                    "missing": 28,
                    "typos": 35,
                    "outliers": 0
                  },
                  "created_at": {
                    "missing": 30,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "track_likes": {
                "duplicates": 77,
                "columns": {
                  "liked_at": {
                    "missing": 252,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "user_follows": {
                "duplicates": 22,
                "columns": {
                  "followed_at": {
                    "missing": 111,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              },
              "user_subscriptions": {
                "duplicates": 5,
                "columns": {
                  "end_date": {
                    "missing": 27,
                    "typos": 0,
                    "outliers": 0
                  },
                  "start_date": {
                    "missing": 38,
                    "typos": 0,
                    "outliers": 0
                  }
                }
              }
            },
            "totals": {
              "missing": 10367,
              "typos": 1332,
              "outliers": 720,
              "duplicates": 1771
            }
          },
          "downloads": [
            {
              "format": "dirty-sql-postgres",
              "label": "PostgreSQL, with faults",
              "file": "flagship/100k/dirty-postgres.sql.gz",
              "key": "datasets/music-streaming-sample-database/v1/flagship/100k/dirty-postgres.sql.gz",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/flagship/100k/dirty-postgres.sql.gz",
              "bytes": 2583217,
              "sha256": "b53e812d52763de3b443b414079289cede7327b538809d9215ed6dd7d45ffe35",
              "raw": {
                "bytes": 9053737,
                "sha256": "3dc176149bb0e055cd76a65bcf349258cb6b4b087b55b152daeb5e1000b6614c"
              },
              "contentType": "application/gzip"
            },
            {
              "format": "dirty-csv",
              "label": "CSV, with faults",
              "file": "flagship/100k/dirty-csv.zip",
              "key": "datasets/music-streaming-sample-database/v1/flagship/100k/dirty-csv.zip",
              "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/flagship/100k/dirty-csv.zip",
              "bytes": 2548141,
              "sha256": "82b375f697fcde3a8c0ba24f0029e182cc661d84d7585f73eaddf7d389812243",
              "tables": {
                "ad_campaigns": {
                  "bytes": 1665,
                  "sha256": "c9ec425fcd0bb9e20f8bcb6a3c0c1b85045a1f4637ab945dded8e0d498e47060"
                },
                "ad_impressions": {
                  "bytes": 259326,
                  "sha256": "44352d7da60f14e02cccfdad8255beaf4e4f81be5992ca0f515142f4a18f103b"
                },
                "advertisements": {
                  "bytes": 6705,
                  "sha256": "0c0397ee3cad404c253bf440bf8bcaec3a00cf58c6ee443316c62c36425e98a2"
                },
                "album_artists": {
                  "bytes": 2618,
                  "sha256": "0708900b68c504afd62d2997989e0b53de5c17aded842daf5388df4ba500cf09"
                },
                "albums": {
                  "bytes": 16128,
                  "sha256": "a3576fbb43ee67eff583323f9dea15eb6c40920d595fc03360bf77cf13e69037"
                },
                "alternative_genres": {
                  "bytes": 191,
                  "sha256": "95292b301688d64c733e489fa05881a823db3e5346c44d631297f595361515c4"
                },
                "artist_follows": {
                  "bytes": 96331,
                  "sha256": "fcf066b78dd53bc7ad692a39d84cc143a99465256a69092b13f491a804eccf32"
                },
                "artist_socials": {
                  "bytes": 5302,
                  "sha256": "4aea2b448812b86bc645679cee4a5a9fbe07dccfbf5d79520663a66189f9245d"
                },
                "artists": {
                  "bytes": 8513,
                  "sha256": "273236ab9bb9194e7145263871f27430ea8bf775cd309c63d8d7b87057dd0cfd"
                },
                "audio_features": {
                  "bytes": 84388,
                  "sha256": "34673ae8751ac3ecf2d290d885a20cf83559440f5980be131fa5c31629c75ef9"
                },
                "devices": {
                  "bytes": 160005,
                  "sha256": "50026a4921e50bdfb9829a47e000cf172343d752ce11047675008e9a6aa61c25"
                },
                "episode_history": {
                  "bytes": 184290,
                  "sha256": "0625df095ba5b61a48002ab1e7d65e0eee8cc341887d8a38c45e913e3f80296d"
                },
                "genres": {
                  "bytes": 694,
                  "sha256": "4a9f6278f5fa1ba9ca6436d3f215de7b47916396f90fc99c0dbe94c2e5414465"
                },
                "listening_history": {
                  "bytes": 3769738,
                  "sha256": "af352e73b130606ebb1ce4a2d7f4c36284edfbbb8faeefd4a8240ae517fe592d"
                },
                "lyrics": {
                  "bytes": 73049,
                  "sha256": "704ec2d1f6d231074eb4386de876fd9c6610d8a555108b424c46ef67a5c99e67"
                },
                "offline_downloads": {
                  "bytes": 74997,
                  "sha256": "4ce51c5021b7d238953c25139e397448d182a03e75a0bf59f3ffd6fdc2f30109"
                },
                "payment_transactions": {
                  "bytes": 212421,
                  "sha256": "7cbea5ecc49085f454030795bec88de78311438c2b6dcab1059f32f34bd06685"
                },
                "playlist_tracks": {
                  "bytes": 215679,
                  "sha256": "355059b8f577904a63fd464bb84442c7fb654c171a2dae63b88d6fa6bac3dfc7"
                },
                "playlists": {
                  "bytes": 49169,
                  "sha256": "87b17c11b6b87acf5e921cba0f36117112e62c76cf34c4dfc904d21fd202ceab"
                },
                "podcast_episodes": {
                  "bytes": 62434,
                  "sha256": "74dbb9fa1db82fd64f51487fb7f1fde3b80eb7a9f1c503248483096049478135"
                },
                "podcast_subscriptions": {
                  "bytes": 31009,
                  "sha256": "6577468938e828e0ab60b6a1d815b61757a5016704d98fce00f964b32ff95945"
                },
                "podcasts": {
                  "bytes": 3561,
                  "sha256": "ad024186c6b51097a8bc4ec07e7f4259de8665d26706dfac2ccdea0d1beb19c2"
                },
                "recommendation_tracks": {
                  "bytes": 199353,
                  "sha256": "1ae6d9079bb22ebe82ea8d3002037b7dfcd480cee76aec8450e16cf3c4cdc068"
                },
                "recommendations": {
                  "bytes": 92448,
                  "sha256": "348c6372b34cb7c6315a5eac51858fb44b89a733416217c65ee9647376113485"
                },
                "search_queries": {
                  "bytes": 206055,
                  "sha256": "f8cc9356467f5036abb4db12dbe14ea762cc2867fc6cfa465673fc6036084138"
                },
                "subscription_tiers": {
                  "bytes": 49,
                  "sha256": "c361bd615bb953804fffdbfe9d3c548ec4f9bec6126e64c0aa9fa01278c1ecc4"
                },
                "track_artists": {
                  "bytes": 29725,
                  "sha256": "39ddbc52a6f9f6eeaec0fe6e328366aa90bc85de0dac258e98c7da6fd9f15009"
                },
                "track_comments": {
                  "bytes": 47909,
                  "sha256": "1f9d75eb47b5762e7955de801d168272a3452a92e490b8ebd20f4ff7710b958f"
                },
                "track_genres": {
                  "bytes": 30331,
                  "sha256": "2cf23687d606ee83e2f17ea234bcb9cf29ed80ba3e40567c1b119f1603f954cb"
                },
                "track_likes": {
                  "bytes": 268583,
                  "sha256": "15d0854c5a8626daa06456bb15544aa3af10240ed85674960031edc5d2e95f15"
                },
                "tracks": {
                  "bytes": 161986,
                  "sha256": "58137c332e3d3285588d02607c5d507a3e4f37c081c479889f168097d53298cb"
                },
                "user_follows": {
                  "bytes": 99738,
                  "sha256": "a1b464911a3f8a852a9e7b68275f11ac785771106ec78235262f64c36314de07"
                },
                "user_subscriptions": {
                  "bytes": 39263,
                  "sha256": "3fafafb3ee35fec6b3dd961e24a0596165c0ea1e9d8e7308b02c7df68a069aef"
                },
                "users": {
                  "bytes": 270609,
                  "sha256": "a92ece7a996c51b303bb7a80bd611cbcc2534c19addf1600d0a28a0082cca4d9"
                }
              },
              "contentType": "application/zip"
            }
          ]
        }
      },
      "1m": {
        "rows": 1761995,
        "counts": {
          "ad_campaigns": 30,
          "albums": 2000,
          "artists": 1000,
          "album_artists": 2500,
          "artist_socials": 1000,
          "genres": 24,
          "advertisements": 120,
          "alternative_genres": 20,
          "podcasts": 300,
          "podcast_episodes": 6000,
          "subscription_tiers": 1,
          "tracks": 20000,
          "audio_features": 20000,
          "lyrics": 12000,
          "track_artists": 24000,
          "track_genres": 25000,
          "users": 20000,
          "ad_impressions": 80000,
          "artist_follows": 30000,
          "devices": 30000,
          "episode_history": 50000,
          "listening_history": 1000000,
          "offline_downloads": 20000,
          "payment_transactions": 40000,
          "playlists": 6000,
          "playlist_tracks": 60000,
          "podcast_subscriptions": 10000,
          "recommendations": 20000,
          "recommendation_tracks": 100000,
          "search_queries": 50000,
          "track_comments": 10000,
          "track_likes": 80000,
          "user_follows": 30000,
          "user_subscriptions": 12000
        },
        "notes": [
          "At this size the tables beside listening_history were cut to 1/16 of it, so the whole build stays under 3,000,000 rows."
        ],
        "downloads": [
          {
            "format": "sql-postgres",
            "label": "PostgreSQL",
            "file": "flagship/1m/postgres.sql.gz",
            "key": "datasets/music-streaming-sample-database/v1/flagship/1m/postgres.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/flagship/1m/postgres.sql.gz",
            "bytes": 27383551,
            "sha256": "02d8d350888585794baf2f20d33db0127da5bb222428674c1169a3dcc429b8f4",
            "raw": {
              "bytes": 95109764,
              "sha256": "3467e276cd51d0741b73f537c18647b285af5cde8f32b762f0139ae625045720"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-mysql",
            "label": "MySQL",
            "file": "flagship/1m/mysql.sql.gz",
            "key": "datasets/music-streaming-sample-database/v1/flagship/1m/mysql.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/flagship/1m/mysql.sql.gz",
            "bytes": 27377100,
            "sha256": "6b6b1a097fcd86d252f0036b8c4733e82e2d8f332ab2302b2ac9e2dc8cfc5efe",
            "raw": {
              "bytes": 95004014,
              "sha256": "7ac652939500c985372cfc7f858143bf52f735799ac9502dc26dfbf42774f7b9"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "sql-sqlite",
            "label": "SQLite",
            "file": "flagship/1m/sqlite.sql.gz",
            "key": "datasets/music-streaming-sample-database/v1/flagship/1m/sqlite.sql.gz",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/flagship/1m/sqlite.sql.gz",
            "bytes": 27376386,
            "sha256": "caf51a00ccbf78907a02f25f6295bd534d3b5245e9dbbf34b84e46be2ae900a0",
            "raw": {
              "bytes": 95000977,
              "sha256": "79d5256aad45dbfa7b25c6f1578d6820c5c547795abe132c8f61d23244d59a01"
            },
            "contentType": "application/gzip"
          },
          {
            "format": "csv",
            "label": "CSV",
            "file": "flagship/1m/csv.zip",
            "key": "datasets/music-streaming-sample-database/v1/flagship/1m/csv.zip",
            "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/music-streaming-sample-database/v1/flagship/1m/csv.zip",
            "bytes": 27419426,
            "sha256": "1b5b36d0753589826140daf62e76ab5991ae3cf524590662bdd2cc4e9bd72716",
            "tables": {
              "ad_campaigns": {
                "bytes": 1666,
                "sha256": "254c35318ea03fbab30fed385fcb141a647cdd260d74e32b30ea7f1a7b72f7f4"
              },
              "ad_impressions": {
                "bytes": 2772992,
                "sha256": "b52e9bc5b360216ef6524ebc652fbf3eaf6aa7a3240269206182cee54be7a692"
              },
              "advertisements": {
                "bytes": 6883,
                "sha256": "ad4ffe2684126c96316fcb2f2a8e2896b0c9b5de11d158b606114bc8906b058d"
              },
              "album_artists": {
                "bytes": 32851,
                "sha256": "2b582d2cc440fafe9dff24edeb0f70288e0a3aac51dc5171b2edd8b5db675a19"
              },
              "albums": {
                "bytes": 165550,
                "sha256": "a4e1425517d8ce97e6ef39e3336c0cab1528fe1791086fa93580a0723ebfac3d"
              },
              "alternative_genres": {
                "bytes": 201,
                "sha256": "a49723972ce4353ccc46ec89cb738a8bd38d509346f1014f7b1a35d2d588b240"
              },
              "artist_follows": {
                "bytes": 1056372,
                "sha256": "8f6c8b9e95bf14b91dd658d264394e18fd7ff8bdb833e12f684c99c71c0e4aec"
              },
              "artist_socials": {
                "bytes": 57812,
                "sha256": "5dbbe601b7667d681615fa2718019725bd11deb1e07cad4631dd3f1c69415bd4"
              },
              "artists": {
                "bytes": 87968,
                "sha256": "34cc2d06db4d5bb82f0879d3a635b5c0135c1319d9bc54c6356db7e25fd3c91a"
              },
              "audio_features": {
                "bytes": 887239,
                "sha256": "12f5f361e9117ef052cdaaa0645784a99cbe8b97f72314c7d7f886ae441b79f6"
              },
              "devices": {
                "bytes": 1674261,
                "sha256": "344dded3d02c67129aa7f9e90b83390ae50b8ce0050c509bc340350290bfc31a"
              },
              "episode_history": {
                "bytes": 1999892,
                "sha256": "f603f0963077677a33a20570420ec69dbdd0120f31dc7b79ac8bbf3d9c8d362b"
              },
              "genres": {
                "bytes": 747,
                "sha256": "46732ab69f7856ca2b5c662456225d5898d6ab0f8e4c8245a710482247d79685"
              },
              "listening_history": {
                "bytes": 40870753,
                "sha256": "14ca40b6594288bdb682947090ae9d423c03f1bc2ae156d454110b39bcecd663"
              },
              "lyrics": {
                "bytes": 762300,
                "sha256": "cca368907dc69037be1d00227a19923584292b7157dd68598701db3e319af38b"
              },
              "offline_downloads": {
                "bytes": 831715,
                "sha256": "481a5e630b21d6dc11cafeb895e9f33e54c44cafd8eeb95c654c9f84621183d6"
              },
              "payment_transactions": {
                "bytes": 2224753,
                "sha256": "76ec424f488e856caf7883213bdc63fec63c37ad8e0abaf37ded80a55b95e1ce"
              },
              "playlist_tracks": {
                "bytes": 2342687,
                "sha256": "1848815aea8cdc83dbc061deb0b4b900d8a831f7582fe70bae268507da888081"
              },
              "playlists": {
                "bytes": 514374,
                "sha256": "992b9a6e25b27b49d4eb586fcb0dc4254690461481c77aa9b6c7c49e0b2449bd"
              },
              "podcast_episodes": {
                "bytes": 642212,
                "sha256": "22ff4d75fb5ec6c1c12dff11bb4cd1ac925ae3d8d74ba989bde7bed8785c3abc"
              },
              "podcast_subscriptions": {
                "bytes": 341148,
                "sha256": "09ab7c3206924ccaade9e0752e19b73b69263b45ea1f7e1bfa3b41cee387739f"
              },
              "podcasts": {
                "bytes": 34536,
                "sha256": "8503bfb796241fa75310bb47a545df41a3b846d012d9dcbc24e251536615e453"
              },
              "recommendation_tracks": {
                "bytes": 2283933,
                "sha256": "1cb0d96580e853e77f71f6ef07517cc157c6f626e635d125532bd0173770e1f3"
              },
              "recommendations": {
                "bytes": 976146,
                "sha256": "8620af7cd17b627ce5b644e47e5df2a7a1e47218824526cf265aaba7dcf864c0"
              },
              "search_queries": {
                "bytes": 2173982,
                "sha256": "a6880b1f6b22f5cc59e2791607cc57a5ca817713455dc33a8003397fa69ac75d"
              },
              "subscription_tiers": {
                "bytes": 49,
                "sha256": "c361bd615bb953804fffdbfe9d3c548ec4f9bec6126e64c0aa9fa01278c1ecc4"
              },
              "track_artists": {
                "bytes": 362538,
                "sha256": "58076303de1bcca34bb94aa88eeaf40ce22093c8eb776190767529f19edc3f30"
              },
              "track_comments": {
                "bytes": 511581,
                "sha256": "60f370fb76b5f120147344e8bcae45b3754222d46d3b9dc9745e03b81667711e"
              },
              "track_genres": {
                "bytes": 348130,
                "sha256": "2f49869f09701c934f0d7acc9afc2b7e923d8b5e9587cb19b39c632a3fdf3507"
              },
              "track_likes": {
                "bytes": 2945184,
                "sha256": "a60fefcd6f91f7f0d43858e410f77bf8daee48ab3ac80f6e42d34712e5c7bf19"
              },
              "tracks": {
                "bytes": 1686061,
                "sha256": "5cfa474670f648eccc0aa27a2770cf8063330bc7e9de8ffd6003f6ffda97c016"
              },
              "user_follows": {
                "bytes": 1097638,
                "sha256": "cc8811b0421c05146de71fc8d7b4d62c075152f4738ce8862ef82de9bca5750a"
              },
              "user_subscriptions": {
                "bytes": 420765,
                "sha256": "4e82524d7334a1d96252a9fb769b94f9305f439fcb664419f9607fcd3574170f"
              },
              "users": {
                "bytes": 2789445,
                "sha256": "430f1f757d21731fd79b6256498e92e61aaad5b7dde2e0b12f96147005c9507d"
              }
            },
            "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": "Nobody plays a track before they signed up",
            "violations": 0
          },
          {
            "name": "A subscription period is exactly thirty days",
            "violations": 0
          },
          {
            "name": "Every charge is the price of the paid tier",
            "violations": 0
          },
          {
            "name": "Podcast progress never passes the episode",
            "violations": 0
          },
          {
            "name": "An ad campaign ends after it starts",
            "violations": 0
          },
          {
            "name": "One set of audio features, and one lyrics row, per track",
            "violations": 0
          }
        ]
      }
    },
    "rules": [
      {
        "name": "Nobody plays a track before they signed up",
        "sql": "SELECT count(*) AS violations FROM listening_history lh JOIN users u ON u.id = lh.user_id WHERE lh.played_at < u.created_at"
      },
      {
        "name": "A subscription period is exactly thirty days",
        "sql": "SELECT count(*) AS violations FROM user_subscriptions WHERE end_date - start_date <> 30"
      },
      {
        "name": "Every charge is the price of the paid tier",
        "sql": "SELECT count(*) AS violations FROM payment_transactions WHERE amount <> (SELECT price FROM subscription_tiers LIMIT 1)"
      },
      {
        "name": "Podcast progress never passes the episode",
        "sql": "SELECT count(*) AS violations FROM episode_history h JOIN podcast_episodes e ON e.id = h.episode_id WHERE h.progress_seconds > e.duration_seconds"
      },
      {
        "name": "An ad campaign ends after it starts",
        "sql": "SELECT count(*) AS violations FROM ad_campaigns WHERE end_date < start_date"
      },
      {
        "name": "One set of audio features, and one lyrics row, per track",
        "sql": "SELECT (SELECT count(*) - count(DISTINCT track_id) FROM audio_features) + (SELECT count(*) - count(DISTINCT track_id) FROM lyrics) AS violations"
      }
    ]
  },
  "publishedAt": 1791326429341,
  "updatedAt": 1791326429341
}
