{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/victorops/json-schema/victorops-get-alert-response-schema.json",
  "title": "GetAlertResponse",
  "description": "Alert details. All fields should be considered optional.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/victorops-openapi.yml#/components/schemas/GetAlertResponse",
  "type": "object",
  "properties": {
    "messageType": {
      "type": "string",
      "description": "The type of alert; INFO, WARNING, ACKNOWLEDGEMENT, CRITICAL, RECOVERY\n"
    },
    "entityId": {
      "type": "string",
      "description": "Identifies the entity (host, service, etc.) this alert was about.\n"
    },
    "timestamp": {
      "type": "number",
      "description": "Timestamp of the alert in seconds since epoch."
    },
    "stateStartTime": {
      "type": "number",
      "description": "The time this entity entered its current state (seconds since epoch)."
    },
    "stateMessage": {
      "type": "string",
      "description": "Any additional status information from the alert item."
    },
    "monitoringTool": {
      "type": "string",
      "description": "The name of the monitoring system software (eg. nagios, icinga, sensu, etc.)"
    },
    "entityDisplayName": {
      "type": "string",
      "description": "Used within VictorOps to display a human-readable name for the entity."
    },
    "ackMsg": {
      "type": "string",
      "description": "A user entered comment for the acknowledgment."
    },
    "ackAuthor": {
      "type": "string",
      "description": "The user that acknowledged the incident."
    },
    "raw": {
      "type": "string",
      "description": "The full, raw alert details JSON string (i.e. parse the string into a JSON object)\n"
    }
  }
}