{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/everyn-ai/json-schema/everyn-ai-page-alert-rule-response-schema.json",
  "title": "Page[AlertRuleResponse]",
  "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/Page_AlertRuleResponse_",
  "additionalProperties": false,
  "properties": {
    "data": {
      "items": {
        "$ref": "#/$defs/AlertRuleResponse"
      },
      "title": "Data",
      "type": "array"
    },
    "nextCursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Nextcursor"
    }
  },
  "required": [
    "data"
  ],
  "type": "object",
  "$defs": {
    "AlertRuleResponse": {
      "additionalProperties": false,
      "properties": {
        "channels": {
          "items": {
            "type": "string"
          },
          "title": "Channels",
          "type": "array"
        },
        "createdAt": {
          "description": "UTC RFC 3339 timestamp string.",
          "title": "Createdat",
          "type": "string"
        },
        "enabled": {
          "title": "Enabled",
          "type": "boolean"
        },
        "eventTypes": {
          "items": {
            "type": "string"
          },
          "title": "Eventtypes",
          "type": "array"
        },
        "id": {
          "minLength": 1,
          "title": "Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "orgId": {
          "minLength": 1,
          "title": "Orgid",
          "type": "string"
        },
        "recipients": {
          "items": {
            "type": "string"
          },
          "title": "Recipients",
          "type": "array"
        },
        "updatedAt": {
          "description": "UTC RFC 3339 timestamp string.",
          "title": "Updatedat",
          "type": "string"
        }
      },
      "required": [
        "id",
        "orgId",
        "name",
        "enabled",
        "eventTypes",
        "channels",
        "recipients",
        "createdAt",
        "updatedAt"
      ],
      "title": "AlertRuleResponse",
      "type": "object"
    }
  }
}