---
schema_version: "1"
id: bb3fb9c0b5069fd4642d36dfc67badc5cb34736e940ca05a98dd4b38eacc5fbd
title: Insurance CML Model Validation Response
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/connect_responses_ins_cml_model_validation.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_ins_cml_model_validation.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8b724aadd7aa082239c6f26655e7c47e5fe24975d74cb2d70c74ba3223cc877c
description: Output representation of the per-record validation results and any top-level errors that occur when processing the request.
---
# 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](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_ins_design_advisor_error_response.htm "Output representation of a top-level error returned before per-attribute validation runs.")\[\] | 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](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/connect_responses_ins_cml_model_validation_result.htm "Output representation of the validation result for a single record. When the record isn’t valid, the instructions paramter describes the failure and recommended correction.")\[\] | 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 |