{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-resilience-hub/json-schema/amazon-resilience-hub-list-app-assessments-response-schema.json",
  "title": "ListAppAssessmentsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-resilience-hub-assessments-api-openapi.yml#/components/schemas/ListAppAssessmentsResponse",
  "type": "object",
  "properties": {
    "nextToken": {
      "type": "string",
      "description": "Token for the next set of results, or null if there are no more results."
    },
    "assessmentSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AppAssessmentSummary"
      },
      "description": "The summaries for the specified assessments, returned as an object. This object includes application versions, associated Amazon Resource Numbers (ARNs), cost, messages, resiliency scores, and more."
    }
  },
  "required": [
    "assessmentSummaries"
  ],
  "$defs": {
    "AppAssessmentSummary": {
      "type": "object",
      "properties": {
        "appArn": {
          "type": "string",
          "description": "Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide."
        },
        "appVersion": {
          "type": "string",
          "description": "Version of an application."
        },
        "assessmentStatus": {
          "type": "string",
          "enum": [
            "Pending",
            "InProgress",
            "Failed",
            "Success"
          ],
          "description": "Current status of the assessment for the resiliency policy."
        },
        "invoker": {
          "type": "string",
          "enum": [
            "User",
            "System"
          ],
          "description": "Entity that invoked the assessment."
        },
        "startTime": {
          "type": "string",
          "format": "date-time",
          "description": "Starting time for the action."
        },
        "endTime": {
          "type": "string",
          "format": "date-time",
          "description": "End time for the action."
        },
        "message": {
          "type": "string",
          "description": "Message from the assessment run."
        },
        "assessmentName": {
          "type": "string",
          "description": "Name of the assessment."
        },
        "assessmentArn": {
          "type": "string",
          "description": "Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide."
        },
        "complianceStatus": {
          "type": "string",
          "enum": [
            "PolicyBreached",
            "PolicyMet",
            "NotApplicable",
            "MissingPolicy"
          ],
          "description": "Current status of compliance for the resiliency policy."
        },
        "cost": {
          "$ref": "#/$defs/Cost"
        },
        "resiliencyScore": {
          "type": "number",
          "description": "Current resiliency score for the application."
        },
        "versionName": {
          "type": "string",
          "description": "Name of an application version."
        },
        "driftStatus": {
          "type": "string",
          "enum": [
            "NotChecked",
            "NotDetected",
            "Detected"
          ],
          "description": "Indicates if compliance drifts (deviations) were detected while running an assessment for your application."
        }
      },
      "required": [
        "assessmentStatus",
        "assessmentArn"
      ]
    },
    "Cost": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "number",
          "description": "The cost amount."
        },
        "currency": {
          "type": "string",
          "description": "The cost currency, for example USD."
        },
        "frequency": {
          "type": "string",
          "enum": [
            "Hourly",
            "Daily",
            "Monthly",
            "Yearly"
          ],
          "description": "The cost frequency."
        }
      },
      "required": [
        "amount",
        "currency",
        "frequency"
      ]
    }
  }
}