Skip to content

InsuranceLoss Run Consolidation

lossrun.consolidate

Consolidate US commercial P&C loss runs from JSON, CSV, or AmTrust CPP (967) and Zurich Loss Detail text PDFs. Compare valuations and reconcile policy-year totals. Up to 10 reports and 1,000 claim rows per call.

POSThttps://api.kanagu.dev/v1/lossrun/consolidate
Price
$0.04 per claim, on successful calls only
Authentication
API key required.
MCP
call_operation with operation: "lossrun.consolidate" at https://api.kanagu.dev/mcp

Compliance coverage

Jurisdictions
Jurisdictions: US
Standards
  • ACORD P&C/Surety Business Message Specification (field references)1.16.02009-03-17Source
  • Zurich RiskIntelligence fact sheetA1-P0730451-A (03/24)2024-03Source
  • AmTrust Online Claims Access for ProducersMKT5551 (10/20)2020-10Source
Verification
Reconciles claim components and reported totals against dated carrier report layouts using ACORD field references.
Last reviewed
2026-11-26
curl https://api.kanagu.dev/v1/lossrun/consolidate \
  -H "Authorization: Bearer $KANAGU_KEY" \
  -H "Content-Type: application/json" \
  -d '{"reports":[{"id":"june","carrierId":"carrier-a","format":"json","valuationDate":"2025-06-30","rows":[{"policyNumber":"GL-44012","policyYear":2025,"claimNumber":"CL-018","lossDate":"2025-03-25","status":"open","paid":"300.00","reserve":"700.00","incurred":"1000.00"}]},{"id":"december","carrierId":"carrier-a","format":"json","valuationDate":"2025-12-31","rows":[{"policyNumber":"GL-44012","policyYear":2025,"claimNumber":"CL-018","lossDate":"2025-03-25","status":"closed","paid":"850.00","reserve":"0.00","incurred":"850.00"}]}]}'
const res = await fetch("https://api.kanagu.dev/v1/lossrun/consolidate", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.KANAGU_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "reports": [
      {
        "id": "june",
        "carrierId": "carrier-a",
        "format": "json",
        "valuationDate": "2025-06-30",
        "rows": [
          {
            "policyNumber": "GL-44012",
            "policyYear": 2025,
            "claimNumber": "CL-018",
            "lossDate": "2025-03-25",
            "status": "open",
            "paid": "300.00",
            "reserve": "700.00",
            "incurred": "1000.00"
          }
        ]
      },
      {
        "id": "december",
        "carrierId": "carrier-a",
        "format": "json",
        "valuationDate": "2025-12-31",
        "rows": [
          {
            "policyNumber": "GL-44012",
            "policyYear": 2025,
            "claimNumber": "CL-018",
            "lossDate": "2025-03-25",
            "status": "closed",
            "paid": "850.00",
            "reserve": "0.00",
            "incurred": "850.00"
          }
        ]
      }
    ]
  }),
});
if (!res.ok) throw new Error((await res.json()).error.message);
const result = await res.json();
curl https://api.kanagu.dev/mcp \
  -H "Authorization: Bearer $KANAGU_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"call_operation","arguments":{"operation":"lossrun.consolidate","input":{"reports":[{"id":"june","carrierId":"carrier-a","format":"json","valuationDate":"2025-06-30","rows":[{"policyNumber":"GL-44012","policyYear":2025,"claimNumber":"CL-018","lossDate":"2025-03-25","status":"open","paid":"300.00","reserve":"700.00","incurred":"1000.00"}]},{"id":"december","carrierId":"carrier-a","format":"json","valuationDate":"2025-12-31","rows":[{"policyNumber":"GL-44012","policyYear":2025,"claimNumber":"CL-018","lossDate":"2025-03-25","status":"closed","paid":"850.00","reserve":"0.00","incurred":"850.00"}]}]}}}}'
Request body
{
  "reports": [
    {
      "id": "june",
      "carrierId": "carrier-a",
      "format": "json",
      "valuationDate": "2025-06-30",
      "rows": [
        {
          "policyNumber": "GL-44012",
          "policyYear": 2025,
          "claimNumber": "CL-018",
          "lossDate": "2025-03-25",
          "status": "open",
          "paid": "300.00",
          "reserve": "700.00",
          "incurred": "1000.00"
        }
      ]
    },
    {
      "id": "december",
      "carrierId": "carrier-a",
      "format": "json",
      "valuationDate": "2025-12-31",
      "rows": [
        {
          "policyNumber": "GL-44012",
          "policyYear": 2025,
          "claimNumber": "CL-018",
          "lossDate": "2025-03-25",
          "status": "closed",
          "paid": "850.00",
          "reserve": "0.00",
          "incurred": "850.00"
        }
      ]
    }
  ]
}

Request body

application/json

reportsarray of objectrequired

Response

200 · application/json

currency"USD"required
amountUnit"cents"required
needs_reviewbooleanrequired
findingsarray of objectrequired
findings[].rulestringrequired
findings[].fieldstringrequired
findings[].sourcestring (uri)required
findings[].locationsarray of objectrequired
findings[].locations[].reportstring (max 100 chars)required
findings[].locations[].pageinteger (≤ 9007199254740991)
findings[].locations[].rowinteger (≤ 9007199254740991)
findings[].expectedstringrequired
findings[].actualstringrequired
reportsarray of objectrequired
reports[].idstringrequired
reports[].carrierIdstringrequired
reports[].layout"json" | "csv" | "zurich" | "amtrust" | nullrequired
reports[].valuationDatestring (date) | nullrequired
reports[].parsedRowsinteger (-9007199254740991 to 9007199254740991)required
reports[].reconciliation"reconciled" | "claims_only" | "needs_review"required
claimsarray of objectrequired
claims[].policyNumberstring (max 100 chars)required
claims[].claimNumberstring (max 100 chars)required
claims[].lossDatestring (date) | nullrequired
claims[].carrierIdstringrequired
claims[].seenAcrossValuationsbooleanrequired
claims[].latestValuationDatestring (date) | nullrequired
claims[].observationsarray of objectrequired
claims[].observations[].policyYearinteger (1900 to 2199)required
claims[].observations[].lossDatestring (date)required
claims[].observations[].status"open" | "closed" | "reopened"required
claims[].observations[].paidinteger (-9007199254740991 to 9007199254740991)required
claims[].observations[].reserveinteger (-9007199254740991 to 9007199254740991)required
claims[].observations[].incurredinteger (-9007199254740991 to 9007199254740991)required
claims[].observations[].recoveryAdjustmentinteger (-9007199254740991 to 9007199254740991)required
claims[].observations[].valuationDatestring (date)required
claims[].observations[].locationobjectrequired
claims[].observations[].location.reportstring (max 100 chars)required
claims[].observations[].location.pageinteger (≤ 9007199254740991)
claims[].observations[].location.rowinteger (≤ 9007199254740991)
claims[].observations[].reconciledbooleanrequired
claims[].changesarray of objectrequired
Current minus previous amounts for adjacent verified valuations.
claims[].changes[].paidinteger (-9007199254740991 to 9007199254740991)required
claims[].changes[].reserveinteger (-9007199254740991 to 9007199254740991)required
claims[].changes[].incurredinteger (-9007199254740991 to 9007199254740991)required
claims[].changes[].fromstring (date)required
claims[].changes[].tostring (date)required
claims[].changes[].previousStatus"open" | "closed" | "reopened"required
claims[].changes[].status"open" | "closed" | "reopened"required
claims[].changes[].recoveryAdjustmentinteger (-9007199254740991 to 9007199254740991)required
policyYearsarray of objectrequired
Totals by policy year from verified amounts at each claim’s latest submitted valuation.
policyYears[].paidinteger (-9007199254740991 to 9007199254740991)required
policyYears[].reserveinteger (-9007199254740991 to 9007199254740991)required
policyYears[].incurredinteger (-9007199254740991 to 9007199254740991)required
policyYears[].policyYearinteger (-9007199254740991 to 9007199254740991)required
policyYears[].claimCountinteger (-9007199254740991 to 9007199254740991)required
billableClaimsinteger (-9007199254740991 to 9007199254740991)required

Try it

lossrun.consolidate

$0.04/claim

 

Response

Run the request to see the live response here.

Errors

Errors are JSON {"error":{"code","message"}}. An operation may add its own 400 codes; the message says what to fix.

StatusCode and meaning
400invalid_input

The body does not match the request schema. The message names each field.

400invalid_json

The body is missing or is not valid JSON.

400invalid_idempotency_key

Idempotency-Key must be 1–128 visible ASCII characters.

401invalid_api_key

The Bearer key is missing, malformed, invalid or inactive.

402free_allowance_exhausted

This month's free usage is used up and the account has no subscription. Subscribe from the dashboard, or wait for the next UTC month; Retry-After gives the seconds left.

404not_found

No operation at this path.

409idempotency_conflict

The Idempotency-Key was already used with a different body.

413payload_too_large

JSON bodies may be at most 64 KiB.

500internal_error

The call failed on our side. It is not billed; retry with the same Idempotency-Key.

JSON Schema

Request schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "reports": {
      "minItems": 1,
      "maxItems": 10,
      "type": "array",
      "items": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100,
                "description": "Unique report reference returned in findings"
              },
              "carrierId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100,
                "description": "Stable identifier for the writing carrier, such as its NAIC company number"
              },
              "valuationDate": {
                "type": "string",
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                "description": "Date valued as of (ACORD LossRunInqInfo / AsOfDt)"
              },
              "reportedTotals": {
                "description": "USD totals from the source report, for reconciliation",
                "type": "object",
                "properties": {
                  "paid": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 32
                      },
                      {
                        "type": "number"
                      }
                    ]
                  },
                  "reserve": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 32
                      },
                      {
                        "type": "number"
                      }
                    ]
                  },
                  "incurred": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 32
                      },
                      {
                        "type": "number"
                      }
                    ]
                  }
                },
                "required": [
                  "paid",
                  "reserve",
                  "incurred"
                ],
                "additionalProperties": false
              },
              "format": {
                "type": "string",
                "const": "json"
              },
              "rows": {
                "maxItems": 1000,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "policyNumber": {
                      "type": "string",
                      "maxLength": 100,
                      "description": "ACORD PolicyNumber"
                    },
                    "policyYear": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "string",
                          "maxLength": 4
                        }
                      ],
                      "description": "Policy effective year"
                    },
                    "claimNumber": {
                      "type": "string",
                      "maxLength": 100,
                      "description": "Carrier's claim ID (ACORD ClaimsOccurrence / ItemIdInfo / InsurerId)"
                    },
                    "lossDate": {
                      "type": "string",
                      "maxLength": 10,
                      "description": "ISO loss date (ACORD ClaimsOccurrence / LossDt)"
                    },
                    "status": {
                      "type": "string",
                      "maxLength": 16,
                      "description": "open, closed or reopened (ACORD ClaimStatusCd concept)"
                    },
                    "paid": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 32
                        },
                        {
                          "type": "number"
                        }
                      ]
                    },
                    "reserve": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 32
                        },
                        {
                          "type": "number"
                        }
                      ]
                    },
                    "incurred": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 32
                        },
                        {
                          "type": "number"
                        }
                      ]
                    },
                    "recoveryAdjustment": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 32
                        },
                        {
                          "type": "number"
                        }
                      ],
                      "description": "Signed adjustment to paid + reserve for incurred; defaults to zero"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "id",
              "carrierId",
              "valuationDate",
              "format",
              "rows"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100,
                "description": "Unique report reference returned in findings"
              },
              "carrierId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100,
                "description": "Stable identifier for the writing carrier, such as its NAIC company number"
              },
              "valuationDate": {
                "type": "string",
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                "description": "Date valued as of (ACORD LossRunInqInfo / AsOfDt)"
              },
              "reportedTotals": {
                "description": "USD totals from the source report, for reconciliation",
                "type": "object",
                "properties": {
                  "paid": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 32
                      },
                      {
                        "type": "number"
                      }
                    ]
                  },
                  "reserve": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 32
                      },
                      {
                        "type": "number"
                      }
                    ]
                  },
                  "incurred": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 32
                      },
                      {
                        "type": "number"
                      }
                    ]
                  }
                },
                "required": [
                  "paid",
                  "reserve",
                  "incurred"
                ],
                "additionalProperties": false
              },
              "format": {
                "type": "string",
                "const": "csv"
              },
              "csv": {
                "type": "string",
                "minLength": 1,
                "maxLength": 1000000,
                "description": "Comma-delimited UTF-8 rows with policyNumber,policyYear,claimNumber,lossDate,status,paid,reserve,incurred and optional recoveryAdjustment header."
              }
            },
            "required": [
              "id",
              "carrierId",
              "valuationDate",
              "format",
              "csv"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100,
                "description": "Unique report reference returned in findings"
              },
              "carrierId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100,
                "description": "Stable identifier for the writing carrier, such as its NAIC company number"
              },
              "format": {
                "type": "string",
                "const": "pdf"
              },
              "base64": {
                "type": "string",
                "minLength": 4,
                "maxLength": 6990508,
                "format": "base64",
                "contentEncoding": "base64",
                "pattern": "^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$",
                "description": "Text PDF, at most 5 MiB and 60 pages"
              },
              "valuationDate": {
                "description": "Actual valuation date if absent from the PDF. The print date is insufficient.",
                "type": "string",
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
              }
            },
            "required": [
              "id",
              "carrierId",
              "format",
              "base64"
            ],
            "additionalProperties": false
          }
        ]
      }
    }
  },
  "required": [
    "reports"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "reports": [
        {
          "id": "june",
          "carrierId": "carrier-a",
          "format": "json",
          "valuationDate": "2025-06-30",
          "rows": [
            {
              "policyNumber": "GL-44012",
              "policyYear": 2025,
              "claimNumber": "CL-018",
              "lossDate": "2025-03-25",
              "status": "open",
              "paid": "300.00",
              "reserve": "700.00",
              "incurred": "1000.00"
            }
          ]
        },
        {
          "id": "december",
          "carrierId": "carrier-a",
          "format": "json",
          "valuationDate": "2025-12-31",
          "rows": [
            {
              "policyNumber": "GL-44012",
              "policyYear": 2025,
              "claimNumber": "CL-018",
              "lossDate": "2025-03-25",
              "status": "closed",
              "paid": "850.00",
              "reserve": "0.00",
              "incurred": "850.00"
            }
          ]
        }
      ]
    }
  ]
}
Response schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "currency": {
      "type": "string",
      "const": "USD"
    },
    "amountUnit": {
      "type": "string",
      "const": "cents"
    },
    "needs_review": {
      "type": "boolean"
    },
    "findings": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "rule": {
            "type": "string"
          },
          "field": {
            "type": "string"
          },
          "source": {
            "type": "string",
            "format": "uri"
          },
          "locations": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "report": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 100
                },
                "page": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "row": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                }
              },
              "required": [
                "report"
              ],
              "additionalProperties": false
            }
          },
          "expected": {
            "type": "string"
          },
          "actual": {
            "type": "string"
          }
        },
        "required": [
          "rule",
          "field",
          "source",
          "locations",
          "expected",
          "actual"
        ],
        "additionalProperties": false
      }
    },
    "reports": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "carrierId": {
            "type": "string"
          },
          "layout": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "json",
                  "csv",
                  "zurich",
                  "amtrust"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "valuationDate": {
            "anyOf": [
              {
                "type": "string",
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "parsedRows": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "reconciliation": {
            "type": "string",
            "enum": [
              "reconciled",
              "claims_only",
              "needs_review"
            ]
          }
        },
        "required": [
          "id",
          "carrierId",
          "layout",
          "valuationDate",
          "parsedRows",
          "reconciliation"
        ],
        "additionalProperties": false
      }
    },
    "claims": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "policyNumber": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          },
          "claimNumber": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          },
          "lossDate": {
            "anyOf": [
              {
                "type": "string",
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "carrierId": {
            "type": "string"
          },
          "seenAcrossValuations": {
            "type": "boolean"
          },
          "latestValuationDate": {
            "anyOf": [
              {
                "type": "string",
                "format": "date",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "observations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "policyYear": {
                  "type": "integer",
                  "minimum": 1900,
                  "maximum": 2199
                },
                "lossDate": {
                  "type": "string",
                  "format": "date",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "open",
                    "closed",
                    "reopened"
                  ]
                },
                "paid": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "reserve": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "incurred": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "recoveryAdjustment": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "valuationDate": {
                  "type": "string",
                  "format": "date",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                },
                "location": {
                  "type": "object",
                  "properties": {
                    "report": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 100
                    },
                    "page": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "row": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    }
                  },
                  "required": [
                    "report"
                  ],
                  "additionalProperties": false
                },
                "reconciled": {
                  "type": "boolean"
                }
              },
              "required": [
                "policyYear",
                "lossDate",
                "status",
                "paid",
                "reserve",
                "incurred",
                "recoveryAdjustment",
                "valuationDate",
                "location",
                "reconciled"
              ],
              "additionalProperties": false
            }
          },
          "changes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "paid": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "reserve": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "incurred": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "from": {
                  "type": "string",
                  "format": "date",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                },
                "to": {
                  "type": "string",
                  "format": "date",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                },
                "previousStatus": {
                  "type": "string",
                  "enum": [
                    "open",
                    "closed",
                    "reopened"
                  ]
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "open",
                    "closed",
                    "reopened"
                  ]
                },
                "recoveryAdjustment": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                }
              },
              "required": [
                "paid",
                "reserve",
                "incurred",
                "from",
                "to",
                "previousStatus",
                "status",
                "recoveryAdjustment"
              ],
              "additionalProperties": false
            },
            "description": "Current minus previous amounts for adjacent verified valuations."
          }
        },
        "required": [
          "policyNumber",
          "claimNumber",
          "lossDate",
          "carrierId",
          "seenAcrossValuations",
          "latestValuationDate",
          "observations",
          "changes"
        ],
        "additionalProperties": false
      }
    },
    "policyYears": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "paid": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "reserve": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "incurred": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "policyYear": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "claimCount": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "paid",
          "reserve",
          "incurred",
          "policyYear",
          "claimCount"
        ],
        "additionalProperties": false
      },
      "description": "Totals by policy year from verified amounts at each claim’s latest submitted valuation."
    },
    "billableClaims": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "currency",
    "amountUnit",
    "needs_review",
    "findings",
    "reports",
    "claims",
    "policyYears",
    "billableClaims"
  ],
  "additionalProperties": false
}