{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/coralogix/json-schema/coralogix-v1-get-event-response-schema.json",
  "title": "Get event response",
  "description": "Response containing the details of a case event.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coralogix-case-events-service-api-openapi.yml#/components/schemas/v1.GetEventResponse",
  "required": [
    "event"
  ],
  "type": "object",
  "properties": {
    "event": {
      "allOf": [
        {
          "$ref": "#/$defs/CaseEvent"
        }
      ],
      "description": "The requested event"
    }
  },
  "$defs": {
    "ApiKeyActor": {
      "title": "API key actor",
      "type": "object",
      "properties": {
        "id": {
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "API key ID"
        },
        "name": {
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "API key name"
        }
      },
      "description": "Information about the API key that initiated the action."
    },
    "AssignedCaseEvent": {
      "title": "Assigned event",
      "type": "object",
      "properties": {
        "assigneeUserId": {
          "maxLength": 36,
          "minLength": 36,
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string",
          "description": "New assignee user ID"
        },
        "previousAssigneeUserId": {
          "description": "Previous assignee user ID (if any)",
          "maxLength": 36,
          "minLength": 36,
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string",
          "x-coralogix-presence": true
        }
      },
      "description": "Assigned case event."
    },
    "CaseEvent": {
      "title": "Case event",
      "required": [
        "eventId",
        "eventData",
        "actor",
        "createTime",
        "eventTime"
      ],
      "type": "object",
      "properties": {
        "actor": {
          "allOf": [
            {
              "$ref": "#/$defs/EventActor"
            }
          ],
          "description": "Actor that produced the event (system or user)"
        },
        "createTime": {
          "description": "Server-side insertion time",
          "format": "date-time",
          "minLength": 0,
          "type": "string",
          "x-coralogix-presence": true
        },
        "eventData": {
          "allOf": [
            {
              "$ref": "#/$defs/CaseEventData"
            }
          ],
          "description": "Event payload (assignment, comment, status change, etc.)"
        },
        "eventId": {
          "maxLength": 36,
          "minLength": 36,
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string",
          "description": "Unique identifier of the event"
        },
        "eventTime": {
          "description": "Logical occurrence time of the event",
          "format": "date-time",
          "minLength": 0,
          "type": "string",
          "x-coralogix-presence": true
        },
        "updateTime": {
          "description": "If edited, last modification time of the event",
          "format": "date-time",
          "minLength": 0,
          "type": "string",
          "x-coralogix-presence": true
        }
      },
      "description": "Represents an immutable entry in a case's event timeline."
    },
    "CaseEventData": {
      "title": "Case event data",
      "type": "object",
      "oneOf": [
        {
          "required": [
            "assigned"
          ],
          "type": "object"
        },
        {
          "required": [
            "unassigned"
          ],
          "type": "object"
        },
        {
          "required": [
            "comment"
          ],
          "type": "object"
        },
        {
          "required": [
            "statusChanged"
          ],
          "type": "object"
        },
        {
          "required": [
            "notificationSent"
          ],
          "type": "object"
        },
        {
          "required": [
            "notificationFailed"
          ],
          "type": "object"
        },
        {
          "required": [
            "created"
          ],
          "type": "object"
        },
        {
          "required": [
            "priorityDetailsChanged"
          ],
          "type": "object"
        },
        {
          "required": [
            "titleChangedEvent"
          ],
          "type": "object"
        },
        {
          "required": [
            "resolutionReasonChangedEvent"
          ],
          "type": "object"
        },
        {
          "required": [
            "changeAssigneeFailed"
          ],
          "type": "object"
        },
        {
          "required": [
            "kpiBreached"
          ],
          "type": "object"
        },
        {
          "type": "object",
          "not": {
            "anyOf": [
              {
                "required": [
                  "assigned"
                ],
                "type": "object"
              },
              {
                "required": [
                  "unassigned"
                ],
                "type": "object"
              },
              {
                "required": [
                  "comment"
                ],
                "type": "object"
              },
              {
                "required": [
                  "statusChanged"
                ],
                "type": "object"
              },
              {
                "required": [
                  "notificationSent"
                ],
                "type": "object"
              },
              {
                "required": [
                  "notificationFailed"
                ],
                "type": "object"
              },
              {
                "required": [
                  "created"
                ],
                "type": "object"
              },
              {
                "required": [
                  "priorityDetailsChanged"
                ],
                "type": "object"
              },
              {
                "required": [
                  "titleChangedEvent"
                ],
                "type": "object"
              },
              {
                "required": [
                  "resolutionReasonChangedEvent"
                ],
                "type": "object"
              },
              {
                "required": [
                  "changeAssigneeFailed"
                ],
                "type": "object"
              },
              {
                "required": [
                  "kpiBreached"
                ],
                "type": "object"
              }
            ]
          }
        }
      ],
      "properties": {
        "assigned": {
          "allOf": [
            {
              "$ref": "#/$defs/AssignedCaseEvent"
            }
          ],
          "description": "Case assigned to a user"
        },
        "changeAssigneeFailed": {
          "allOf": [
            {
              "$ref": "#/$defs/ChangeAssigneeFailedEvent"
            }
          ],
          "description": "Change assignee failed case event"
        },
        "comment": {
          "allOf": [
            {
              "$ref": "#/$defs/CommentCaseEvent"
            }
          ],
          "description": "User comment"
        },
        "created": {
          "allOf": [
            {
              "$ref": "#/$defs/CreatedCaseEvent"
            }
          ],
          "description": "Created case event"
        },
        "kpiBreached": {
          "allOf": [
            {
              "$ref": "#/$defs/KPIBreachedCaseEvent"
            }
          ],
          "description": "KPI breach detected for the case"
        },
        "notificationFailed": {
          "allOf": [
            {
              "$ref": "#/$defs/NotificationFailedCaseEvent"
            }
          ],
          "description": "Notification failure"
        },
        "notificationSent": {
          "allOf": [
            {
              "$ref": "#/$defs/NotificationSentCaseEvent"
            }
          ],
          "description": "Notification(s) sent"
        },
        "priorityDetailsChanged": {
          "allOf": [
            {
              "$ref": "#/$defs/PriorityDetailsChangedCaseEvent"
            }
          ],
          "description": "Priority details changed case event"
        },
        "resolutionReasonChangedEvent": {
          "allOf": [
            {
              "$ref": "#/$defs/ResolutionReasonChangedCaseEvent"
            }
          ],
          "description": "Resolution reason changed case event"
        },
        "statusChanged": {
          "allOf": [
            {
              "$ref": "#/$defs/StatusChangedCaseEvent"
            }
          ],
          "description": "Status changed"
        },
        "titleChangedEvent": {
          "allOf": [
            {
              "$ref": "#/$defs/TitleChangedCaseEvent"
            }
          ],
          "description": "Title changed case event"
        },
        "unassigned": {
          "allOf": [
            {
              "$ref": "#/$defs/UnassignedCaseEvent"
            }
          ],
          "description": "Case unassigned from a user"
        }
      },
      "description": "One-of wrapper for concrete case event types."
    },
    "CasePriority": {
      "enum": [
        "CASE_PRIORITY_UNSPECIFIED",
        "CASE_PRIORITY_P1",
        "CASE_PRIORITY_P2",
        "CASE_PRIORITY_P3",
        "CASE_PRIORITY_P4",
        "CASE_PRIORITY_P5"
      ],
      "type": "string",
      "description": "Case priority."
    },
    "CaseStatus": {
      "enum": [
        "CASE_STATUS_UNSPECIFIED",
        "CASE_STATUS_PENDING_ACTIVATION",
        "CASE_STATUS_ACTIVE",
        "CASE_STATUS_ACKNOWLEDGED",
        "CASE_STATUS_RESOLVED",
        "CASE_STATUS_CLOSED"
      ],
      "type": "string",
      "description": "Case status."
    },
    "ChangeAssigneeFailedEvent": {
      "title": "Change assignee failed event",
      "type": "object",
      "properties": {
        "unknownAssigneeError": {
          "allOf": [
            {
              "$ref": "#/$defs/UnknownAssigneeError"
            }
          ],
          "description": "Error for unknown assignee"
        }
      },
      "description": "Event recorded when an attempt to reassign a case fails."
    },
    "CommentAttachment": {
      "title": "Comment attachment",
      "type": "object",
      "oneOf": [
        {
          "required": [
            "log"
          ],
          "type": "object"
        },
        {
          "required": [
            "customWidget"
          ],
          "type": "object"
        },
        {
          "required": [
            "file"
          ],
          "type": "object"
        }
      ],
      "properties": {
        "customWidget": {
          "allOf": [
            {
              "$ref": "#/$defs/CustomDashboardWidgetAttachment"
            }
          ],
          "description": "Custom dashboard widget attachment with screenshot"
        },
        "file": {
          "allOf": [
            {
              "$ref": "#/$defs/FileAttachment"
            }
          ],
          "description": "Generic file attachment"
        },
        "log": {
          "allOf": [
            {
              "$ref": "#/$defs/LogAttachment"
            }
          ],
          "description": "Log entry attachment with content and metadata"
        }
      }
    },
    "CommentCaseEvent": {
      "title": "Comment event",
      "type": "object",
      "oneOf": [
        {
          "required": [
            "slack"
          ],
          "type": "object"
        },
        {
          "required": [
            "microsoftTeams"
          ],
          "type": "object"
        },
        {
          "type": "object",
          "not": {
            "anyOf": [
              {
                "required": [
                  "slack"
                ],
                "type": "object"
              },
              {
                "required": [
                  "microsoftTeams"
                ],
                "type": "object"
              }
            ]
          }
        }
      ],
      "properties": {
        "attachments": {
          "maxItems": 100,
          "minItems": 0,
          "type": "array",
          "items": {
            "$ref": "#/$defs/CommentAttachment"
          },
          "description": "Attachments to the comment"
        },
        "microsoftTeams": {
          "allOf": [
            {
              "$ref": "#/$defs/MicrosoftTeamsCommentMetadata"
            }
          ],
          "description": "Microsoft Teams-specific comment metadata"
        },
        "slack": {
          "allOf": [
            {
              "$ref": "#/$defs/SlackCommentMetadata"
            }
          ],
          "description": "Slack-specific comment metadata"
        },
        "unsafeText": {
          "maxLength": 10000,
          "minLength": 1,
          "pattern": "^[\\s\\S]*\\S[\\s\\S]*$",
          "type": "string",
          "description": "Comment text. Leading and trailing whitespace is trimmed before the length limits are applied."
        }
      },
      "description": "Event recorded when a user posts a comment on a case."
    },
    "CreatedCaseEvent": {
      "title": "Created event",
      "type": "object",
      "properties": {
        "priority": {
          "allOf": [
            {
              "$ref": "#/$defs/CasePriority"
            }
          ],
          "description": "Previous priority"
        }
      },
      "description": "Created case event."
    },
    "CustomDashboardWidgetAttachment": {
      "title": "Custom dashboard widget attachment",
      "required": [
        "customDashboardId",
        "widgetId",
        "widgetScreenshot"
      ],
      "type": "object",
      "properties": {
        "customDashboardId": {
          "maxLength": 4096,
          "minLength": 1,
          "pattern": "^[\\s\\S]*\\S[\\s\\S]*$",
          "type": "string",
          "description": "Unique identifier of the custom dashboard. Leading and trailing whitespace is trimmed before the length limits are applied."
        },
        "queryLinkSuffix": {
          "maxLength": 4096,
          "minLength": 0,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "URL suffix for accessing the widget (not including the Coralogix domain part)"
        },
        "widgetId": {
          "maxLength": 4096,
          "minLength": 1,
          "pattern": "^[\\s\\S]*\\S[\\s\\S]*$",
          "type": "string",
          "description": "Unique identifier of the widget within the dashboard. Leading and trailing whitespace is trimmed before the length limits are applied."
        },
        "widgetScreenshot": {
          "allOf": [
            {
              "$ref": "#/$defs/FileAttachment"
            }
          ],
          "description": "Screenshot of the widget at the time of attachment"
        }
      },
      "description": "Attachment containing custom dashboard widget data and screenshot"
    },
    "EventActor": {
      "title": "Event actor",
      "type": "object",
      "oneOf": [
        {
          "required": [
            "system"
          ],
          "type": "object"
        },
        {
          "required": [
            "user"
          ],
          "type": "object"
        },
        {
          "required": [
            "serviceNow"
          ],
          "type": "object"
        },
        {
          "required": [
            "apiKey"
          ],
          "type": "object"
        },
        {
          "required": [
            "slack"
          ],
          "type": "object"
        },
        {
          "required": [
            "prometheusAlertManager"
          ],
          "type": "object"
        },
        {
          "required": [
            "pagerDuty"
          ],
          "type": "object"
        },
        {
          "required": [
            "microsoftTeams"
          ],
          "type": "object"
        },
        {
          "type": "object",
          "not": {
            "anyOf": [
              {
                "required": [
                  "system"
                ],
                "type": "object"
              },
              {
                "required": [
                  "user"
                ],
                "type": "object"
              },
              {
                "required": [
                  "serviceNow"
                ],
                "type": "object"
              },
              {
                "required": [
                  "apiKey"
                ],
                "type": "object"
              },
              {
                "required": [
                  "slack"
                ],
                "type": "object"
              },
              {
                "required": [
                  "prometheusAlertManager"
                ],
                "type": "object"
              },
              {
                "required": [
                  "pagerDuty"
                ],
                "type": "object"
              },
              {
                "required": [
                  "microsoftTeams"
                ],
                "type": "object"
              }
            ]
          }
        }
      ],
      "properties": {
        "apiKey": {
          "allOf": [
            {
              "$ref": "#/$defs/ApiKeyActor"
            }
          ],
          "description": "API Key generated event"
        },
        "microsoftTeams": {
          "allOf": [
            {
              "$ref": "#/$defs/MicrosoftTeamsActor"
            }
          ],
          "description": "Microsoft Teams generated event"
        },
        "pagerDuty": {
          "allOf": [
            {
              "$ref": "#/$defs/PagerDutyActor"
            }
          ],
          "description": "PagerDuty generated event"
        },
        "prometheusAlertManager": {
          "allOf": [
            {
              "$ref": "#/$defs/PrometheusAlertManagerActor"
            }
          ],
          "description": "Prometheus Alert Manager generated event"
        },
        "serviceNow": {
          "allOf": [
            {
              "$ref": "#/$defs/ServiceNowActor"
            }
          ],
          "description": "Service Now generated event"
        },
        "slack": {
          "allOf": [
            {
              "$ref": "#/$defs/SlackActor"
            }
          ],
          "description": "Slack generated event"
        },
        "system": {
          "allOf": [
            {
              "$ref": "#/$defs/SystemActor"
            }
          ],
          "description": "System-generated event"
        },
        "user": {
          "allOf": [
            {
              "$ref": "#/$defs/UserActor"
            }
          ],
          "description": "User-generated event"
        }
      },
      "description": "Actor that initiated the event."
    },
    "FileAttachment": {
      "title": "File attachment",
      "required": [
        "fileName",
        "fileId",
        "isDeleted"
      ],
      "type": "object",
      "properties": {
        "fileId": {
          "maxLength": 36,
          "minLength": 36,
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string",
          "description": "Unique identifier of the file (same id as used in blobset flow)"
        },
        "fileName": {
          "maxLength": 4096,
          "minLength": 1,
          "pattern": "^[\\s\\S]*\\S[\\s\\S]*$",
          "type": "string",
          "description": "Original name of the attached file. Leading and trailing whitespace is trimmed before the length limits are applied."
        },
        "isDeleted": {
          "type": "boolean",
          "description": "Flag indicating whether the file has been marked as deleted"
        }
      },
      "description": "Attachment representing a file with metadata"
    },
    "KPIBreachedCaseEvent": {
      "title": "KPI breached event",
      "type": "object",
      "properties": {
        "kpiType": {
          "allOf": [
            {
              "$ref": "#/$defs/KPIType"
            }
          ],
          "description": "Type of KPI that was breached"
        },
        "priority": {
          "allOf": [
            {
              "$ref": "#/$defs/CasePriority"
            }
          ],
          "description": "Case priority at the time of the breach"
        },
        "threshold": {
          "description": "Duration after which the KPI threshold was set to breach",
          "minLength": 0,
          "type": "string",
          "x-coralogix-presence": true
        }
      },
      "description": "Kpi breached case event."
    },
    "KPIType": {
      "enum": [
        "KPI_TYPE_UNSPECIFIED",
        "KPI_TYPE_TIME_TO_ACKNOWLEDGE",
        "KPI_TYPE_TIME_TO_RESOLVE",
        "KPI_TYPE_TIME_TO_UPDATE"
      ],
      "type": "string",
      "description": "Kpi type."
    },
    "LogAttachment": {
      "title": "Log attachment",
      "required": [
        "logId",
        "logTimestamp",
        "logContent"
      ],
      "type": "object",
      "properties": {
        "logContent": {
          "maxLength": 10000,
          "minLength": 1,
          "pattern": "^[\\s\\S]*\\S[\\s\\S]*$",
          "type": "string",
          "description": "Raw content of the log entry. Leading and trailing whitespace is trimmed before the length limits are applied."
        },
        "logId": {
          "maxLength": 36,
          "minLength": 36,
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string",
          "description": "Unique identifier of the log entry"
        },
        "logTimestamp": {
          "description": "Timestamp when the log entry was created",
          "format": "date-time",
          "minLength": 0,
          "type": "string",
          "x-coralogix-presence": true
        },
        "queryLinkSuffix": {
          "maxLength": 4096,
          "minLength": 0,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "URL suffix for querying related logs (not including the Coralogix domain part)"
        }
      },
      "description": "Attachment containing log data and related information"
    },
    "MicrosoftTeamsActor": {
      "title": "Microsoft Teams actor",
      "type": "object",
      "properties": {
        "coralogixUserId": {
          "description": "If the Microsoft Teams user is linked to a Coralogix user, this field contains the Coralogix user ID.",
          "maxLength": 36,
          "minLength": 36,
          "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
          "type": "string",
          "x-coralogix-presence": true
        },
        "displayName": {
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "Microsoft Teams display name"
        },
        "teamsUserId": {
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "Microsoft Teams user ID"
        },
        "userEmail": {
          "description": "Email of the Microsoft Teams user",
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "x-coralogix-presence": true
        }
      },
      "description": "Information about the Microsoft Teams user who initiated the action."
    },
    "MicrosoftTeamsCommentMetadata": {
      "title": "Microsoft Teams comment metadata",
      "type": "object",
      "properties": {
        "channelId": {
          "maxLength": 4096,
          "minLength": 0,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "Microsoft Teams channel ID"
        },
        "messageId": {
          "maxLength": 4096,
          "minLength": 0,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "Microsoft Teams message ID"
        },
        "messageUrl": {
          "description": "Deep link URL to the Microsoft Teams message",
          "maxLength": 4096,
          "minLength": 0,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "x-coralogix-presence": true
        },
        "teamId": {
          "maxLength": 4096,
          "minLength": 0,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "Microsoft Teams team ID"
        },
        "tenantId": {
          "maxLength": 36,
          "minLength": 36,
          "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
          "type": "string",
          "description": "Microsoft Teams tenant ID"
        },
        "userEmail": {
          "description": "Email of the Microsoft Teams user",
          "maxLength": 4096,
          "minLength": 0,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "x-coralogix-presence": true
        },
        "userId": {
          "maxLength": 4096,
          "minLength": 0,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "Microsoft Teams user ID"
        }
      },
      "description": "Microsoft Teams source metadata attached to a comment that was synced from Microsoft Teams."
    },
    "NotificationFailedCaseEvent": {
      "title": "Notification failed event",
      "type": "object",
      "properties": {
        "error": {
          "maxLength": 4096,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "Error message for the failed notification"
        }
      },
      "description": "Notification failed case event."
    },
    "NotificationMetadata": {
      "title": "Notification metadata",
      "type": "object",
      "properties": {
        "token": {
          "maxLength": 4096,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "Notification token/reference"
        }
      }
    },
    "NotificationSentCaseEvent": {
      "title": "Notification sent event",
      "type": "object",
      "properties": {
        "notificationRequestId": {
          "description": "The notification request ID, as sent to the notifications center.",
          "maxLength": 36,
          "minLength": 36,
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string",
          "x-coralogix-presence": true
        },
        "notifications": {
          "maxItems": 1000,
          "minItems": 0,
          "type": "array",
          "items": {
            "$ref": "#/$defs/NotificationMetadata"
          },
          "description": "List of notifications produced by this action"
        }
      },
      "description": "Notification sent case event."
    },
    "PagerDutyActor": {
      "title": "PagerDuty actor",
      "type": "object",
      "properties": {
        "coralogixUserId": {
          "description": "If the PagerDuty user is linked to a Coralogix user, this field contains the Coralogix user ID.",
          "maxLength": 36,
          "minLength": 36,
          "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
          "type": "string",
          "x-coralogix-presence": true
        },
        "displayName": {
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "PagerDuty display name"
        },
        "pagerDutyUserId": {
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "PagerDuty user ID"
        },
        "userEmail": {
          "description": "Email of the PagerDuty user",
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "x-coralogix-presence": true
        }
      },
      "description": "Information about the PagerDuty user who initiated the action."
    },
    "PriorityDetails": {
      "title": "Priority details",
      "type": "object",
      "properties": {
        "override": {
          "allOf": [
            {
              "$ref": "#/$defs/CasePriority"
            }
          ],
          "description": "Optional override set by user",
          "x-coralogix-presence": true
        },
        "system": {
          "allOf": [
            {
              "$ref": "#/$defs/CasePriority"
            }
          ],
          "description": "System computed priority"
        }
      },
      "description": "Priority details, including system computed and user override values."
    },
    "PriorityDetailsChangedCaseEvent": {
      "title": "Priority details changed event",
      "type": "object",
      "properties": {
        "from": {
          "allOf": [
            {
              "$ref": "#/$defs/PriorityDetails"
            }
          ],
          "description": "Previous priority details"
        },
        "to": {
          "allOf": [
            {
              "$ref": "#/$defs/PriorityDetails"
            }
          ],
          "description": "New priority details"
        }
      },
      "description": "Priority details changed case event."
    },
    "PrometheusAlertManagerActor": {
      "title": "Prometheus Alert Manager actor",
      "type": "object",
      "properties": {
        "receiverName": {
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "Prometheus Alert Manager receiver name"
        }
      },
      "description": "Information about the Prometheus Alert Manager instance that initiated the action."
    },
    "ResolutionReasonChangedCaseEvent": {
      "title": "Resolution reason changed event",
      "type": "object",
      "properties": {
        "from": {
          "description": "Previous resolution reason. Leading and trailing whitespace is trimmed before the length limits are applied.",
          "maxLength": 500,
          "minLength": 1,
          "pattern": "^[\\s\\S]*\\S[\\s\\S]*$",
          "type": "string",
          "x-coralogix-presence": true
        },
        "to": {
          "maxLength": 500,
          "minLength": 1,
          "pattern": "^[\\s\\S]*\\S[\\s\\S]*$",
          "type": "string",
          "description": "New resolution reason. Leading and trailing whitespace is trimmed before the length limits are applied."
        }
      },
      "description": "Resolution reason changed case event."
    },
    "ServiceNowActor": {
      "title": "Service Now actor",
      "type": "object",
      "properties": {
        "coralogixUserId": {
          "description": "If the Service Now user is linked to a Coralogix user, this field contains the Coralogix user ID.",
          "maxLength": 36,
          "minLength": 36,
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string",
          "x-coralogix-presence": true
        },
        "id": {
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "User ID"
        },
        "userEmail": {
          "description": "Mail of the user",
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "x-coralogix-presence": true
        },
        "username": {
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "Username"
        }
      },
      "description": "Information about the user who initiated the action in Service Now platform"
    },
    "SlackActor": {
      "title": "Slack actor",
      "type": "object",
      "properties": {
        "coralogixUserId": {
          "description": "If the Slack user is linked to a Coralogix user, this field contains the Coralogix user ID.",
          "maxLength": 36,
          "minLength": 36,
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string",
          "x-coralogix-presence": true
        },
        "displayName": {
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "Slack display name"
        },
        "slackUserId": {
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "Slack user ID"
        },
        "userEmail": {
          "description": "Email of the Slack user",
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "x-coralogix-presence": true
        }
      },
      "description": "Information about the Slack user who initiated the action."
    },
    "SlackCommentMetadata": {
      "title": "Slack comment metadata",
      "type": "object",
      "properties": {
        "channelId": {
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "Slack channel ID"
        },
        "threadId": {
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "Slack thread ID"
        },
        "userEmail": {
          "description": "Email of the Slack user",
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "x-coralogix-presence": true
        },
        "userId": {
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "Slack user ID"
        },
        "workspaceId": {
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "Slack workspace ID"
        }
      },
      "description": "Comment case event."
    },
    "StatusChangedCaseEvent": {
      "title": "Status changed event",
      "type": "object",
      "properties": {
        "newStatus": {
          "allOf": [
            {
              "$ref": "#/$defs/CaseStatus"
            }
          ],
          "description": "New status"
        },
        "oldStatus": {
          "allOf": [
            {
              "$ref": "#/$defs/CaseStatus"
            }
          ],
          "description": "Previous status"
        }
      },
      "description": "Status changed case event."
    },
    "SystemActor": {
      "title": "System actor",
      "type": "object",
      "additionalProperties": false,
      "description": "Empty message indicating system-initiated action."
    },
    "TitleChangedCaseEvent": {
      "title": "Title changed event",
      "type": "object",
      "properties": {
        "from": {
          "maxLength": 512,
          "minLength": 1,
          "pattern": "^[\\s\\S]*\\S[\\s\\S]*$",
          "type": "string",
          "description": "Previous case title. Leading and trailing whitespace is trimmed before the length limits are applied."
        },
        "to": {
          "maxLength": 512,
          "minLength": 1,
          "pattern": "^[\\s\\S]*\\S[\\s\\S]*$",
          "type": "string",
          "description": "New case title. Leading and trailing whitespace is trimmed before the length limits are applied."
        }
      },
      "description": "Title changed case event."
    },
    "UnassignedCaseEvent": {
      "title": "Unassigned event",
      "type": "object",
      "properties": {
        "previousAssigneeUserId": {
          "maxLength": 36,
          "minLength": 36,
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string",
          "description": "User ID that was unassigned"
        }
      },
      "description": "Unassigned case event."
    },
    "UnknownAssigneeError": {
      "title": "Unknown assignee error",
      "type": "object",
      "properties": {
        "unknownAssigneeEmail": {
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": "string",
          "description": "Email of the assignee that could not be found"
        }
      },
      "description": "Change assignee failed event."
    },
    "UserActor": {
      "title": "User actor",
      "type": "object",
      "properties": {
        "id": {
          "maxLength": 36,
          "minLength": 36,
          "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
          "type": "string",
          "description": "User ID"
        }
      },
      "description": "Information about the user who initiated the action."
    }
  }
}