Insurance sample database — MongoDB, flat (3,150 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 — 65 documents
  adjusters — 60 documents
  agencies — 12 documents
  agents — 300 documents
  beneficiaries — 20 documents
  branches — 40 documents
  claim_assessments — 20 documents
  claim_documents — 30 documents
  claim_payments — 10 documents
  claims — 20 documents
  commissions — 80 documents
  companies — 6 documents
  customer_support_tickets — 10 documents
  customers — 60 documents
  documents — 40 documents
  invoices — 1,000 documents
  medical_providers — 80 documents
  medical_treatments — 10 documents
  payments — 920 documents
  policies — 80 documents
  policy_categories — 5 documents
  policy_plans — 25 documents
  policy_riders — 30 documents
  properties — 20 documents
  reinsurance_claims — 10 documents
  reinsurance_companies — 5 documents
  reinsurance_contracts — 12 documents
  renewals — 30 documents
  underwriters — 40 documents
  underwriting_assessments — 80 documents
  vehicles — 30 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.
