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.
- 15validation rules
- 7pipeline stages
- 2 minto build and check
See it in Quantemplate
The pipeline

The flow

The checked output

What it checks
15 rules 13 Fail 2 Warning
- Location fileRequired fields, OED codes, insured values and deductibles 9 Fail, 2 Warning 11
- Account filePolicy numbers, currency codes and policy dates 4 Fail 4
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
- Stages 1–2 Prepare and union Tidy the premium bordereaux, work out every OED field, and stack them
- Stage 3 OED location file One row per location, with its largest sum insured and deductible
- Stage 4 OED account file One row per account and policy, checked by the account rules
- Stages 5–6 Locations per account Count each account’s locations and bring the count back
- Stage 7 Validate OED locations Run the location checks
What’s in the download
- The 15 checks as JSON, and a table of every check with its formula and notes
- The mapping from bordereau fields to OED fields, and OED’s country, currency and area code lists
- Premium bordereaux: good, and with rows built to fail each check
- The location and account files the good data should produce
- A Claude skill that builds the pipeline and checks the results
- A snapshot of the finished pipeline and the scripts that build it from your browser
Build it
- Unzip the download and copy the folder in
skillsinto~/.claude/skills/. - With Claude in Chrome signed in to Quantemplate, ask Claude Code:
Build the Map to OED pipeline from the oed-mapping folder.
- 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
- Add your premium bordereaux as inputs to stage 1.
- Adjust the mapping from bordereau fields to OED fields, such as occupancy codes, for the model you use.
Contact the Quantemplate support team, or use your AI agent, to build custom logic for your use case.
Limits
- It builds one location per certificate. Bordereaux with several locations per certificate need a location reference to split them.
- OED’s reinsurance files (ReinsInfo and ReinsScope) aren’t built.
- Area codes are only set and checked for the US, Canada and Australia.
- The files have one or two extra columns, such as Source Rows. Drop them on export if your model objects.
- The test data is fictional.
- The build doesn’t set up Auto Run, Auto Export or feeds.
- The agent works through the app in your browser, so changes someone makes in the app whilst it’s working can trip it up.