{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-incident-manager/json-schema/amazon-incident-manager-get-incident-record-output-schema.json",
  "title": "GetIncidentRecordOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-incident-manager-getincidentrecord-api-openapi.yml#/components/schemas/GetIncidentRecordOutput",
  "type": "object",
  "properties": {
    "incidentRecord": {
      "$ref": "#/$defs/IncidentRecord"
    }
  },
  "required": [
    "incidentRecord"
  ],
  "$defs": {
    "AutomationExecution": {
      "type": "object",
      "properties": {
        "ssmExecutionArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the automation process."
        }
      },
      "description": "Exactly one member is set."
    },
    "ChatChannel": {
      "type": "object",
      "properties": {
        "empty": {
          "$ref": "#/$defs/EmptyChatChannel"
        },
        "chatbotSns": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The Amazon SNS targets that Chatbot uses to notify the chat channel of updates to an incident. You can also make updates to the incident through the chat channel by using the Amazon SNS topics."
        }
      },
      "description": "Exactly one member is set."
    },
    "EmptyChatChannel": {
      "type": "object",
      "properties": {}
    },
    "IncidentRecord": {
      "type": "object",
      "properties": {
        "arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the incident record."
        },
        "title": {
          "type": "string",
          "description": "The title of the incident."
        },
        "summary": {
          "type": "string",
          "description": "The summary of the incident. The summary is a brief synopsis of what occurred, what's currently happening, and context of the incident."
        },
        "status": {
          "type": "string",
          "description": "The current status of the incident."
        },
        "impact": {
          "type": "integer",
          "description": "The impact of the incident on customers and applications. Supported impact codes 1 - Critical 2 - High 3 - Medium 4 - Low 5 - No Impact"
        },
        "creationTime": {
          "type": "string",
          "description": "The timestamp for when Incident Manager created the incident record."
        },
        "resolvedTime": {
          "type": "string",
          "description": "The timestamp for when the incident was resolved. This appears as a timeline event."
        },
        "lastModifiedTime": {
          "type": "string",
          "description": "The timestamp for when the incident was most recently modified."
        },
        "lastModifiedBy": {
          "type": "string",
          "description": "Who modified the incident most recently."
        },
        "automationExecutions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AutomationExecution"
          },
          "description": "The runbook, or automation document, that's run at the beginning of the incident."
        },
        "incidentRecordSource": {
          "$ref": "#/$defs/IncidentRecordSource"
        },
        "dedupeString": {
          "type": "string",
          "description": "The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in the same account."
        },
        "chatChannel": {
          "$ref": "#/$defs/ChatChannel"
        },
        "notificationTargets": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NotificationTargetItem"
          },
          "description": "The Amazon SNS targets that are notified when updates are made to an incident."
        }
      },
      "required": [
        "arn",
        "title",
        "status",
        "impact",
        "creationTime",
        "lastModifiedTime",
        "lastModifiedBy",
        "incidentRecordSource",
        "dedupeString"
      ]
    },
    "IncidentRecordSource": {
      "type": "object",
      "properties": {
        "createdBy": {
          "type": "string",
          "description": "The principal that started the incident."
        },
        "invokedBy": {
          "type": "string",
          "description": "The service principal that assumed the role specified in createdBy. If no service principal assumed the role this will be left blank."
        },
        "resourceArn": {
          "type": "string",
          "description": "The resource that caused the incident to be created."
        },
        "source": {
          "type": "string",
          "description": "The service that started the incident. This can be manually created from Incident Manager, automatically created using an Amazon CloudWatch alarm, or Amazon EventBridge event."
        }
      },
      "required": [
        "createdBy",
        "source"
      ]
    },
    "NotificationTargetItem": {
      "type": "object",
      "properties": {
        "snsTopicArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the SNS topic."
        }
      },
      "description": "Exactly one member is set."
    }
  }
}