Insurance CML Model Validation Response

Output representation of the per-record validation results and any top-level errors that occur when processing the request.

JSON Example

{
  "isValid": false,
  "results": [
    {
      "recordId": "01txx0000006iPnAAI",
      "recordType": "Product",
      "isValid": true
    },
    {
      "recordId": "0nSxx0000001DDDAAI",
      "recordType": "ProductSurcharge",
      "productPath": "01txx0000006iPnAAI/01txx0000006iPnBBB",
      "isValid": false,
      "instructions": "One or more products in the product path aren't referenced by the active CML model. Update the product path or associate the products with the CML model."
    },
    {
      "recordId": "0nUxx0000001FFFAAI",
      "recordType": "UnderwritingRule",
      "isValid": true,
      "instructions": "BRE-based rule (no CML RuleKey), skipping CML validation"
    }
  ],
  "errors": []
}

Properties

Property Name Type Description Filter Group and Version Available Version
errors Insurance Design Advisor Error Response[] Request-level errors that occurred before per-record validation runs. This property doesn’t contain per-record validation failures. Those appear inside results with isValid set to false. Big, 68.0 68.0
isValid Boolean Indicates whether the CML model validation passed for every record (true) or not (false). This value is true when every per-record result is valid, and false when any result is invalid. Big, 68.0 68.0
results Insurance CML Model Validation Result[] Validation results for each specified record. This property contains one entry for every specified record across productIds, productSurchargeIds, productClauseIds, and underwritingRuleIds. It shows an empty list on a request-level error. Big, 68.0 68.0