Site24x7 · Schema

Outage

An outage record representing a period when a monitor was in a non-operational state.

MonitoringObservabilityUptimeInfrastructureCloudAPMSLAAlertsSynthetic MonitoringReal User MonitoringNetwork MonitoringServer MonitoringWebsite MonitoringOn-CallStatus Pages

Properties

Name Type Description
outage_id string Unique outage identifier
monitor_id string Identifier of the monitor that experienced the outage
display_name string Display name of the affected monitor
type string Monitor type
down_time string Timestamp when the outage started
up_time stringnull Timestamp when the outage ended (null if ongoing)
duration integer Outage duration in seconds
reason string Root cause or reason for the outage
is_maintenance boolean Whether this outage has been marked as a maintenance period
comments array Comments associated with this outage
View JSON Schema on GitHub

JSON Schema

outage.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/site24x7/main/json-schema/outage.json",
  "title": "Outage",
  "description": "An outage record representing a period when a monitor was in a non-operational state.",
  "type": "object",
  "properties": {
    "outage_id": {
      "type": "string",
      "description": "Unique outage identifier"
    },
    "monitor_id": {
      "type": "string",
      "description": "Identifier of the monitor that experienced the outage"
    },
    "display_name": {
      "type": "string",
      "description": "Display name of the affected monitor"
    },
    "type": {
      "type": "string",
      "description": "Monitor type"
    },
    "down_time": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the outage started"
    },
    "up_time": {
      "type": ["string", "null"],
      "format": "date-time",
      "description": "Timestamp when the outage ended (null if ongoing)"
    },
    "duration": {
      "type": "integer",
      "description": "Outage duration in seconds",
      "minimum": 0
    },
    "reason": {
      "type": "string",
      "description": "Root cause or reason for the outage"
    },
    "is_maintenance": {
      "type": "boolean",
      "description": "Whether this outage has been marked as a maintenance period"
    },
    "comments": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/Comment"
      },
      "description": "Comments associated with this outage"
    }
  },
  "required": ["monitor_id", "down_time"],
  "definitions": {
    "Comment": {
      "type": "object",
      "properties": {
        "comment_id": {
          "type": "string"
        },
        "comment": {
          "type": "string"
        },
        "created_by": {
          "type": "string"
        },
        "created_time": {
          "type": "string",
          "format": "date-time"
        }
      },
      "required": ["comment"]
    }
  }
}