{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-well-architected-tool/json-schema/amazon-well-architected-tool-get-agent-profile-response-schema.json",
  "title": "GetAgentProfileResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-well-architected-tool-api-api-openapi.yml#/components/schemas/GetAgentProfileResponse",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The system name of the profile."
    },
    "displayName": {
      "type": "string",
      "description": "The display name of the profile."
    },
    "description": {
      "type": "string",
      "description": "A description of the profile."
    },
    "businessOverview": {
      "type": "string",
      "description": "The business overview of the profile."
    },
    "pillars": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "COST_OPTIMIZATION",
          "SECURITY",
          "RESILIENCE",
          "PERFORMANCE",
          "OPERATIONAL_EXCELLENCE"
        ]
      },
      "description": "The Well-Architected Tool Framework pillars associated with the profile."
    },
    "deletionProtection": {
      "type": "boolean",
      "description": "Indicates whether deletion protection is enabled."
    },
    "executionRoleArn": {
      "type": "string",
      "description": "The ARN of the IAM execution role."
    },
    "aggregationConfiguration": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AggregationConfiguration"
      },
      "description": "The aggregation configuration."
    },
    "arn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the profile."
    },
    "eligibleForScheduledGeneration": {
      "type": "boolean",
      "description": "Indicates whether the profile is valid for scheduled recommendation generation."
    },
    "eligibleForArchitectureGeneration": {
      "type": "boolean",
      "description": "Indicates whether the profile is valid for manual architecture generation."
    },
    "fieldErrors": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "A map of field paths to error messages for invalid or missing input fields."
    },
    "tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "The tags associated with the profile."
    },
    "createdBy": {
      "type": "string",
      "description": "The identifier of the user or system that created this profile."
    },
    "createdAt": {
      "type": "string",
      "description": "The timestamp when the profile was created."
    },
    "lastModifiedBy": {
      "type": "string",
      "description": "The identifier of the user or system that last modified this profile."
    },
    "lastModifiedAt": {
      "type": "string",
      "description": "The timestamp when the profile was last modified."
    }
  },
  "required": [
    "name",
    "pillars",
    "executionRoleArn",
    "aggregationConfiguration",
    "arn",
    "createdBy",
    "createdAt"
  ],
  "$defs": {
    "AggregationConfiguration": {
      "type": "object",
      "properties": {
        "accountId": {
          "type": "string",
          "description": "The Amazon Web Services account ID to analyze."
        },
        "regions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of Amazon Web Services Regions to include in the analysis."
        },
        "accessRoleArn": {
          "type": "string",
          "description": "The ARN of an IAM role to assume for resource analysis in this account."
        }
      },
      "required": [
        "accountId",
        "regions",
        "accessRoleArn"
      ]
    },
    "Tag": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "description": "The key of the tag."
        },
        "value": {
          "type": "string",
          "description": "The value of the tag."
        }
      },
      "required": [
        "key",
        "value"
      ]
    }
  }
}