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": {
+ "basis": {
+ "description": "Page basis: model or rendered+model.",
+ "type": "string"
+ },
+ "estimated": {
+ "description": "Always true: pages are estimates.",
+ "type": "boolean"
+ },
+ "page_count": {
+ "description": "Estimated page count.",
+ "type": "integer"
+ },
+ "paragraphs": {
+ "description": "This page of paragraphs.",
+ "items": {
+ "description": "Where one paragraph is.",
+ "properties": {
+ "at": {
+ "description": "Paragraph address, p<n>#<fingerprint> (story-prefixed in notes/headers).",
+ "type": "string"
+ },
+ "chapter": {
+ "description": "Its chapter: id, title, number, kind; null if none.",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "complete": {
+ "description": "True when the phrase is the whole paragraph.",
+ "type": "boolean"
+ },
+ "context": {
+ "description": "When find_phrase is null: the nearest earlier paragraph with one.",
+ "properties": {
+ "after": {
+ "description": "Its find phrase.",
+ "type": "string"
+ },
+ "after_word": {
+ "description": "As typed in Word's Find box.",
+ "type": "string"
+ },
+ "at": {
+ "description": "Paragraph address, p<n>#<fingerprint> (story-prefixed in notes/headers).",
+ "type": "string"
+ },
+ "paragraphs_after": {
+ "description": "Paragraphs from there to this one.",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "find_phrase": {
+ "description": "Text Word's Find meets exactly once, or null.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "find_phrase_across": {
+ "description": "previous or next: the phrase spans a paragraph break.",
+ "type": "string"
+ },
+ "find_phrase_reason": {
+ "description": "Why find_phrase is null.",
+ "type": "string"
+ },
+ "find_phrase_unique": {
+ "description": "Whether find_phrase is non-null.",
+ "type": "boolean"
+ },
+ "find_phrase_word": {
+ "description": "find_phrase as typed in Word's Find box (^p, ^t...).",
+ "type": "string"
+ },
+ "find_phrase_words": {
+ "description": "Words in find_phrase.",
+ "type": "integer"
+ },
+ "head_words": {
+ "description": "Words of the phrase's head.",
+ "type": "integer"
+ },
+ "kind": {
+ "description": "Header/footer kind: default, first or even.",
+ "type": "string"
+ },
+ "mark": {
+ "description": "A note paragraph: where its mark is (a row like this one).",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "note": {
+ "description": "A note's id, displayed number and the body paragraph holding its mark.",
+ "properties": {
+ "id": {
+ "description": "Note id.",
+ "type": "integer"
+ },
+ "number": {
+ "description": "Displayed number.",
+ "type": "string"
+ },
+ "of": {
+ "description": "Address of the paragraph holding the mark.",
+ "type": "string"
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "page": {
+ "description": "Estimated page.",
+ "type": "integer"
+ },
+ "page_label": {
+ "description": "Page number as printed.",
+ "type": [
+ "integer",
+ "string"
+ ]
+ },
+ "part": {
+ "description": "Its part: id, title, number; null if none.",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "phrase": {
+ "description": "Shortest unique first … last words phrase, or null.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "reason": {
+ "description": "Why phrase is null (empty, duplicate...).",
+ "type": "string"
+ },
+ "scene": {
+ "description": "Its scene: id and ordinal within the chapter; null if none.",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "section": {
+ "description": "Section (1-based) whose header or footer this is.",
+ "type": "integer"
+ },
+ "story": {
+ "description": "Story kind outside the body: footnote, endnote, header or footer.",
+ "type": "string"
+ },
+ "tail_words": {
+ "description": "Words of the phrase's tail.",
+ "type": "integer"
+ },
+ "used_by_sections": {
+ "description": "Sections that show this header or footer.",
+ "items": {
+ "type": "integer"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "total": {
+ "description": "Items in the whole list, across pages.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "estimated",
+ "paragraphs"
+ ],
+ "type": "object"
+ },
+ "warnings": {
+ "description": "Things to know about the result.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "api",
+ "ok",
+ "op",
+ "result",
+ "warnings",
+ "next"
+ ],
+ "type": "object"
+}