{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sitegpt-ai/json-schema/sitegpt-ai-pagination-schema.json",
  "title": "Pagination",
  "description": "Cursor pagination state for paginated list endpoints.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sitegpt-ai-knowledge-sources-api-openapi.yml#/components/schemas/Pagination",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "limit",
    "hasNextPage",
    "nextCursor"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "description": "Page size used."
    },
    "hasNextPage": {
      "type": "boolean"
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ],
      "description": "Pass as the cursor query parameter to fetch the next page. Null on the last page."
    }
  }
}