{
  "format": "dataset-manifest/1",
  "slug": "motor-insurance-claims",
  "version": 2,
  "seed": "motor-insurance-claims:1",
  "spec": {
    "format": "dataset/1",
    "slug": "motor-insurance-claims",
    "name": "Motor Insurance Claims",
    "tagline": "Motor insurance claims data including policyholders, vehicles, policies, and settlement details.",
    "description": "Policyholders submit motor insurance claims when they experience incidents involving their vehicles, initiating a process that involves various parties within the insurance company. Each policyholder owns one or more vehicles, and these vehicles are covered under specific policies that define the level of coverage. When a claim is made, it is assigned to an adjuster who investigates the claim, assesses the damages, and determines the settlement amount based on the policy details and incident specifics. This ongoing interaction among policyholders, vehicles, claims, and adjusters forms the backbone of the motor insurance claims operation.\n\nThe tables in this dataset include policyholders, vehicles, policies, claims, claim_statuses, and adjusters. A row in the policyholders table represents an individual or entity holding an insurance policy. Each of these policyholders can own one or more vehicles as detailed in the vehicles table. The policies table outlines different insurance products available, including cover levels which directly impact the claims process. When an incident occurs, a claim is generated in the claims table, which details the event, date of occurrence, and the amount claimed. The status of these claims is tracked in the claim_statuses table, providing insights into progress and outcomes. Finally, each claim is assigned to an adjuster from the adjusters table, who is responsible for managing the claim from assessment to settlement.\n\nThis dataset allows developers to practice working with relational data in a real-world context, posing questions such as: How many claims are filed per policyholder? What are the average settlement amounts based on different policy cover levels? How does the response time of adjusters affect claim resolution? By exploring these relationships and answering such queries, developers can gain valuable experience in data analysis and manipulation.\n\nIt’s important to note that all the data in this dataset is synthetic, created to mirror realistic scenarios in the motor insurance domain.",
    "domain": "insurance",
    "shape": "transactional",
    "useCases": [
      "bi-dashboards",
      "sql-practice"
    ],
    "keywords": [
      "insurance",
      "claims",
      "policyholders",
      "vehicles",
      "adjusters",
      "settlements"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "policyholders": {
        "description": "This table contains information about individuals who hold insurance policies. Each row represents a unique policyholder.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each policyholder."
          },
          "first_name": {
            "kind": "firstName",
            "description": "The first name of the policyholder."
          },
          "last_name": {
            "kind": "lastName",
            "description": "The last name of the policyholder."
          },
          "date_of_birth": {
            "kind": "date",
            "from": "1970-01-01",
            "to": "2003-12-31",
            "description": "Date of birth of the policyholder."
          },
          "email": {
            "kind": "email",
            "from": [
              "first_name",
              "last_name"
            ],
            "description": "Email address of the policyholder.",
            "nullable": true
          },
          "phone": {
            "kind": "phone",
            "description": "Contact phone number of the policyholder.",
            "nullable": true
          }
        }
      },
      "vehicles": {
        "description": "This table holds details about vehicles insured by the policyholders. Each row corresponds to a specific vehicle.",
        "rows": {
          "per": "policyholders",
          "via": "policyholder_id",
          "min": 1,
          "max": 3,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each vehicle."
          },
          "policyholder_id": {
            "kind": "fk",
            "ref": "policyholders.id",
            "description": "Foreign key linking to the policyholder."
          },
          "vin": {
            "kind": "slug",
            "from": "id",
            "description": "Vehicle Identification Number.",
            "nullable": true
          },
          "make": {
            "kind": "words",
            "max": 3,
            "description": "Make of the vehicle.",
            "nullable": true,
            "pool": [
              "Toyota",
              "Ford",
              "Honda",
              "Chevrolet",
              "Nissan",
              "Hyundai",
              "Kia",
              "Volkswagen",
              "Subaru",
              "Mazda",
              "Dodge",
              "Chrysler",
              "Buick",
              "GMC",
              "Mercedes",
              "BMW",
              "Audi",
              "Lexus",
              "Porsche",
              "Jaguar"
            ],
            "min": 1
          },
          "model": {
            "kind": "words",
            "max": 3,
            "description": "Model of the vehicle.",
            "nullable": true,
            "pool": [
              "Civic",
              "Accord",
              "Camry",
              "F-150",
              "Mustang",
              "Altima",
              "Sonata",
              "Kona",
              "Outback",
              "Rogue",
              "Cherokee",
              "Wrangler",
              "Malibu",
              "Escalade",
              "X5",
              "A4",
              "Q5",
              "IS",
              "C-Class",
              "Macan"
            ],
            "min": 1
          },
          "year": {
            "kind": "int",
            "min": 2000,
            "max": 2023,
            "description": "Manufacturing year of the vehicle.",
            "nullable": true
          }
        }
      },
      "policies": {
        "description": "This table contains information about the insurance policies covering the vehicles. Each row represents a unique policy.",
        "rows": {
          "per": "policyholders",
          "via": "policyholder_id",
          "min": 1,
          "max": 2,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each policy."
          },
          "policyholder_id": {
            "kind": "fk",
            "ref": "policyholders.id",
            "description": "Foreign key linking to the policyholder."
          },
          "start_date": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2024-12-31",
            "description": "Start date of the policy."
          },
          "end_date": {
            "kind": "date",
            "after": "start_date",
            "withinDays": 730,
            "description": "End date of the policy.",
            "nullable": true,
            "when": {
              "column": "coverage_level",
              "in": [
                "standard",
                "premium"
              ]
            }
          },
          "coverage_level": {
            "kind": "enum",
            "values": [
              "basic",
              "standard",
              "premium"
            ],
            "description": "Level of coverage provided by the policy."
          }
        }
      },
      "claims": {
        "description": "This table represents claims filed by policyholders regarding incidents. Each row corresponds to a specific claim.",
        "rows": {
          "per": "policies",
          "via": "policy_id",
          "min": 1,
          "max": 4,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each claim."
          },
          "policy_id": {
            "kind": "fk",
            "ref": "policies.id",
            "description": "Foreign key linking to the policy."
          },
          "incident_date": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2024-12-31",
            "description": "Date when the incident occurred."
          },
          "settlement_amount": {
            "kind": "decimal",
            "min": 100,
            "max": 10000,
            "scale": 2,
            "distribution": "long-tail",
            "description": "Amount settled for the claim.",
            "nullable": true
          }
        }
      },
      "claim_statuses": {
        "description": "This table tracks the status of each claim. Each row represents an update to the claim's status.",
        "rows": {
          "per": "claims",
          "via": "claim_id",
          "min": 1,
          "max": 3,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each claim status update."
          },
          "claim_id": {
            "kind": "fk",
            "ref": "claims.id",
            "description": "Foreign key linking to the claim."
          },
          "status": {
            "kind": "enum",
            "values": [
              "pending",
              "approved",
              "denied"
            ],
            "description": "Current status of the claim.",
            "weights": [
              8,
              5,
              2
            ]
          },
          "updated_at": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2024-12-31",
            "description": "Timestamp when the status was updated.",
            "nullable": true,
            "when": {
              "column": "status",
              "in": [
                "approved",
                "denied"
              ]
            },
            "dayProfile": "business"
          }
        }
      },
      "adjusters": {
        "description": "This table contains information about adjusters who handle claims. Each row corresponds to a unique adjuster.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each adjuster."
          },
          "first_name": {
            "kind": "firstName",
            "description": "The first name of the adjuster."
          },
          "last_name": {
            "kind": "lastName",
            "description": "The last name of the adjuster."
          },
          "email": {
            "kind": "email",
            "from": [
              "first_name",
              "last_name"
            ],
            "description": "Email address of the adjuster.",
            "nullable": true
          },
          "phone": {
            "kind": "phone",
            "description": "Contact phone number of the adjuster.",
            "nullable": true
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "timestamped",
      "nullable"
    ],
    "analysisQuestions": [
      "How many claims are filed per coverage level?",
      "What is the average settlement amount for different claim statuses?",
      "Which vehicles have the highest claim rates?",
      "How do policyholders' ages affect claim frequency?",
      "Which adjusters process claims most efficiently?"
    ],
    "suggestedQueries": [
      {
        "title": "Join policyholders and vehicles",
        "sql": "SELECT * FROM policyholders JOIN vehicles ON policyholders.id = vehicles.policyholder_id;",
        "dialect": "postgres"
      },
      {
        "title": "Aggregate claims by policyholder",
        "sql": "SELECT policyholder_id, COUNT(*) AS claim_count FROM claims GROUP BY policyholder_id;",
        "dialect": "postgres"
      },
      {
        "title": "Average settlement amount by coverage level",
        "sql": "SELECT policies.coverage_level, AVG(claims.settlement_amount) FROM claims JOIN policies ON claims.policy_id = policies.id GROUP BY policies.coverage_level;",
        "dialect": "postgres"
      },
      {
        "title": "Claims status updates over time",
        "sql": "SELECT claim_id, status, updated_at FROM claim_statuses WHERE updated_at BETWEEN '2023-01-01' AND '2024-12-31';",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Insurance Analyst Reporting",
        "body": "An insurance analyst can utilize this dataset to generate reports on claims trends over time. By analyzing the frequency of claims and settlement amounts, they can identify potential areas for improving underwriting processes and risk assessment."
      },
      {
        "title": "Policyholder Insights",
        "body": "Customer service teams can leverage this dataset to gain insights into policyholder demographics and their claims history. Understanding the relationship between policyholder characteristics and claims can help tailor marketing strategies and improve customer satisfaction."
      },
      {
        "title": "Claims Processing Efficiency",
        "body": "Claims managers can analyze the performance of adjusters by examining claims resolution times and settlement amounts. This data can help identify top performers and provide targeted training to others, enhancing overall claims processing efficiency."
      },
      {
        "title": "Risk Assessment and Pricing",
        "body": "Underwriters can use this dataset to evaluate the risk associated with different vehicle types and coverage levels. By analyzing claim patterns, they can adjust premiums and coverage options to better align with the risk profile of their policyholders."
      }
    ]
  },
  "counts": {
    "adjusters": 50,
    "policyholders": 100,
    "policies": 135,
    "claims": 268,
    "claim_statuses": 439,
    "vehicles": 145
  },
  "stats": {
    "policyholders": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "first_name": {
          "nulls": 0,
          "distinct": 58,
          "min": "Alice",
          "max": "Zoe"
        },
        "last_name": {
          "nulls": 0,
          "distinct": 59,
          "min": "Adams",
          "max": "Zhang"
        },
        "date_of_birth": {
          "nulls": 0,
          "distinct": 100,
          "min": "1970-03-05",
          "max": "2003-11-26"
        },
        "email": {
          "nulls": 6,
          "distinct": 94
        },
        "phone": {
          "nulls": 12,
          "distinct": 86
        }
      }
    },
    "vehicles": {
      "rows": 145,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 145,
          "min": 1,
          "max": 145
        },
        "policyholder_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "vin": {
          "nulls": 13,
          "distinct": 132
        },
        "make": {
          "nulls": 16,
          "distinct": 96
        },
        "model": {
          "nulls": 10,
          "distinct": 107
        },
        "year": {
          "nulls": 16,
          "distinct": 24,
          "min": 2000,
          "max": 2023
        }
      }
    },
    "policies": {
      "rows": 135,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 135,
          "min": 1,
          "max": 135
        },
        "policyholder_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "start_date": {
          "nulls": 0,
          "distinct": 122,
          "min": "2023-01-06",
          "max": "2024-12-28"
        },
        "end_date": {
          "nulls": 49,
          "distinct": 85,
          "min": "2023-04-14",
          "max": "2026-10-12"
        },
        "coverage_level": {
          "nulls": 0,
          "distinct": 3,
          "min": "basic",
          "max": "standard"
        }
      }
    },
    "claims": {
      "rows": 268,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 268,
          "min": 1,
          "max": 268
        },
        "policy_id": {
          "nulls": 0,
          "distinct": 135,
          "min": 1,
          "max": 135
        },
        "incident_date": {
          "nulls": 0,
          "distinct": 231,
          "min": "2023-01-04",
          "max": "2024-12-28"
        },
        "settlement_amount": {
          "nulls": 33,
          "distinct": 235,
          "min": 100.06,
          "max": 9771.45
        }
      }
    },
    "claim_statuses": {
      "rows": 439,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 439,
          "min": 1,
          "max": 439
        },
        "claim_id": {
          "nulls": 0,
          "distinct": 268,
          "min": 1,
          "max": 268
        },
        "status": {
          "nulls": 0,
          "distinct": 3,
          "min": "approved",
          "max": "pending"
        },
        "updated_at": {
          "nulls": 232,
          "distinct": 207,
          "min": "2023-01-01 01:28:03",
          "max": "2024-12-30 10:37:22"
        }
      }
    },
    "adjusters": {
      "rows": 50,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "first_name": {
          "nulls": 0,
          "distinct": 39,
          "min": "Anna",
          "max": "Zara"
        },
        "last_name": {
          "nulls": 0,
          "distinct": 35,
          "min": "Ahmed",
          "max": "Yilmaz"
        },
        "email": {
          "nulls": 4,
          "distinct": 46
        },
        "phone": {
          "nulls": 4,
          "distinct": 44
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/adjusters.csv",
      "format": "csv",
      "table": "adjusters",
      "key": "datasets/motor-insurance-claims/v2/csv/adjusters.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/motor-insurance-claims/v2/csv/adjusters.csv",
      "bytes": 2699,
      "sha256": "de0a06adb8d092fef71c7aef309fc4b4f670568b0c25791dad1b0e73f4a38164",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/policyholders.csv",
      "format": "csv",
      "table": "policyholders",
      "key": "datasets/motor-insurance-claims/v2/csv/policyholders.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/motor-insurance-claims/v2/csv/policyholders.csv",
      "bytes": 6484,
      "sha256": "936b59c56d52e5607d82a62e32680e2ec94cd23d6e20ccf39a9c0031cb0fdae9",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/policies.csv",
      "format": "csv",
      "table": "policies",
      "key": "datasets/motor-insurance-claims/v2/csv/policies.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/motor-insurance-claims/v2/csv/policies.csv",
      "bytes": 4518,
      "sha256": "a9078b1f55a26464a39eb0e3f9df4a415110cced0e60402194828d1bcfe9f50e",
      "rows": 135,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/claims.csv",
      "format": "csv",
      "table": "claims",
      "key": "datasets/motor-insurance-claims/v2/csv/claims.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/motor-insurance-claims/v2/csv/claims.csv",
      "bytes": 6939,
      "sha256": "0cb3be219c48f0bb0ba52ebacc710597be7aec2166a6ee0f70875742efaa50c5",
      "rows": 268,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/claim_statuses.csv",
      "format": "csv",
      "table": "claim_statuses",
      "key": "datasets/motor-insurance-claims/v2/csv/claim_statuses.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/motor-insurance-claims/v2/csv/claim_statuses.csv",
      "bytes": 11683,
      "sha256": "71da8c53fd74a5a379df32b2b3ffb0ab321e67ec9fbaa2afcbc08b381a47f6de",
      "rows": 439,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/vehicles.csv",
      "format": "csv",
      "table": "vehicles",
      "key": "datasets/motor-insurance-claims/v2/csv/vehicles.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/motor-insurance-claims/v2/csv/vehicles.csv",
      "bytes": 5594,
      "sha256": "d40a62716b607d8e6229604adebf417883810e2bdb7bd17b754267275f04c117",
      "rows": 145,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "motor-insurance-claims.json",
      "format": "json",
      "table": null,
      "key": "datasets/motor-insurance-claims/v2/motor-insurance-claims.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/motor-insurance-claims/v2/motor-insurance-claims.json",
      "bytes": 153732,
      "sha256": "f023dacbc5c30074dd66a91d224d77fa201ab80fecc846d4f7cfc521b381327d",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/motor-insurance-claims/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/motor-insurance-claims/v2/sql/postgres.sql",
      "bytes": 58329,
      "sha256": "638a650f54de406adb16958e66ea779692a93e92caab1773df4b4858acca9079",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/motor-insurance-claims/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/motor-insurance-claims/v2/sql/mysql.sql",
      "bytes": 57649,
      "sha256": "9ac9a8581e336476d7886fb601a156d46746791d30f24ff8a2c7090f8a754fec",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/motor-insurance-claims/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/motor-insurance-claims/v2/sql/mssql.sql",
      "bytes": 60389,
      "sha256": "d353586ddc52ac5f675b355e871a72c1570bb992ae6416234290547ed7318f8b",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/motor-insurance-claims/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/motor-insurance-claims/v2/sql/sqlite.sql",
      "bytes": 57394,
      "sha256": "954be695533a9ad5a0e6a90bd589af9c87ed359b09c171efdf5ee1ca56f58022",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/motor-insurance-claims/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/motor-insurance-claims/v2/prisma/seed.ts",
      "bytes": 120257,
      "sha256": "4df3b40c2f6f0b534c83775b85635090ce7299a0d6e45813d1ea530292ef37ee",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/motor-insurance-claims/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/motor-insurance-claims/v2/django/fixtures.json",
      "bytes": 203011,
      "sha256": "15e494f6e9079ab752aa5264c556e8d6a1a48ac4212ac3034d5ed83a901eb110",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767025920,
  "updatedAt": 1788785025717
}
