{
  "$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-notifications-output-schema.json",
  "title": "ListNotificationsOutput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-well-architected-tool-notifications-api-openapi.yml#/components/schemas/ListNotificationsOutput",
  "type": "object",
  "properties": {
    "NotificationSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/NotificationSummary"
      },
      "description": "List of lens notification summaries in a workload."
    },
    "NextToken": {
      "type": "string"
    }
  },
  "$defs": {
    "LensUpgradeSummary": {
      "type": "object",
      "properties": {
        "WorkloadId": {
          "type": "string"
        },
        "WorkloadName": {
          "type": "string"
        },
        "LensAlias": {
          "type": "string"
        },
        "LensArn": {
          "type": "string",
          "description": "The ARN for the lens."
        },
        "CurrentLensVersion": {
          "type": "string",
          "description": "The current version of the lens."
        },
        "LatestLensVersion": {
          "type": "string",
          "description": "The latest version of the lens."
        },
        "ResourceArn": {
          "type": "string",
          "description": "ResourceArn of the lens being upgraded"
        },
        "ResourceName": {
          "type": "string"
        }
      }
    },
    "NotificationSummary": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "LENS_VERSION_UPGRADED",
            "LENS_VERSION_DEPRECATED"
          ],
          "description": "The type of notification."
        },
        "LensUpgradeSummary": {
          "$ref": "#/$defs/LensUpgradeSummary"
        }
      }
    }
  }
}