{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/anomalyarmor-ai/json-schema/anomalyarmor-ai-create-blackout-request-schema.json",
  "title": "CreateBlackoutRequest",
  "description": "Request schema for creating a blackout window.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/anomalyarmor-ai-alert-blackouts-api-openapi.yml#/components/schemas/CreateBlackoutRequest",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "title": "Name"
    },
    "start_time": {
      "type": "string",
      "title": "Start Time",
      "description": "ISO 8601 datetime string"
    },
    "end_time": {
      "type": "string",
      "title": "End Time",
      "description": "ISO 8601 datetime string"
    },
    "recurrence": {
      "type": "string",
      "title": "Recurrence",
      "description": "'none' or 'yearly'",
      "default": "none"
    },
    "is_active": {
      "type": "boolean",
      "title": "Is Active",
      "default": true
    }
  },
  "type": "object",
  "required": [
    "name",
    "start_time",
    "end_time"
  ]
}