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": {
+ "at": {
+ "description": "With at: the paragraph.",
+ "type": "string"
+ },
+ "basis": {
+ "description": "model, or rendered+model when Word's page marks are used.",
+ "type": "string"
+ },
+ "end_page": {
+ "description": "Page it ends on, when it runs onto another page.",
+ "type": "integer"
+ },
+ "end_page_label": {
+ "description": "Page number as printed.",
+ "type": [
+ "integer",
+ "string"
+ ]
+ },
+ "estimated": {
+ "description": "Always true: pages are estimates.",
+ "type": "boolean"
+ },
+ "model": {
+ "description": "The model's constants.",
+ "type": "object"
+ },
+ "notes": {
+ "description": "Caveats about the estimate.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "page": {
+ "description": "Estimated page (1-based).",
+ "type": "integer"
+ },
+ "page_count": {
+ "description": "Estimated page count.",
+ "type": "integer"
+ },
+ "page_label": {
+ "description": "Page number as printed.",
+ "type": [
+ "integer",
+ "string"
+ ]
+ },
+ "pages": {
+ "description": "by page: this page of rows.",
+ "items": {
+ "description": "A page.",
+ "properties": {
+ "from": {
+ "description": "First paragraph number on it.",
+ "type": "integer"
+ },
+ "page": {
+ "description": "Page.",
+ "type": "integer"
+ },
+ "page_label": {
+ "description": "Page number as printed.",
+ "type": [
+ "integer",
+ "string"
+ ]
+ },
+ "paragraphs": {
+ "description": "Paragraphs starting on it.",
+ "type": "integer"
+ },
+ "to": {
+ "description": "Last paragraph number on it.",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "paragraphs": {
+ "description": "by paragraph: this page of rows.",
+ "items": {
+ "description": "A paragraph.",
+ "properties": {
+ "at": {
+ "description": "Paragraph address, p<n>#<fingerprint> (story-prefixed in notes/headers).",
+ "type": "string"
+ },
+ "end_page": {
+ "description": "Page it ends on, when it runs onto another page.",
+ "type": "integer"
+ },
+ "end_page_label": {
+ "description": "Page number as printed.",
+ "type": [
+ "integer",
+ "string"
+ ]
+ },
+ "page": {
+ "description": "Estimated page (1-based).",
+ "type": "integer"
+ },
+ "page_label": {
+ "description": "Page number as printed.",
+ "type": [
+ "integer",
+ "string"
+ ]
+ },
+ "source": {
+ "description": "rendered (Word's page marks), break (explicit break) or model.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "rendered_marks": {
+ "description": "Rendered page-break marks found.",
+ "type": "integer"
+ },
+ "source": {
+ "description": "rendered (Word's page marks), break (explicit break) or model.",
+ "type": "string"
+ },
+ "total": {
+ "description": "Items in the whole list, across pages.",
+ "type": "integer"
+ },
+ "words_per_page": {
+ "description": "Words per page the model assumes.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "estimated",
+ "page_count",
+ "basis",
+ "words_per_page",
+ "rendered_marks",
+ "model",
+ "notes"
+ ],
+ "type": "object"
+ },
+ "warnings": {
+ "description": "Things to know about the result.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "api",
+ "ok",
+ "op",
+ "result",
+ "warnings",
+ "next"
+ ],
+ "type": "object"
+}