# 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.

- REST: `POST https://api.kanagu.dev/v1/lossrun/consolidate`
- MCP: `call_operation` with `operation: "lossrun.consolidate"` at https://api.kanagu.dev/mcp
- Price: $0.04 USD per claim, on successful calls only.
- Auth: `Authorization: Bearer <key>` for REST and `call_operation`. Retries: reuse `Idempotency-Key` (MCP: `idempotencyKey`).

## Compliance coverage

- Domain: Insurance
- Jurisdictions: US
- Standard: ACORD P&C/Surety Business Message Specification (field references) 1.16.0 (2009-03-17) — https://schemas.liquid-technologies.com/accord/pcs/1.16.0/acord-pcs-v1_16_0-ns-nodoc-codes_xsd.html
- Standard: Zurich RiskIntelligence fact sheet A1-P0730451-A (03/24) (2024-03) — https://edge.sitecorecloud.io/zurichinsura267-zwpzna-prod-c557/media/project/zurich-headless/zna/docs/claims/zri-fact-sheet.pdf
- Standard: AmTrust Online Claims Access for Producers MKT5551 (10/20) (2020-10) — https://amtrustfinancial.com/getmedia/9b25de73-f866-4d7c-9982-0551397fba49/ANA_Claims_Access-Producer-Level_Sell-Sheet_MKT5551.pdf?ext=.pdf
- Verification: Reconciles claim components and reported totals against dated carrier report layouts using ACORD field references.
- Last reviewed: 2026-11-26

## Request body

- `reports` (array of object, required)

## Response

- `currency` ("USD", required)
- `amountUnit` ("cents", required)
- `needs_review` (boolean, required)
- `findings` (array of object, required)
- `findings[].rule` (string, required)
- `findings[].field` (string, required)
- `findings[].source` (string (uri), required)
- `findings[].locations` (array of object, required)
- `findings[].locations[].report` (string (max 100 chars), required)
- `findings[].locations[].page` (integer (≤ 9007199254740991))
- `findings[].locations[].row` (integer (≤ 9007199254740991))
- `findings[].expected` (string, required)
- `findings[].actual` (string, required)
- `reports` (array of object, required)
- `reports[].id` (string, required)
- `reports[].carrierId` (string, required)
- `reports[].layout` ("json" | "csv" | "zurich" | "amtrust" | null, required)
- `reports[].valuationDate` (string (date) | null, required)
- `reports[].parsedRows` (integer (-9007199254740991 to 9007199254740991), required)
- `reports[].reconciliation` ("reconciled" | "claims_only" | "needs_review", required)
- `claims` (array of object, required)
- `claims[].policyNumber` (string (max 100 chars), required)
- `claims[].claimNumber` (string (max 100 chars), required)
- `claims[].lossDate` (string (date) | null, required)
- `claims[].carrierId` (string, required)
- `claims[].seenAcrossValuations` (boolean, required)
- `claims[].latestValuationDate` (string (date) | null, required)
- `claims[].observations` (array of object, required)
- `claims[].observations[].policyYear` (integer (1900 to 2199), required)
- `claims[].observations[].lossDate` (string (date), required)
- `claims[].observations[].status` ("open" | "closed" | "reopened", required)
- `claims[].observations[].paid` (integer (-9007199254740991 to 9007199254740991), required)
- `claims[].observations[].reserve` (integer (-9007199254740991 to 9007199254740991), required)
- `claims[].observations[].incurred` (integer (-9007199254740991 to 9007199254740991), required)
- `claims[].observations[].recoveryAdjustment` (integer (-9007199254740991 to 9007199254740991), required)
- `claims[].observations[].valuationDate` (string (date), required)
- `claims[].observations[].location` (object, required)
- `claims[].observations[].location.report` (string (max 100 chars), required)
- `claims[].observations[].location.page` (integer (≤ 9007199254740991))
- `claims[].observations[].location.row` (integer (≤ 9007199254740991))
- `claims[].observations[].reconciled` (boolean, required)
- `claims[].changes` (array of object, required): Current minus previous amounts for adjacent verified valuations.
- `claims[].changes[].paid` (integer (-9007199254740991 to 9007199254740991), required)
- `claims[].changes[].reserve` (integer (-9007199254740991 to 9007199254740991), required)
- `claims[].changes[].incurred` (integer (-9007199254740991 to 9007199254740991), required)
- `claims[].changes[].from` (string (date), required)
- `claims[].changes[].to` (string (date), required)
- `claims[].changes[].previousStatus` ("open" | "closed" | "reopened", required)
- `claims[].changes[].status` ("open" | "closed" | "reopened", required)
- `claims[].changes[].recoveryAdjustment` (integer (-9007199254740991 to 9007199254740991), required)
- `policyYears` (array of object, required): Totals by policy year from verified amounts at each claim’s latest submitted valuation.
- `policyYears[].paid` (integer (-9007199254740991 to 9007199254740991), required)
- `policyYears[].reserve` (integer (-9007199254740991 to 9007199254740991), required)
- `policyYears[].incurred` (integer (-9007199254740991 to 9007199254740991), required)
- `policyYears[].policyYear` (integer (-9007199254740991 to 9007199254740991), required)
- `policyYears[].claimCount` (integer (-9007199254740991 to 9007199254740991), required)
- `billableClaims` (integer (-9007199254740991 to 9007199254740991), required)

## Example

```sh
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"}]}]}'
```

```ts
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();
```

## Errors

JSON `{"error":{"code","message"}}`.

- 400 `invalid_input`: The body does not match the request schema. The message names each field.
- 400 `invalid_json`: The body is missing or is not valid JSON.
- 400 `invalid_idempotency_key`: Idempotency-Key must be 1–128 visible ASCII characters.
- 401 `invalid_api_key`: The Bearer key is missing, malformed, invalid or inactive.
- 402 `free_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.
- 404 `not_found`: No operation at this path.
- 409 `idempotency_conflict`: The Idempotency-Key was already used with a different body.
- 413 `payload_too_large`: JSON bodies may be at most 64 KiB.
- 500 `internal_error`: The call failed on our side. It is not billed; retry with the same Idempotency-Key.

## JSON Schema

Request:
```json
{
  "$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:
```json
{
  "$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
}
```
