{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-incident-manager/json-schema/amazon-incident-manager-list-engagements-result-schema.json",
  "title": "ListEngagementsResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-incident-manager-engagement-api-openapi.yml#/components/schemas/ListEngagementsResult",
  "type": "object",
  "properties": {
    "NextToken": {
      "type": "string",
      "description": "The pagination token to continue to the next page of results."
    },
    "Engagements": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Engagement"
      },
      "description": "A list of each engagement that occurred during the specified time range of an incident."
    }
  },
  "required": [
    "Engagements"
  ],
  "$defs": {
    "Engagement": {
      "type": "object",
      "properties": {
        "EngagementArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the engagement."
        },
        "ContactArn": {
          "type": "string",
          "description": "The ARN of the escalation plan or contact that Incident Manager is engaging."
        },
        "Sender": {
          "type": "string",
          "description": "The user that started the engagement."
        },
        "IncidentId": {
          "type": "string",
          "description": "The ARN of the incident that's engaging the contact."
        },
        "StartTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time that the engagement began."
        },
        "StopTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time that the engagement ended."
        }
      },
      "required": [
        "EngagementArn",
        "ContactArn",
        "Sender"
      ]
    }
  }
}