{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/everyn-ai/json-schema/everyn-ai-alert-rule-create-request-body-schema.json",
  "title": "AlertRuleCreateRequestBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/everyn-ai-alert-rules-api-openapi.yml#/components/schemas/AlertRuleCreateRequestBody",
  "additionalProperties": false,
  "properties": {
    "channels": {
      "items": {
        "enum": [
          "email"
        ],
        "type": "string"
      },
      "title": "Channels",
      "type": "array"
    },
    "enabled": {
      "default": true,
      "title": "Enabled",
      "type": "boolean"
    },
    "eventTypes": {
      "items": {
        "enum": [
          "export.failed",
          "export.ready",
          "row.failed",
          "row.flagged",
          "run.canceled",
          "run.completed_with_flags",
          "run.failed",
          "run.succeeded"
        ],
        "type": "string"
      },
      "title": "Eventtypes",
      "type": "array"
    },
    "name": {
      "title": "Name",
      "type": "string"
    },
    "recipients": {
      "items": {
        "type": "string"
      },
      "title": "Recipients",
      "type": "array"
    }
  },
  "required": [
    "name",
    "eventTypes",
    "channels",
    "recipients"
  ],
  "type": "object"
}