Insurance Attribute Validation Response

Output representation of the per-attribute validation results. Each result reports whether the attribute definition exists and is active, and includes resolution guidance when it isn’t.

JSON Example

{
  "isValid": false,
  "attributes": [
    {
      "attributeId": "0QPxx0000004CAAQ",
      "isValid": true
    },
    {
      "attributeCode": "Make",
      "isValid": true
    },
    {
      "attributeName": "Vehicle_Model",
      "isValid": false,
      "instructions": [
        {
          "code": "SF-INS-DSAV-00031",
          "message": "The specified attribute exists but is not active."
        }
      ]
    },
    {
      "attributeCode": "NonExistentCode",
      "isValid": false,
      "instructions": [
        {
          "code": "SF-INS-DSAV-00030",
          "message": "The specified attribute was not found."
        }
      ]
    },
    {
      "isValid": false,
      "instructions": [
        {
          "code": "SF-INS-DSAV-00032",
          "message": "At least one of attributeId, attributeCode, or attributeName must be provided."
        }
      ]
    }
  ],
  "errors": []
}

Properties

Property Name Type Description Filter Group and Version Available Version
attributes Insurance Attribute Validation Result[] Validation result for each attribute lookup, in the same order as the request. Each result includes the identifiers from the request and reports whether that attribute definition is valid. Big, 68.0 68.0
errors Insurance Design Advisor Error Response[] Top-level errors that occurred before per-attribute validation runs, such as a missing request body, an empty lookup list, insufficient access, or an unexpected server error. This list is empty when validation runs for each lookup. Per-attribute failures are returned in attributes, not in this list. Big, 68.0 68.0
isValid Boolean Indicates whether every attribute lookup is valid (true) or not (false). This value is true when every per-attribute result is valid, and false when any result is invalid. Big, 68.0 68.0