{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-incident-manager/json-schema/amazon-incident-manager-list-timeline-events-output-schema.json",
  "title": "ListTimelineEventsOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-incident-manager-list-timeline-events-api-openapi.yml#/components/schemas/ListTimelineEventsOutput",
  "type": "object",
  "properties": {
    "eventSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EventSummary"
      },
      "description": "Details about each event that occurred during the incident."
    },
    "nextToken": {
      "type": "string",
      "description": "The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null."
    }
  },
  "required": [
    "eventSummaries"
  ],
  "$defs": {
    "EventReference": {
      "type": "object",
      "properties": {
        "resource": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of an Amazon Web Services resource referenced in a TimelineEvent."
        },
        "relatedItemId": {
          "type": "string",
          "description": "The ID of a RelatedItem referenced in a TimelineEvent."
        }
      },
      "description": "Exactly one member is set."
    },
    "EventSummary": {
      "type": "object",
      "properties": {
        "incidentRecordArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the incident that the event happened during."
        },
        "eventId": {
          "type": "string",
          "description": "The timeline event ID."
        },
        "eventTime": {
          "type": "string",
          "description": "The timestamp for when the event occurred."
        },
        "eventUpdatedTime": {
          "type": "string",
          "description": "The timestamp for when the timeline event was last updated."
        },
        "eventType": {
          "type": "string",
          "description": "The type of event. The timeline event must be Custom Event or Note."
        },
        "eventReferences": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EventReference"
          },
          "description": "A list of references in a TimelineEvent."
        }
      },
      "required": [
        "incidentRecordArn",
        "eventId",
        "eventTime",
        "eventUpdatedTime",
        "eventType"
      ]
    }
  }
}