{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-schema/analytics-events-api-paging-schema.json",
  "title": "Paging",
  "description": "Pagination information for navigating result sets",
  "type": "object",
  "properties": {
    "next": {
      "type": "object",
      "description": "Pagination cursor for retrieving the next page of results",
      "properties": {
        "after": {
          "type": "string",
          "description": "Cursor token for the next page",
          "example": "example-value"
        },
        "link": {
          "type": "string",
          "description": "API link to the next page of results",
          "example": "https://app.hubspot.com/contacts/12345"
        }
      }
    },
    "prev": {
      "type": "object",
      "description": "Pagination cursor for retrieving the previous page of results",
      "properties": {
        "before": {
          "type": "string",
          "description": "Cursor token for the previous page",
          "example": "example-value"
        },
        "link": {
          "type": "string",
          "description": "API link to the previous page of results",
          "example": "https://app.hubspot.com/contacts/12345"
        }
      }
    }
  }
}