{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-well-architected-tool/json-schema/amazon-well-architected-tool-list-workloads-output-schema.json",
  "title": "ListWorkloadsOutput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-well-architected-tool-workloads-summaries-api-openapi.yml#/components/schemas/ListWorkloadsOutput",
  "type": "object",
  "properties": {
    "WorkloadSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/WorkloadSummary"
      }
    },
    "NextToken": {
      "type": "string"
    }
  },
  "$defs": {
    "WorkloadProfile": {
      "type": "object",
      "properties": {
        "ProfileArn": {
          "type": "string",
          "description": "The profile ARN."
        },
        "ProfileVersion": {
          "type": "string",
          "description": "The profile version."
        }
      }
    },
    "WorkloadSummary": {
      "type": "object",
      "properties": {
        "WorkloadId": {
          "type": "string"
        },
        "WorkloadArn": {
          "type": "string"
        },
        "WorkloadName": {
          "type": "string"
        },
        "Owner": {
          "type": "string"
        },
        "UpdatedAt": {
          "type": "string",
          "description": "The date and time when the workload was last updated."
        },
        "Lenses": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "RiskCounts": {
          "type": "object",
          "additionalProperties": {
            "type": "integer"
          }
        },
        "ImprovementStatus": {
          "type": "string",
          "enum": [
            "NOT_APPLICABLE",
            "NOT_STARTED",
            "IN_PROGRESS",
            "COMPLETE",
            "RISK_ACKNOWLEDGED"
          ]
        },
        "Profiles": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/WorkloadProfile"
          },
          "description": "Profile associated with a workload."
        },
        "PrioritizedRiskCounts": {
          "type": "object",
          "additionalProperties": {
            "type": "integer"
          }
        }
      }
    }
  }
}