{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-trusted-advisor/json-schema/amazon-trusted-advisor-describe-trusted-advisor-check-result-response-schema.json",
  "title": "DescribeTrustedAdvisorCheckResultResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-trusted-advisor-describetrustedadvisorcheckresult-api-openapi.yml#/components/schemas/DescribeTrustedAdvisorCheckResultResponse",
  "type": "object",
  "properties": {
    "result": {
      "$ref": "#/$defs/TrustedAdvisorCheckResult"
    }
  },
  "$defs": {
    "TrustedAdvisorCategorySpecificSummary": {
      "type": "object",
      "properties": {
        "costOptimizing": {
          "$ref": "#/$defs/TrustedAdvisorCostOptimizingSummary"
        }
      }
    },
    "TrustedAdvisorCheckResult": {
      "type": "object",
      "properties": {
        "checkId": {
          "type": "string",
          "description": "The unique identifier for the Trusted Advisor check."
        },
        "timestamp": {
          "type": "string",
          "description": "The time of the last refresh of the check."
        },
        "status": {
          "type": "string",
          "description": "The alert status of the check: \"ok\" (green), \"warning\" (yellow), \"error\" (red), or \"not_available\"."
        },
        "resourcesSummary": {
          "$ref": "#/$defs/TrustedAdvisorResourcesSummary"
        },
        "categorySpecificSummary": {
          "$ref": "#/$defs/TrustedAdvisorCategorySpecificSummary"
        },
        "flaggedResources": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/TrustedAdvisorResourceDetail"
          },
          "description": "The details about each resource listed in the check result."
        }
      },
      "required": [
        "checkId",
        "timestamp",
        "status",
        "resourcesSummary",
        "categorySpecificSummary",
        "flaggedResources"
      ]
    },
    "TrustedAdvisorCostOptimizingSummary": {
      "type": "object",
      "properties": {
        "estimatedMonthlySavings": {
          "type": "number",
          "description": "The estimated monthly savings that might be realized if the recommended operations are taken."
        },
        "estimatedPercentMonthlySavings": {
          "type": "number",
          "description": "The estimated percentage of savings that might be realized if the recommended operations are taken."
        }
      },
      "required": [
        "estimatedMonthlySavings",
        "estimatedPercentMonthlySavings"
      ]
    },
    "TrustedAdvisorResourceDetail": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "description": "The status code for the resource identified in the Trusted Advisor check."
        },
        "region": {
          "type": "string",
          "description": "The Amazon Web Services Region in which the identified resource is located."
        },
        "resourceId": {
          "type": "string",
          "description": "The unique identifier for the identified resource."
        },
        "isSuppressed": {
          "type": "boolean",
          "description": "Specifies whether the Amazon Web Services resource was ignored by Trusted Advisor because it was marked as suppressed by the user."
        },
        "metadata": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Additional information about the identified resource. The exact metadata and its order can be obtained by inspecting the TrustedAdvisorCheckDescription object returned by the call to DescribeTrustedAdvisorChecks. Metadata contains all the data that is shown in the Excel download, even in those cases where the UI shows just summary data."
        }
      },
      "required": [
        "status",
        "resourceId",
        "metadata"
      ]
    },
    "TrustedAdvisorResourcesSummary": {
      "type": "object",
      "properties": {
        "resourcesProcessed": {
          "type": "integer",
          "description": "The number of Amazon Web Services resources that were analyzed by the Trusted Advisor check."
        },
        "resourcesFlagged": {
          "type": "integer",
          "description": "The number of Amazon Web Services resources that were flagged (listed) by the Trusted Advisor check."
        },
        "resourcesIgnored": {
          "type": "integer",
          "description": "The number of Amazon Web Services resources ignored by Trusted Advisor because information was unavailable."
        },
        "resourcesSuppressed": {
          "type": "integer",
          "description": "The number of Amazon Web Services resources ignored by Trusted Advisor because they were marked as suppressed by the user."
        }
      },
      "required": [
        "resourcesProcessed",
        "resourcesFlagged",
        "resourcesIgnored",
        "resourcesSuppressed"
      ]
    }
  }
}