{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/honeycomb/main/json-schema/honeycomb-burn-alert-create-request-schema.json",
  "title": "BurnAlertCreateRequest",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/honeycomb-burn-alerts-api-openapi.yml#/components/schemas/BurnAlertCreateRequest",
  "type": "object",
  "required": [
    "slo_id",
    "alert_type",
    "recipients"
  ],
  "properties": {
    "slo_id": {
      "type": "string",
      "description": "The ID of the SLO to monitor."
    },
    "alert_type": {
      "type": "string",
      "enum": [
        "budget_rate",
        "exhaustion_time"
      ]
    },
    "exhaustion_minutes": {
      "type": "integer"
    },
    "budget_rate_window_minutes": {
      "type": "integer"
    },
    "budget_rate_decrease_percent": {
      "type": "number"
    },
    "recipients": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RecipientRef"
      }
    }
  },
  "$defs": {
    "RecipientRef": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ID of the recipient to notify."
        }
      }
    }
  }
}