Insurance sample database — MongoDB, flat (255,185 rows)

A collection per table. Each primary key is the document _id; foreign keys are fields under their own names, so the SQL version's joins become $lookup stages.

Load it:
  sh import.sh                    (into mongodb://localhost:27017)
  sh import.sh "<connection string>"

Or one collection at a time: mongoimport --db insurance --collection <name> --file <name>.ndjson

Collections:
  addresses — 6,500 documents
  adjusters — 60 documents
  agencies — 12 documents
  agents — 300 documents
  beneficiaries — 2,000 documents
  branches — 40 documents
  claim_assessments — 2,000 documents
  claim_documents — 3,000 documents
  claim_payments — 1,000 documents
  claims — 2,000 documents
  commissions — 8,000 documents
  companies — 6 documents
  customer_support_tickets — 500 documents
  customers — 6,000 documents
  documents — 4,000 documents
  invoices — 100,000 documents
  medical_providers — 80 documents
  medical_treatments — 400 documents
  payments — 92,000 documents
  policies — 8,000 documents
  policy_categories — 5 documents
  policy_plans — 25 documents
  policy_riders — 3,000 documents
  properties — 2,000 documents
  reinsurance_claims — 200 documents
  reinsurance_companies — 5 documents
  reinsurance_contracts — 12 documents
  renewals — 3,000 documents
  underwriters — 40 documents
  underwriting_assessments — 8,000 documents
  vehicles — 3,000 documents

Types: numeric columns are Decimal128, so totals stay exact; dates and timestamps are
Date values read as UTC (the data has no time zone); times and UUIDs are strings;
JSON columns are embedded objects.

Synthetic data, CC0-1.0, from databasesample.com. The same rows as the SQL and CSV files.
