{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-pubsub/json-schema/google-cloud-pubsub-compute-time-cursor-response-schema.json",
  "title": "ComputeTimeCursorResponse",
  "description": "Response containing the cursor corresponding to a publish or event time in a topic 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/ComputeTimeCursorResponse",
  "type": "object",
  "properties": {
    "cursor": {
      "$ref": "#/$defs/Cursor",
      "description": "If present, the cursor references the first message with time greater than or equal to the specified target time. If such a message cannot be found, the cursor will be unset (i.e. `cursor` is not present)."
    }
  },
  "$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."
    }
  }
}