{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/knoxcall/json-schema/knoxcall-pagination-meta-schema.json",
  "title": "PaginationMeta",
  "description": "Pagination metadata for list endpoints.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/knoxcall-api-keys-api-openapi.yml#/components/schemas/PaginationMeta",
  "type": "object",
  "properties": {
    "total": {
      "type": "integer",
      "description": "Total number of records matching the query."
    },
    "page": {
      "type": "integer",
      "description": "Current page number."
    },
    "per_page": {
      "type": "integer",
      "description": "Number of records per page."
    },
    "total_pages": {
      "type": "integer",
      "description": "Total number of pages, capped at the deepest page the 100,000-row offset ceiling allows -- `min(ceil(total / per_page), floor(100000 / per_page) + 1)`. When it is below `ceil(total / per_page)` the result set is larger than pagination can reach; narrow it with a filter."
    },
    "request_id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier for this API request."
    }
  },
  "required": [
    "total",
    "page",
    "per_page",
    "total_pages",
    "request_id"
  ]
}