{
  "$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-goals-response-schema.json",
  "title": "ListAgentGoalsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-well-architected-tool-goals-api-openapi.yml#/components/schemas/ListAgentGoalsResponse",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GoalSummary"
      },
      "description": "A list of goal summaries associated with the profile."
    },
    "nextToken": {
      "type": "string",
      "description": "A pagination token to retrieve the next set of results, if available."
    }
  },
  "required": [
    "items"
  ],
  "$defs": {
    "GoalSummary": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier of the goal."
        },
        "profileArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the associated profile."
        },
        "pillars": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "COST_OPTIMIZATION",
              "SECURITY",
              "RESILIENCE",
              "PERFORMANCE",
              "OPERATIONAL_EXCELLENCE"
            ]
          },
          "description": "The Well-Architected Tool Framework pillars associated with this goal."
        },
        "title": {
          "type": "string",
          "description": "The title of the goal."
        },
        "description": {
          "type": "string",
          "description": "A description of the goal."
        },
        "createdBy": {
          "type": "string",
          "description": "The identifier of the user or system that created this goal."
        },
        "createdAt": {
          "type": "string",
          "description": "The timestamp when the goal was created."
        },
        "lastModifiedBy": {
          "type": "string",
          "description": "The identifier of the user or system that last modified this goal."
        },
        "lastModifiedAt": {
          "type": "string",
          "description": "The timestamp when the goal was last modified."
        }
      },
      "required": [
        "id",
        "profileArn",
        "pillars",
        "title",
        "createdBy",
        "createdAt"
      ]
    }
  }
}