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": {
+ "count": {
+ "description": "Styles exported.",
+ "type": "integer"
+ },
+ "path": {
+ "description": "With out: the file written.",
+ "type": "string"
+ },
+ "styleset": {
+ "description": "The style set (styleset.install takes it as is).",
+ "properties": {
+ "styles": {
+ "description": "The styles.",
+ "items": {
+ "description": "A style.",
+ "properties": {
+ "based_on": {
+ "description": "Parent style id.",
+ "type": "string"
+ },
+ "custom": {
+ "description": "User-defined.",
+ "type": "boolean"
+ },
+ "default": {
+ "description": "Default style of its type.",
+ "type": "boolean"
+ },
+ "id": {
+ "description": "Style id.",
+ "type": "string"
+ },
+ "link": {
+ "description": "Linked style.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Display name.",
+ "type": "string"
+ },
+ "next": {
+ "description": "Style of the next paragraph.",
+ "type": "string"
+ },
+ "paragraph": {
+ "description": "Paragraph properties.",
+ "type": "object"
+ },
+ "quick": {
+ "description": "In the quick gallery.",
+ "type": "boolean"
+ },
+ "run": {
+ "description": "Run properties.",
+ "type": "object"
+ },
+ "type": {
+ "description": "paragraph, character, table or numbering.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "styleset": {
+ "description": "Its name.",
+ "type": "string"
+ },
+ "version": {
+ "description": "Format version.",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "styleset",
+ "count"
+ ],
+ "type": "object"
+ },
+ "warnings": {
+ "description": "Things to know about the result.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "api",
+ "ok",
+ "op",
+ "result",
+ "warnings",
+ "next"
+ ],
+ "type": "object"
+}