{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/datadog/refs/heads/main/json-schema/datadog-monitors-monitor-thresholds-schema.json",
  "title": "MonitorThresholds",
  "description": "Alert threshold values for metric and service check monitors",
  "type": "object",
  "properties": {
    "critical": {
      "type": "number",
      "format": "double",
      "description": "The threshold value that triggers a CRITICAL alert notification",
      "example": 95.5
    },
    "critical_recovery": {
      "type": "number",
      "format": "double",
      "description": "The threshold value at which a CRITICAL alert recovers to OK state",
      "example": 95.5
    },
    "warning": {
      "type": "number",
      "format": "double",
      "description": "The threshold value that triggers a WARNING alert notification",
      "example": 95.5
    },
    "warning_recovery": {
      "type": "number",
      "format": "double",
      "description": "The threshold value at which a WARNING alert recovers to OK state",
      "example": 95.5
    },
    "ok": {
      "type": "number",
      "format": "double",
      "description": "The threshold for service check monitors indicating an OK state (used with service check monitors)",
      "example": 95.5
    },
    "unknown": {
      "type": "number",
      "format": "double",
      "description": "The threshold for service check monitors indicating an UNKNOWN state",
      "example": 95.5
    }
  }
}