{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "The built-in audit/webhook event explorer's data, served by GET /api/events.json. See docs/api/compatibility.md.",
  "properties": {
    "filters": {
      "properties": {
        "action": {
          "type": "string"
        },
        "actor": {
          "type": "string"
        },
        "errors": {
          "type": "boolean"
        },
        "severity": {
          "type": "string"
        },
        "source": {
          "type": "string"
        },
        "target": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "generated_at": {
      "type": "string"
    },
    "matched": {
      "type": "integer"
    },
    "next_cursor": {
      "type": "string"
    },
    "retained": {
      "type": "integer"
    },
    "returned": {
      "type": "integer"
    },
    "rows": {
      "items": {
        "properties": {
          "action": {
            "type": "string"
          },
          "actor_id": {
            "type": "string"
          },
          "actor_name": {
            "type": "string"
          },
          "actor_type": {
            "type": "string"
          },
          "details": {
            "type": "string"
          },
          "error": {
            "type": "string"
          },
          "origin": {
            "type": "string"
          },
          "severity": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "tailnet": {
            "type": "string"
          },
          "target_id": {
            "type": "string"
          },
          "target_name": {
            "type": "string"
          },
          "target_property": {
            "type": "string"
          },
          "target_type": {
            "type": "string"
          },
          "time": {
            "format": "date-time",
            "type": "string"
          },
          "truncated": {
            "type": "boolean"
          },
          "type": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "schema_version": {
      "type": "integer"
    },
    "stats": {
      "properties": {
        "capacity": {
          "type": "integer"
        },
        "earliest": {
          "format": "date-time",
          "type": "string"
        },
        "evicted": {
          "type": "integer"
        },
        "latest": {
          "format": "date-time",
          "type": "string"
        },
        "recorded": {
          "type": "integer"
        },
        "retained": {
          "type": "integer"
        }
      },
      "type": "object"
    },
    "truncated": {
      "type": "boolean"
    },
    "window": {
      "type": "string"
    }
  },
  "title": "tailscale2otel /api/events.json",
  "type": "object"
}
