{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudformation/json-schema/amazon-cloudformation-list-resource-scans-output-schema.json",
  "title": "ListResourceScansOutput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudformation-resource-scan-api-openapi.yml#/components/schemas/ListResourceScansOutput",
  "type": "object",
  "properties": {
    "ResourceScanSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ResourceScanSummary"
      },
      "description": "The list of scans returned."
    },
    "NextToken": {
      "type": "string",
      "description": "If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListResourceScans again and use that value for the NextToken parameter. If the request returns all results, NextToken is set to an empty string."
    }
  },
  "$defs": {
    "ResourceScanSummary": {
      "type": "object",
      "properties": {
        "ResourceScanId": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the resource scan."
        },
        "Status": {
          "type": "string",
          "enum": [
            "IN_PROGRESS",
            "FAILED",
            "COMPLETE",
            "EXPIRED"
          ],
          "description": "Status of the resource scan. IN_PROGRESS The resource scan is still in progress. COMPLETE The resource scan is complete. EXPIRED The resource scan has expired. FAILED The resource scan has failed."
        },
        "StatusReason": {
          "type": "string",
          "description": "The reason for the resource scan status, providing more information if a failure happened."
        },
        "StartTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time that the resource scan was started."
        },
        "EndTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time that the resource scan was finished."
        },
        "PercentageCompleted": {
          "type": "number",
          "description": "The percentage of the resource scan that has been completed."
        },
        "ScanType": {
          "type": "string",
          "enum": [
            "FULL",
            "PARTIAL"
          ],
          "description": "The scan type that has been completed."
        }
      }
    }
  }
}