{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-pubsub/json-schema/google-cloud-pubsub-list-partition-cursors-response-schema.json",
  "title": "ListPartitionCursorsResponse",
  "description": "Response for ListPartitionCursors",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-pubsub-pubsublite-cursor-api-openapi.yml#/components/schemas/ListPartitionCursorsResponse",
  "properties": {
    "nextPageToken": {
      "type": "string",
      "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages."
    },
    "partitionCursors": {
      "items": {
        "$ref": "#/$defs/PartitionCursor"
      },
      "description": "The partition cursors from this request.",
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "Cursor": {
      "type": "object",
      "properties": {
        "offset": {
          "description": "The offset of a message within a topic partition. Must be greater than or equal 0.",
          "format": "int64",
          "type": "string"
        }
      },
      "description": "A cursor that describes the position of a message within a topic partition."
    },
    "PartitionCursor": {
      "properties": {
        "partition": {
          "description": "The partition this is for.",
          "format": "int64",
          "type": "string"
        },
        "cursor": {
          "$ref": "#/$defs/Cursor",
          "description": "The value of the cursor."
        }
      },
      "type": "object",
      "description": "A pair of a Cursor and the partition it is for."
    }
  }
}