{
  "$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-input-schema.json",
  "title": "ListTimelineEventsInput",
  "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/ListTimelineEventsInput",
  "type": "object",
  "properties": {
    "incidentRecordArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the incident that includes the timeline event."
    },
    "filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Filter"
      },
      "description": "Filters the timeline events based on the provided conditional values. You can filter timeline events with the following keys: eventReference eventTime eventType Note the following when deciding how to use Filters: If you don't specify a Filter, the response includes all timeline events. If you specify more than one filter in a single request, the response returns timeline events that match all filters. If you specify a filter with more than one value, the response returns timeline events that match any of the values provided."
    },
    "sortBy": {
      "type": "string",
      "description": "Sort timeline events by the specified key value pair."
    },
    "sortOrder": {
      "type": "string",
      "description": "Sorts the order of timeline events by the value specified in the sortBy field."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of results per page."
    },
    "nextToken": {
      "type": "string",
      "description": "The pagination token for the next set of items to return. (You received this token from a previous call.)"
    }
  },
  "required": [
    "incidentRecordArn"
  ],
  "$defs": {
    "AttributeValueList": {
      "type": "object",
      "properties": {
        "stringValues": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of string values that the filter matches."
        },
        "integerValues": {
          "type": "array",
          "items": {
            "type": "integer"
          },
          "description": "The list of integer values that the filter matches."
        }
      },
      "description": "Exactly one member is set."
    },
    "Condition": {
      "type": "object",
      "properties": {
        "before": {
          "type": "string",
          "description": "Before the specified timestamp"
        },
        "after": {
          "type": "string",
          "description": "After the specified timestamp."
        },
        "equals": {
          "$ref": "#/$defs/AttributeValueList"
        }
      },
      "description": "Exactly one member is set."
    },
    "Filter": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "description": "The key that you're filtering on."
        },
        "condition": {
          "$ref": "#/$defs/Condition"
        }
      },
      "required": [
        "key",
        "condition"
      ]
    }
  }
}