{
  "format": "dataset-manifest/1",
  "slug": "online-gaming-tournament-platform",
  "version": 3,
  "seed": "online-gaming-tournament-platform:1",
  "engine": 1,
  "engineVersion": "1.0.0",
  "spec": {
    "format": "dataset/1",
    "slug": "online-gaming-tournament-platform",
    "name": "Esports Tournament Insights",
    "tagline": "Player statistics, team details, tournament results, and participation records from various esports competitions.",
    "description": "Competitive gaming thrives on platforms that host tournaments, allowing players from around the world to showcase their skills. This dataset models the ecosystem of esports tournaments, focusing on participants, their achievements, teams, and the financial transactions related to entry fees and sponsorships. Users engage in countless matches, and their performances are tracked through detailed player stats. The tables provide insights into player demographics, tournament structures, and financial activities surrounding these events. The data reveals how often players participate, the distribution of achievements across tournaments, and the financial implications for both players and organizers. With synthetic data representing various scenarios, this dataset is perfect for those looking to practice SQL or seed ORMs with realistic data.",
    "domain": "gaming",
    "shape": "transactional",
    "useCases": [
      "sql-practice",
      "orm-seeding"
    ],
    "keywords": [
      "esports",
      "tournament",
      "gaming",
      "players",
      "teams",
      "transactions",
      "performance",
      "achievements"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "players": {
        "description": "Each row represents a player participating in tournaments, linked to their associated team and performance stats.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each player."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The full name of the player."
          },
          "team_id": {
            "kind": "fk",
            "ref": "teams.id",
            "description": "The team the player is part of."
          },
          "age": {
            "kind": "int",
            "min": 16,
            "max": 40,
            "description": "The age of the player.",
            "nullable": true
          },
          "country": {
            "kind": "country",
            "description": "The country the player represents.",
            "nullable": true
          },
          "games_played": {
            "kind": "int",
            "min": 1,
            "max": 1000,
            "description": "Total number of games played by the player.",
            "nullable": true,
            "when": {
              "column": "top_placement",
              "in": [
                "1st",
                "2nd",
                "3rd"
              ]
            },
            "distribution": "long-tail"
          },
          "top_placement": {
            "kind": "enum",
            "values": [
              "1st",
              "2nd",
              "3rd",
              "None"
            ],
            "description": "The highest placement achieved by the player in tournaments."
          }
        }
      },
      "teams": {
        "description": "Each row represents a competitive team, linking to their players and tournament participations.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each team."
          },
          "team_name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The name of the competitive team.",
            "pool": [
              "Phoenix",
              "Dragons",
              "Titans",
              "Warriors",
              "Legends",
              "Rangers",
              "Knights",
              "Shadows",
              "Storm",
              "Vortex",
              "Rebels",
              "Eagles",
              "Brawlers",
              "Champions",
              "Gladiators",
              "Fury",
              "Wolves",
              "Crusaders",
              "Dynasty",
              "Hawks"
            ]
          },
          "founded_year": {
            "kind": "int",
            "min": 2000,
            "max": 2023,
            "description": "The year the team was founded.",
            "nullable": true
          },
          "sponsor": {
            "kind": "company",
            "description": "The primary sponsor of the team.",
            "nullable": true
          }
        }
      },
      "tournaments": {
        "description": "Each row represents a tournament, detailing its format and the teams participating.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each tournament."
          },
          "tournament_name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The name of the tournament.",
            "pool": [
              "Championship",
              "League",
              "Masters",
              "Showdown",
              "Cup",
              "Invitational",
              "Battle",
              "Series",
              "Clash",
              "Open",
              "Finals",
              "Qualifier",
              "Fest",
              "Arena",
              "Challenge",
              "Conquest",
              "Summit",
              "Rumble",
              "Exhibition",
              "Pro",
              "Elite"
            ]
          },
          "date": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "The date the tournament takes place.",
            "trend": "seasonal"
          },
          "prize_pool": {
            "kind": "decimal",
            "min": 1000,
            "max": 1000000,
            "scale": 2,
            "description": "Total prize pool for the tournament.",
            "nullable": true,
            "when": {
              "column": "format",
              "in": [
                "Single Elimination",
                "Double Elimination",
                "Round Robin"
              ]
            },
            "distribution": "long-tail"
          },
          "format": {
            "kind": "enum",
            "values": [
              "Single Elimination",
              "Double Elimination",
              "Round Robin"
            ],
            "description": "The format of the tournament.",
            "weights": [
              10,
              5,
              2
            ]
          }
        }
      },
      "participations": {
        "description": "Each row details a player's participation in a tournament, linking to their performance metrics.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each participation record."
          },
          "player_id": {
            "kind": "fk",
            "ref": "players.id",
            "description": "The player participating in the tournament."
          },
          "tournament_id": {
            "kind": "fk",
            "ref": "tournaments.id",
            "description": "The tournament in which the player is participating."
          },
          "performance_score": {
            "kind": "decimal",
            "min": 0,
            "max": 100,
            "scale": 2,
            "description": "Performance score of the player in the tournament.",
            "nullable": true,
            "when": {
              "column": "placement",
              "in": [
                "1st",
                "2nd",
                "3rd",
                "4th+",
                "Disqualified"
              ]
            },
            "distribution": "high"
          },
          "placement": {
            "kind": "enum",
            "values": [
              "1st",
              "2nd",
              "3rd",
              "4th+",
              "Disqualified"
            ],
            "description": "The placement achieved by the player in the tournament.",
            "weights": [
              7,
              4,
              2,
              1,
              1
            ]
          },
          "duration_minutes": {
            "kind": "int",
            "min": 30,
            "max": 300,
            "distribution": "long-tail",
            "description": "Total duration of the player's participation in minutes."
          },
          "average_placement": {
            "kind": "decimal",
            "min": 1,
            "max": 4,
            "scale": 1,
            "distribution": "normal",
            "description": "Average placement achieved by the player across tournaments."
          },
          "total_wins": {
            "kind": "int",
            "min": 0,
            "max": 100,
            "distribution": "normal",
            "description": "Total number of wins achieved by the player in tournaments."
          }
        }
      },
      "transactions": {
        "description": "Each row represents a financial transaction related to tournament entries or sponsorships.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each transaction."
          },
          "player_id": {
            "kind": "fk",
            "ref": "players.id",
            "description": "The player associated with the transaction."
          },
          "tournament_id": {
            "kind": "fk",
            "ref": "tournaments.id",
            "description": "The tournament related to the transaction."
          },
          "amount": {
            "kind": "decimal",
            "min": 10,
            "max": 5000,
            "scale": 2,
            "description": "The amount of the transaction.",
            "nullable": true,
            "when": {
              "column": "transaction_type",
              "in": [
                "Entry Fee",
                "Sponsorship"
              ]
            },
            "distribution": "long-tail"
          },
          "transaction_type": {
            "kind": "enum",
            "values": [
              "Entry Fee",
              "Sponsorship"
            ],
            "description": "Type of transaction.",
            "weights": [
              9,
              3
            ]
          },
          "date": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Date of the transaction.",
            "dayProfile": "waking"
          }
        }
      },
      "player_stats": {
        "description": "This table holds detailed statistics for each player across tournaments, linked to their performances.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for the player stats record."
          },
          "player_id": {
            "kind": "fk",
            "ref": "players.id",
            "description": "The player whose stats are being recorded."
          },
          "total_kills": {
            "kind": "int",
            "min": 0,
            "max": 500,
            "description": "Total kills achieved by the player."
          },
          "total_deaths": {
            "kind": "int",
            "min": 0,
            "max": 500,
            "description": "Total deaths suffered by the player."
          },
          "total_assists": {
            "kind": "int",
            "min": 0,
            "max": 500,
            "description": "Total assists made by the player."
          },
          "average_score": {
            "kind": "decimal",
            "min": 0,
            "max": 100,
            "scale": 2,
            "description": "Average score of the player across tournaments.",
            "distribution": "high"
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "timestamped",
      "monetary",
      "high-cardinality",
      "categorical"
    ],
    "analysisQuestions": [
      "What is the average prize pool for tournaments held this year?",
      "Which players have the highest average scores across all tournaments?",
      "How many players have secured a top placement in multiple tournaments?",
      "What is the distribution of entry fees paid by players for different tournament formats?",
      "Which teams have the most players with significant achievements?"
    ],
    "suggestedQueries": [
      {
        "title": "List all players and their teams",
        "sql": "SELECT players.full_name, teams.team_name FROM players JOIN teams ON players.team_id = teams.id;",
        "dialect": "postgres"
      },
      {
        "title": "Count the number of players per tournament",
        "sql": "SELECT tournaments.tournament_name, COUNT(participations.player_id) FROM tournaments JOIN participations ON tournaments.id = participations.tournament_id GROUP BY tournaments.tournament_name;",
        "dialect": "postgres"
      },
      {
        "title": "Average performance score by tournament format",
        "sql": "SELECT tournaments.format, AVG(participations.performance_score) FROM tournaments JOIN participations ON tournaments.id = participations.tournament_id GROUP BY tournaments.format;",
        "dialect": "postgres"
      },
      {
        "title": "Total transaction amounts by type",
        "sql": "SELECT transactions.transaction_type, SUM(transactions.amount) FROM transactions GROUP BY transactions.transaction_type;",
        "dialect": "postgres"
      },
      {
        "title": "Player stats with average score and kill-death ratio",
        "sql": "SELECT players.full_name, player_stats.average_score, (player_stats.total_kills::decimal / NULLIF(player_stats.total_deaths, 0)) AS kill_death_ratio FROM player_stats JOIN players ON player_stats.player_id = players.id;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Game Developer Analytics",
        "body": "Game developers can use this dataset to analyze player performance and engagement in tournaments. By understanding how players perform in various formats, they can refine game mechanics and improve player retention."
      },
      {
        "title": "Tournament Organizer Insights",
        "body": "Organizers can leverage this data to evaluate the financial aspects of tournaments, assessing entry fees and sponsorship impacts. This insight helps them optimize future events to maximize participation and revenue."
      },
      {
        "title": "Player Performance Tracking",
        "body": "Players and coaches can utilize the dataset to track individual performance metrics over time. By analyzing stats like average score and kill-death ratio, they can identify areas for improvement and strategize for upcoming competitions."
      },
      {
        "title": "Sponsorship Analysis",
        "body": "Sponsors can benefit from understanding the landscape of player achievements and team performances. This information helps them make informed decisions on which teams or players to support for maximum brand exposure."
      }
    ]
  },
  "counts": {
    "teams": 50,
    "players": 200,
    "player_stats": 200,
    "tournaments": 100,
    "participations": 500,
    "transactions": 300
  },
  "stats": {
    "players": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "full_name": {
          "nulls": 0,
          "distinct": 200,
          "min": "Alice Almeida",
          "max": "Zoe Dubois"
        },
        "team_id": {
          "nulls": 0,
          "distinct": 48,
          "min": 1,
          "max": 50
        },
        "age": {
          "nulls": 13,
          "distinct": 25,
          "min": 16,
          "max": 40
        },
        "country": {
          "nulls": 16,
          "distinct": 41,
          "min": "Australia",
          "max": "United States"
        },
        "games_played": {
          "nulls": 51,
          "distinct": 128,
          "min": 1,
          "max": 978
        },
        "top_placement": {
          "nulls": 0,
          "distinct": 4,
          "min": "1st",
          "max": "None"
        }
      }
    },
    "teams": {
      "rows": 50,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "team_name": {
          "nulls": 0,
          "distinct": 44
        },
        "founded_year": {
          "nulls": 3,
          "distinct": 21,
          "min": 2000,
          "max": 2022
        },
        "sponsor": {
          "nulls": 5,
          "distinct": 44,
          "min": "Acme Labs",
          "max": "Vista Media"
        }
      }
    },
    "tournaments": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "tournament_name": {
          "nulls": 0,
          "distinct": 89
        },
        "date": {
          "nulls": 0,
          "distinct": 87,
          "min": "2023-01-01",
          "max": "2023-12-30"
        },
        "prize_pool": {
          "nulls": 0,
          "distinct": 100,
          "min": 1000.53,
          "max": 991712.97
        },
        "format": {
          "nulls": 0,
          "distinct": 3,
          "min": "Double Elimination",
          "max": "Single Elimination"
        }
      }
    },
    "participations": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "player_id": {
          "nulls": 0,
          "distinct": 181,
          "min": 1,
          "max": 200
        },
        "tournament_id": {
          "nulls": 0,
          "distinct": 99,
          "min": 1,
          "max": 100
        },
        "performance_score": {
          "nulls": 0,
          "distinct": 465,
          "min": 0.11,
          "max": 100
        },
        "placement": {
          "nulls": 0,
          "distinct": 5,
          "min": "1st",
          "max": "Disqualified"
        },
        "duration_minutes": {
          "nulls": 0,
          "distinct": 206,
          "min": 30,
          "max": 299
        },
        "average_placement": {
          "nulls": 0,
          "distinct": 23,
          "min": 1.4,
          "max": 3.7
        },
        "total_wins": {
          "nulls": 0,
          "distinct": 68,
          "min": 8,
          "max": 86
        }
      }
    },
    "transactions": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "player_id": {
          "nulls": 0,
          "distinct": 154,
          "min": 1,
          "max": 200
        },
        "tournament_id": {
          "nulls": 0,
          "distinct": 94,
          "min": 1,
          "max": 100
        },
        "amount": {
          "nulls": 0,
          "distinct": 299,
          "min": 10.04,
          "max": 4962.32
        },
        "transaction_type": {
          "nulls": 0,
          "distinct": 2,
          "min": "Entry Fee",
          "max": "Sponsorship"
        },
        "date": {
          "nulls": 0,
          "distinct": 300,
          "min": "2023-01-01 13:17:08",
          "max": "2023-12-29 14:40:39"
        }
      }
    },
    "player_stats": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "player_id": {
          "nulls": 0,
          "distinct": 134,
          "min": 1,
          "max": 200
        },
        "total_kills": {
          "nulls": 0,
          "distinct": 165,
          "min": 1,
          "max": 495
        },
        "total_deaths": {
          "nulls": 0,
          "distinct": 159,
          "min": 1,
          "max": 495
        },
        "total_assists": {
          "nulls": 0,
          "distinct": 165,
          "min": 2,
          "max": 499
        },
        "average_score": {
          "nulls": 0,
          "distinct": 196,
          "min": 1.56,
          "max": 100
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/teams.csv",
      "format": "csv",
      "table": "teams",
      "key": "datasets/online-gaming-tournament-platform/v3/csv/teams.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/online-gaming-tournament-platform/v3/csv/teams.csv",
      "bytes": 1895,
      "sha256": "3e96d7e0eda3748dea7e57d100843e42ae8aba21b9344d8a0faf08054a56f01c",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/players.csv",
      "format": "csv",
      "table": "players",
      "key": "datasets/online-gaming-tournament-platform/v3/csv/players.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/online-gaming-tournament-platform/v3/csv/players.csv",
      "bytes": 7645,
      "sha256": "fcfd920bbf973dad7dd623c9b587a3c8b9b9d65c41cbb2b6fa3bf2a6a922e4be",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/player_stats.csv",
      "format": "csv",
      "table": "player_stats",
      "key": "datasets/online-gaming-tournament-platform/v3/csv/player_stats.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/online-gaming-tournament-platform/v3/csv/player_stats.csv",
      "bytes": 5115,
      "sha256": "d412c72e4f198a83aaab0e3e9756ea1b5d5707eb4aaad4d05ca88f47296ed0e9",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/tournaments.csv",
      "format": "csv",
      "table": "tournaments",
      "key": "datasets/online-gaming-tournament-platform/v3/csv/tournaments.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/online-gaming-tournament-platform/v3/csv/tournaments.csv",
      "bytes": 5960,
      "sha256": "4d525e4cbdecb688aec50f0ff5ddb0b4396c45ae6273d6126c6c685cd1acee4b",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/participations.csv",
      "format": "csv",
      "table": "participations",
      "key": "datasets/online-gaming-tournament-platform/v3/csv/participations.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/online-gaming-tournament-platform/v3/csv/participations.csv",
      "bytes": 16303,
      "sha256": "18bc3ce671e7ac6e4ae2f679bb3cefb224e9b980dccb0cdadf5ca5c22af004d4",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/transactions.csv",
      "format": "csv",
      "table": "transactions",
      "key": "datasets/online-gaming-tournament-platform/v3/csv/transactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/online-gaming-tournament-platform/v3/csv/transactions.csv",
      "bytes": 14689,
      "sha256": "631cf26f31b59449a5939b47fbf0163598d6602c60d7370cfe41bf0f34b033e2",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "online-gaming-tournament-platform.json",
      "format": "json",
      "table": null,
      "key": "datasets/online-gaming-tournament-platform/v3/online-gaming-tournament-platform.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/online-gaming-tournament-platform/v3/online-gaming-tournament-platform.json",
      "bytes": 259873,
      "sha256": "6e78abbb1493a3d08ce7c998f157c716786fa8dcf6700088773109a58365c231",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/online-gaming-tournament-platform/v3/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/online-gaming-tournament-platform/v3/sql/postgres.sql",
      "bytes": 76005,
      "sha256": "81c04d6cc636fd813712542a8e6eb2c4c13416faf84f7696848895287b6f77c1",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/online-gaming-tournament-platform/v3/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/online-gaming-tournament-platform/v3/sql/mysql.sql",
      "bytes": 75283,
      "sha256": "991bf474a5d8c73356c5f5eedb1833020a00a669c549b196c9a5c4937c3851ff",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/online-gaming-tournament-platform/v3/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/online-gaming-tournament-platform/v3/sql/mssql.sql",
      "bytes": 77764,
      "sha256": "03db713f01b815dd842989f09f6fe9c9272e79d53f2bff1b45ec29e9c4da052a",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/online-gaming-tournament-platform/v3/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/online-gaming-tournament-platform/v3/sql/sqlite.sql",
      "bytes": 75004,
      "sha256": "6e78bcf6ff8e76a68dfe82f68936c4d64f2b8739457c3839d2bb4e9e9dcff58e",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/online-gaming-tournament-platform/v3/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/online-gaming-tournament-platform/v3/prisma/seed.ts",
      "bytes": 200234,
      "sha256": "72db28baaf0aa747c682d077ccbd8e090e127e323816f5b3e7a8f32ac2396e2f",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/online-gaming-tournament-platform/v3/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/online-gaming-tournament-platform/v3/django/fixtures.json",
      "bytes": 321655,
      "sha256": "e4f0187d310e734ec30f6379343fa16f62cf9dd68fb142c729e4c78396c8ca73",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767720695,
  "updatedAt": 1789095955670
}
