{
  "format": "dataset-manifest/1",
  "slug": "real-estate-project-management",
  "version": 1,
  "seed": "real-estate-project-management:1",
  "spec": {
    "format": "dataset/1",
    "slug": "real-estate-project-management",
    "name": "Real Estate Project Management",
    "tagline": "Properties, users, tasks, maintenance requests, and project timelines for real estate project management.",
    "description": "Property managers oversee the intricate details of various real estate projects, ensuring that every task is accounted for and executed efficiently. This involves managing a portfolio of properties, each with unique attributes and needs. Users within the system play different roles—some are responsible for handling maintenance requests, while others focus on tracking project timelines and ensuring that tasks are completed on schedule. The daily operations are fast-paced, requiring constant communication and updates to keep everything running smoothly.\n\nIn this dataset, each property is represented in the properties table, detailing its specifics such as location, size, and current status. The users table identifies individuals involved in the management process, categorizing them by their roles and responsibilities. Tasks related to each property are logged in the tasks table, where completion times, priorities, and current statuses are recorded. Maintenance requests, which can arise unexpectedly and require immediate attention, are documented in the maintenance_requests table. Lastly, project timelines provide a chronological overview of all ongoing and completed tasks, enabling managers to visualize progress and plan future projects effectively.\n\nThe relationships between these tables are key to understanding the data. For instance, each task links back to a specific property and a user, allowing for detailed tracking of who is responsible for what aspect of property management. Maintenance requests can be associated with particular tasks and properties, revealing patterns in issues that may arise over time. By querying these tables, developers can answer questions like: How long does it typically take to resolve maintenance requests? What are the common types of tasks associated with specific properties? How can workflows be optimized based on task completion times? \n\nThis dataset is entirely synthetic, crafted to emulate the complexities of real-world property management scenarios. It offers a rich breeding ground for practicing data manipulation, analysis, and reporting, making it an ideal resource for developers looking to sharpen their skills in a practical context.",
    "domain": "real-estate",
    "shape": "multi-tenant",
    "useCases": [
      "orm-seeding",
      "api-mocking"
    ],
    "keywords": [
      "real estate",
      "project management",
      "maintenance",
      "tasks",
      "properties",
      "users",
      "timelines"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "properties": {
        "description": "This table contains details about each property managed, including its unique identifier, name, location, and type.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each property."
          },
          "name": {
            "kind": "fullName",
            "description": "The name of the property."
          },
          "location": {
            "kind": "city",
            "description": "The city where the property is located."
          },
          "property_type": {
            "kind": "enum",
            "values": [
              "Residential",
              "Commercial",
              "Industrial"
            ],
            "description": "Type of the property."
          },
          "owner_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Foreign key linking to the owner's user ID."
          }
        }
      },
      "users": {
        "description": "This table captures the users involved in property management, detailing their roles and contact information.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each user."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The full name of the user."
          },
          "email": {
            "kind": "email",
            "from": "full_name",
            "description": "Email address of the user."
          },
          "role": {
            "kind": "enum",
            "values": [
              "Manager",
              "Agent",
              "Maintenance"
            ],
            "description": "User's role within the management team."
          }
        }
      },
      "tasks": {
        "description": "This table tracks tasks associated with properties, indicating their status and completion dates.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each task."
          },
          "property_id": {
            "kind": "fk",
            "ref": "properties.id",
            "description": "Foreign key linking to the property."
          },
          "assigned_to": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Foreign key linking to the user assigned to the task."
          },
          "status": {
            "kind": "enum",
            "values": [
              "Pending",
              "In Progress",
              "Completed"
            ],
            "description": "Current status of the task."
          },
          "created_at": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2024-12-31",
            "description": "Date when the task was created.",
            "trend": "growing"
          },
          "completion_date": {
            "kind": "date",
            "after": "created_at",
            "withinDays": 30,
            "description": "Date when the task was completed."
          }
        }
      },
      "maintenance_requests": {
        "description": "This table records maintenance requests made for properties, including their resolution details.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each maintenance request."
          },
          "property_id": {
            "kind": "fk",
            "ref": "properties.id",
            "description": "Foreign key linking to the property."
          },
          "request_date": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2024-12-31",
            "description": "Date when the maintenance request was made.",
            "trend": "growing"
          },
          "resolution_date": {
            "kind": "date",
            "after": "request_date",
            "withinDays": 15,
            "description": "Date when the maintenance was resolved."
          },
          "status": {
            "kind": "enum",
            "values": [
              "Open",
              "In Progress",
              "Closed"
            ],
            "description": "Current status of the maintenance request."
          }
        }
      },
      "project_timelines": {
        "description": "This table outlines project timelines for various property management tasks, showing start and end dates.",
        "rows": 250,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each project timeline."
          },
          "property_id": {
            "kind": "fk",
            "ref": "properties.id",
            "description": "Foreign key linking to the property."
          },
          "start_date": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2024-12-31",
            "description": "Start date of the project.",
            "trend": "growing"
          },
          "end_date": {
            "kind": "date",
            "after": "start_date",
            "withinDays": 30,
            "description": "End date of the project."
          },
          "status": {
            "kind": "enum",
            "values": [
              "Planned",
              "Ongoing",
              "Completed"
            ],
            "description": "Current status of the project timeline."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "timestamped",
      "categorical",
      "nullable",
      "self-referencing"
    ],
    "analysisQuestions": [
      "What is the average time taken to resolve maintenance requests?",
      "Which properties have the highest number of pending tasks?",
      "How do task completion rates vary by user role?",
      "What is the distribution of project statuses across properties?",
      "Which maintenance issues are most common over time?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Properties and Tasks",
        "sql": "SELECT properties.name, tasks.status FROM properties JOIN tasks ON properties.id = tasks.property_id;",
        "dialect": "postgres"
      },
      {
        "title": "Count Tasks by Status",
        "sql": "SELECT status, COUNT(*) FROM tasks GROUP BY status;",
        "dialect": "postgres"
      },
      {
        "title": "Average Resolution Time for Maintenance Requests",
        "sql": "SELECT AVG(resolution_date - request_date) AS avg_resolution_time FROM maintenance_requests;",
        "dialect": "postgres"
      },
      {
        "title": "Project Timelines per Property",
        "sql": "SELECT properties.name, project_timelines.start_date, project_timelines.end_date FROM project_timelines JOIN properties ON project_timelines.property_id = properties.id;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Real Estate Managers",
        "body": "Real estate managers can use this dataset to track the status of multiple properties and their associated tasks. By analyzing task completion rates, they can identify bottlenecks in project workflows and ensure that maintenance requests are addressed promptly, enhancing overall property management efficiency."
      },
      {
        "title": "Developers Building Management Applications",
        "body": "Developers can utilize this dataset to seed their applications with realistic property management scenarios for testing purposes. By mocking APIs that interact with this data, they can ensure that their applications handle various operational tasks effectively, from managing user roles to tracking project timelines."
      },
      {
        "title": "Data Analysts in Real Estate",
        "body": "Data analysts can leverage this dataset to perform in-depth analysis on property management trends. By exploring maintenance request patterns and project timelines, they can derive insights that inform strategic decisions regarding property investments and resource allocation."
      }
    ]
  },
  "counts": {
    "users": 50,
    "properties": 200,
    "maintenance_requests": 300,
    "project_timelines": 250,
    "tasks": 500
  },
  "stats": {
    "properties": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "name": {
          "nulls": 0,
          "distinct": 196,
          "min": "Alice Sousa",
          "max": "Zoe Young"
        },
        "location": {
          "nulls": 0,
          "distinct": 60,
          "min": "Ankara",
          "max": "Zurich"
        },
        "property_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "Commercial",
          "max": "Residential"
        },
        "owner_id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        }
      }
    },
    "users": {
      "rows": 50,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "full_name": {
          "nulls": 0,
          "distinct": 49,
          "min": "Amir Miller",
          "max": "Zara Jansen"
        },
        "email": {
          "nulls": 0,
          "distinct": 50
        },
        "role": {
          "nulls": 0,
          "distinct": 3,
          "min": "Agent",
          "max": "Manager"
        }
      }
    },
    "tasks": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "property_id": {
          "nulls": 0,
          "distinct": 184,
          "min": 1,
          "max": 200
        },
        "assigned_to": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "status": {
          "nulls": 0,
          "distinct": 3,
          "min": "Completed",
          "max": "Pending"
        },
        "created_at": {
          "nulls": 0,
          "distinct": 352,
          "min": "2023-01-01",
          "max": "2024-12-31"
        },
        "completion_date": {
          "nulls": 0,
          "distinct": 364,
          "min": "2023-01-10",
          "max": "2025-01-27"
        }
      }
    },
    "maintenance_requests": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "property_id": {
          "nulls": 0,
          "distinct": 153,
          "min": 1,
          "max": 200
        },
        "request_date": {
          "nulls": 0,
          "distinct": 236,
          "min": "2023-01-04",
          "max": "2024-12-31"
        },
        "resolution_date": {
          "nulls": 0,
          "distinct": 242,
          "min": "2023-01-07",
          "max": "2025-01-11"
        },
        "status": {
          "nulls": 0,
          "distinct": 3,
          "min": "Closed",
          "max": "Open"
        }
      }
    },
    "project_timelines": {
      "rows": 250,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 250,
          "min": 1,
          "max": 250
        },
        "property_id": {
          "nulls": 0,
          "distinct": 138,
          "min": 3,
          "max": 199
        },
        "start_date": {
          "nulls": 0,
          "distinct": 215,
          "min": "2023-01-06",
          "max": "2024-12-31"
        },
        "end_date": {
          "nulls": 0,
          "distinct": 214,
          "min": "2023-01-24",
          "max": "2025-01-22"
        },
        "status": {
          "nulls": 0,
          "distinct": 3,
          "min": "Completed",
          "max": "Planned"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/real-estate-project-management/v1/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-project-management/v1/csv/users.csv",
      "bytes": 2434,
      "sha256": "d57265d738cd38fd1da658237b83711ff7ee7df86e1813a9135d3a358cdb640c",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/properties.csv",
      "format": "csv",
      "table": "properties",
      "key": "datasets/real-estate-project-management/v1/csv/properties.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-project-management/v1/csv/properties.csv",
      "bytes": 7682,
      "sha256": "17efee61c787394927a48833c7b08209799c14e99e60d593f8d0238ed15c0c03",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/maintenance_requests.csv",
      "format": "csv",
      "table": "maintenance_requests",
      "key": "datasets/real-estate-project-management/v1/csv/maintenance_requests.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-project-management/v1/csv/maintenance_requests.csv",
      "bytes": 11541,
      "sha256": "5095e2d860bed3b4fc216734fb901775b1d288ad9946dac6f11552f98982e050",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/project_timelines.csv",
      "format": "csv",
      "table": "project_timelines",
      "key": "datasets/real-estate-project-management/v1/csv/project_timelines.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-project-management/v1/csv/project_timelines.csv",
      "bytes": 9704,
      "sha256": "37a2236eaaa8db7871893c45a35e28ce09fdccfd01aae0043d40d3e3b76dd6f9",
      "rows": 250,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/tasks.csv",
      "format": "csv",
      "table": "tasks",
      "key": "datasets/real-estate-project-management/v1/csv/tasks.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-project-management/v1/csv/tasks.csv",
      "bytes": 21613,
      "sha256": "38f3811b4899b5e1156ab878809b4d34d9697a5d7e033deb473662a7eaa752b1",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "real-estate-project-management.json",
      "format": "json",
      "table": null,
      "key": "datasets/real-estate-project-management/v1/real-estate-project-management.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-project-management/v1/real-estate-project-management.json",
      "bytes": 209971,
      "sha256": "080d5ee05709bbfad177fd130a0e8fc6c3c80c0c8ad707e5594258e85d7547b5",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/real-estate-project-management/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-project-management/v1/sql/postgres.sql",
      "bytes": 77532,
      "sha256": "0709579662afd47cdcf3afa345fff56d2a7d770e5f3d6696ab38ea169bc2029b",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/real-estate-project-management/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-project-management/v1/sql/mysql.sql",
      "bytes": 76947,
      "sha256": "0e5422f1e69d2dc1bdc3d7bb784990bc545b509872a82d2d993c8654977c2652",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/real-estate-project-management/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-project-management/v1/sql/mssql.sql",
      "bytes": 81195,
      "sha256": "a08bafa8c83727c805c3df30009e7b5e8bd7fa600687cb7a966bf2c2ad813cc1",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/real-estate-project-management/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-project-management/v1/sql/sqlite.sql",
      "bytes": 76679,
      "sha256": "fb32edd86bf2a0a9675127be1f704f7c5de178491b2be489894a36708d30cea3",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/real-estate-project-management/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-project-management/v1/prisma/seed.ts",
      "bytes": 160513,
      "sha256": "45e458507a26216b61b258af4153770094c68be764a181769c0161818e779128",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/real-estate-project-management/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-estate-project-management/v1/django/fixtures.json",
      "bytes": 267154,
      "sha256": "13acea562b2ba33ba4ecd846294f2c487e75605334bd37dfa147e3cf89b9f139",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767649001,
  "updatedAt": 1788767649001
}
