{
  "$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-contexts-response-schema.json",
  "title": "ListAgentContextsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-well-architected-tool-contexts-api-openapi.yml#/components/schemas/ListAgentContextsResponse",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ContextSummary"
      },
      "description": "A list of context summaries associated with the profile."
    },
    "nextToken": {
      "type": "string"
    }
  },
  "required": [
    "items"
  ],
  "$defs": {
    "ContextContent": {
      "type": "object",
      "properties": {
        "accountIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The Amazon Web Services account IDs associated with this application context."
        },
        "regions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The Amazon Web Services Regions where this application operates."
        },
        "awsServices": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The Amazon Web Services services used by this application."
        },
        "resourceTypes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The Amazon Web Services resource types relevant to this application."
        },
        "resourceTags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ContextResourceTag"
          },
          "description": "Resource tags used to scope this application context."
        },
        "applicationOverview": {
          "type": "string",
          "description": "A free-form overview of the application."
        },
        "industry": {
          "type": "string",
          "description": "The industry vertical for this application."
        },
        "applicationType": {
          "type": "string",
          "enum": [
            "SAS",
            "DESKTOP_APPLICATION",
            "OTHER"
          ],
          "description": "The type of the application."
        },
        "criticality": {
          "type": "string",
          "enum": [
            "MISSION_CRITICAL",
            "BUSINESS_CRITICAL",
            "NON_CRITICAL",
            "TEST_DEVELOPMENT"
          ],
          "description": "The business criticality of the application."
        },
        "architectureOverview": {
          "type": "string",
          "description": "A free-form description of the application architecture."
        },
        "additionalContext": {
          "type": "string",
          "description": "Additional context not captured by other fields."
        }
      }
    },
    "ContextResourceTag": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "description": "The tag key."
        },
        "value": {
          "type": "string",
          "description": "The tag value."
        }
      },
      "required": [
        "key",
        "value"
      ]
    },
    "ContextSummary": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier of the context."
        },
        "profileArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the associated profile."
        },
        "title": {
          "type": "string",
          "description": "The title of the context."
        },
        "contextType": {
          "type": "string",
          "enum": [
            "APPLICATION"
          ],
          "description": "The type of the context."
        },
        "content": {
          "$ref": "#/$defs/ContextContent"
        },
        "applicationType": {
          "type": "string",
          "enum": [
            "SAS",
            "DESKTOP_APPLICATION",
            "OTHER"
          ],
          "description": "The type of application described by this context."
        },
        "criticality": {
          "type": "string",
          "enum": [
            "MISSION_CRITICAL",
            "BUSINESS_CRITICAL",
            "NON_CRITICAL",
            "TEST_DEVELOPMENT"
          ],
          "description": "The business criticality of the application described by this context."
        },
        "createdBy": {
          "type": "string",
          "description": "The identifier of the user or system that created this context."
        },
        "createdAt": {
          "type": "string",
          "description": "The timestamp when the context was created."
        },
        "lastModifiedBy": {
          "type": "string",
          "description": "The identifier of the user or system that last modified this context."
        },
        "lastModifiedAt": {
          "type": "string",
          "description": "The timestamp when the context was last modified."
        }
      },
      "required": [
        "id",
        "profileArn",
        "title",
        "contextType",
        "content",
        "createdBy",
        "createdAt"
      ]
    }
  }
}