{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google/json-schema/google-reply-schema.json",
  "title": "Reply",
  "description": "A reply to a comment on a file. Some resource methods (such as `replies.update`) require a `replyId`. Use the `replies.list` method to retrieve the ID for a reply.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-replies-api-openapi.yml#/components/schemas/Reply",
  "properties": {
    "action": {
      "description": "The action the reply performed to the parent comment. Valid values are: * `resolve` * `reopen`",
      "type": "string"
    },
    "author": {
      "$ref": "#/$defs/User",
      "description": "Output only. The author of the reply. The author's email address and permission ID will not be populated."
    },
    "content": {
      "description": "The plain text content of the reply. This field is used for setting the content, while `htmlContent` should be displayed. This is required on creates if no `action` is specified.",
      "type": "string"
    },
    "createdTime": {
      "description": "The time at which the reply was created (RFC 3339 date-time).",
      "format": "date-time",
      "type": "string"
    },
    "deleted": {
      "description": "Output only. Whether the reply has been deleted. A deleted reply has no content.",
      "type": "boolean"
    },
    "htmlContent": {
      "description": "Output only. The content of the reply with HTML formatting.",
      "type": "string"
    },
    "id": {
      "description": "Output only. The ID of the reply.",
      "type": "string"
    },
    "kind": {
      "default": "drive#reply",
      "description": "Output only. Identifies what kind of resource this is. Value: the fixed string `\"drive#reply\"`.",
      "type": "string"
    },
    "modifiedTime": {
      "description": "The last time the reply was modified (RFC 3339 date-time).",
      "format": "date-time",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "User": {
      "description": "Information about a Drive user.",
      "properties": {
        "displayName": {
          "description": "Output only. A plain text displayable name for this user.",
          "type": "string"
        },
        "emailAddress": {
          "description": "Output only. The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester.",
          "type": "string"
        },
        "kind": {
          "default": "drive#user",
          "description": "Output only. Identifies what kind of resource this is. Value: the fixed string `\"drive#user\"`.",
          "type": "string"
        },
        "me": {
          "description": "Output only. Whether this user is the requesting user.",
          "type": "boolean"
        },
        "permissionId": {
          "description": "Output only. The user's ID as visible in Permission resources.",
          "type": "string"
        },
        "photoLink": {
          "description": "Output only. A link to the user's profile photo, if available.",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}