changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "api": {
+ "description": "API version (1.0).",
+ "type": "string"
+ },
+ "doc": {
+ "description": "The document read or written: path, sha256 and paragraph count.",
+ "properties": {
+ "characters": {
+ "description": "text.normalize of a text string: its length.",
+ "type": "integer"
+ },
+ "paragraphs": {
+ "description": "Body paragraphs.",
+ "type": "integer"
+ },
+ "path": {
+ "description": "Path of the document.",
+ "type": "string"
+ },
+ "sha256": {
+ "description": "sha256 of the file (pass as expect.sha256 to a write).",
+ "type": "string"
+ },
+ "source": {
+ "description": "A .txt/.md/.odt source's format, encoding and split mode; \"text\" for a text string (text.normalize).",
+ "type": [
+ "object",
+ "string"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "next": {
+ "description": "Cursor for the next page (pass as cursor), or null.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "ok": {
+ "description": "Always true on success.",
+ "type": "boolean"
+ },
+ "op": {
+ "description": "The operation that ran.",
+ "type": "string"
+ },
+ "result": {
+ "description": "What the operation returns.",
+ "properties": {
+ "based_on": {
+ "description": "Parent style id.",
+ "type": "string"
+ },
+ "chain": {
+ "description": "The style and its ancestors, nearest first.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "custom": {
+ "description": "True for a user-defined style.",
+ "type": "boolean"
+ },
+ "default": {
+ "description": "True for the default style of its type.",
+ "type": "boolean"
+ },
+ "effective": {
+ "description": "Formatting after inheritance.",
+ "properties": {
+ "paragraph": {
+ "description": "Paragraph properties.",
+ "type": "object"
+ },
+ "run": {
+ "description": "Run (character) properties.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "heading_level": {
+ "description": "1-9 for a heading style, else null.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "id": {
+ "description": "Style id (w:styleId).",
+ "type": "string"
+ },
+ "link": {
+ "description": "Linked paragraph/character style.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Display name.",
+ "type": "string"
+ },
+ "next": {
+ "description": "Style of the paragraph after this one.",
+ "type": "string"
+ },
+ "own": {
+ "description": "Formatting the style sets itself.",
+ "properties": {
+ "paragraph": {
+ "description": "Paragraph properties.",
+ "type": "object"
+ },
+ "run": {
+ "description": "Run (character) properties.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "quick": {
+ "description": "Shown in the quick style gallery.",
+ "type": "boolean"
+ },
+ "type": {
+ "description": "paragraph, character, table or numbering.",
+ "type": "string"
+ },
+ "used": {
+ "description": "Uses in the body.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "type",
+ "used",
+ "quick",
+ "heading_level",
+ "chain",
+ "own",
+ "effective"
+ ],
+ "type": "object"
+ },
+ "warnings": {
+ "description": "Things to know about the result.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "api",
+ "ok",
+ "op",
+ "result",
+ "warnings",
+ "next"
+ ],
+ "type": "object"
+}