{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BlackoutCreateRequest",
  "title": "BlackoutCreateRequest",
  "type": "object",
  "description": "Request body for creating a new blackout.",
  "required": [
    "blackoutName",
    "schedule",
    "targets"
  ],
  "properties": {
    "blackoutName": {
      "type": "string",
      "description": "Display name for the blackout.",
      "example": "example_value"
    },
    "description": {
      "type": "string",
      "description": "Description of the blackout purpose.",
      "example": "A sample description."
    },
    "reason": {
      "type": "string",
      "description": "Reason for the blackout.",
      "example": "example_value"
    },
    "schedule": {
      "$ref": "#/components/schemas/BlackoutSchedule"
    },
    "targets": {
      "type": "array",
      "description": "List of targets to include in the blackout.",
      "items": {
        "$ref": "#/components/schemas/BlackoutTarget"
      },
      "example": []
    }
  }
}