---
schema_version: "1"
id: 088fdc279e3c967f59c6967d99ced6d185d797c874069911c121ea8bbc29a582
title: ConnectApi.InsCMLModelValidationRepresentation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/apex_connectapi_output_ins_cml_model_validation.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_output_ins_cml_model_validation.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: a65becaaefc7a8b8999da0e0bcd9426c8b499a0d32e78fca8fa0d7099477dfde
description: Output representation of the per-record validation results and any top-level errors that occur when processing the request.
---
# ConnectApi.InsCMLModelValidationRepresentation

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

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| errors | [List](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_list.htm "HTML (New Window)")<[ConnectApi.InsDesignAdvisor​Error​Response​Representation](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_output_ins_design_advisor_error_response.htm "Output representation of an error returned by an Insurance Design Advisor validation.")\> | 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. | 68.0 |
| isValid | [Boolean](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_boolean.htm "HTML (New Window)") | 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. | 68.0 |
| results | [List](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_list.htm "HTML (New Window)")<[ConnectApi.InsCML​Model​Validation​Result​Representation](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_output_ins_cml_model_validation_result.htm "Output representation of the validation result for a single record. When the record isn’t valid, instructions 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. | 68.0 |