{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/eagle-eye-networks/main/json-schema/eagle-eye-networks-api-event-rules-fields-schema.json",
  "title": "ApiEventRulesFields",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eagle-eye-networks-automations-openapi.yml#/components/schemas/ApiEventRulesFields",
  "type": "object",
  "properties": {
    "actors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "actor": {
            "type": "string",
            "description": "The actor in the format `actorType:actorId`."
          },
          "name": {
            "type": "string",
            "description": "Name of the actor."
          }
        }
      }
    },
    "enabled": {
      "type": "array",
      "items": {
        "type": "boolean"
      }
    },
    "priority": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Priority"
      }
    }
  },
  "$defs": {
    "Priority": {
      "type": "integer",
      "description": "Defines the priority of the alert",
      "format": "int32",
      "minimum": 1,
      "maximum": 10
    }
  }
}