{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/inforcer/json-schema/inforcer-search-audit-events-request-schema.json",
  "title": "searchAuditEventsRequest",
  "x-generated": "2026-12-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/inforcer-openapi.json#/components/schemas/searchAuditEventsRequest",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "user": {
      "type": [
        "string",
        "null"
      ],
      "description": "A user to filter the events by"
    },
    "eventTypes": {
      "type": [
        "array",
        "null"
      ],
      "description": "A list of event types to filter the events by",
      "items": {
        "type": "string"
      }
    },
    "dateFrom": {
      "type": [
        "string",
        "null"
      ],
      "description": "The start of a date range to filter the events by",
      "format": "date-time"
    },
    "dateTo": {
      "type": [
        "string",
        "null"
      ],
      "description": "The end of a date range to filter the events by",
      "format": "date-time"
    },
    "pageSize": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The maximum number of items to return at a time, up to a maximum of 100. If there are more items to return than will fit in a page then a continuation token will be returned.",
      "format": "int32",
      "minimum": 1,
      "maximum": 100,
      "default": 25
    },
    "continuationToken": {
      "type": [
        "string",
        "null"
      ],
      "description": "A token to continue a previous search in another page"
    }
  }
}