{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-incident-manager/json-schema/amazon-incident-manager-get-timeline-event-output-schema.json",
  "title": "GetTimelineEventOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-incident-manager-gettimelineevent-api-openapi.yml#/components/schemas/GetTimelineEventOutput",
  "type": "object",
  "properties": {
    "event": {
      "$ref": "#/$defs/TimelineEvent"
    }
  },
  "required": [
    "event"
  ],
  "$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."
    },
    "TimelineEvent": {
      "type": "object",
      "properties": {
        "incidentRecordArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the incident that the event occurred during."
        },
        "eventId": {
          "type": "string",
          "description": "The ID of the timeline event."
        },
        "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 that occurred. Currently Incident Manager supports only the Custom Event and Note types."
        },
        "eventData": {
          "type": "string",
          "description": "A short description of the event."
        },
        "eventReferences": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EventReference"
          },
          "description": "A list of references in a TimelineEvent."
        }
      },
      "required": [
        "incidentRecordArn",
        "eventId",
        "eventTime",
        "eventUpdatedTime",
        "eventType",
        "eventData"
      ]
    }
  }
}