Lloyd’s Core Data Record v3.2
Insurance All territories
Checks contract data against Lloyd’s Core Data Record v3.2: mandatory and conditional fields, the CDR’s lists of values and formats, and checks across contract sections, (re)insurer participations and taxes.
Built from Lloyd’s CDR v3.2 (29 March 2023): its 217 primary fields, their conditions and its lists of values.
- 402validation rules
- 17pipeline stages
- 217CDR fields
- 5 minto build and check
See it in Quantemplate
The pipeline

The flow

The validation report

What it checks
402 rules 395 Fail 7 Warning
- Mandatory fieldsThe CDR’s mandatory section fields and the keys 30 Fail 30
- Conditional fieldsFields the CDR requires in some cases, such as Home State for US surplus lines 110 Fail 110
- Value listsValues on the CDR’s lists, including each item of multi-select fields 70 Fail 70
- Formats and lengthsCountry, sub-division and currency codes, numbers, the UMR and reference lengths 81 Fail 81
- Business logicDate order, amounts and percentages, broker numbers and locations 21 Fail, 6 Warning 27
- Contract checksParticipations, signed shares, leaders, risk codes and the insurable interest hierarchy 11 Fail 11
- ParticipationsEach (re)insurer line’s fields, shares and section 31 Fail, 1 Warning 32
- TaxesEach tax’s fields, location and amount 41 Fail 41
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. Date Cleanse also reports any date it can’t read, in 13 date columns. Every rule and its formula is listed in VALIDATIONS.md in the download.
How the pipeline works
- Stages 1–3 Prepare Tidy the contract sections, participations and taxes: headers, text, dates and helper columns
- Stage 4 Hierarchy Clean the CDR’s insurable interest hierarchy
- Stages 5–8 Totals Count rows and lines, and add up signed shares, leaders and Lloyd’s lines for each section
- Stages 9–14 Joins Bring section totals, the hierarchy and section terms onto each file
- Stages 15–17 Validate Run the 402 rules on the sections, participations and taxes
What’s in the download
- The 402 rules as JSON, and a table of every rule with its formula and where it comes from
- The CDR v3.2 fields, lists of values and insurable interest hierarchy the rules are built from
- Good data: 15 fictional contract sections, with their 21 participations and 11 taxes
- Test files with one case per check, and the rows each check should flag
- A template file the Quantemplate build skill reads to build the pipeline and check the results
- A snapshot of the finished pipeline, and the scripts that generate the package
Build it
- Install the Quantemplate skills, version 1.0.0 or later, if you haven’t already. Then unzip the download.
- With Claude in Chrome signed in to Quantemplate, ask Claude Code:
Build the Lloyd’s CDR v3.2 pipeline from the lloyds-cdr-v32 folder.
- Claude creates the datasets and stages, runs the test data and checks every rule’s result. This takes around 5 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 tells you what went wrong. Review what the agent builds before you rely on it.
Using real contract data
The CDR describes a contract at several levels, so the pipeline takes three files, joined by Unique Market Reference and Placing Broker Contract Section Reference:
- Contract sections: one row per section, with its contract, policy and insurable interest fields.
- Participations: one row per (re)insurer line on a section.
- Taxes: one row per tax on a section.
Use the column names in the template’s master schemas. Separate the values of multi-select fields with semicolons. Give dates as YYYY-MM-DD, or date-times as YYYY-MM-DD HH:MM:SS, with or without an offset; the pipeline keeps the date. Give percentages as numbers from 0 to 100.
Contact the Quantemplate support team, or use your AI agent, to map your own contract data to the CDR or build custom logic for your use case.
Limits
- Conditions the data can’t show aren’t checked, such as ‘where applicable to the contract’ or whether a location is in international waters.
- Lloyd’s risk codes, classes of business, industrial sector codes and ISO 3166-2 sub-divisions are checked for their format, not against their full lists.
- Each contract section row holds one insurable interest.
- Three column names drop the apostrophe from ‘Lloyd’s’, such as Lloyds Platform, because Quantemplate equations can’t contain one in a column name.
- The 15 fields the CDR marks as derived, which Lloyd’s fills in, aren’t included.
- 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.