{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-pubsub/json-schema/google-cloud-pubsub-compute-head-cursor-request-schema.json",
  "title": "ComputeHeadCursorRequest",
  "description": "Compute the current head cursor for a partition.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-pubsub-pubsublite-topic-stats-api-openapi.yml#/components/schemas/ComputeHeadCursorRequest",
  "type": "object",
  "properties": {
    "partition": {
      "format": "int64",
      "type": "string",
      "description": "Required. The partition for which we should compute the head cursor."
    }
  }
}