{
  "format": "dataset-manifest/1",
  "slug": "virtual-pet-and-animal-care-simulator",
  "version": 1,
  "seed": "virtual-pet-and-animal-care-simulator:1",
  "spec": {
    "format": "dataset/1",
    "slug": "virtual-pet-and-animal-care-simulator",
    "name": "Virtual Pet Care Insights",
    "tagline": "User interactions with virtual pets, including transactions, achievements, ailments, and decor customization.",
    "description": "Users interact daily with their virtual pets, managing their care and enhancing their experiences. Each user can own multiple pets, which they nurture through various activities and challenges. This dynamic digital ecosystem includes purchasing pet care items from an in-game shop, where transactions reflect the vibrant economy of virtual goods tailored to pet care. Users also strive to achieve milestones, unlocking achievements that showcase their dedication and skill in pet management. Additionally, pets may experience ailments, requiring users to address health issues through specific items or treatments, adding another layer of engagement and decision-making.\n\nThe dataset consists of several interconnected tables. The 'users' table records individual player accounts, detailing user demographics and preferences. Each user can own one or more pets, tracked in the 'pets' table, where pets are assigned unique identifiers and attributes. Transactions involving in-game purchases are detailed in the 'transactions' table, linking users to the 'items' they buy, which include food, toys, and health remedies. The 'achievements' table highlights the various milestones users can achieve, while the 'ailments' table captures the health issues pets may face, showcasing how users respond to these challenges with purchased items.\n\nBy exploring this dataset, developers can answer questions regarding user behavior, spending patterns, and the correlation between user engagement and pet health outcomes. It provides a rich ground for practicing data analysis and visualization techniques, revealing insights into player interactions and trends over time. This data is synthetic, yet it mimics real-world behaviors in a playful and engaging environment.",
    "domain": "telecom",
    "shape": "transactional",
    "useCases": [
      "sql-practice",
      "orm-seeding"
    ],
    "keywords": [
      "virtual pets",
      "pet care",
      "user interactions",
      "transactions",
      "achievements",
      "pet health"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "Records details about users interacting with the virtual pet world. Each row links to pets and transactions.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each user"
          },
          "username": {
            "kind": "fullName",
            "description": "The display name of the user"
          },
          "email": {
            "kind": "email",
            "from": "username",
            "description": "User's email address for account management"
          },
          "join_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date the user joined the platform",
            "trend": "growing"
          }
        }
      },
      "pets": {
        "description": "Details about the virtual pets owned by users. Each pet is linked to a user and can have various ailments.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each pet"
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "The user that owns the pet"
          },
          "name": {
            "kind": "fullName",
            "description": "The name of the pet"
          },
          "species": {
            "kind": "enum",
            "values": [
              "dog",
              "cat",
              "bird",
              "fish"
            ],
            "description": "Species of the pet"
          },
          "age": {
            "kind": "int",
            "min": 1,
            "max": 15,
            "description": "Age of the pet in years",
            "nullable": true
          },
          "health_status": {
            "kind": "enum",
            "values": [
              "healthy",
              "sick",
              "critical"
            ],
            "description": "Health status of the pet",
            "nullable": true,
            "when": {
              "column": "species",
              "in": [
                "dog",
                "cat",
                "bird",
                "fish"
              ]
            }
          }
        }
      },
      "transactions": {
        "description": "Records of items purchased by users for their pets. Links to both users and items.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each transaction"
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "The user who made the purchase"
          },
          "item_id": {
            "kind": "fk",
            "ref": "items.id",
            "description": "The item that was purchased"
          },
          "purchase_date": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date and time when the purchase was made",
            "dayProfile": "waking"
          },
          "amount": {
            "kind": "decimal",
            "min": 1,
            "max": 100,
            "scale": 2,
            "description": "Total amount spent on the transaction",
            "nullable": true
          }
        }
      },
      "items": {
        "description": "Information about pet care items available for purchase. Each item can be linked to multiple transactions.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each item"
          },
          "name": {
            "kind": "productName",
            "description": "Name of the pet care item"
          },
          "category": {
            "kind": "enum",
            "values": [
              "food",
              "toys",
              "healthcare",
              "decorations"
            ],
            "description": "Category of the item"
          },
          "price": {
            "kind": "decimal",
            "min": 1,
            "max": 50,
            "scale": 2,
            "description": "Price of the item",
            "nullable": true,
            "when": {
              "column": "category",
              "in": [
                "food",
                "toys",
                "healthcare",
                "decorations"
              ]
            }
          },
          "stock": {
            "kind": "int",
            "min": 0,
            "max": 100,
            "description": "Available stock for the item",
            "nullable": true
          }
        }
      },
      "achievements": {
        "description": "Tracks achievements unlocked by users as they engage with their pets. Links to users.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each achievement"
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "The user who unlocked the achievement"
          },
          "achievement_name": {
            "kind": "words",
            "min": 5,
            "max": 20,
            "description": "Name of the achievement unlocked"
          },
          "date_unlocked": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the achievement was unlocked",
            "nullable": true,
            "trend": "growing"
          }
        }
      },
      "ailments": {
        "description": "Information about ailments that pets may experience. Links to pets for tracking health issues.",
        "rows": 80,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each ailment record"
          },
          "pet_id": {
            "kind": "fk",
            "ref": "pets.id",
            "description": "The pet experiencing the ailment"
          },
          "ailment_type": {
            "kind": "enum",
            "values": [
              "common_cold",
              "flu",
              "rare_disease"
            ],
            "description": "Type of ailment affecting the pet"
          },
          "diagnosis_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the ailment was diagnosed",
            "nullable": true,
            "trend": "seasonal"
          },
          "treatment": {
            "kind": "sentence",
            "min": 10,
            "max": 100,
            "description": "Details of the treatment prescribed",
            "nullable": true,
            "when": {
              "column": "ailment_type",
              "in": [
                "common_cold",
                "flu",
                "rare_disease"
              ]
            }
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "high-cardinality",
      "nullable",
      "timestamped",
      "categorical"
    ],
    "analysisQuestions": [
      "What are the most popular pet care items purchased by users?",
      "How do user engagement levels correlate with pet health outcomes?",
      "What achievements are most commonly unlocked by users, and what activities lead to those achievements?",
      "What trends can be observed in pet ailments over time?",
      "How does the age of pets affect their health status and frequency of ailments?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Users and Pets",
        "sql": "SELECT users.username, pets.name FROM users JOIN pets ON users.id = pets.user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Aggregate Transactions by User",
        "sql": "SELECT user_id, COUNT(*) AS transaction_count FROM transactions GROUP BY user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Achievements by User",
        "sql": "SELECT users.username, COUNT(achievements.id) AS achievement_count FROM users LEFT JOIN achievements ON users.id = achievements.user_id GROUP BY users.username;",
        "dialect": "postgres"
      },
      {
        "title": "Average Spending per User",
        "sql": "SELECT user_id, AVG(amount) AS avg_spent FROM transactions GROUP BY user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Pet Health Trends Over Time",
        "sql": "SELECT EXTRACT(YEAR FROM diagnosis_date) AS year, COUNT(*) AS ailment_count FROM ailments GROUP BY year ORDER BY year;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Game Developer Testing",
        "body": "Game developers can use this dataset to simulate user behavior in a virtual pet game. By analyzing transactions and user interactions, they can test different game mechanics and features, ensuring a smooth user experience before official release."
      },
      {
        "title": "Data Analysts Exploring Engagement",
        "body": "Data analysts can leverage this dataset to explore user engagement metrics. By investigating purchases and achievements, they can identify trends that enhance user retention and satisfaction, providing valuable insights for future updates."
      },
      {
        "title": "Health Monitoring in Virtual Environments",
        "body": "Pet care specialists can examine the ailments data to monitor virtual pet health trends. By understanding the frequency and types of ailments, they can develop strategies to improve pet well-being and enhance the overall user experience."
      },
      {
        "title": "Marketing Strategies for Pet Products",
        "body": "Marketing teams can analyze purchasing patterns to identify popular items and user demographics. This information can guide targeted promotions and advertising campaigns aimed at increasing sales and engagement within the virtual pet care community."
      }
    ]
  },
  "counts": {
    "items": 100,
    "users": 200,
    "achievements": 150,
    "pets": 300,
    "ailments": 80,
    "transactions": 500
  },
  "stats": {
    "users": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "username": {
          "nulls": 0,
          "distinct": 200,
          "min": "Alice Sousa",
          "max": "Zoe Gupta"
        },
        "email": {
          "nulls": 0,
          "distinct": 200
        },
        "join_date": {
          "nulls": 0,
          "distinct": 186,
          "min": "2020-01-25",
          "max": "2023-12-27"
        }
      }
    },
    "pets": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "user_id": {
          "nulls": 0,
          "distinct": 155,
          "min": 1,
          "max": 200
        },
        "name": {
          "nulls": 0,
          "distinct": 294,
          "min": "Alice Martin",
          "max": "Zoe Reyes"
        },
        "species": {
          "nulls": 0,
          "distinct": 4,
          "min": "bird",
          "max": "fish"
        },
        "age": {
          "nulls": 37,
          "distinct": 15,
          "min": 1,
          "max": 15
        },
        "health_status": {
          "nulls": 0,
          "distinct": 3,
          "min": "critical",
          "max": "sick"
        }
      }
    },
    "transactions": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "user_id": {
          "nulls": 0,
          "distinct": 179,
          "min": 1,
          "max": 200
        },
        "item_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "purchase_date": {
          "nulls": 0,
          "distinct": 500,
          "min": "2020-01-03 19:08:30",
          "max": "2023-12-31 01:54:11"
        },
        "amount": {
          "nulls": 53,
          "distinct": 438,
          "min": 1.3,
          "max": 99.83
        }
      }
    },
    "items": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "name": {
          "nulls": 0,
          "distinct": 89,
          "min": "Classic Blender",
          "max": "Wireless Tent"
        },
        "category": {
          "nulls": 0,
          "distinct": 4,
          "min": "decorations",
          "max": "toys"
        },
        "price": {
          "nulls": 0,
          "distinct": 98,
          "min": 1.75,
          "max": 48.49
        },
        "stock": {
          "nulls": 13,
          "distinct": 61,
          "min": 2,
          "max": 98
        }
      }
    },
    "achievements": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "user_id": {
          "nulls": 0,
          "distinct": 103,
          "min": 1,
          "max": 199
        },
        "achievement_name": {
          "nulls": 0,
          "distinct": 150
        },
        "date_unlocked": {
          "nulls": 17,
          "distinct": 127,
          "min": "2020-02-20",
          "max": "2023-12-21"
        }
      }
    },
    "ailments": {
      "rows": 80,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 80,
          "min": 1,
          "max": 80
        },
        "pet_id": {
          "nulls": 0,
          "distinct": 70,
          "min": 5,
          "max": 300
        },
        "ailment_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "common_cold",
          "max": "rare_disease"
        },
        "diagnosis_date": {
          "nulls": 7,
          "distinct": 73,
          "min": "2020-02-05",
          "max": "2023-12-21"
        },
        "treatment": {
          "nulls": 0,
          "distinct": 80
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/items.csv",
      "format": "csv",
      "table": "items",
      "key": "datasets/virtual-pet-and-animal-care-simulator/v1/csv/items.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-pet-and-animal-care-simulator/v1/csv/items.csv",
      "bytes": 3610,
      "sha256": "55a5d2011b65ab366c27be0fb690a1c511b3462485aaa671d9050106324f59e8",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/virtual-pet-and-animal-care-simulator/v1/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-pet-and-animal-care-simulator/v1/csv/users.csv",
      "bytes": 10371,
      "sha256": "a4ec98eb685701cd59458d980f0131d195c8f8279b884d0ff554c0a02897fafe",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/achievements.csv",
      "format": "csv",
      "table": "achievements",
      "key": "datasets/virtual-pet-and-animal-care-simulator/v1/csv/achievements.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-pet-and-animal-care-simulator/v1/csv/achievements.csv",
      "bytes": 15064,
      "sha256": "98e5faa2959e9aa6c14881a48a1592369c7ddbee931c8cafeb671d5b454e37cf",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/pets.csv",
      "format": "csv",
      "table": "pets",
      "key": "datasets/virtual-pet-and-animal-care-simulator/v1/csv/pets.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-pet-and-animal-care-simulator/v1/csv/pets.csv",
      "bytes": 10359,
      "sha256": "037508666ca5b772f825b0ecc1d7582efb929a15ad423f30af1102ec1996f0d2",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/ailments.csv",
      "format": "csv",
      "table": "ailments",
      "key": "datasets/virtual-pet-and-animal-care-simulator/v1/csv/ailments.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-pet-and-animal-care-simulator/v1/csv/ailments.csv",
      "bytes": 6796,
      "sha256": "86b678e5465dea48addb9dbaf3ef598d4fa7a95403d06f0b9011e560b2ed8205",
      "rows": 80,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/transactions.csv",
      "format": "csv",
      "table": "transactions",
      "key": "datasets/virtual-pet-and-animal-care-simulator/v1/csv/transactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-pet-and-animal-care-simulator/v1/csv/transactions.csv",
      "bytes": 18313,
      "sha256": "942bb67a30483d6542d566738933e174a90f387c8313c8325f4d09dc50864b02",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "virtual-pet-and-animal-care-simulator.json",
      "format": "json",
      "table": null,
      "key": "datasets/virtual-pet-and-animal-care-simulator/v1/virtual-pet-and-animal-care-simulator.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-pet-and-animal-care-simulator/v1/virtual-pet-and-animal-care-simulator.json",
      "bytes": 202096,
      "sha256": "7355102dfef27f8e4750a879afe694b5582d9ba75e9a08be4948242808224a2b",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/virtual-pet-and-animal-care-simulator/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-pet-and-animal-care-simulator/v1/sql/postgres.sql",
      "bytes": 86937,
      "sha256": "4d1d3ddcfb06ad45706a98b647ee422e9fbf2452bcba9be805d72672912ac3b5",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/virtual-pet-and-animal-care-simulator/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-pet-and-animal-care-simulator/v1/sql/mysql.sql",
      "bytes": 86273,
      "sha256": "0b6d0c8ba537cca0c3b31cdb98aefee7f4365c881772f78e1763973e8383716b",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/virtual-pet-and-animal-care-simulator/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-pet-and-animal-care-simulator/v1/sql/mssql.sql",
      "bytes": 89370,
      "sha256": "56bd8d87bc19c9a37aca05a0a4800056f07865fc85d504a7a288bf34db42a811",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/virtual-pet-and-animal-care-simulator/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-pet-and-animal-care-simulator/v1/sql/sqlite.sql",
      "bytes": 86039,
      "sha256": "5e3355e0630a8be01743d4e0e8f79b62625d98eb518416b5d05b88329a1d0a50",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/virtual-pet-and-animal-care-simulator/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-pet-and-animal-care-simulator/v1/prisma/seed.ts",
      "bytes": 162279,
      "sha256": "80910b82703ca47d52ff2d7a3bd8c77f9db736f5276a95938f8f2930287d6ab8",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/virtual-pet-and-animal-care-simulator/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-pet-and-animal-care-simulator/v1/django/fixtures.json",
      "bytes": 258073,
      "sha256": "80289eda12217c025c892655f9584f5b19400df8eb205e7991e8a94f1c9c26e5",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768757849,
  "updatedAt": 1788768757849
}
