{
  "format": "dataset-manifest/1",
  "slug": "epic-adventure-chronicles",
  "version": 1,
  "seed": "epic-adventure-chronicles:1",
  "spec": {
    "format": "dataset/1",
    "slug": "epic-adventure-chronicles",
    "name": "Epic Adventure Chronicles",
    "tagline": "Shape your journey in a narrative-driven interactive game!",
    "description": "Epic Adventure Chronicles is a synthetic dataset designed to model an interactive story game where player choices influence the narrative and character development. This dataset consists of multiple interconnected tables that represent various aspects of the game, including chapters, quests, costumes, currencies, and user engagement. Each player's journey through the game is unique, shaped by their decisions and interactions with the game's content. The tables allow developers to answer questions related to player engagement, spending patterns, and quest completer behaviors. Furthermore, this dataset is valuable for practicing SQL skills, testing ETL pipelines, and teaching data analysis techniques in a gaming context. The synthetic nature ensures that the data remains consistent and usable for development purposes, while still providing realistic scenarios based on player interactions within the game.",
    "domain": "gaming",
    "shape": "slowly-changing",
    "useCases": [
      "etl-pipelines",
      "teaching"
    ],
    "keywords": [
      "interactive game",
      "storytelling",
      "player choices",
      "character growth",
      "quests",
      "costumes",
      "user engagement",
      "in-game currency"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "chapters": {
        "description": "Each row represents a chapter within the game, detailing its title, narrative style, and player engagement metrics. The chapter_id serves as a unique identifier.",
        "rows": 60,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each chapter."
          },
          "title": {
            "kind": "sentence",
            "max": 100,
            "description": "The title of the chapter."
          },
          "narrative_style": {
            "kind": "enum",
            "values": [
              "adventure",
              "mystery",
              "fantasy",
              "horror"
            ],
            "description": "The narrative style of the chapter."
          },
          "total_engagement": {
            "kind": "int",
            "min": 0,
            "max": 10000,
            "description": "Total number of player interactions with this chapter."
          }
        }
      },
      "quests": {
        "description": "This table records the quests associated with each chapter, including their difficulty, rewards, and completion rates. Each quest links back to a chapter.",
        "rows": 120,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each quest."
          },
          "chapter_id": {
            "kind": "fk",
            "ref": "chapters.id",
            "description": "Links to the chapter that this quest belongs to."
          },
          "difficulty": {
            "kind": "enum",
            "values": [
              "easy",
              "medium",
              "hard"
            ],
            "description": "The difficulty level of the quest."
          },
          "completion_rate": {
            "kind": "decimal",
            "min": 0,
            "max": 1,
            "scale": 2,
            "description": "Percentage of players who have completed this quest."
          },
          "reward_currency": {
            "kind": "int",
            "min": 1,
            "max": 500,
            "description": "Amount of in-game currency awarded upon quest completion."
          }
        }
      },
      "costumes": {
        "description": "This table catalogs the various costumes available for player characters, including their styles, rarity, and associated costs in in-game currency.",
        "rows": 80,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each costume."
          },
          "style": {
            "kind": "sentence",
            "max": 50,
            "description": "The style or theme of the costume."
          },
          "rarity": {
            "kind": "enum",
            "values": [
              "common",
              "uncommon",
              "rare",
              "legendary"
            ],
            "description": "The rarity level of the costume."
          },
          "cost": {
            "kind": "int",
            "min": 10,
            "max": 1000,
            "description": "Cost of the costume in in-game currency."
          }
        }
      },
      "currencies": {
        "description": "This table tracks various types of in-game currencies used by players, including their total amounts and transaction counts.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each currency type."
          },
          "currency_type": {
            "kind": "enum",
            "values": [
              "gold",
              "silver",
              "gems"
            ],
            "description": "Type of in-game currency."
          },
          "total_amount": {
            "kind": "int",
            "min": 0,
            "max": 10000,
            "description": "Total amount of this currency held by players."
          },
          "transaction_count": {
            "kind": "int",
            "min": 0,
            "max": 5000,
            "description": "Number of transactions involving this currency."
          }
        }
      },
      "player_engagement": {
        "description": "This table captures engagement metrics for players, including their favorite chapters and total spending in the game.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each player engagement record."
          },
          "player_id": {
            "kind": "uuid",
            "description": "Unique identifier for each player."
          },
          "favorite_chapter": {
            "kind": "fk",
            "ref": "chapters.id",
            "nullable": true,
            "description": "Links to the player's most favorite chapter."
          },
          "total_spent": {
            "kind": "decimal",
            "min": 0,
            "max": 5000,
            "scale": 2,
            "description": "Total amount of in-game currency spent by the player."
          },
          "quest_count": {
            "kind": "int",
            "min": 0,
            "max": 100,
            "description": "Total number of quests completed by the player."
          }
        }
      },
      "purchases": {
        "description": "This table details the purchases made by players, including the items bought and the associated costs.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each purchase."
          },
          "player_id": {
            "kind": "uuid",
            "description": "Unique identifier for each player."
          },
          "costume_id": {
            "kind": "fk",
            "ref": "costumes.id",
            "nullable": true,
            "description": "Links to the purchased costume, if applicable."
          },
          "currency_used": {
            "kind": "fk",
            "ref": "currencies.id",
            "description": "Links to the type of currency used for the purchase."
          },
          "purchase_date": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date and time when the purchase was made.",
            "dayProfile": "waking"
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "nullable",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What types of quests are most frequently completed by players?",
      "How does the rarity of costumes affect their purchase rates?",
      "Which chapters have the highest player engagement and why?",
      "What is the average amount spent by players on in-game purchases?",
      "How does player engagement vary across different narrative styles?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Players with Their Favorite Chapters",
        "sql": "SELECT p.player_id, c.title FROM player_engagement p JOIN chapters c ON p.favorite_chapter = c.id",
        "dialect": "postgres"
      },
      {
        "title": "Average Total Spent by Players",
        "sql": "SELECT AVG(total_spent) FROM player_engagement",
        "dialect": "postgres"
      },
      {
        "title": "Count of Quests by Difficulty",
        "sql": "SELECT difficulty, COUNT(*) FROM quests GROUP BY difficulty",
        "dialect": "postgres"
      },
      {
        "title": "Engagement Over Time",
        "sql": "SELECT DATE(purchase_date), COUNT(*) FROM purchases GROUP BY DATE(purchase_date)",
        "dialect": "postgres"
      },
      {
        "title": "Top Costumes by Purchase Frequency",
        "sql": "SELECT c.style, COUNT(p.id) FROM purchases p LEFT JOIN costumes c ON p.costume_id = c.id GROUP BY c.style ORDER BY COUNT(p.id) DESC",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Game Developers",
        "body": "Game developers can utilize this dataset to analyze player engagement trends, identify which chapters and quests are most popular, and gain insights into player spending behavior. This data can help in making informed decisions on future game updates, features, and enhancements."
      },
      {
        "title": "Educational Institutions",
        "body": "Educators can leverage this dataset for teaching purposes, helping students understand data modeling, SQL querying, and data analysis techniques. The diverse tables provide a hands-on learning experience, allowing students to explore real-world scenarios in the gaming industry."
      },
      {
        "title": "Game Analysts",
        "body": "Game analysts can use this dataset to perform in-depth analyses of player habits and preferences. By identifying engagement patterns and spending tendencies, analysts can provide actionable insights to marketing teams, ensuring that promotional strategies align with player interests."
      },
      {
        "title": "Data Scientists",
        "body": "Data scientists can apply machine learning techniques to this dataset to predict player behavior, such as likelihood to purchase costumes or complete quests. This dataset serves as a foundation for building models that enhance user experience and drive player retention."
      }
    ]
  },
  "counts": {
    "chapters": 60,
    "costumes": 80,
    "currencies": 150,
    "player_engagement": 200,
    "purchases": 300,
    "quests": 120
  },
  "stats": {
    "chapters": {
      "rows": 60,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 60,
          "min": 1,
          "max": 60
        },
        "title": {
          "nulls": 0,
          "distinct": 60
        },
        "narrative_style": {
          "nulls": 0,
          "distinct": 4,
          "min": "adventure",
          "max": "mystery"
        },
        "total_engagement": {
          "nulls": 0,
          "distinct": 60,
          "min": 300,
          "max": 9827
        }
      }
    },
    "quests": {
      "rows": 120,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 120,
          "min": 1,
          "max": 120
        },
        "chapter_id": {
          "nulls": 0,
          "distinct": 54,
          "min": 1,
          "max": 59
        },
        "difficulty": {
          "nulls": 0,
          "distinct": 3,
          "min": "easy",
          "max": "medium"
        },
        "completion_rate": {
          "nulls": 0,
          "distinct": 65,
          "min": 0,
          "max": 0.99
        },
        "reward_currency": {
          "nulls": 0,
          "distinct": 111,
          "min": 2,
          "max": 499
        }
      }
    },
    "costumes": {
      "rows": 80,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 80,
          "min": 1,
          "max": 80
        },
        "style": {
          "nulls": 0,
          "distinct": 80
        },
        "rarity": {
          "nulls": 0,
          "distinct": 4,
          "min": "common",
          "max": "uncommon"
        },
        "cost": {
          "nulls": 0,
          "distinct": 78,
          "min": 49,
          "max": 988
        }
      }
    },
    "currencies": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "currency_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "gems",
          "max": "silver"
        },
        "total_amount": {
          "nulls": 0,
          "distinct": 150,
          "min": 15,
          "max": 9985
        },
        "transaction_count": {
          "nulls": 0,
          "distinct": 147,
          "min": 138,
          "max": 4991
        }
      }
    },
    "player_engagement": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "player_id": {
          "nulls": 0,
          "distinct": 200
        },
        "favorite_chapter": {
          "nulls": 12,
          "distinct": 60,
          "min": 1,
          "max": 60
        },
        "total_spent": {
          "nulls": 0,
          "distinct": 200,
          "min": 16.9,
          "max": 4991.48
        },
        "quest_count": {
          "nulls": 0,
          "distinct": 86,
          "min": 0,
          "max": 99
        }
      }
    },
    "purchases": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "player_id": {
          "nulls": 0,
          "distinct": 300
        },
        "costume_id": {
          "nulls": 20,
          "distinct": 80,
          "min": 1,
          "max": 80
        },
        "currency_used": {
          "nulls": 0,
          "distinct": 129,
          "min": 1,
          "max": 150
        },
        "purchase_date": {
          "nulls": 0,
          "distinct": 300,
          "min": "2020-01-01 14:24:26",
          "max": "2023-12-31 07:38:21"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/chapters.csv",
      "format": "csv",
      "table": "chapters",
      "key": "datasets/epic-adventure-chronicles/v1/csv/chapters.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/epic-adventure-chronicles/v1/csv/chapters.csv",
      "bytes": 4561,
      "sha256": "2f260e3a1f77220d73d38110cb3b7cf9a8e6bad3ebad9bb0ba24db2c5e08690f",
      "rows": 60,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/costumes.csv",
      "format": "csv",
      "table": "costumes",
      "key": "datasets/epic-adventure-chronicles/v1/csv/costumes.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/epic-adventure-chronicles/v1/csv/costumes.csv",
      "bytes": 5765,
      "sha256": "88958b182c4acbe873da536dbb527143c321576025494f5de2c3f14f414f2183",
      "rows": 80,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/currencies.csv",
      "format": "csv",
      "table": "currencies",
      "key": "datasets/epic-adventure-chronicles/v1/csv/currencies.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/epic-adventure-chronicles/v1/csv/currencies.csv",
      "bytes": 2988,
      "sha256": "fe29134c0b1e230d1815564c38f1d93140ba38506825c367c0d54a36d52aa1e2",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/player_engagement.csv",
      "format": "csv",
      "table": "player_engagement",
      "key": "datasets/epic-adventure-chronicles/v1/csv/player_engagement.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/epic-adventure-chronicles/v1/csv/player_engagement.csv",
      "bytes": 11026,
      "sha256": "16ec3caecd6e66c7a0a3dec4fd86dadbd19ef20ccbb5a30eb71588113962e528",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/purchases.csv",
      "format": "csv",
      "table": "purchases",
      "key": "datasets/epic-adventure-chronicles/v1/csv/purchases.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/epic-adventure-chronicles/v1/csv/purchases.csv",
      "bytes": 20366,
      "sha256": "ded8e1af5f238b5dd1e7bad32da64937c02dd02f78a82293834480487833938b",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/quests.csv",
      "format": "csv",
      "table": "quests",
      "key": "datasets/epic-adventure-chronicles/v1/csv/quests.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/epic-adventure-chronicles/v1/csv/quests.csv",
      "bytes": 2625,
      "sha256": "ef8782deffe285b866db52561fa9420dc2fdf063e9ba529e0f32f072b663e78f",
      "rows": 120,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "epic-adventure-chronicles.json",
      "format": "json",
      "table": null,
      "key": "datasets/epic-adventure-chronicles/v1/epic-adventure-chronicles.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/epic-adventure-chronicles/v1/epic-adventure-chronicles.json",
      "bytes": 147146,
      "sha256": "9add9bd31ea022d2483296362a7819b902b4447ec1e562f946711097cc076feb",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/epic-adventure-chronicles/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/epic-adventure-chronicles/v1/sql/postgres.sql",
      "bytes": 62000,
      "sha256": "b959ee53b95da110e0b0c3930912ebb8a95eee3611c09c0010bd2d1b52db2a2f",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/epic-adventure-chronicles/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/epic-adventure-chronicles/v1/sql/mysql.sql",
      "bytes": 61308,
      "sha256": "a094b2fba1714fe6e03b7167d377dac85fe4daa174695142c08127c6d2f92a46",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/epic-adventure-chronicles/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/epic-adventure-chronicles/v1/sql/mssql.sql",
      "bytes": 63083,
      "sha256": "40f39b89b57f87ddf1ae9ed0e2c75907d4643a79d98dc03e3fd34e7b8b8e59fc",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/epic-adventure-chronicles/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/epic-adventure-chronicles/v1/sql/sqlite.sql",
      "bytes": 61121,
      "sha256": "6ae4c071848d348fb6b0b4bcbe0a9635be9dbf31dc5dc1e48b175111b9a0388d",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/epic-adventure-chronicles/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/epic-adventure-chronicles/v1/prisma/seed.ts",
      "bytes": 121681,
      "sha256": "bf23b082410c7d68a8eb6bff836bdea653df789eb2d4e9c154592e936c0956a6",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/epic-adventure-chronicles/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/epic-adventure-chronicles/v1/django/fixtures.json",
      "bytes": 188492,
      "sha256": "8750e2469a3355f363d4a386cf5b36265a54d267e8e0f90c8e042bd86b5b7c1e",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768397552,
  "updatedAt": 1788768397552
}
