{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-audit-manager/json-schema/amazon-audit-manager-list-control-domain-insights-by-assessment-response-schema.json",
  "title": "ListControlDomainInsightsByAssessmentResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-audit-manager-insights-api-openapi.yml#/components/schemas/ListControlDomainInsightsByAssessmentResponse",
  "type": "object",
  "properties": {
    "controlDomainInsights": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ControlDomainInsights"
      },
      "description": "The control domain analytics data that the ListControlDomainInsightsByAssessment API returned."
    },
    "nextToken": {
      "type": "string",
      "description": "The pagination token that's used to fetch the next set of results."
    }
  },
  "$defs": {
    "ControlDomainInsights": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the control domain."
        },
        "id": {
          "type": "string",
          "description": "The unique identifier for the control domain. Audit Manager supports the control domains that are provided by Amazon Web Services Control Catalog. For information about how to find a list of available control domains, see ListDomains in the Amazon Web Services Control Catalog API Reference."
        },
        "controlsCountByNoncompliantEvidence": {
          "type": "integer",
          "description": "The number of controls in the control domain that collected non-compliant evidence on the lastUpdated date."
        },
        "totalControlsCount": {
          "type": "integer",
          "description": "The total number of controls in the control domain."
        },
        "evidenceInsights": {
          "$ref": "#/$defs/EvidenceInsights"
        },
        "lastUpdated": {
          "type": "string",
          "format": "date-time",
          "description": "The time when the control domain insights were last updated."
        }
      }
    },
    "EvidenceInsights": {
      "type": "object",
      "properties": {
        "noncompliantEvidenceCount": {
          "type": "integer",
          "description": "The number of compliance check evidence that Audit Manager classified as non-compliant. This includes evidence that was collected from Security Hub CSPM with a Fail ruling, or collected from Config with a Non-compliant ruling."
        },
        "compliantEvidenceCount": {
          "type": "integer",
          "description": "The number of compliance check evidence that Audit Manager classified as compliant. This includes evidence that was collected from Security Hub CSPM with a Pass ruling, or collected from Config with a Compliant ruling."
        },
        "inconclusiveEvidenceCount": {
          "type": "integer",
          "description": "The number of evidence that a compliance check ruling isn't available for. Evidence is inconclusive when the associated control uses Security Hub CSPM or Config as a data source but you didn't enable those services. This is also the case when a control uses a data source that doesn’t support compliance checks (for example, manual evidence, API calls, or CloudTrail). If evidence has a compliance check status of not applicable in the console, it's classified as inconclusive in EvidenceInsights data."
        }
      }
    }
  }
}