{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zop-dev/json-schema/zop-dev-paginated-response-schema.json",
  "title": "PaginatedResponse",
  "description": "A page of results with its counts. Documented for /audit-logs and /state-history (administration/audit-logs.mdx, operations/actions.mdx).",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zop-dev-openapi.json#/components/schemas/PaginatedResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "total": {
          "type": "integer",
          "description": "Total matching items across all pages."
        },
        "page": {
          "type": "integer",
          "description": "The page returned."
        },
        "limit": {
          "type": "integer",
          "description": "Items per page for this response."
        }
      }
    }
  }
}