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": {
+ "application": {
+ "description": "Application properties present (docProps/app.xml).",
+ "properties": {
+ "application": {
+ "description": "Program that wrote it.",
+ "type": "string"
+ },
+ "pages": {
+ "description": "Page count Word saved.",
+ "type": [
+ "integer",
+ "string"
+ ]
+ },
+ "words": {
+ "description": "Word count Word saved.",
+ "type": [
+ "integer",
+ "string"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "has": {
+ "description": "Which parts exist.",
+ "properties": {
+ "comments": {
+ "description": "A comments part.",
+ "type": "boolean"
+ },
+ "endnotes": {
+ "description": "An endnotes part.",
+ "type": "boolean"
+ },
+ "footers": {
+ "description": "Footer parts.",
+ "type": "integer"
+ },
+ "footnotes": {
+ "description": "A footnotes part.",
+ "type": "boolean"
+ },
+ "headers": {
+ "description": "Header parts.",
+ "type": "integer"
+ },
+ "styles": {
+ "description": "A styles part.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "parts": {
+ "description": "Parts in the package.",
+ "type": "integer"
+ },
+ "properties": {
+ "description": "Core properties present (docProps/core.xml).",
+ "properties": {
+ "created": {
+ "description": "Created (ISO 8601).",
+ "type": "string"
+ },
+ "creator": {
+ "description": "Author.",
+ "type": "string"
+ },
+ "last_modified_by": {
+ "description": "Last modified by.",
+ "type": "string"
+ },
+ "modified": {
+ "description": "Modified (ISO 8601).",
+ "type": "string"
+ },
+ "revision": {
+ "description": "Revision number.",
+ "type": [
+ "integer",
+ "string"
+ ]
+ },
+ "subject": {
+ "description": "Subject.",
+ "type": "string"
+ },
+ "title": {
+ "description": "Title.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "size_bytes": {
+ "description": "File size in bytes.",
+ "type": "integer"
+ },
+ "tracked_changes_on": {
+ "description": "Whether Track Changes is switched on in the document.",
+ "type": "boolean"
+ },
+ "word_lock": {
+ "description": "Whether a Word lock file (~$name) is next to it: open in Word.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "size_bytes",
+ "parts",
+ "properties",
+ "application",
+ "tracked_changes_on",
+ "word_lock",
+ "has"
+ ],
+ "type": "object"
+ },
+ "warnings": {
+ "description": "Things to know about the result.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "api",
+ "ok",
+ "op",
+ "result",
+ "warnings",
+ "next"
+ ],
+ "type": "object"
+}