{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-audit-manager/json-schema/amazon-audit-manager-list-control-insights-by-control-domain-response-schema.json",
  "title": "ListControlInsightsByControlDomainResponse",
  "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/ListControlInsightsByControlDomainResponse",
  "type": "object",
  "properties": {
    "controlInsightsMetadata": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ControlInsightsMetadataItem"
      },
      "description": "The control analytics data that the ListControlInsightsByControlDomain API returned."
    },
    "nextToken": {
      "type": "string",
      "description": "The pagination token that's used to fetch the next set of results."
    }
  },
  "$defs": {
    "ControlInsightsMetadataItem": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the control."
        },
        "id": {
          "type": "string",
          "description": "The unique identifier for the control."
        },
        "evidenceInsights": {
          "$ref": "#/$defs/EvidenceInsights"
        },
        "lastUpdated": {
          "type": "string",
          "format": "date-time",
          "description": "The time when the control 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."
        }
      }
    }
  }
}