{
  "$defs": {
    "account": {
      "description": "The account a remote desktop session signs in with on the target, when the gateway knows it.",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "actor": {
      "description": "Who caused the event, in one shape for every event. Events written before release 1.136 have none.",
      "properties": {
        "id": {
          "description": "The id of the user, API key or device, where known.",
          "format": "uuid",
          "type": "string"
        },
        "name": {
          "description": "The user's email address, the API key's name or the device's name, where known.",
          "type": "string"
        },
        "type": {
          "description": "user, partner_user, api_key, partner_api_key, device, anonymous (a browser that started a portal login and is not known yet) or system (the server itself).",
          "examples": [
            "anonymous",
            "api_key",
            "device",
            "partner_api_key",
            "partner_user",
            "system",
            "user"
          ],
          "type": "string"
        }
      },
      "type": "object",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "after_grace": {
      "description": "Whether a new host has a randomized hardware address and was held back until it had stayed on the network for the grace window; it was first seen that long before the event. Sent only when true.",
      "type": "boolean",
      "x-since": "1.2.0",
      "x-stability": "stable"
    },
    "api_key": {
      "description": "The id of the API key of the session.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "approver_email": {
      "description": "The email address of who decided: on a just-in-time request, or on a client held back for approval.",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "asn": {
      "description": "The number of the autonomous system the address belongs to.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "asn_organization": {
      "description": "The name of the organisation the autonomous system in asn belongs to.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "auth_type": {
      "description": "How the session was authenticated: the type of the tenant's identity provider for a user, client for a device, api_key for an API key; on portal events tunnel (a device reaching a portal through the tunnel) or web_app_session (a signed-in portal user).",
      "examples": [
        "api_key",
        "azure_ad_oidc",
        "bare_id",
        "client",
        "gmail",
        "google_identity_oidc",
        "idee",
        "keycloak",
        "msft_adfs",
        "oidc_generic",
        "okta",
        "tunnel",
        "web_app_session"
      ],
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "bucket": {
      "description": "The bucket a remote desktop session's recording was uploaded to.",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "byte_count": {
      "description": "The number of bytes a packet capture leg captured.",
      "type": "integer",
      "x-since": "1.1.0",
      "x-stability": "stable"
    },
    "capture_id": {
      "description": "The id of a packet capture; the same on every event of the capture.",
      "format": "uuid",
      "type": "string",
      "x-since": "1.1.0",
      "x-stability": "stable"
    },
    "changed_fields": {
      "description": "On an update of an event forwarder: the names of the settings that changed. Secrets are named, never shown.",
      "items": {
        "type": "string"
      },
      "type": "array",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "city": {
      "description": "The city the address or the device was located in.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "client": {
      "description": "The id of the device of the session the event was written in, or of the device the event is about. client_name names it.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "client_id": {
      "description": "The id of the asset an event written in an administrator's session is about; client_name names it.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "client_ids": {
      "description": "The ids of every device a packet capture ran on.",
      "items": {
        "format": "uuid",
        "type": "string"
      },
      "type": "array",
      "x-since": "1.2.0",
      "x-stability": "stable"
    },
    "client_ip": {
      "anyOf": [
        {
          "format": "ipv4"
        },
        {
          "format": "ipv6"
        }
      ],
      "description": "The address a blocked login or a blocked session came from.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "client_name": {
      "description": "The name of the device named by client or client_id.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "client_version": {
      "description": "The version of the agent on the device.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "clients": {
      "deprecated": true,
      "description": "The ids of every device a packet capture ran on, comma-separated. Replaced by client_ids, which is an array.",
      "type": "string",
      "x-deprecated-since": "1.2.0",
      "x-since": "1.1.0",
      "x-stability": "stable"
    },
    "connections": {
      "description": "The number of connections to dst_ip during a just-in-time access.",
      "type": "integer",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "country": {
      "description": "The ISO 3166-1 alpha-2 code of the country the address or the device was located in. On geo_blocked the country that was refused.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "created_at": {
      "description": "When the event happened: RFC 3339, UTC, with milliseconds (2026-11-13T08:00:00.000Z).",
      "format": "date-time",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "decision_note": {
      "description": "The note the approver gave with the decision on a just-in-time request.",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "desktop_session_id": {
      "description": "The id of a remote desktop session; the same on its start, its end and every event of its recording.",
      "format": "uuid",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "destination": {
      "description": "The destination an Experience Check measures the way to.",
      "type": "string",
      "x-since": "1.1.0",
      "x-stability": "stable"
    },
    "destination_id": {
      "description": "The id of the destination just-in-time access was requested to.",
      "format": "uuid",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "destination_name": {
      "description": "The name of the destination just-in-time access was requested to.",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "destination_type": {
      "description": "The kind of destination just-in-time access was requested to.",
      "examples": [
        "asset",
        "client",
        "machine_group",
        "subnet",
        "virtual_asset",
        "web_app"
      ],
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "detail": {
      "description": "What a recovered Firewall Sync reports, as text.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "device": {
      "description": "On portal and remote desktop events: the name of the device the user came from, when the portal was reached through the tunnel.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "device_ha_mode": {
      "description": "The perimeter firewall's high-availability mode.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "device_hostname": {
      "description": "The perimeter firewall's host name, as it reported it.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "device_id": {
      "description": "On portal and remote desktop events: the id of the device named in device.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "device_model": {
      "description": "The perimeter firewall's model.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "device_serial": {
      "description": "The perimeter firewall's serial number.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "device_vdom": {
      "description": "The virtual domain of the perimeter firewall the API key belongs to.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "device_version": {
      "description": "The perimeter firewall's firmware version.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "devices": {
      "description": "The number of devices that currently run a test of the Application Monitor.",
      "type": "integer",
      "x-since": "1.2.0",
      "x-stability": "stable"
    },
    "devices_off": {
      "description": "The number of those devices for which the application does not answer well.",
      "type": "integer",
      "x-since": "1.2.0",
      "x-stability": "stable"
    },
    "display_name": {
      "description": "The name of a host found by Network Discovery, as far as one was found; empty otherwise.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "dst_id": {
      "description": "The id of the asset behind the address in dst_ip; the nil UUID when it is no asset.",
      "format": "uuid",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "dst_ip": {
      "anyOf": [
        {
          "format": "ipv4"
        },
        {
          "format": "ipv6"
        }
      ],
      "description": "The address reached during just-in-time access.",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "duration_seconds": {
      "description": "A duration in seconds: how long a remote desktop session or a just-in-time access lasted, or how long a packet capture or an Experience Check was asked to run. The event type's entry says which.",
      "type": "integer",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "duration_secs": {
      "deprecated": true,
      "description": "How long a packet capture or an Experience Check was asked to run, in seconds. Replaced by duration_seconds.",
      "type": "integer",
      "x-deprecated-since": "1.2.0",
      "x-since": "1.1.0",
      "x-stability": "stable"
    },
    "effective_tenant": {
      "description": "The id of the tenant a partner session is managing.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "email": {
      "deprecated": true,
      "description": "The email address of the user who reported a problem from their device. Replaced by reporter_email.",
      "type": "string",
      "x-deprecated-since": "1.2.0",
      "x-since": "1.1.0",
      "x-stability": "preview"
    },
    "enabled": {
      "description": "On a change to an event forwarder: whether it is enabled after the change.",
      "type": "boolean",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "end_reason": {
      "description": "Why a just-in-time request or access ended.",
      "examples": [
        "cancelled",
        "destination_removed",
        "ended_now",
        "expired",
        "policy_changed",
        "policy_removed",
        "undecided"
      ],
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "ended_by_email": {
      "description": "The email address of who ended or withdrew a just-in-time access. Left out when the controller did.",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "ended_by_requester": {
      "description": "Whether the person in ended_by_email is the technician who requested the access. Present whenever ended_by_email is.",
      "type": "boolean",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "error": {
      "description": "The error behind the event, as text. For people; its wording may change.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "error_display": {
      "description": "The error of a failed login in words for the user who saw it.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "event_class": {
      "description": "The class of the event, the part of the event code before the dot.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "event_id": {
      "description": "The event's id in the event log: increasing, unique per event. 0 for a forwarder's own events (heartbeat, test), which are not in the event log. Delivery is at least once; deduplicate on non-zero ids.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "event_type": {
      "description": "The type of the event within its class, the part of the event code after the dot.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "extension_approver_email": {
      "description": "The email address of who decided on an extension of a just-in-time access.",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "extension_decision_note": {
      "description": "The note the approver gave with the decision on an extension.",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "extension_ends_at": {
      "description": "The end an extension of a just-in-time access asks for.",
      "format": "date-time",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "extension_granted_until": {
      "description": "The end an approver granted for an extension, which may be sooner than extension_ends_at.",
      "format": "date-time",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "extension_reason": {
      "description": "The reason the technician gave for extending a just-in-time access.",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "extension_withdrawn_by_email": {
      "description": "The email address of who withdrew an extension before it was decided.",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "extensions": {
      "description": "How many extensions a just-in-time request has had, counting the current one once it is granted.",
      "type": "integer",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "fail_open": {
      "description": "Whether an asset's isolation lifts the host firewall while the agent is stopped (true) or keeps it in place (false).",
      "type": "boolean",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "field": {
      "description": "The name of the setting or property that changed; old_value and new_value hold its values.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "filter": {
      "description": "The capture filter of a packet capture; empty when there is none.",
      "type": "string",
      "x-since": "1.1.0",
      "x-stability": "stable"
    },
    "first_access": {
      "description": "The first connection to dst_ip during a just-in-time access.",
      "format": "date-time",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "gateway_asset_id": {
      "description": "The id of the gateway asset a connection during just-in-time access went through. The same as client on that event.",
      "format": "uuid",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "host": {
      "description": "The id of the machine the agent of the device in client runs on. Several devices of one machine share it.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "hosts_disappeared": {
      "description": "The number of hosts a Network Discovery scan no longer found.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "hosts_returned": {
      "description": "The number of hosts reported as disappeared that a Network Discovery scan found again.",
      "type": "integer",
      "x-since": "1.2.0",
      "x-stability": "stable"
    },
    "initial_scan": {
      "description": "Whether a new host was found by the first full Network Discovery scan of an interface, which reports every host as new.",
      "type": "boolean",
      "x-since": "1.1.0",
      "x-stability": "stable"
    },
    "interface_name": {
      "description": "A network interface of the device in client: the one a Network Discovery scan ran on or a watched device is reached through; for a packet capture the interface a leg captured on, or on the request every interface asked for, comma-separated.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "interval_seconds": {
      "description": "The interval, in seconds, in which an event forwarder sends heartbeats.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "ip": {
      "anyOf": [
        {
          "format": "ipv4"
        },
        {
          "format": "ipv6"
        }
      ],
      "description": "The IP address of a host found on the network by Network Discovery.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "jit_request_id": {
      "description": "The id of a just-in-time access request; the same on every event of the request.",
      "format": "uuid",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "last_access": {
      "description": "The last connection to dst_ip during a just-in-time access.",
      "format": "date-time",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "last_event_id": {
      "description": "The id of the last event the forwarder has delivered. Standing still while nothing else arrives means the tenant is quiet, not that events are lost.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "leg_id": {
      "description": "The id of one leg: one device and interface of a packet capture, or one device of an Experience Check.",
      "format": "uuid",
      "type": "string",
      "x-since": "1.1.0",
      "x-stability": "stable"
    },
    "location": {
      "description": "Where a recording was when it was opened: gateway or bucket.",
      "examples": [
        "bucket",
        "gateway"
      ],
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "login_ip": {
      "description": "The address a login came from: the user's browser at the identity provider's callback, or a tunnel peer's public address. On session_ip_mismatch the address the session was started from.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "mac": {
      "description": "The hardware (MAC) address of a host found by Network Discovery.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "management_url": {
      "description": "The address of the perimeter firewall's management interface.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "manufacturer": {
      "description": "The manufacturer the hardware address of a host found by Network Discovery belongs to; empty when unknown.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "message": {
      "description": "The event as one line of text. For people; its wording may change, do not parse it.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "new_hosts": {
      "description": "The number of new hosts a Network Discovery scan found.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "new_role": {
      "description": "A user's role after it was changed.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "new_rule_description": {
      "description": "The rule_description of an isolation rule after it was changed.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "new_rule_remote_address": {
      "description": "The rule_remote_address of an isolation rule after it was changed.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "new_service_definition_id": {
      "description": "The service_definition_id of an isolation rule after it was changed.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "new_services": {
      "description": "The number of newly open ports a Network Discovery scan found.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "new_value": {
      "description": "The value of the setting or property named in field after the change, as text.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "notification_id": {
      "description": "The id of the notification; the same on its raise and its clear.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "object_id": {
      "description": "The id of the object the event is about; object_type says what kind of object.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "object_key": {
      "description": "The key of a remote desktop session's recording in the bucket named in bucket.",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "object_name": {
      "description": "The name of the object the event is about; object_type says what kind of object.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "object_type": {
      "description": "The kind of object the event is about, for example policy, user_group, headless_client, web_app, event_forwarder. A release may add kinds.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "objects_left": {
      "description": "The number of objects a Firewall Sync run left on the perimeter firewall because something there still refers to them.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "occurrence": {
      "description": "For a recurring just-in-time access: which occurrence the connections fell in, counted from 1.",
      "type": "integer",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "old_remote_addr": {
      "description": "A device's public IP address before it changed; remote_address is the new one.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "old_role": {
      "description": "A user's role before it was changed.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "old_rule_description": {
      "description": "The rule_description of an isolation rule before it was changed.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "old_rule_remote_address": {
      "description": "The rule_remote_address of an isolation rule before it was changed.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "old_service_definition_id": {
      "description": "The service_definition_id of an isolation rule before it was changed.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "old_value": {
      "description": "The value of the setting or property named in field before the change, as text.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "open_ports": {
      "description": "The TCP ports Network Discovery found open on a new host.",
      "items": {
        "type": "integer"
      },
      "type": "array",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "os": {
      "description": "The operating system of the device.",
      "properties": {
        "name": {
          "description": "The system family: windows, darwin (macOS), linux, ios, android.",
          "examples": [
            "android",
            "darwin",
            "ios",
            "linux",
            "windows"
          ],
          "type": "string"
        },
        "platform": {
          "description": "The product or distribution.",
          "type": "string"
        },
        "version": {
          "description": "The version of the product or distribution.",
          "type": "string"
        }
      },
      "type": "object",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "packet_count": {
      "description": "The number of packets a packet capture leg captured, or on a download the number in the file.",
      "type": "integer",
      "x-since": "1.1.0",
      "x-stability": "stable"
    },
    "partner": {
      "description": "The id of the partner, on events of a partner session.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "payload_included": {
      "description": "Whether a packet capture took whole packets rather than headers only.",
      "type": "boolean",
      "x-since": "1.1.0",
      "x-stability": "stable"
    },
    "policy_id": {
      "description": "The id of a policy: the one just-in-time access was requested through, or the isolation policy an isolation rule belongs to.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "policy_name": {
      "description": "The name of the policy just-in-time access was requested through.",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "port": {
      "description": "A TCP or UDP port: reached during just-in-time access, or found open or closed on a host by Network Discovery.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "previous_window_end": {
      "description": "The end of a just-in-time access window before its extension.",
      "format": "date-time",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "protocol": {
      "description": "The protocol: rdp, ssh or vnc for a remote desktop session; tcp, udp or icmp for a connection during just-in-time access.",
      "examples": [
        "icmp",
        "rdp",
        "ssh",
        "tcp",
        "udp",
        "vnc"
      ],
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "reason": {
      "description": "Why something was refused, ended, deleted or cleared, or the reason a person gave for a request. What it holds depends on the event: see the event's entry.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "recording": {
      "description": "The file name of a remote desktop session's recording.",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "recurrence": {
      "description": "The hours of a recurring just-in-time request; window_start and window_end then span the whole series.",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "remote_address": {
      "description": "The IP address the request came from, without a port, or \"unknown\". Left out when the event has none.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "reporter_email": {
      "description": "The email address of the user who reported a problem from their device, which starts an Experience Check.",
      "type": "string",
      "x-since": "1.2.0",
      "x-stability": "stable"
    },
    "requester": {
      "description": "The id of the technician who requested just-in-time access.",
      "format": "uuid",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "requester_email": {
      "description": "The email address of the technician who requested just-in-time access.",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "role": {
      "description": "The role or roles of the session, as the controller holds them. Not on device sessions.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "route": {
      "description": "The path prefix of the portal application the event is about.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "rule_description": {
      "description": "The description of an isolation rule.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "rule_remote_address": {
      "description": "The address or network an isolation rule allows.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "rules_applied": {
      "description": "The number of rules a Firewall Sync run applied to the perimeter firewall.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "rules_failed": {
      "description": "The number of rules a Firewall Sync run could not apply.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "rules_skipped": {
      "description": "The number of rules a Firewall Sync run skipped.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "sample_count": {
      "description": "The number of samples a device measured in an Experience Check.",
      "type": "integer",
      "x-since": "1.1.0",
      "x-stability": "stable"
    },
    "samples_expected": {
      "description": "The number of usage samples the measuring window should hold.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "samples_over": {
      "description": "The number of usage samples in the measuring window that were above threshold_percent.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "schema_version": {
      "description": "The version of the event schema the event was sent under, a semantic version (1.2.0). It names the schema to read the event with: https://docs.xplicittrust.com/events/schema/<version>/event.schema.json.",
      "type": "string",
      "x-since": "1.2.0",
      "x-stability": "stable"
    },
    "service_definition_id": {
      "description": "The id of the service an isolation rule allows.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "services_closed": {
      "description": "The number of ports a Network Discovery scan no longer found open.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "session_id": {
      "description": "The id of the session. Left out when the event was written outside a session.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "session_type": {
      "description": "The kind of session the event was written in: command_console (an administrator, or the server itself), partner_portal (a partner user), client (a user's device), asset (a device without a user), web_app (a portal user or remote desktop in the browser, and a gateway's reports about recordings), jit_self_service (a user without administrator rights in the console). Empty on heartbeats.",
      "examples": [
        "",
        "asset",
        "client",
        "command_console",
        "jit_self_service",
        "partner_portal",
        "web_app"
      ],
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "severity": {
      "description": "The severity of a notification: 0 for a failure, 1 for a warning.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "sha256": {
      "description": "The SHA-256 of a remote desktop session's recording, in hex.",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "size_bytes": {
      "description": "The size of a remote desktop session's recording, in bytes.",
      "type": "integer",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "source": {
      "description": "Who started an Experience Check: operator (an administrator in the console) or user (Report an Issue on the device).",
      "examples": [
        "operator",
        "user"
      ],
      "type": "string",
      "x-since": "1.1.0",
      "x-stability": "stable"
    },
    "src_machine_id": {
      "description": "The id of the technician's device that reached a destination during just-in-time access.",
      "format": "uuid",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "ssh_certificate_id": {
      "description": "The key ID of the SSH certificate the gateway signed in with; the target's sshd logs it when it accepts the certificate.",
      "type": "string",
      "x-since": "1.1.0",
      "x-stability": "stable"
    },
    "stop_reason": {
      "description": "Why a leg of a packet capture or of an Experience Check ended: duration, packets or bytes (a bound was reached), manual, error, or unsupported (the device cannot capture).",
      "examples": [
        "bytes",
        "duration",
        "error",
        "manual",
        "packets",
        "unsupported"
      ],
      "type": "string",
      "x-since": "1.1.0",
      "x-stability": "stable"
    },
    "target": {
      "description": "The host and port a remote desktop session connects to.",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "tenant_name": {
      "description": "The name of the tenant the event belongs to.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "test": {
      "description": "true on the event that Send Test Event delivers.",
      "type": "boolean",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "test_reason": {
      "description": "What is off about a test of the Application Monitor: down (the application does not answer) or slow (it answers slower than usual). Empty when nothing is off.",
      "examples": [
        "down",
        "slow"
      ],
      "type": "string",
      "x-since": "1.2.0",
      "x-stability": "stable"
    },
    "test_scope": {
      "description": "Where a test of the Application Monitor is off: application (the asset in front of it gets no good answer either), way (that asset reaches it, most devices do not), unclear (most devices are off and the asset sends no results), site (most devices of one site) or devices (single devices). Empty when nothing is off.",
      "examples": [
        "application",
        "devices",
        "site",
        "unclear",
        "way"
      ],
      "type": "string",
      "x-since": "1.2.0",
      "x-stability": "stable"
    },
    "test_state": {
      "description": "The state a test of the Application Monitor is in: ok (normal), warn (worth a look), bad (the poor state) or unknown (no verdict yet).",
      "examples": [
        "bad",
        "ok",
        "unknown",
        "warn"
      ],
      "type": "string",
      "x-since": "1.2.0",
      "x-stability": "stable"
    },
    "threshold_percent": {
      "description": "The CPU or memory usage, in percent, a device stayed above.",
      "type": "integer",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "trace_id": {
      "description": "The id of an Experience Check; the same on every event of the check.",
      "format": "uuid",
      "type": "string",
      "x-since": "1.1.0",
      "x-stability": "stable"
    },
    "trace_role": {
      "description": "The part a device has in an Experience Check: device (the user's device) or gateway (the gateway in front of the destination).",
      "examples": [
        "device",
        "gateway"
      ],
      "type": "string",
      "x-since": "1.1.0",
      "x-stability": "stable"
    },
    "transcript_sha256": {
      "description": "The SHA-256 of an SSH session's transcript, in hex.",
      "type": "string",
      "x-since": "1.1.0",
      "x-stability": "stable"
    },
    "transcript_size_bytes": {
      "description": "The size of an SSH session's transcript, in bytes.",
      "type": "integer",
      "x-since": "1.1.0",
      "x-stability": "stable"
    },
    "user": {
      "description": "The id of the user of the session.",
      "format": "uuid",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "user_email": {
      "description": "The email address of the user of the session, or of the account a login was tried for.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "user_id": {
      "description": "The id of the user of a client that was approved or denied.",
      "format": "uuid",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "user_name": {
      "description": "On portal and remote desktop events: the display name of the user, where the tenant knows it.",
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "vendor": {
      "description": "The vendor of the perimeter firewall that Firewall Sync manages.",
      "examples": [
        "fortinet"
      ],
      "type": "string",
      "x-since": "0.1.0",
      "x-stability": "stable"
    },
    "watch_id": {
      "description": "The id of the Network Discovery reachability watch on a host.",
      "format": "uuid",
      "type": "string",
      "x-since": "1.1.0",
      "x-stability": "stable"
    },
    "web_apps": {
      "description": "The names of the portals a user signed out of at once, comma-separated.",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "window_end": {
      "description": "The end of the just-in-time access window in force after the step the event records.",
      "format": "date-time",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    },
    "window_start": {
      "description": "The start of a just-in-time access window: the approved one, or the requested one before a decision.",
      "format": "date-time",
      "type": "string",
      "x-since": "1.0.0",
      "x-stability": "stable"
    }
  },
  "$id": "https://docs.xplicittrust.com/events/schema/1.2.0/event.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "One forwarded event: the JSON body of a syslog message, and each element of the events array of a webhook delivery. Every field is in $defs with its type, the version it appeared in (x-since) and whether the compatibility promise covers it (x-stability). Every event type is one entry of allOf: the fields it has (properties) and always has (required). A receiver has to ignore fields and accept event types it does not know.",
  "properties": {
    "xplicittrust": {
      "additionalProperties": true,
      "allOf": [
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "access_control"
              },
              "event_type": {
                "const": "geo_blocked"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A login was blocked because its country is not among the allowed ones.",
            "properties": {
              "client_ip": {},
              "country": {
                "description": "The country that was refused."
              }
            },
            "required": [
              "client_ip",
              "country"
            ],
            "title": "access_control.geo_blocked",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "access_control"
              },
              "event_type": {
                "const": "ip_blocked"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A login was blocked because its address is not in the management allowlist.",
            "properties": {
              "client_ip": {},
              "reason": {
                "description": "Why the address was blocked, as text. Its wording may change."
              }
            },
            "required": [
              "client_ip",
              "reason"
            ],
            "title": "access_control.ip_blocked",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "access_control"
              },
              "event_type": {
                "const": "session_ip_mismatch"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A session was blocked because it showed up from another address than it was started from.",
            "properties": {
              "client_ip": {
                "description": "The address the session showed up from."
              },
              "login_ip": {
                "description": "The address the session was started from."
              }
            },
            "required": [
              "client_ip",
              "login_ip"
            ],
            "title": "access_control.session_ip_mismatch",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "app_test"
              },
              "event_type": {
                "const": "app_test_degraded"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A test of the Application Monitor left the normal state, or what is off about it changed.",
            "properties": {
              "devices": {},
              "devices_off": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "test_reason": {},
              "test_scope": {},
              "test_state": {}
            },
            "required": [
              "devices",
              "devices_off",
              "object_id",
              "object_name",
              "object_type",
              "test_state"
            ],
            "title": "app_test.app_test_degraded",
            "x-since": "1.2.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "app_test"
              },
              "event_type": {
                "const": "app_test_recovered"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A test of the Application Monitor is back to normal.",
            "properties": {
              "devices": {},
              "devices_off": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "test_reason": {},
              "test_scope": {},
              "test_state": {}
            },
            "required": [
              "devices",
              "devices_off",
              "object_id",
              "object_name",
              "object_type",
              "test_state"
            ],
            "title": "app_test.app_test_recovered",
            "x-since": "1.2.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "failed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A login failed. user_email is the account that was tried.",
            "properties": {
              "error": {
                "description": "Why the login failed, as the controller or the identity provider reported it."
              },
              "error_display": {},
              "user_email": {
                "description": "The account the login was tried for."
              }
            },
            "required": [
              "error",
              "error_display",
              "user_email"
            ],
            "title": "authentication.failed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "failed_refresh"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The refresh of a session failed.",
            "properties": {
              "error": {
                "description": "Why the refresh failed."
              },
              "error_display": {},
              "user_email": {}
            },
            "required": [
              "error",
              "error_display",
              "user_email"
            ],
            "title": "authentication.failed_refresh",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "logged_in"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A user, a device or an API key authenticated.",
            "properties": {},
            "required": [],
            "title": "authentication.logged_in",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "logged_out"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A user or a device logged out.",
            "properties": {},
            "required": [],
            "title": "authentication.logged_out",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "pre_auth_created"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A login was started: the pre-authentication session exists, the user has not been to the identity provider yet.",
            "properties": {
              "user_email": {}
            },
            "required": [
              "user_email"
            ],
            "title": "authentication.pre_auth_created",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "session_refresh"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A session was refreshed.",
            "properties": {},
            "required": [],
            "title": "authentication.session_refresh",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "tenant_entered"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A partner user started to manage the tenant.",
            "properties": {
              "user_email": {}
            },
            "required": [
              "user_email"
            ],
            "title": "authentication.tenant_entered",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "tenant_left"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A partner user stopped managing the tenant.",
            "properties": {
              "user_email": {}
            },
            "required": [
              "user_email"
            ],
            "title": "authentication.tenant_left",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "web_app_desktop_recording_completed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A session's recording is complete on the gateway.",
            "properties": {
              "desktop_session_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "recording": {},
              "sha256": {},
              "size_bytes": {},
              "transcript_sha256": {},
              "transcript_size_bytes": {}
            },
            "required": [
              "desktop_session_id",
              "object_id",
              "object_name",
              "object_type",
              "recording"
            ],
            "title": "authentication.web_app_desktop_recording_completed",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "web_app_desktop_recording_deleted"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The gateway removed a recording: reason is age, size or missing.",
            "properties": {
              "desktop_session_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "reason": {
                "description": "age (older than the retention), size (the gateway's space for recordings was full) or missing (the file was gone)."
              },
              "recording": {},
              "sha256": {},
              "size_bytes": {}
            },
            "required": [
              "desktop_session_id",
              "object_id",
              "object_name",
              "object_type",
              "recording"
            ],
            "title": "authentication.web_app_desktop_recording_deleted",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "web_app_desktop_recording_upload_failed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "An upload failed and is tried again.",
            "properties": {
              "bucket": {},
              "desktop_session_id": {},
              "error": {
                "description": "Why the upload failed."
              },
              "object_id": {},
              "object_key": {},
              "object_name": {},
              "object_type": {},
              "recording": {},
              "sha256": {},
              "size_bytes": {}
            },
            "required": [
              "desktop_session_id",
              "object_id",
              "object_name",
              "object_type",
              "recording"
            ],
            "title": "authentication.web_app_desktop_recording_upload_failed",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "web_app_desktop_recording_uploaded"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The gateway uploaded the recording to the tenant's bucket.",
            "properties": {
              "bucket": {},
              "desktop_session_id": {},
              "object_id": {},
              "object_key": {},
              "object_name": {},
              "object_type": {},
              "recording": {},
              "sha256": {},
              "size_bytes": {},
              "transcript_sha256": {},
              "transcript_size_bytes": {}
            },
            "required": [
              "desktop_session_id",
              "object_id",
              "object_name",
              "object_type",
              "recording"
            ],
            "title": "authentication.web_app_desktop_recording_uploaded",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "web_app_desktop_recording_viewed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "An administrator opened a recording, or its transcript, for playback.",
            "properties": {
              "desktop_session_id": {},
              "location": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "recording": {}
            },
            "required": [
              "desktop_session_id",
              "location",
              "object_id",
              "object_name",
              "object_type",
              "recording"
            ],
            "title": "authentication.web_app_desktop_recording_viewed",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "web_app_desktop_session_end_requested"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "An administrator ended a running remote desktop session; the gateway's ended event follows. user_email, user_name and device say whose session it was.",
            "properties": {
              "account": {},
              "desktop_session_id": {},
              "device": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "protocol": {
                "description": "rdp, ssh or vnc."
              },
              "route": {},
              "target": {},
              "user_name": {}
            },
            "required": [
              "desktop_session_id",
              "object_id",
              "object_name",
              "object_type",
              "protocol",
              "route",
              "target"
            ],
            "title": "authentication.web_app_desktop_session_end_requested",
            "x-since": "1.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "web_app_desktop_session_ended"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A remote desktop session ended.",
            "properties": {
              "account": {},
              "desktop_session_id": {},
              "device": {},
              "device_id": {},
              "duration_seconds": {
                "description": "How long the session lasted."
              },
              "error": {
                "description": "On a failed session: why it could not be opened."
              },
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "protocol": {
                "description": "rdp, ssh or vnc."
              },
              "reason": {
                "description": "How the session ended: closed (by the browser or the target), access_revoked, idle_timeout, failed (it could not be opened) or ended_by_admin. A release may add values."
              },
              "recording": {},
              "route": {},
              "ssh_certificate_id": {},
              "target": {},
              "user_name": {}
            },
            "required": [
              "desktop_session_id",
              "duration_seconds",
              "object_id",
              "object_name",
              "object_type",
              "protocol",
              "route",
              "target"
            ],
            "title": "authentication.web_app_desktop_session_ended",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "web_app_desktop_session_started"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A remote desktop session opened in the browser.",
            "properties": {
              "account": {},
              "desktop_session_id": {},
              "device": {},
              "device_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "protocol": {
                "description": "rdp, ssh or vnc."
              },
              "recording": {},
              "route": {},
              "ssh_certificate_id": {},
              "target": {},
              "user_name": {}
            },
            "required": [
              "desktop_session_id",
              "object_id",
              "object_name",
              "object_type",
              "protocol",
              "route",
              "target"
            ],
            "title": "authentication.web_app_desktop_session_started",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "web_app_desktop_session_watched"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "An administrator opened the live view of a running remote desktop session.",
            "properties": {
              "account": {},
              "desktop_session_id": {},
              "device": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "protocol": {
                "description": "rdp, ssh or vnc."
              },
              "route": {},
              "target": {},
              "user_name": {}
            },
            "required": [
              "desktop_session_id",
              "object_id",
              "object_name",
              "object_type",
              "protocol",
              "route",
              "target"
            ],
            "title": "authentication.web_app_desktop_session_watched",
            "x-since": "1.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "web_app_login"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A user logged in to a portal.",
            "properties": {
              "object_name": {},
              "object_type": {},
              "route": {},
              "user_email": {}
            },
            "required": [
              "object_name",
              "object_type",
              "route",
              "user_email"
            ],
            "title": "authentication.web_app_login",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "web_app_login_denied"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A portal login was refused after the identity provider accepted it.",
            "properties": {
              "object_name": {},
              "object_type": {},
              "reason": {
                "description": "Why the login was refused: not_in_group (the user is in none of the portal's groups) or no_policy (no policy grants the user the portal). A release may add values."
              },
              "route": {},
              "user_email": {}
            },
            "required": [
              "object_name",
              "object_type",
              "reason",
              "route",
              "user_email"
            ],
            "title": "authentication.web_app_login_denied",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "web_app_login_started"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A browser started a login to a portal. Who it is is not known yet; remote_address is unknown.",
            "properties": {
              "object_name": {},
              "object_type": {},
              "route": {}
            },
            "required": [
              "object_name",
              "object_type",
              "route"
            ],
            "title": "authentication.web_app_login_started",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "web_app_sign_out_all"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "An administrator signed everyone out of a portal.",
            "properties": {
              "object_id": {},
              "object_name": {},
              "object_type": {}
            },
            "required": [
              "object_id",
              "object_name",
              "object_type"
            ],
            "title": "authentication.web_app_sign_out_all",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "web_app_tunnel_access"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A device reached a portal through the tunnel, which needs no login. Written for a device's first request to a portal, and again after eight hours.",
            "properties": {
              "device": {},
              "device_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "route": {},
              "user_name": {}
            },
            "required": [
              "device",
              "device_id",
              "object_id",
              "object_name",
              "object_type",
              "route"
            ],
            "title": "authentication.web_app_tunnel_access",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authentication"
              },
              "event_type": {
                "const": "web_app_user_sign_out"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A user signed themselves out of one portal (object_id, object_name) or of every portal (object_name is \"all portals\", web_apps lists them).",
            "properties": {
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "web_apps": {}
            },
            "required": [
              "object_name",
              "object_type"
            ],
            "title": "authentication.web_app_user_sign_out",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "authorization"
              },
              "event_type": {
                "const": "access_denied"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A request was refused: the session may not do what it asked for.",
            "properties": {
              "reason": {
                "description": "Why the request was refused, as text. Its wording may change."
              }
            },
            "required": [
              "reason"
            ],
            "title": "authorization.access_denied",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "client_approval"
              },
              "event_type": {
                "const": "client_approved"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A held-back client was approved and is enabled.",
            "properties": {
              "approver_email": {},
              "client": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "user_id": {}
            },
            "required": [
              "approver_email",
              "client",
              "object_id",
              "object_name",
              "object_type",
              "user_id"
            ],
            "title": "client_approval.client_approved",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "client_approval"
              },
              "event_type": {
                "const": "client_denied"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A held-back client was denied and stays disabled.",
            "properties": {
              "approver_email": {},
              "client": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "user_id": {}
            },
            "required": [
              "approver_email",
              "client",
              "object_id",
              "object_name",
              "object_type",
              "user_id"
            ],
            "title": "client_approval.client_denied",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "client_compliance"
              },
              "event_type": {
                "const": "client_version_changed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The version of the agent on the device changed.",
            "properties": {
              "client": {},
              "field": {
                "description": "The property of the device that changed."
              },
              "new_value": {},
              "old_value": {}
            },
            "required": [
              "client",
              "field",
              "new_value",
              "old_value"
            ],
            "title": "client_compliance.client_version_changed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "client_compliance"
              },
              "event_type": {
                "const": "device_certificate_changed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The verification of a Windows machine's device certificate changed: none, verified (<subject>) or failed: <reason>.",
            "properties": {
              "client": {},
              "field": {
                "description": "The property of the device that changed."
              },
              "new_value": {},
              "old_value": {}
            },
            "required": [
              "client",
              "field",
              "new_value",
              "old_value"
            ],
            "title": "client_compliance.device_certificate_changed",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "client_compliance"
              },
              "event_type": {
                "const": "disk_encryption_changed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The device's disk encryption state changed.",
            "properties": {
              "client": {},
              "field": {
                "description": "The property of the device that changed."
              },
              "new_value": {},
              "old_value": {}
            },
            "required": [
              "client",
              "field",
              "new_value",
              "old_value"
            ],
            "title": "client_compliance.disk_encryption_changed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "client_compliance"
              },
              "event_type": {
                "const": "domain_membership_changed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The device's domain membership changed.",
            "properties": {
              "client": {},
              "field": {
                "description": "The property of the device that changed."
              },
              "new_value": {},
              "old_value": {}
            },
            "required": [
              "client",
              "field",
              "new_value",
              "old_value"
            ],
            "title": "client_compliance.domain_membership_changed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "client_compliance"
              },
              "event_type": {
                "const": "entra_id_membership_changed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The device's Microsoft Entra ID membership changed.",
            "properties": {
              "client": {},
              "field": {
                "description": "The property of the device that changed."
              },
              "new_value": {},
              "old_value": {}
            },
            "required": [
              "client",
              "field",
              "new_value",
              "old_value"
            ],
            "title": "client_compliance.entra_id_membership_changed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "client_compliance"
              },
              "event_type": {
                "const": "geolocation_changed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The country the device is located in changed.",
            "properties": {
              "client": {},
              "field": {
                "description": "The property of the device that changed."
              },
              "new_value": {},
              "old_value": {}
            },
            "required": [
              "client",
              "field",
              "new_value",
              "old_value"
            ],
            "title": "client_compliance.geolocation_changed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "client_compliance"
              },
              "event_type": {
                "const": "os_version_changed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The device's operating system version changed.",
            "properties": {
              "client": {},
              "field": {
                "description": "The property of the device that changed."
              },
              "new_value": {},
              "old_value": {}
            },
            "required": [
              "client",
              "field",
              "new_value",
              "old_value"
            ],
            "title": "client_compliance.os_version_changed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "client_compliance"
              },
              "event_type": {
                "const": "security_product_changed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The state of a security product on the device changed.",
            "properties": {
              "client": {},
              "field": {
                "description": "The property of the device that changed."
              },
              "new_value": {},
              "old_value": {}
            },
            "required": [
              "client",
              "field",
              "new_value",
              "old_value"
            ],
            "title": "client_compliance.security_product_changed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "client_compliance"
              },
              "event_type": {
                "const": "security_provider_changed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The health the device's security provider reports changed.",
            "properties": {
              "client": {},
              "field": {
                "description": "The property of the device that changed."
              },
              "new_value": {},
              "old_value": {}
            },
            "required": [
              "client",
              "field",
              "new_value",
              "old_value"
            ],
            "title": "client_compliance.security_provider_changed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "client_resources"
              },
              "event_type": {
                "const": "cpu_usage_high"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "CPU usage stayed above the threshold.",
            "properties": {
              "client": {},
              "samples_expected": {},
              "samples_over": {},
              "threshold_percent": {}
            },
            "required": [
              "client",
              "samples_expected",
              "samples_over",
              "threshold_percent"
            ],
            "title": "client_resources.cpu_usage_high",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "client_resources"
              },
              "event_type": {
                "const": "cpu_usage_normal"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The CPU condition cleared: usage is back below the threshold, or the device stopped reporting.",
            "properties": {
              "client": {},
              "reason": {
                "description": "Why the condition cleared, as text: usage is back below the threshold, or the device stopped reporting."
              }
            },
            "required": [
              "client",
              "reason"
            ],
            "title": "client_resources.cpu_usage_normal",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "client_resources"
              },
              "event_type": {
                "const": "memory_usage_high"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "Memory usage stayed above the threshold.",
            "properties": {
              "client": {},
              "samples_expected": {},
              "samples_over": {},
              "threshold_percent": {}
            },
            "required": [
              "client",
              "samples_expected",
              "samples_over",
              "threshold_percent"
            ],
            "title": "client_resources.memory_usage_high",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "client_resources"
              },
              "event_type": {
                "const": "memory_usage_normal"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The memory condition cleared.",
            "properties": {
              "client": {},
              "reason": {
                "description": "Why the condition cleared, as text: usage is back below the threshold, or the device stopped reporting."
              }
            },
            "required": [
              "client",
              "reason"
            ],
            "title": "client_resources.memory_usage_normal",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "client_status"
              },
              "event_type": {
                "const": "asset_offline"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "An asset went offline. The event repeats the fields of the asset's last session event.",
            "properties": {
              "client": {}
            },
            "required": [
              "client"
            ],
            "title": "client_status.asset_offline",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "client_status"
              },
              "event_type": {
                "const": "asset_online"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "An asset came online.",
            "properties": {
              "client": {}
            },
            "required": [
              "client"
            ],
            "title": "client_status.asset_online",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "client_status"
              },
              "event_type": {
                "const": "client_offline"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A user's device went offline. The event repeats the fields of the device's last session event.",
            "properties": {
              "client": {}
            },
            "required": [
              "client"
            ],
            "title": "client_status.client_offline",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "client_status"
              },
              "event_type": {
                "const": "client_online"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A user's device came online.",
            "properties": {
              "client": {}
            },
            "required": [
              "client"
            ],
            "title": "client_status.client_online",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "client_status"
              },
              "event_type": {
                "const": "public_ip_changed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A device's public address changed.",
            "properties": {
              "client": {},
              "old_remote_addr": {}
            },
            "required": [
              "client",
              "old_remote_addr"
            ],
            "title": "client_status.public_ip_changed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "configuration_change"
              },
              "event_type": {
                "const": "asset_isolation_disabled"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "Asset isolation was switched off for an asset.",
            "properties": {
              "client_id": {},
              "object_id": {},
              "object_type": {}
            },
            "required": [
              "client_id",
              "object_id",
              "object_type"
            ],
            "title": "configuration_change.asset_isolation_disabled",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "configuration_change"
              },
              "event_type": {
                "const": "asset_isolation_enabled"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "Asset isolation was switched on for an asset.",
            "properties": {
              "client_id": {},
              "object_id": {},
              "object_type": {}
            },
            "required": [
              "client_id",
              "object_id",
              "object_type"
            ],
            "title": "configuration_change.asset_isolation_enabled",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "configuration_change"
              },
              "event_type": {
                "const": "asset_isolation_fail_mode_changed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "An asset's isolation was switched between failing closed and failing open.",
            "properties": {
              "client_id": {},
              "fail_open": {},
              "object_id": {},
              "object_type": {}
            },
            "required": [
              "client_id",
              "fail_open",
              "object_id",
              "object_type"
            ],
            "title": "configuration_change.asset_isolation_fail_mode_changed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "configuration_change"
              },
              "event_type": {
                "const": "asset_isolation_rule_added"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "An isolation rule was added.",
            "properties": {
              "client_id": {},
              "object_id": {},
              "object_type": {},
              "policy_id": {
                "description": "The isolation policy the rule belongs to."
              },
              "rule_description": {},
              "rule_remote_address": {},
              "service_definition_id": {}
            },
            "required": [
              "client_id",
              "object_id",
              "object_type",
              "policy_id",
              "rule_description",
              "rule_remote_address",
              "service_definition_id"
            ],
            "title": "configuration_change.asset_isolation_rule_added",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "configuration_change"
              },
              "event_type": {
                "const": "asset_isolation_rule_changed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "An isolation rule was changed.",
            "properties": {
              "client_id": {},
              "new_rule_description": {},
              "new_rule_remote_address": {},
              "new_service_definition_id": {},
              "object_id": {},
              "object_type": {},
              "old_rule_description": {},
              "old_rule_remote_address": {},
              "old_service_definition_id": {},
              "policy_id": {
                "description": "The isolation policy the rule belongs to."
              }
            },
            "required": [
              "client_id",
              "new_rule_description",
              "new_rule_remote_address",
              "new_service_definition_id",
              "object_id",
              "object_type",
              "old_rule_description",
              "old_rule_remote_address",
              "old_service_definition_id",
              "policy_id"
            ],
            "title": "configuration_change.asset_isolation_rule_changed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "configuration_change"
              },
              "event_type": {
                "const": "asset_isolation_rule_removed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "An isolation rule was removed.",
            "properties": {
              "client_id": {},
              "object_id": {},
              "object_type": {},
              "policy_id": {
                "description": "The isolation policy the rule belongs to."
              },
              "rule_description": {},
              "rule_remote_address": {},
              "service_definition_id": {}
            },
            "required": [
              "client_id",
              "object_id",
              "object_type",
              "policy_id",
              "rule_description",
              "rule_remote_address",
              "service_definition_id"
            ],
            "title": "configuration_change.asset_isolation_rule_removed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "configuration_change"
              },
              "event_type": {
                "const": "created"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A configuration object was created.",
            "properties": {
              "enabled": {},
              "object_id": {},
              "object_name": {},
              "object_type": {}
            },
            "required": [
              "object_id",
              "object_name",
              "object_type"
            ],
            "title": "configuration_change.created",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "configuration_change"
              },
              "event_type": {
                "const": "deleted"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A configuration object was deleted.",
            "properties": {
              "object_id": {},
              "object_name": {},
              "object_type": {}
            },
            "required": [
              "object_id",
              "object_name",
              "object_type"
            ],
            "title": "configuration_change.deleted",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "configuration_change"
              },
              "event_type": {
                "const": "disabled"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A configuration object was disabled.",
            "properties": {
              "object_id": {},
              "object_name": {},
              "object_type": {}
            },
            "required": [
              "object_id",
              "object_name",
              "object_type"
            ],
            "title": "configuration_change.disabled",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "configuration_change"
              },
              "event_type": {
                "const": "enabled"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A configuration object was enabled.",
            "properties": {
              "object_id": {},
              "object_name": {},
              "object_type": {}
            },
            "required": [
              "object_id",
              "object_name",
              "object_type"
            ],
            "title": "configuration_change.enabled",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "configuration_change"
              },
              "event_type": {
                "const": "updated"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A configuration object was changed. A changed tenant setting names it (field, old_value, new_value), a changed role its old and new value, a changed event forwarder its state and the settings that changed.",
            "properties": {
              "changed_fields": {},
              "enabled": {
                "description": "On an event forwarder: whether it is enabled after the change."
              },
              "field": {
                "description": "On a tenant setting: the setting that changed."
              },
              "new_role": {
                "description": "On a user: the role after the change."
              },
              "new_value": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "old_role": {
                "description": "On a user: the role before the change."
              },
              "old_value": {}
            },
            "required": [
              "object_id",
              "object_name",
              "object_type"
            ],
            "title": "configuration_change.updated",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "configuration_other"
              },
              "event_type": {
                "const": "configuration_downloaded"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "An asset's configuration was downloaded.",
            "properties": {
              "object_id": {},
              "object_name": {},
              "object_type": {}
            },
            "required": [
              "object_id",
              "object_name",
              "object_type"
            ],
            "title": "configuration_other.configuration_downloaded",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "configuration_other"
              },
              "event_type": {
                "const": "domains_fetched"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "Domains were fetched from the identity provider.",
            "properties": {
              "object_type": {}
            },
            "required": [
              "object_type"
            ],
            "title": "configuration_other.domains_fetched",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "configuration_other"
              },
              "event_type": {
                "const": "fetched"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "User groups were fetched from the identity provider.",
            "properties": {
              "object_type": {}
            },
            "required": [
              "object_type"
            ],
            "title": "configuration_other.fetched",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "configuration_other"
              },
              "event_type": {
                "const": "imported"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "User groups were imported from the identity provider.",
            "properties": {
              "object_type": {}
            },
            "required": [
              "object_type"
            ],
            "title": "configuration_other.imported",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "configuration_other"
              },
              "event_type": {
                "const": "synced"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "User groups were synchronised with the identity provider.",
            "properties": {
              "object_type": {}
            },
            "required": [
              "object_type"
            ],
            "title": "configuration_other.synced",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "event_forwarder"
              },
              "event_type": {
                "const": "heartbeat"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "Sent by every forwarder every five minutes, whatever its filters are. Not an event log entry: event_id is 0.",
            "properties": {
              "interval_seconds": {},
              "last_event_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {}
            },
            "required": [
              "interval_seconds",
              "last_event_id",
              "object_id",
              "object_name",
              "object_type"
            ],
            "title": "event_forwarder.heartbeat",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "event_forwarder"
              },
              "event_type": {
                "const": "test"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "Sent by Send Test Event. Not an event log entry: event_id is 0.",
            "properties": {
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "test": {}
            },
            "required": [
              "object_id",
              "object_name",
              "object_type",
              "test"
            ],
            "title": "event_forwarder.test",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "experience_trace"
              },
              "event_type": {
                "const": "trace_deleted"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A check and its measurements were deleted: reason is manual, retention or cancelled.",
            "properties": {
              "reason": {
                "description": "manual (an administrator), retention (the controller) or cancelled (the user took the report back while it recorded)."
              },
              "source": {},
              "trace_id": {}
            },
            "required": [
              "reason",
              "source",
              "trace_id"
            ],
            "title": "experience_trace.trace_deleted",
            "x-since": "1.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "experience_trace"
              },
              "event_type": {
                "const": "trace_received"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A device's measurements reached the controller.",
            "properties": {
              "client": {},
              "leg_id": {},
              "sample_count": {},
              "stop_reason": {},
              "trace_id": {},
              "trace_role": {}
            },
            "required": [
              "client",
              "leg_id",
              "sample_count",
              "stop_reason",
              "trace_id",
              "trace_role"
            ],
            "title": "experience_trace.trace_received",
            "x-since": "1.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "experience_trace"
              },
              "event_type": {
                "const": "trace_reported"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A user reported a problem from their device, which starts a check there.",
            "properties": {
              "client": {},
              "duration_seconds": {
                "description": "How long the check was asked to run.",
                "x-since": "1.2.0"
              },
              "duration_secs": {},
              "email": {},
              "leg_id": {},
              "reporter_email": {},
              "trace_id": {}
            },
            "required": [
              "client",
              "duration_seconds",
              "duration_secs",
              "email",
              "leg_id",
              "reporter_email",
              "trace_id"
            ],
            "title": "experience_trace.trace_reported",
            "x-since": "1.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "experience_trace"
              },
              "event_type": {
                "const": "trace_requested"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "An Experience Check was started on a device; one event per device.",
            "properties": {
              "client": {},
              "destination": {},
              "duration_seconds": {
                "description": "How long the check was asked to run.",
                "x-since": "1.2.0"
              },
              "duration_secs": {},
              "leg_id": {},
              "trace_id": {},
              "trace_role": {}
            },
            "required": [
              "client",
              "destination",
              "duration_seconds",
              "duration_secs",
              "leg_id",
              "trace_id",
              "trace_role"
            ],
            "title": "experience_trace.trace_requested",
            "x-since": "1.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "experience_trace"
              },
              "event_type": {
                "const": "trace_stopped"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A check was stopped before its end; one event per device.",
            "properties": {
              "client": {},
              "trace_id": {}
            },
            "required": [
              "client",
              "trace_id"
            ],
            "title": "experience_trace.trace_stopped",
            "x-since": "1.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "jit_access"
              },
              "event_type": {
                "const": "access_approved"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "An approver granted the request; the window may be shorter than asked.",
            "properties": {
              "approver_email": {},
              "decision_note": {},
              "destination_id": {},
              "destination_name": {},
              "destination_type": {},
              "jit_request_id": {},
              "object_id": {
                "description": "The id of the request, as in jit_request_id."
              },
              "object_name": {
                "description": "The name of the destination, as in destination_name."
              },
              "object_type": {},
              "policy_id": {},
              "policy_name": {},
              "reason": {
                "description": "The reason the technician gave for the request, as they typed it."
              },
              "recurrence": {},
              "requester": {},
              "requester_email": {},
              "window_end": {},
              "window_start": {}
            },
            "required": [
              "destination_id",
              "destination_name",
              "destination_type",
              "jit_request_id",
              "object_id",
              "object_name",
              "object_type",
              "policy_id",
              "policy_name",
              "reason",
              "requester",
              "requester_email",
              "window_end",
              "window_start"
            ],
            "title": "jit_access.access_approved",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "jit_access"
              },
              "event_type": {
                "const": "access_cancelled"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The request was withdrawn before its window started, by the technician or by the controller.",
            "properties": {
              "approver_email": {},
              "decision_note": {},
              "destination_id": {},
              "destination_name": {},
              "destination_type": {},
              "duration_seconds": {
                "description": "How long the access lasted. Present once the access has started and ended."
              },
              "end_reason": {},
              "ended_by_email": {},
              "ended_by_requester": {},
              "jit_request_id": {},
              "object_id": {
                "description": "The id of the request, as in jit_request_id."
              },
              "object_name": {
                "description": "The name of the destination, as in destination_name."
              },
              "object_type": {},
              "policy_id": {},
              "policy_name": {},
              "reason": {
                "description": "The reason the technician gave for the request, as they typed it."
              },
              "recurrence": {},
              "requester": {},
              "requester_email": {},
              "window_end": {},
              "window_start": {}
            },
            "required": [
              "destination_id",
              "destination_name",
              "destination_type",
              "jit_request_id",
              "object_id",
              "object_name",
              "object_type",
              "policy_id",
              "policy_name",
              "reason",
              "requester",
              "requester_email",
              "window_end",
              "window_start"
            ],
            "title": "jit_access.access_cancelled",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "jit_access"
              },
              "event_type": {
                "const": "access_ended"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "Access ended before its window ran out.",
            "properties": {
              "approver_email": {},
              "decision_note": {},
              "destination_id": {},
              "destination_name": {},
              "destination_type": {},
              "duration_seconds": {
                "description": "How long the access lasted. Present once the access has started and ended."
              },
              "end_reason": {},
              "ended_by_email": {},
              "ended_by_requester": {},
              "jit_request_id": {},
              "object_id": {
                "description": "The id of the request, as in jit_request_id."
              },
              "object_name": {
                "description": "The name of the destination, as in destination_name."
              },
              "object_type": {},
              "policy_id": {},
              "policy_name": {},
              "reason": {
                "description": "The reason the technician gave for the request, as they typed it."
              },
              "recurrence": {},
              "requester": {},
              "requester_email": {},
              "window_end": {},
              "window_start": {}
            },
            "required": [
              "destination_id",
              "destination_name",
              "destination_type",
              "jit_request_id",
              "object_id",
              "object_name",
              "object_type",
              "policy_id",
              "policy_name",
              "reason",
              "requester",
              "requester_email",
              "window_end",
              "window_start"
            ],
            "title": "jit_access.access_ended",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "jit_access"
              },
              "event_type": {
                "const": "access_expired"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The window ran out.",
            "properties": {
              "approver_email": {},
              "decision_note": {},
              "destination_id": {},
              "destination_name": {},
              "destination_type": {},
              "duration_seconds": {
                "description": "How long the access lasted. Present once the access has started and ended."
              },
              "end_reason": {},
              "ended_by_email": {},
              "ended_by_requester": {},
              "jit_request_id": {},
              "object_id": {
                "description": "The id of the request, as in jit_request_id."
              },
              "object_name": {
                "description": "The name of the destination, as in destination_name."
              },
              "object_type": {},
              "policy_id": {},
              "policy_name": {},
              "reason": {
                "description": "The reason the technician gave for the request, as they typed it."
              },
              "recurrence": {},
              "requester": {},
              "requester_email": {},
              "window_end": {},
              "window_start": {}
            },
            "required": [
              "destination_id",
              "destination_name",
              "destination_type",
              "jit_request_id",
              "object_id",
              "object_name",
              "object_type",
              "policy_id",
              "policy_name",
              "reason",
              "requester",
              "requester_email",
              "window_end",
              "window_start"
            ],
            "title": "jit_access.access_expired",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "jit_access"
              },
              "event_type": {
                "const": "access_extended"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "An approver granted more time.",
            "properties": {
              "approver_email": {},
              "decision_note": {},
              "destination_id": {},
              "destination_name": {},
              "destination_type": {},
              "duration_seconds": {
                "description": "How long the access lasted. Present once the access has started and ended."
              },
              "end_reason": {},
              "ended_by_email": {},
              "ended_by_requester": {},
              "extension_approver_email": {},
              "extension_decision_note": {},
              "extension_ends_at": {},
              "extension_granted_until": {},
              "extension_reason": {},
              "extension_withdrawn_by_email": {},
              "extensions": {},
              "jit_request_id": {},
              "object_id": {
                "description": "The id of the request, as in jit_request_id."
              },
              "object_name": {
                "description": "The name of the destination, as in destination_name."
              },
              "object_type": {},
              "policy_id": {},
              "policy_name": {},
              "previous_window_end": {},
              "reason": {
                "description": "The reason the technician gave for the request, as they typed it."
              },
              "recurrence": {},
              "requester": {},
              "requester_email": {},
              "window_end": {},
              "window_start": {}
            },
            "required": [
              "destination_id",
              "destination_name",
              "destination_type",
              "extension_ends_at",
              "extension_reason",
              "extensions",
              "jit_request_id",
              "object_id",
              "object_name",
              "object_type",
              "policy_id",
              "policy_name",
              "reason",
              "requester",
              "requester_email",
              "window_end",
              "window_start"
            ],
            "title": "jit_access.access_extended",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "jit_access"
              },
              "event_type": {
                "const": "access_extension_denied"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "An approver turned the extension down; the access keeps its end.",
            "properties": {
              "approver_email": {},
              "decision_note": {},
              "destination_id": {},
              "destination_name": {},
              "destination_type": {},
              "duration_seconds": {
                "description": "How long the access lasted. Present once the access has started and ended."
              },
              "end_reason": {},
              "ended_by_email": {},
              "ended_by_requester": {},
              "extension_approver_email": {},
              "extension_decision_note": {},
              "extension_ends_at": {},
              "extension_granted_until": {},
              "extension_reason": {},
              "extension_withdrawn_by_email": {},
              "extensions": {},
              "jit_request_id": {},
              "object_id": {
                "description": "The id of the request, as in jit_request_id."
              },
              "object_name": {
                "description": "The name of the destination, as in destination_name."
              },
              "object_type": {},
              "policy_id": {},
              "policy_name": {},
              "previous_window_end": {},
              "reason": {
                "description": "The reason the technician gave for the request, as they typed it."
              },
              "recurrence": {},
              "requester": {},
              "requester_email": {},
              "window_end": {},
              "window_start": {}
            },
            "required": [
              "destination_id",
              "destination_name",
              "destination_type",
              "extension_ends_at",
              "extension_reason",
              "extensions",
              "jit_request_id",
              "object_id",
              "object_name",
              "object_type",
              "policy_id",
              "policy_name",
              "reason",
              "requester",
              "requester_email",
              "window_end",
              "window_start"
            ],
            "title": "jit_access.access_extension_denied",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "jit_access"
              },
              "event_type": {
                "const": "access_extension_requested"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The technician asked to keep the access longer.",
            "properties": {
              "approver_email": {},
              "decision_note": {},
              "destination_id": {},
              "destination_name": {},
              "destination_type": {},
              "duration_seconds": {
                "description": "How long the access lasted. Present once the access has started and ended."
              },
              "end_reason": {},
              "ended_by_email": {},
              "ended_by_requester": {},
              "extension_approver_email": {},
              "extension_decision_note": {},
              "extension_ends_at": {},
              "extension_granted_until": {},
              "extension_reason": {},
              "extension_withdrawn_by_email": {},
              "extensions": {},
              "jit_request_id": {},
              "object_id": {
                "description": "The id of the request, as in jit_request_id."
              },
              "object_name": {
                "description": "The name of the destination, as in destination_name."
              },
              "object_type": {},
              "policy_id": {},
              "policy_name": {},
              "previous_window_end": {},
              "reason": {
                "description": "The reason the technician gave for the request, as they typed it."
              },
              "recurrence": {},
              "requester": {},
              "requester_email": {},
              "window_end": {},
              "window_start": {}
            },
            "required": [
              "destination_id",
              "destination_name",
              "destination_type",
              "extension_ends_at",
              "extension_reason",
              "extensions",
              "jit_request_id",
              "object_id",
              "object_name",
              "object_type",
              "policy_id",
              "policy_name",
              "reason",
              "requester",
              "requester_email",
              "window_end",
              "window_start"
            ],
            "title": "jit_access.access_extension_requested",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "jit_access"
              },
              "event_type": {
                "const": "access_extension_withdrawn"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The extension was withdrawn before it was decided.",
            "properties": {
              "approver_email": {},
              "decision_note": {},
              "destination_id": {},
              "destination_name": {},
              "destination_type": {},
              "duration_seconds": {
                "description": "How long the access lasted. Present once the access has started and ended."
              },
              "end_reason": {},
              "ended_by_email": {},
              "ended_by_requester": {},
              "extension_approver_email": {},
              "extension_decision_note": {},
              "extension_ends_at": {},
              "extension_granted_until": {},
              "extension_reason": {},
              "extension_withdrawn_by_email": {},
              "extensions": {},
              "jit_request_id": {},
              "object_id": {
                "description": "The id of the request, as in jit_request_id."
              },
              "object_name": {
                "description": "The name of the destination, as in destination_name."
              },
              "object_type": {},
              "policy_id": {},
              "policy_name": {},
              "previous_window_end": {},
              "reason": {
                "description": "The reason the technician gave for the request, as they typed it."
              },
              "recurrence": {},
              "requester": {},
              "requester_email": {},
              "window_end": {},
              "window_start": {}
            },
            "required": [
              "destination_id",
              "destination_name",
              "destination_type",
              "extension_ends_at",
              "extension_reason",
              "extensions",
              "jit_request_id",
              "object_id",
              "object_name",
              "object_type",
              "policy_id",
              "policy_name",
              "reason",
              "requester",
              "requester_email",
              "window_end",
              "window_start"
            ],
            "title": "jit_access.access_extension_withdrawn",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "jit_access"
              },
              "event_type": {
                "const": "access_request_denied"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "An approver turned the request down.",
            "properties": {
              "approver_email": {},
              "decision_note": {},
              "destination_id": {},
              "destination_name": {},
              "destination_type": {},
              "jit_request_id": {},
              "object_id": {
                "description": "The id of the request, as in jit_request_id."
              },
              "object_name": {
                "description": "The name of the destination, as in destination_name."
              },
              "object_type": {},
              "policy_id": {},
              "policy_name": {},
              "reason": {
                "description": "The reason the technician gave for the request, as they typed it."
              },
              "recurrence": {},
              "requester": {},
              "requester_email": {},
              "window_end": {},
              "window_start": {}
            },
            "required": [
              "destination_id",
              "destination_name",
              "destination_type",
              "jit_request_id",
              "object_id",
              "object_name",
              "object_type",
              "policy_id",
              "policy_name",
              "reason",
              "requester",
              "requester_email",
              "window_end",
              "window_start"
            ],
            "title": "jit_access.access_request_denied",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "jit_access"
              },
              "event_type": {
                "const": "access_requested"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A technician asked for access.",
            "properties": {
              "destination_id": {},
              "destination_name": {},
              "destination_type": {},
              "jit_request_id": {},
              "object_id": {
                "description": "The id of the request, as in jit_request_id."
              },
              "object_name": {
                "description": "The name of the destination, as in destination_name."
              },
              "object_type": {},
              "policy_id": {},
              "policy_name": {},
              "reason": {
                "description": "The reason the technician gave for the request, as they typed it."
              },
              "recurrence": {},
              "requester": {},
              "requester_email": {},
              "window_end": {},
              "window_start": {}
            },
            "required": [
              "destination_id",
              "destination_name",
              "destination_type",
              "jit_request_id",
              "object_id",
              "object_name",
              "object_type",
              "policy_id",
              "policy_name",
              "reason",
              "requester",
              "requester_email",
              "window_end",
              "window_start"
            ],
            "title": "jit_access.access_requested",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "jit_access"
              },
              "event_type": {
                "const": "access_started"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The approved window began; the technician has access.",
            "properties": {
              "approver_email": {},
              "decision_note": {},
              "destination_id": {},
              "destination_name": {},
              "destination_type": {},
              "jit_request_id": {},
              "object_id": {
                "description": "The id of the request, as in jit_request_id."
              },
              "object_name": {
                "description": "The name of the destination, as in destination_name."
              },
              "object_type": {},
              "policy_id": {},
              "policy_name": {},
              "reason": {
                "description": "The reason the technician gave for the request, as they typed it."
              },
              "recurrence": {},
              "requester": {},
              "requester_email": {},
              "window_end": {},
              "window_start": {}
            },
            "required": [
              "destination_id",
              "destination_name",
              "destination_type",
              "jit_request_id",
              "object_id",
              "object_name",
              "object_type",
              "policy_id",
              "policy_name",
              "reason",
              "requester",
              "requester_email",
              "window_end",
              "window_start"
            ],
            "title": "jit_access.access_started",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "jit_access"
              },
              "event_type": {
                "const": "jit_access_destination"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "One address the technician's device reached through a gateway during the access. Written after the access has ended, one event per gateway, address, protocol and port.",
            "properties": {
              "client": {
                "description": "The gateway asset the connection went through."
              },
              "connections": {},
              "destination_name": {},
              "dst_id": {},
              "dst_ip": {},
              "first_access": {},
              "gateway_asset_id": {},
              "jit_request_id": {},
              "last_access": {},
              "occurrence": {},
              "port": {
                "description": "The destination port."
              },
              "protocol": {
                "description": "tcp, udp or icmp."
              },
              "requester": {},
              "requester_email": {},
              "src_machine_id": {}
            },
            "required": [
              "client",
              "connections",
              "destination_name",
              "dst_id",
              "dst_ip",
              "first_access",
              "gateway_asset_id",
              "jit_request_id",
              "last_access",
              "port",
              "protocol",
              "requester",
              "requester_email",
              "src_machine_id"
            ],
            "title": "jit_access.jit_access_destination",
            "x-since": "1.0.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "network_discovery"
              },
              "event_type": {
                "const": "device_down"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A watched device missed three checks in a row.",
            "properties": {
              "client": {},
              "display_name": {},
              "interface_name": {},
              "ip": {},
              "mac": {},
              "watch_id": {}
            },
            "required": [
              "client",
              "display_name",
              "interface_name",
              "ip",
              "mac",
              "watch_id"
            ],
            "title": "network_discovery.device_down",
            "x-since": "1.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "network_discovery"
              },
              "event_type": {
                "const": "device_up"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A watched device that was down answers again.",
            "properties": {
              "client": {},
              "display_name": {},
              "interface_name": {},
              "ip": {},
              "mac": {},
              "watch_id": {}
            },
            "required": [
              "client",
              "display_name",
              "interface_name",
              "ip",
              "mac",
              "watch_id"
            ],
            "title": "network_discovery.device_up",
            "x-since": "1.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "network_discovery"
              },
              "event_type": {
                "const": "host_disappeared"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A host of the previous scan is gone.",
            "properties": {
              "client": {},
              "display_name": {
                "description": "The name the host had when it was last seen; empty if none was found.",
                "x-since": "1.2.0"
              },
              "interface_name": {},
              "ip": {},
              "mac": {
                "description": "The hardware address the host had when it was last seen.",
                "x-since": "1.2.0"
              },
              "manufacturer": {
                "description": "The manufacturer of the host as last seen; empty when unknown.",
                "x-since": "1.2.0"
              }
            },
            "required": [
              "client",
              "display_name",
              "interface_name",
              "ip",
              "mac",
              "manufacturer"
            ],
            "title": "network_discovery.host_disappeared",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "network_discovery"
              },
              "event_type": {
                "const": "host_returned"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A host reported as disappeared is seen again, by a full scan or by the ARP monitor. A host is reported as disappeared once per absence, so host_returned closes it.",
            "properties": {
              "client": {},
              "display_name": {},
              "interface_name": {},
              "ip": {
                "description": "Where the host is now, which can differ from where it was when it disappeared."
              },
              "mac": {},
              "manufacturer": {}
            },
            "required": [
              "client",
              "display_name",
              "interface_name",
              "ip",
              "mac",
              "manufacturer"
            ],
            "title": "network_discovery.host_returned",
            "x-since": "1.2.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "network_discovery"
              },
              "event_type": {
                "const": "new_host"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A host not seen before appeared on a scanned network.",
            "properties": {
              "after_grace": {
                "x-since": "1.2.0"
              },
              "client": {},
              "display_name": {},
              "initial_scan": {},
              "interface_name": {},
              "ip": {},
              "mac": {},
              "manufacturer": {},
              "open_ports": {}
            },
            "required": [
              "client",
              "display_name",
              "initial_scan",
              "interface_name",
              "ip",
              "mac",
              "manufacturer",
              "open_ports"
            ],
            "title": "network_discovery.new_host",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "network_discovery"
              },
              "event_type": {
                "const": "new_service"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A newly open TCP port was found on a known host.",
            "properties": {
              "client": {},
              "interface_name": {},
              "ip": {},
              "port": {
                "description": "The TCP port that was found open."
              }
            },
            "required": [
              "client",
              "interface_name",
              "ip",
              "port"
            ],
            "title": "network_discovery.new_service",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "network_discovery"
              },
              "event_type": {
                "const": "scan_completed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A scan finished and the picture of the network changed.",
            "properties": {
              "client": {},
              "hosts_disappeared": {},
              "hosts_returned": {
                "x-since": "1.2.0"
              },
              "interface_name": {},
              "new_hosts": {},
              "new_services": {},
              "services_closed": {}
            },
            "required": [
              "client",
              "hosts_disappeared",
              "hosts_returned",
              "interface_name",
              "new_hosts",
              "new_services",
              "services_closed"
            ],
            "title": "network_discovery.scan_completed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "network_discovery"
              },
              "event_type": {
                "const": "service_closed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A port that was open is no longer reachable.",
            "properties": {
              "client": {},
              "interface_name": {},
              "ip": {},
              "port": {
                "description": "The TCP port that is no longer open."
              }
            },
            "required": [
              "client",
              "interface_name",
              "ip",
              "port"
            ],
            "title": "network_discovery.service_closed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification"
              },
              "event_type": {
                "const": "app_test_failing"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A notification was raised: a test of the Application Monitor is in the poor state. The message is the notification's text.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification.app_test_failing",
            "x-since": "1.2.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification"
              },
              "event_type": {
                "const": "asset_version_outdated"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A notification was raised: an asset's agent is outdated. The message is the notification's text.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification.asset_version_outdated",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification"
              },
              "event_type": {
                "const": "asset_windows_dns_ports"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A notification was raised: a Windows asset is running out of DNS ports. The message is the notification's text.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification.asset_windows_dns_ports",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification"
              },
              "event_type": {
                "const": "asset_without_policy"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A notification was raised: an asset is in no policy. The message is the notification's text.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification.asset_without_policy",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification"
              },
              "event_type": {
                "const": "broker_failed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A notification was raised: a device cannot reach the broker. The message is the notification's text.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification.broker_failed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification"
              },
              "event_type": {
                "const": "cpu_usage_high"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A notification was raised: a device's CPU usage is high. The message is the notification's text.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification.cpu_usage_high",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification"
              },
              "event_type": {
                "const": "dhcp_failed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A notification was raised: DHCP failed on an asset. The message is the notification's text.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification.dhcp_failed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification"
              },
              "event_type": {
                "const": "event_forwarder_failed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A notification was raised: an event forwarder cannot deliver. The message is the notification's text.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification.event_forwarder_failed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification"
              },
              "event_type": {
                "const": "info_update_failed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A notification was raised: a device's information could not be updated. The message is the notification's text.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification.info_update_failed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification"
              },
              "event_type": {
                "const": "memory_usage_high"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A notification was raised: a device's memory usage is high. The message is the notification's text.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification.memory_usage_high",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification"
              },
              "event_type": {
                "const": "network_device_down"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A notification was raised: a watched device is unreachable. The message is the notification's text.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification.network_device_down",
            "x-since": "1.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification"
              },
              "event_type": {
                "const": "network_new_device"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A notification was raised: a new device appeared on a scanned network. The message is the notification's text.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification.network_new_device",
            "x-since": "1.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification"
              },
              "event_type": {
                "const": "policy_without_destination"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A notification was raised: a policy has no destination. The message is the notification's text.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification.policy_without_destination",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification"
              },
              "event_type": {
                "const": "policy_without_source"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A notification was raised: a policy has no source. The message is the notification's text.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification.policy_without_source",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification"
              },
              "event_type": {
                "const": "split_dns_failed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A notification was raised: split DNS is broken on a device. The message is the notification's text.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification.split_dns_failed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification"
              },
              "event_type": {
                "const": "subnet_without_policy"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A notification was raised: a subnet is in no policy. The message is the notification's text.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification.subnet_without_policy",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification"
              },
              "event_type": {
                "const": "user_client_disabled_on_create"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A notification was raised: a new user client is waiting for activation. The message is the notification's text.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification.user_client_disabled_on_create",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification"
              },
              "event_type": {
                "const": "user_client_version_outdated"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A notification was raised: a user client's agent is outdated. The message is the notification's text.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification.user_client_version_outdated",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification"
              },
              "event_type": {
                "const": "user_client_without_policy"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A notification was raised: a user client is in no policy. The message is the notification's text.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification.user_client_without_policy",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification"
              },
              "event_type": {
                "const": "virtual_asset_without_policy"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A notification was raised: a virtual asset is in no policy. The message is the notification's text.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification.virtual_asset_without_policy",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification_cleared"
              },
              "event_type": {
                "const": "app_test_failing"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The notification was resolved: no longer true that a test of the Application Monitor is in the poor state.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification_cleared.app_test_failing",
            "x-since": "1.2.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification_cleared"
              },
              "event_type": {
                "const": "asset_version_outdated"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The notification was resolved: no longer true that an asset's agent is outdated.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification_cleared.asset_version_outdated",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification_cleared"
              },
              "event_type": {
                "const": "asset_windows_dns_ports"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The notification was resolved: no longer true that a Windows asset is running out of DNS ports.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification_cleared.asset_windows_dns_ports",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification_cleared"
              },
              "event_type": {
                "const": "asset_without_policy"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The notification was resolved: no longer true that an asset is in no policy.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification_cleared.asset_without_policy",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification_cleared"
              },
              "event_type": {
                "const": "broker_failed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The notification was resolved: no longer true that a device cannot reach the broker.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification_cleared.broker_failed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification_cleared"
              },
              "event_type": {
                "const": "cpu_usage_high"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The notification was resolved: no longer true that a device's CPU usage is high.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification_cleared.cpu_usage_high",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification_cleared"
              },
              "event_type": {
                "const": "dhcp_failed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The notification was resolved: no longer true that DHCP failed on an asset.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification_cleared.dhcp_failed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification_cleared"
              },
              "event_type": {
                "const": "event_forwarder_failed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The notification was resolved: no longer true that an event forwarder cannot deliver.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification_cleared.event_forwarder_failed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification_cleared"
              },
              "event_type": {
                "const": "info_update_failed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The notification was resolved: no longer true that a device's information could not be updated.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification_cleared.info_update_failed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification_cleared"
              },
              "event_type": {
                "const": "memory_usage_high"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The notification was resolved: no longer true that a device's memory usage is high.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification_cleared.memory_usage_high",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification_cleared"
              },
              "event_type": {
                "const": "network_device_down"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The notification was resolved: no longer true that a watched device is unreachable.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification_cleared.network_device_down",
            "x-since": "1.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification_cleared"
              },
              "event_type": {
                "const": "network_new_device"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The notification was resolved: no longer true that a new device appeared on a scanned network.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification_cleared.network_new_device",
            "x-since": "1.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification_cleared"
              },
              "event_type": {
                "const": "policy_without_destination"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The notification was resolved: no longer true that a policy has no destination.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification_cleared.policy_without_destination",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification_cleared"
              },
              "event_type": {
                "const": "policy_without_source"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The notification was resolved: no longer true that a policy has no source.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification_cleared.policy_without_source",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification_cleared"
              },
              "event_type": {
                "const": "split_dns_failed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The notification was resolved: no longer true that split DNS is broken on a device.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification_cleared.split_dns_failed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification_cleared"
              },
              "event_type": {
                "const": "subnet_without_policy"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The notification was resolved: no longer true that a subnet is in no policy.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification_cleared.subnet_without_policy",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification_cleared"
              },
              "event_type": {
                "const": "user_client_disabled_on_create"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The notification was resolved: no longer true that a new user client is waiting for activation.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification_cleared.user_client_disabled_on_create",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification_cleared"
              },
              "event_type": {
                "const": "user_client_version_outdated"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The notification was resolved: no longer true that a user client's agent is outdated.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification_cleared.user_client_version_outdated",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification_cleared"
              },
              "event_type": {
                "const": "user_client_without_policy"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The notification was resolved: no longer true that a user client is in no policy.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification_cleared.user_client_without_policy",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "notification_cleared"
              },
              "event_type": {
                "const": "virtual_asset_without_policy"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The notification was resolved: no longer true that a virtual asset is in no policy.",
            "properties": {
              "notification_id": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "severity": {}
            },
            "required": [
              "notification_id",
              "object_id",
              "object_name",
              "object_type",
              "severity"
            ],
            "title": "notification_cleared.virtual_asset_without_policy",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "packet_capture"
              },
              "event_type": {
                "const": "capture_deleted"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A capture and its packets were deleted: reason is operator or retention.",
            "properties": {
              "capture_id": {},
              "client_ids": {},
              "clients": {},
              "reason": {
                "description": "Who deleted it: operator (an administrator) or retention (the controller, when the capture's time was up)."
              }
            },
            "required": [
              "capture_id",
              "client_ids",
              "clients",
              "reason"
            ],
            "title": "packet_capture.capture_deleted",
            "x-since": "1.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "packet_capture"
              },
              "event_type": {
                "const": "capture_downloaded"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A capture's packets were downloaded as a file.",
            "properties": {
              "capture_id": {},
              "client_ids": {},
              "clients": {},
              "packet_count": {
                "description": "The number of packets in the downloaded file."
              },
              "payload_included": {}
            },
            "required": [
              "capture_id",
              "client_ids",
              "clients",
              "packet_count",
              "payload_included"
            ],
            "title": "packet_capture.capture_downloaded",
            "x-since": "1.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "packet_capture"
              },
              "event_type": {
                "const": "capture_received"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A leg of a capture ended and its last packets reached the controller; one event per leg.",
            "properties": {
              "byte_count": {},
              "capture_id": {},
              "client": {},
              "interface_name": {
                "description": "The interface this leg captured on."
              },
              "leg_id": {},
              "packet_count": {},
              "payload_included": {},
              "stop_reason": {}
            },
            "required": [
              "byte_count",
              "capture_id",
              "client",
              "interface_name",
              "leg_id",
              "packet_count",
              "payload_included",
              "stop_reason"
            ],
            "title": "packet_capture.capture_received",
            "x-since": "1.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "packet_capture"
              },
              "event_type": {
                "const": "capture_requested"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "An administrator started a packet capture on a device; one event per device.",
            "properties": {
              "capture_id": {},
              "client": {},
              "duration_seconds": {
                "description": "How long the capture was asked to run.",
                "x-since": "1.2.0"
              },
              "duration_secs": {},
              "filter": {},
              "interface_name": {
                "description": "Every interface asked for, comma-separated."
              },
              "payload_included": {}
            },
            "required": [
              "capture_id",
              "client",
              "duration_seconds",
              "duration_secs",
              "filter",
              "interface_name",
              "payload_included"
            ],
            "title": "packet_capture.capture_requested",
            "x-since": "1.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "packet_capture"
              },
              "event_type": {
                "const": "capture_stopped"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "An administrator stopped a capture before its end; one event per device still running it.",
            "properties": {
              "capture_id": {},
              "client": {}
            },
            "required": [
              "capture_id",
              "client"
            ],
            "title": "packet_capture.capture_stopped",
            "x-since": "1.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "upstream_firewall"
              },
              "event_type": {
                "const": "credentials_delivered"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The asset picked the key up.",
            "properties": {
              "client_id": {},
              "management_url": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "vendor": {}
            },
            "required": [
              "client_id",
              "management_url",
              "object_id",
              "object_name",
              "object_type",
              "vendor"
            ],
            "title": "upstream_firewall.credentials_delivered",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "upstream_firewall"
              },
              "event_type": {
                "const": "credentials_expired"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The handover expired before the asset picked the key up.",
            "properties": {
              "client_id": {},
              "management_url": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "vendor": {}
            },
            "required": [
              "client_id",
              "management_url",
              "object_id",
              "object_name",
              "object_type",
              "vendor"
            ],
            "title": "upstream_firewall.credentials_expired",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "upstream_firewall"
              },
              "event_type": {
                "const": "credentials_handed_over"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "An administrator handed the firewall's API key to the asset.",
            "properties": {
              "client_id": {},
              "management_url": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "vendor": {}
            },
            "required": [
              "client_id",
              "management_url",
              "object_id",
              "object_name",
              "object_type",
              "vendor"
            ],
            "title": "upstream_firewall.credentials_handed_over",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "upstream_firewall"
              },
              "event_type": {
                "const": "credentials_invalid"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The firewall rejected the key.",
            "properties": {
              "client_id": {},
              "error": {
                "description": "What the firewall answered."
              },
              "management_url": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "vendor": {}
            },
            "required": [
              "client_id",
              "error",
              "management_url",
              "object_id",
              "object_name",
              "object_type",
              "vendor"
            ],
            "title": "upstream_firewall.credentials_invalid",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "upstream_firewall"
              },
              "event_type": {
                "const": "credentials_verified"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "The firewall accepted the key. The device fields are empty where the firewall did not report them.",
            "properties": {
              "client_id": {},
              "device_ha_mode": {},
              "device_hostname": {},
              "device_model": {},
              "device_serial": {},
              "device_vdom": {},
              "device_version": {},
              "management_url": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "vendor": {}
            },
            "required": [
              "client_id",
              "device_ha_mode",
              "device_hostname",
              "device_model",
              "device_serial",
              "device_vdom",
              "device_version",
              "management_url",
              "object_id",
              "object_name",
              "object_type",
              "vendor"
            ],
            "title": "upstream_firewall.credentials_verified",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "upstream_firewall"
              },
              "event_type": {
                "const": "sync_failed"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "A synchronisation failed.",
            "properties": {
              "client_id": {},
              "error": {
                "description": "Why the synchronisation failed."
              },
              "management_url": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "objects_left": {},
              "rules_applied": {},
              "rules_failed": {},
              "rules_skipped": {},
              "vendor": {}
            },
            "required": [
              "client_id",
              "error",
              "management_url",
              "object_id",
              "object_name",
              "object_type",
              "objects_left",
              "rules_applied",
              "rules_failed",
              "rules_skipped",
              "vendor"
            ],
            "title": "upstream_firewall.sync_failed",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        },
        {
          "if": {
            "properties": {
              "event_class": {
                "const": "upstream_firewall"
              },
              "event_type": {
                "const": "sync_recovered"
              }
            },
            "required": [
              "event_class",
              "event_type"
            ]
          },
          "then": {
            "description": "Synchronisation works again.",
            "properties": {
              "client_id": {},
              "detail": {},
              "management_url": {},
              "object_id": {},
              "object_name": {},
              "object_type": {},
              "objects_left": {},
              "rules_applied": {},
              "rules_failed": {},
              "rules_skipped": {},
              "vendor": {}
            },
            "required": [
              "client_id",
              "detail",
              "management_url",
              "object_id",
              "object_name",
              "object_type",
              "objects_left",
              "rules_applied",
              "rules_failed",
              "rules_skipped",
              "vendor"
            ],
            "title": "upstream_firewall.sync_recovered",
            "x-since": "0.1.0",
            "x-stability": "stable"
          }
        }
      ],
      "properties": {
        "account": {
          "$ref": "#/$defs/account"
        },
        "actor": {
          "$ref": "#/$defs/actor"
        },
        "after_grace": {
          "$ref": "#/$defs/after_grace"
        },
        "api_key": {
          "$ref": "#/$defs/api_key"
        },
        "approver_email": {
          "$ref": "#/$defs/approver_email"
        },
        "asn": {
          "$ref": "#/$defs/asn"
        },
        "asn_organization": {
          "$ref": "#/$defs/asn_organization"
        },
        "auth_type": {
          "$ref": "#/$defs/auth_type"
        },
        "bucket": {
          "$ref": "#/$defs/bucket"
        },
        "byte_count": {
          "$ref": "#/$defs/byte_count"
        },
        "capture_id": {
          "$ref": "#/$defs/capture_id"
        },
        "changed_fields": {
          "$ref": "#/$defs/changed_fields"
        },
        "city": {
          "$ref": "#/$defs/city"
        },
        "client": {
          "$ref": "#/$defs/client"
        },
        "client_id": {
          "$ref": "#/$defs/client_id"
        },
        "client_ids": {
          "$ref": "#/$defs/client_ids"
        },
        "client_ip": {
          "$ref": "#/$defs/client_ip"
        },
        "client_name": {
          "$ref": "#/$defs/client_name"
        },
        "client_version": {
          "$ref": "#/$defs/client_version"
        },
        "clients": {
          "$ref": "#/$defs/clients"
        },
        "connections": {
          "$ref": "#/$defs/connections"
        },
        "country": {
          "$ref": "#/$defs/country"
        },
        "created_at": {
          "$ref": "#/$defs/created_at"
        },
        "decision_note": {
          "$ref": "#/$defs/decision_note"
        },
        "desktop_session_id": {
          "$ref": "#/$defs/desktop_session_id"
        },
        "destination": {
          "$ref": "#/$defs/destination"
        },
        "destination_id": {
          "$ref": "#/$defs/destination_id"
        },
        "destination_name": {
          "$ref": "#/$defs/destination_name"
        },
        "destination_type": {
          "$ref": "#/$defs/destination_type"
        },
        "detail": {
          "$ref": "#/$defs/detail"
        },
        "device": {
          "$ref": "#/$defs/device"
        },
        "device_ha_mode": {
          "$ref": "#/$defs/device_ha_mode"
        },
        "device_hostname": {
          "$ref": "#/$defs/device_hostname"
        },
        "device_id": {
          "$ref": "#/$defs/device_id"
        },
        "device_model": {
          "$ref": "#/$defs/device_model"
        },
        "device_serial": {
          "$ref": "#/$defs/device_serial"
        },
        "device_vdom": {
          "$ref": "#/$defs/device_vdom"
        },
        "device_version": {
          "$ref": "#/$defs/device_version"
        },
        "devices": {
          "$ref": "#/$defs/devices"
        },
        "devices_off": {
          "$ref": "#/$defs/devices_off"
        },
        "display_name": {
          "$ref": "#/$defs/display_name"
        },
        "dst_id": {
          "$ref": "#/$defs/dst_id"
        },
        "dst_ip": {
          "$ref": "#/$defs/dst_ip"
        },
        "duration_seconds": {
          "$ref": "#/$defs/duration_seconds"
        },
        "duration_secs": {
          "$ref": "#/$defs/duration_secs"
        },
        "effective_tenant": {
          "$ref": "#/$defs/effective_tenant"
        },
        "email": {
          "$ref": "#/$defs/email"
        },
        "enabled": {
          "$ref": "#/$defs/enabled"
        },
        "end_reason": {
          "$ref": "#/$defs/end_reason"
        },
        "ended_by_email": {
          "$ref": "#/$defs/ended_by_email"
        },
        "ended_by_requester": {
          "$ref": "#/$defs/ended_by_requester"
        },
        "error": {
          "$ref": "#/$defs/error"
        },
        "error_display": {
          "$ref": "#/$defs/error_display"
        },
        "event_class": {
          "$ref": "#/$defs/event_class"
        },
        "event_id": {
          "$ref": "#/$defs/event_id"
        },
        "event_type": {
          "$ref": "#/$defs/event_type"
        },
        "extension_approver_email": {
          "$ref": "#/$defs/extension_approver_email"
        },
        "extension_decision_note": {
          "$ref": "#/$defs/extension_decision_note"
        },
        "extension_ends_at": {
          "$ref": "#/$defs/extension_ends_at"
        },
        "extension_granted_until": {
          "$ref": "#/$defs/extension_granted_until"
        },
        "extension_reason": {
          "$ref": "#/$defs/extension_reason"
        },
        "extension_withdrawn_by_email": {
          "$ref": "#/$defs/extension_withdrawn_by_email"
        },
        "extensions": {
          "$ref": "#/$defs/extensions"
        },
        "fail_open": {
          "$ref": "#/$defs/fail_open"
        },
        "field": {
          "$ref": "#/$defs/field"
        },
        "filter": {
          "$ref": "#/$defs/filter"
        },
        "first_access": {
          "$ref": "#/$defs/first_access"
        },
        "gateway_asset_id": {
          "$ref": "#/$defs/gateway_asset_id"
        },
        "host": {
          "$ref": "#/$defs/host"
        },
        "hosts_disappeared": {
          "$ref": "#/$defs/hosts_disappeared"
        },
        "hosts_returned": {
          "$ref": "#/$defs/hosts_returned"
        },
        "initial_scan": {
          "$ref": "#/$defs/initial_scan"
        },
        "interface_name": {
          "$ref": "#/$defs/interface_name"
        },
        "interval_seconds": {
          "$ref": "#/$defs/interval_seconds"
        },
        "ip": {
          "$ref": "#/$defs/ip"
        },
        "jit_request_id": {
          "$ref": "#/$defs/jit_request_id"
        },
        "last_access": {
          "$ref": "#/$defs/last_access"
        },
        "last_event_id": {
          "$ref": "#/$defs/last_event_id"
        },
        "leg_id": {
          "$ref": "#/$defs/leg_id"
        },
        "location": {
          "$ref": "#/$defs/location"
        },
        "login_ip": {
          "$ref": "#/$defs/login_ip"
        },
        "mac": {
          "$ref": "#/$defs/mac"
        },
        "management_url": {
          "$ref": "#/$defs/management_url"
        },
        "manufacturer": {
          "$ref": "#/$defs/manufacturer"
        },
        "message": {
          "$ref": "#/$defs/message"
        },
        "new_hosts": {
          "$ref": "#/$defs/new_hosts"
        },
        "new_role": {
          "$ref": "#/$defs/new_role"
        },
        "new_rule_description": {
          "$ref": "#/$defs/new_rule_description"
        },
        "new_rule_remote_address": {
          "$ref": "#/$defs/new_rule_remote_address"
        },
        "new_service_definition_id": {
          "$ref": "#/$defs/new_service_definition_id"
        },
        "new_services": {
          "$ref": "#/$defs/new_services"
        },
        "new_value": {
          "$ref": "#/$defs/new_value"
        },
        "notification_id": {
          "$ref": "#/$defs/notification_id"
        },
        "object_id": {
          "$ref": "#/$defs/object_id"
        },
        "object_key": {
          "$ref": "#/$defs/object_key"
        },
        "object_name": {
          "$ref": "#/$defs/object_name"
        },
        "object_type": {
          "$ref": "#/$defs/object_type"
        },
        "objects_left": {
          "$ref": "#/$defs/objects_left"
        },
        "occurrence": {
          "$ref": "#/$defs/occurrence"
        },
        "old_remote_addr": {
          "$ref": "#/$defs/old_remote_addr"
        },
        "old_role": {
          "$ref": "#/$defs/old_role"
        },
        "old_rule_description": {
          "$ref": "#/$defs/old_rule_description"
        },
        "old_rule_remote_address": {
          "$ref": "#/$defs/old_rule_remote_address"
        },
        "old_service_definition_id": {
          "$ref": "#/$defs/old_service_definition_id"
        },
        "old_value": {
          "$ref": "#/$defs/old_value"
        },
        "open_ports": {
          "$ref": "#/$defs/open_ports"
        },
        "os": {
          "$ref": "#/$defs/os"
        },
        "packet_count": {
          "$ref": "#/$defs/packet_count"
        },
        "partner": {
          "$ref": "#/$defs/partner"
        },
        "payload_included": {
          "$ref": "#/$defs/payload_included"
        },
        "policy_id": {
          "$ref": "#/$defs/policy_id"
        },
        "policy_name": {
          "$ref": "#/$defs/policy_name"
        },
        "port": {
          "$ref": "#/$defs/port"
        },
        "previous_window_end": {
          "$ref": "#/$defs/previous_window_end"
        },
        "protocol": {
          "$ref": "#/$defs/protocol"
        },
        "reason": {
          "$ref": "#/$defs/reason"
        },
        "recording": {
          "$ref": "#/$defs/recording"
        },
        "recurrence": {
          "$ref": "#/$defs/recurrence"
        },
        "remote_address": {
          "$ref": "#/$defs/remote_address"
        },
        "reporter_email": {
          "$ref": "#/$defs/reporter_email"
        },
        "requester": {
          "$ref": "#/$defs/requester"
        },
        "requester_email": {
          "$ref": "#/$defs/requester_email"
        },
        "role": {
          "$ref": "#/$defs/role"
        },
        "route": {
          "$ref": "#/$defs/route"
        },
        "rule_description": {
          "$ref": "#/$defs/rule_description"
        },
        "rule_remote_address": {
          "$ref": "#/$defs/rule_remote_address"
        },
        "rules_applied": {
          "$ref": "#/$defs/rules_applied"
        },
        "rules_failed": {
          "$ref": "#/$defs/rules_failed"
        },
        "rules_skipped": {
          "$ref": "#/$defs/rules_skipped"
        },
        "sample_count": {
          "$ref": "#/$defs/sample_count"
        },
        "samples_expected": {
          "$ref": "#/$defs/samples_expected"
        },
        "samples_over": {
          "$ref": "#/$defs/samples_over"
        },
        "schema_version": {
          "$ref": "#/$defs/schema_version"
        },
        "service_definition_id": {
          "$ref": "#/$defs/service_definition_id"
        },
        "services_closed": {
          "$ref": "#/$defs/services_closed"
        },
        "session_id": {
          "$ref": "#/$defs/session_id"
        },
        "session_type": {
          "$ref": "#/$defs/session_type"
        },
        "severity": {
          "$ref": "#/$defs/severity"
        },
        "sha256": {
          "$ref": "#/$defs/sha256"
        },
        "size_bytes": {
          "$ref": "#/$defs/size_bytes"
        },
        "source": {
          "$ref": "#/$defs/source"
        },
        "src_machine_id": {
          "$ref": "#/$defs/src_machine_id"
        },
        "ssh_certificate_id": {
          "$ref": "#/$defs/ssh_certificate_id"
        },
        "stop_reason": {
          "$ref": "#/$defs/stop_reason"
        },
        "target": {
          "$ref": "#/$defs/target"
        },
        "tenant_name": {
          "$ref": "#/$defs/tenant_name"
        },
        "test": {
          "$ref": "#/$defs/test"
        },
        "test_reason": {
          "$ref": "#/$defs/test_reason"
        },
        "test_scope": {
          "$ref": "#/$defs/test_scope"
        },
        "test_state": {
          "$ref": "#/$defs/test_state"
        },
        "threshold_percent": {
          "$ref": "#/$defs/threshold_percent"
        },
        "trace_id": {
          "$ref": "#/$defs/trace_id"
        },
        "trace_role": {
          "$ref": "#/$defs/trace_role"
        },
        "transcript_sha256": {
          "$ref": "#/$defs/transcript_sha256"
        },
        "transcript_size_bytes": {
          "$ref": "#/$defs/transcript_size_bytes"
        },
        "user": {
          "$ref": "#/$defs/user"
        },
        "user_email": {
          "$ref": "#/$defs/user_email"
        },
        "user_id": {
          "$ref": "#/$defs/user_id"
        },
        "user_name": {
          "$ref": "#/$defs/user_name"
        },
        "vendor": {
          "$ref": "#/$defs/vendor"
        },
        "watch_id": {
          "$ref": "#/$defs/watch_id"
        },
        "web_apps": {
          "$ref": "#/$defs/web_apps"
        },
        "window_end": {
          "$ref": "#/$defs/window_end"
        },
        "window_start": {
          "$ref": "#/$defs/window_start"
        }
      },
      "required": [
        "created_at",
        "event_class",
        "event_id",
        "event_type",
        "message",
        "schema_version",
        "session_type"
      ],
      "type": "object",
      "x-common-optional": [
        "actor",
        "api_key",
        "asn",
        "asn_organization",
        "auth_type",
        "city",
        "client",
        "client_name",
        "client_version",
        "country",
        "effective_tenant",
        "host",
        "login_ip",
        "os",
        "partner",
        "remote_address",
        "role",
        "session_id",
        "tenant_name",
        "user",
        "user_email"
      ]
    }
  },
  "required": [
    "xplicittrust"
  ],
  "title": "XplicitTrust forwarded event 1.2.0",
  "type": "object",
  "x-product-release": "1.139",
  "x-release-date": "2026-11-29",
  "x-schema-version": "1.2.0"
}
