Google Docs · Schema

TextRun

A ParagraphElement that represents a run of text that all has the same styling.

CollaborationDocumentsGoogle WorkspaceProductivityWord Processing

Properties

Name Type Description
content string The text of this run. Any non-text elements in the run are replaced with the Unicode character U+E907.
suggestedInsertionIds array The suggested insertion IDs.
suggestedDeletionIds array The suggested deletion IDs.
suggestedTextStyleChanges object Suggested changes to the text style, keyed by suggestion ID.
View JSON Schema on GitHub

JSON Schema

google-docs-v1-text-run-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "TextRun",
  "type": "object",
  "description": "A ParagraphElement that represents a run of text that all has the same styling.",
  "properties": {
    "content": {
      "type": "string",
      "description": "The text of this run. Any non-text elements in the run are replaced with the Unicode character U+E907."
    },
    "suggestedInsertionIds": {
      "type": "array",
      "description": "The suggested insertion IDs."
    },
    "suggestedDeletionIds": {
      "type": "array",
      "description": "The suggested deletion IDs."
    },
    "suggestedTextStyleChanges": {
      "type": "object",
      "description": "Suggested changes to the text style, keyed by suggestion ID."
    }
  }
}