{
  "$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-agent-recommendations-response-schema.json",
  "title": "ListAgentRecommendationsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-well-architected-tool-operations-api-openapi.yml#/components/schemas/ListAgentRecommendationsResponse",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AgentRecommendationSummary"
      },
      "description": "A list of recommendation summaries."
    },
    "nextToken": {
      "type": "string",
      "description": "A pagination token to retrieve the next set of results, if available."
    }
  },
  "required": [
    "items"
  ],
  "$defs": {
    "AgentRecommendationSummary": {
      "type": "object",
      "properties": {
        "recommendationArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the recommendation."
        },
        "profileArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the associated profile."
        },
        "generationId": {
          "type": "string",
          "description": "The identifier of the generation process that produced this recommendation."
        },
        "title": {
          "type": "string",
          "description": "The title of the recommendation."
        },
        "description": {
          "type": "string",
          "description": "A description of the recommendation."
        },
        "type": {
          "type": "string",
          "enum": [
            "RESOURCE",
            "ARCHITECTURE",
            "APPLICATION"
          ],
          "description": "The type of the recommendation."
        },
        "pillar": {
          "type": "string",
          "enum": [
            "COST_OPTIMIZATION",
            "SECURITY",
            "RESILIENCE",
            "PERFORMANCE",
            "OPERATIONAL_EXCELLENCE"
          ],
          "description": "The Well-Architected Tool Framework pillar that the recommendation addresses."
        },
        "priority": {
          "type": "string",
          "enum": [
            "HIGH",
            "MEDIUM",
            "LOW"
          ],
          "description": "The priority of the recommendation."
        },
        "effort": {
          "type": "string",
          "enum": [
            "LARGE",
            "MEDIUM",
            "SMALL"
          ],
          "description": "The effort required to implement the recommendation."
        },
        "status": {
          "type": "string",
          "enum": [
            "ACTIVE",
            "SUPPRESSED",
            "COMPLETED"
          ],
          "description": "The current status of the recommendation."
        },
        "state": {
          "type": "string",
          "enum": [
            "OPEN",
            "CLOSED"
          ],
          "description": "The current state of the recommendation."
        },
        "updateReason": {
          "type": "string",
          "description": "The free-text reason associated with the recommendation's most recent status update."
        },
        "impact": {
          "type": "string",
          "enum": [
            "HIGH",
            "MEDIUM",
            "LOW"
          ],
          "description": "The severity of the recommendation's impact."
        },
        "roi": {
          "$ref": "#/$defs/Roi"
        },
        "numberOfResources": {
          "type": "integer",
          "description": "The number of Amazon Web Services resources this recommendation affects."
        },
        "awsServices": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The Amazon Web Services services that the recommendation applies to."
        },
        "businessUnits": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The business units that own the affected resources."
        },
        "applications": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The applications that the recommendation targets."
        },
        "createdBy": {
          "type": "string",
          "description": "The identifier of the user or system that created this recommendation."
        },
        "createdAt": {
          "type": "string",
          "description": "The timestamp when the recommendation was created."
        },
        "lastModifiedBy": {
          "type": "string",
          "description": "The identifier of the user or system that last modified this recommendation."
        },
        "lastModifiedAt": {
          "type": "string",
          "description": "The timestamp when the recommendation was last modified."
        }
      },
      "required": [
        "recommendationArn",
        "profileArn",
        "title",
        "description",
        "type",
        "pillar",
        "priority",
        "effort",
        "status",
        "state",
        "impact",
        "roi",
        "createdBy",
        "createdAt"
      ]
    },
    "Roi": {
      "type": "object",
      "properties": {
        "estimate": {
          "type": "string",
          "description": "A short statistic or key metric. Optional when there is no quantifiable figure."
        },
        "detail": {
          "type": "string",
          "description": "A sentence providing context for the estimate."
        }
      },
      "required": [
        "detail"
      ]
    }
  }
}