Map to Open Exposure Data (OED)

All territories

Turns Lloyd’s v5.2 premium bordereaux into OED location and account files for catastrophe models, and checks them against the OED 5.0.0 specification.

From Open Exposure Data (OED) 5.0.0, published by Oasis Loss Modelling Framework. Its code lists are public domain.

Map to Open Exposure Data (OED)
Mapping, checks, OED code lists, test data, a build skill and build scripts. Zip, 60 KB.
Download the template

See it in Quantemplate

The pipeline

The Map to OED pipeline in Quantemplate: 7 stages listed from Prepare premium bordereaux to Validate OED locations, with the test bordereau uploaded to stage 1.

The flow

The pipeline’s Flow tab: the Map to OED pipeline on its own, because it reads no reference data.

The checked output

The OED location file: rows of test locations with OED column names such as PortNumber, AccNumber, CountryCode, PostalCode, LocCurrency and OccupancyCode.

What it checks

15 rules 13 Fail 2 Warning

A rule set to Fail marks its rows as failed, and any failure blocks Auto Export if you set it up. Warnings are only reported. Validation never removes a row. Every rule and its formula is listed in VALIDATIONS.md in the download.

How the pipeline works

  1. Stages 1–2 Prepare and union Tidy the premium bordereaux, work out every OED field, and stack them
  2. Stage 3 OED location file One row per location, with its largest sum insured and deductible
  3. Stage 4 OED account file One row per account and policy, checked by the account rules
  4. Stages 5–6 Locations per account Count each account’s locations and bring the count back
  5. Stage 7 Validate OED locations Run the location checks

What’s in the download

Build it

  1. Unzip the download and copy the folder in skills into ~/.claude/skills/.
  2. With Claude in Chrome signed in to Quantemplate, ask Claude Code:
    Build the Map to OED pipeline from the oed-mapping folder.
  3. Claude creates the datasets and stages, runs the test data and checks every rule’s result. This takes around 2 minutes.

The agent builds through the Quantemplate app’s own API in your browser. That API isn’t published, so if a release changes it, the build stops and the agent offers to click through the screens instead, which takes much longer. Review what the agent builds before you rely on it.

Using real bordereaux

Contact the Quantemplate support team, or use your AI agent, to build custom logic for your use case.

Limits