{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/couchbase/main/json-schema/couchbase-paginated-response-schema.json",
  "title": "PaginatedResponse",
  "description": "Paginated response wrapper",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/couchbase-api-keys-api-openapi.yml#/components/schemas/PaginatedResponse",
  "type": "object",
  "properties": {
    "cursor": {
      "type": "object",
      "description": "Pagination cursor information",
      "properties": {
        "pages": {
          "type": "object",
          "properties": {
            "page": {
              "type": "integer",
              "description": "Current page number"
            },
            "next": {
              "type": "integer",
              "description": "Next page number"
            },
            "previous": {
              "type": "integer",
              "description": "Previous page number"
            },
            "last": {
              "type": "integer",
              "description": "Last page number"
            },
            "perPage": {
              "type": "integer",
              "description": "Items per page"
            },
            "totalItems": {
              "type": "integer",
              "description": "Total number of items"
            }
          }
        }
      }
    },
    "data": {
      "type": "array",
      "description": "List of items",
      "items": {}
    }
  }
}