{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/everyn-ai/json-schema/everyn-ai-alert-rule-update-request-body-schema.json",
  "title": "AlertRuleUpdateRequestBody",
  "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/AlertRuleUpdateRequestBody",
  "additionalProperties": false,
  "properties": {
    "channels": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "items": {
        "enum": [
          "email"
        ],
        "type": "string"
      },
      "title": "Channels"
    },
    "enabled": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Enabled"
    },
    "eventTypes": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "items": {
        "enum": [
          "export.failed",
          "export.ready",
          "row.failed",
          "row.flagged",
          "run.canceled",
          "run.completed_with_flags",
          "run.failed",
          "run.succeeded"
        ],
        "type": "string"
      },
      "title": "Eventtypes"
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name"
    },
    "recipients": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Recipients"
    }
  },
  "type": "object"
}