@superdoc/sdk-linux-x64 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/superdoc +0 -0
- package/bin/tools/catalog.json +577 -2344
- package/bin/tools/system-prompt-mcp.md +20 -2
- package/bin/tools/system-prompt.md +19 -2
- package/bin/tools/tools.anthropic.json +413 -2245
- package/bin/tools/tools.generic.json +418 -2247
- package/bin/tools/tools.openai.json +413 -2245
- package/bin/tools/tools.vercel.json +413 -2245
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"tools": [
|
|
4
4
|
{
|
|
5
5
|
"name": "superdoc_get_content",
|
|
6
|
-
"description": "Read document content in various formats. Call this first in any workflow to understand document structure before making edits. Action \"blocks\" returns structured block data with nodeId, nodeType, textPreview, optional full text when includeText:true, formatting properties (fontFamily, fontSize, color, bold, underline, alignment), and ref handles for immediate use with superdoc_edit or superdoc_format. When you need to evaluate or rewrite existing paragraphs or clauses, prefer action \"blocks\" with includeText:true so you can identify the correct block and then target it by nodeId.
|
|
6
|
+
"description": "Read document content in various formats. Call this first in any workflow to understand document structure before making edits. Action \"blocks\" returns structured block data with nodeId, nodeType, textPreview, optional full text when includeText:true, formatting properties (fontFamily, fontSize, color, bold, underline, alignment), and ref handles for immediate use with superdoc_edit or superdoc_format. When you need to evaluate or rewrite existing paragraphs or clauses, prefer action \"blocks\" with includeText:true so you can identify the correct block and then target it by nodeId. Actions \"text\", \"markdown\", and \"html\" return compact strings. Actions \"markdown_projection\" and \"html_projection\" return detailed async projections with review modes, scopes, diagnostics, annotations, block maps, and optional source maps. Projection source targets use tracked coordinates and are valid only at evaluatedRevision; after any mutation, reproject before using them. Treat omitted or partially emitted annotations according to their status instead of guessing an anchor from rendered text. Action \"info\" returns document metadata: word count, paragraph count, page count, outline, available styles, and capability flags. The \"blocks\" action supports pagination via \"offset\" and \"limit\", and filtering via \"nodeTypes\". Other actions ignore these parameters. This tool never modifies the document. Do NOT call superdoc_edit or superdoc_format without first reading blocks to get valid refs and formatting reference values.\n\nEXAMPLES:\n 1. {\"action\":\"blocks\"}\n 2. {\"action\":\"blocks\",\"includeText\":true,\"offset\":0,\"limit\":20}\n 3. {\"action\":\"blocks\",\"offset\":0,\"limit\":20,\"nodeTypes\":[\"heading\",\"paragraph\"]}\n 4. {\"action\":\"text\"}\n 5. {\"action\":\"info\"}\n 6. {\"action\":\"html_projection\",\"reviewMode\":\"redline\",\"includeSourceMap\":true}\n 7. {\"action\":\"markdown_projection\",\"reviewMode\":\"original\",\"scope\":{\"kind\":\"block\",\"nodeType\":\"paragraph\",\"nodeId\":\"paragraph-id\"},\"includeSourceMap\":true}",
|
|
7
7
|
"input_schema": {
|
|
8
8
|
"type": "object",
|
|
9
9
|
"properties": {
|
|
@@ -13,11 +13,13 @@
|
|
|
13
13
|
"blocks",
|
|
14
14
|
"extract",
|
|
15
15
|
"html",
|
|
16
|
+
"html_projection",
|
|
16
17
|
"info",
|
|
17
18
|
"markdown",
|
|
19
|
+
"markdown_projection",
|
|
18
20
|
"text"
|
|
19
21
|
],
|
|
20
|
-
"description": "The action to perform. One of: blocks, extract, html, info, markdown, text."
|
|
22
|
+
"description": "The action to perform. One of: blocks, extract, html, html_projection, info, markdown, markdown_projection, text."
|
|
21
23
|
},
|
|
22
24
|
"in": {
|
|
23
25
|
"$ref": "#/$defs/StoryLocator",
|
|
@@ -25,7 +27,19 @@
|
|
|
25
27
|
},
|
|
26
28
|
"unflattenLists": {
|
|
27
29
|
"type": "boolean",
|
|
28
|
-
"description": "
|
|
30
|
+
"description": "Deprecated and ignored by V2. V2 always emits canonical nested semantic lists. Only for action 'html'. Omit for other actions."
|
|
31
|
+
},
|
|
32
|
+
"reviewMode": {
|
|
33
|
+
"$ref": "#/$defs/SDProjectionReviewMode",
|
|
34
|
+
"description": "Only for actions 'markdown_projection', 'html_projection'. Omit for other actions."
|
|
35
|
+
},
|
|
36
|
+
"scope": {
|
|
37
|
+
"$ref": "#/$defs/SDProjectionScope",
|
|
38
|
+
"description": "Only for actions 'markdown_projection', 'html_projection'. Omit for other actions."
|
|
39
|
+
},
|
|
40
|
+
"includeSourceMap": {
|
|
41
|
+
"type": "boolean",
|
|
42
|
+
"description": "Only for actions 'markdown_projection', 'html_projection'. Omit for other actions."
|
|
29
43
|
},
|
|
30
44
|
"offset": {
|
|
31
45
|
"type": "number",
|
|
@@ -67,20 +81,21 @@
|
|
|
67
81
|
},
|
|
68
82
|
{
|
|
69
83
|
"name": "superdoc_edit",
|
|
70
|
-
"description": "The primary tool for inserting content into documents. ALWAYS use action \"insert\" with type \"markdown\" to create headings, paragraphs, or any block content: this is faster and creates proper document structure in one call. Do NOT use superdoc_create for headings or paragraphs. The markdown parser creates headings from # markers (# = Heading1, ## = Heading2), bold from **text**, italic from *text*, and numbered/bullet lists. Position markdown inserts with \"target\" (a BlockNodeAddress like {kind:\"block\", nodeType, nodeId}) and \"placement\" (before, after, insideStart, insideEnd). Without a target, content appends at the end of the document. IMPORTANT: After a markdown insert, analyze the document context (what kind of document, how titles and body text are styled) and follow up with ONE superdoc_mutations call to format inserted blocks so they look like they belong. Each format.apply step accepts \"inline\" (fontFamily, fontSize, bold, underline, color), \"alignment\", and \"scope\" in the same step. Use scope: \"block\" so formatting covers the entire paragraph. Copy the exact property values from the existing get_content blocks (fontFamily, fontSize, color, alignment, bold, underline). Do NOT invent values: use what the blocks show. Also supports replace, delete, and undo/redo. For replace and delete, pass a \"ref\" from superdoc_search or superdoc_get_content blocks. A search ref covers only the matched substring; a block ref covers the entire block text, so use block refs when rewriting or shortening whole paragraphs. For multi-step redlines or whole-clause rewrites, prefer superdoc_mutations with where:{by:\"block\", nodeType, nodeId} from superdoc_get_content action \"blocks\" includeText:true rather than relying on text selectors. Refs expire after any mutation; always re-search before the next edit. For 2+ edits that must succeed or fail atomically, use superdoc_mutations instead. Supports \"dryRun\" to preview changes and \"changeMode: tracked\" to record edits as tracked changes
|
|
84
|
+
"description": "The primary tool for inserting content into documents. ALWAYS use action \"insert\" with type \"markdown\" to create headings, paragraphs, or any block content: this is faster and creates proper document structure in one call. Do NOT use superdoc_create for headings or paragraphs. The markdown parser creates headings from # markers (# = Heading1, ## = Heading2), bold from **text**, italic from *text*, and numbered/bullet lists. Position markdown inserts with \"target\" (a BlockNodeAddress like {kind:\"block\", nodeType, nodeId}) and \"placement\" (before, after, insideStart, insideEnd). Without a target, content appends at the end of the document. IMPORTANT: After a markdown insert, analyze the document context (what kind of document, how titles and body text are styled) and follow up with ONE superdoc_mutations call to format inserted blocks so they look like they belong. Each format.apply step accepts \"inline\" (fontFamily, fontSize, bold, underline, color), \"alignment\", and \"scope\" in the same step. Use scope: \"block\" so formatting covers the entire paragraph. Copy the exact property values from the existing get_content blocks (fontFamily, fontSize, color, alignment, bold, underline). Do NOT invent values: use what the blocks show. Also supports replace, delete, and undo/redo. For ordinary replace and delete, pass a \"ref\" from superdoc_search or superdoc_get_content blocks. A search ref covers only the matched substring; a block ref covers the entire block text, so use block refs when rewriting or shortening whole paragraphs. To replace every block in the main body, use action \"replace\" with target:{kind:\"story\",storyType:\"body\"}, one text/value/content payload, and changeMode:\"direct\". This replaces body content, not the DOCX package, and does not require a search first. Tracked whole-body replacement is unsupported. For multi-step redlines or whole-clause rewrites, prefer superdoc_mutations with where:{by:\"block\", nodeType, nodeId} from superdoc_get_content action \"blocks\" includeText:true rather than relying on text selectors. Refs expire after any mutation; always re-search before the next edit. For 2+ edits that must succeed or fail atomically, use superdoc_mutations instead. Before an exact HTML or Markdown insert/replace that must be fidelity-checked, use action \"check_support\", review its outcome and diagnostics, then pass its guard back as \"supportCheck\" on the unchanged write. Supports \"dryRun\" to preview changes and \"changeMode: tracked\" to record edits as tracked changes. Do NOT build \"target\" objects manually when a ref is available; prefer \"ref\" for simpler, more reliable targeting.\n\nEXAMPLES:\n 1. {\"action\":\"insert\",\"type\":\"markdown\",\"target\":{\"kind\":\"block\",\"nodeType\":\"paragraph\",\"nodeId\":\"<nodeId>\"},\"placement\":\"before\",\"value\":\"# Executive Summary\\n\\nThis agreement sets forth the principal terms...\",\"changeMode\":\"direct\"}\n 2. {\"action\":\"insert\",\"type\":\"html\",\"value\":\"<h2>Review heading</h2><p>Tracked rich content.</p>\",\"changeMode\":\"tracked\"}\n 3. {\"action\":\"insert\",\"type\":\"markdown\",\"value\":\"# Section Title\\n\\nParagraph content here.\\n\\n# Another Section\\n\\nMore content with **bold** and *italic*.\"}\n 4. {\"action\":\"replace\",\"ref\":\"<handle.ref>\",\"text\":\"new text here\"}\n 5. {\"action\":\"replace\",\"ref\":\"<handle.ref>\",\"value\":\"**Direct rich replacement**\",\"type\":\"markdown\",\"changeMode\":\"direct\"}\n 6. {\"action\":\"replace\",\"ref\":\"<handle.ref>\",\"value\":\"<strong>Tracked rich replacement</strong>\",\"type\":\"html\",\"changeMode\":\"tracked\"}\n 7. {\"action\":\"check_support\",\"operation\":\"insert\",\"input\":{\"type\":\"markdown\",\"value\":\"# Checked section\"},\"options\":{\"changeMode\":\"direct\"}}\n 8. {\"action\":\"replace\",\"target\":{\"kind\":\"story\",\"storyType\":\"body\"},\"value\":\"# Replacement\\n\\nComplete new body.\",\"type\":\"markdown\",\"changeMode\":\"direct\"}\n 9. {\"action\":\"delete\",\"ref\":\"<handle.ref>\"}\n 10. {\"action\":\"undo\"}",
|
|
71
85
|
"input_schema": {
|
|
72
86
|
"type": "object",
|
|
73
87
|
"properties": {
|
|
74
88
|
"action": {
|
|
75
89
|
"type": "string",
|
|
76
90
|
"enum": [
|
|
91
|
+
"check_support",
|
|
77
92
|
"delete",
|
|
78
93
|
"insert",
|
|
79
94
|
"redo",
|
|
80
95
|
"replace",
|
|
81
96
|
"undo"
|
|
82
97
|
],
|
|
83
|
-
"description": "The action to perform. One of: delete, insert, redo, replace, undo."
|
|
98
|
+
"description": "The action to perform. One of: check_support, delete, insert, redo, replace, undo."
|
|
84
99
|
},
|
|
85
100
|
"force": {
|
|
86
101
|
"type": "boolean",
|
|
@@ -92,2224 +107,65 @@
|
|
|
92
107
|
},
|
|
93
108
|
"dryRun": {
|
|
94
109
|
"type": "boolean",
|
|
95
|
-
"description": "Preview the result without applying changes."
|
|
110
|
+
"description": "Preview the result without applying changes. Only for actions 'insert', 'replace', 'delete'. Omit for other actions."
|
|
96
111
|
},
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
{
|
|
149
|
-
"type": "object",
|
|
150
|
-
"properties": {
|
|
151
|
-
"kind": {
|
|
152
|
-
"const": "story",
|
|
153
|
-
"type": "string"
|
|
154
|
-
},
|
|
155
|
-
"storyType": {
|
|
156
|
-
"const": "headerFooterSlot",
|
|
157
|
-
"type": "string"
|
|
158
|
-
},
|
|
159
|
-
"section": {
|
|
160
|
-
"type": "object",
|
|
161
|
-
"properties": {
|
|
162
|
-
"kind": {
|
|
163
|
-
"const": "section",
|
|
164
|
-
"type": "string"
|
|
165
|
-
},
|
|
166
|
-
"sectionId": {
|
|
167
|
-
"type": "string"
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
|
-
"required": [
|
|
171
|
-
"kind",
|
|
172
|
-
"sectionId"
|
|
173
|
-
]
|
|
174
|
-
},
|
|
175
|
-
"headerFooterKind": {
|
|
176
|
-
"enum": [
|
|
177
|
-
"header",
|
|
178
|
-
"footer"
|
|
179
|
-
]
|
|
180
|
-
},
|
|
181
|
-
"variant": {
|
|
182
|
-
"enum": [
|
|
183
|
-
"default",
|
|
184
|
-
"first",
|
|
185
|
-
"even"
|
|
186
|
-
]
|
|
187
|
-
},
|
|
188
|
-
"resolution": {
|
|
189
|
-
"enum": [
|
|
190
|
-
"effective",
|
|
191
|
-
"explicit"
|
|
192
|
-
]
|
|
193
|
-
},
|
|
194
|
-
"onWrite": {
|
|
195
|
-
"enum": [
|
|
196
|
-
"materializeIfInherited",
|
|
197
|
-
"editResolvedPart",
|
|
198
|
-
"error"
|
|
199
|
-
]
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
"required": [
|
|
203
|
-
"kind",
|
|
204
|
-
"storyType",
|
|
205
|
-
"section",
|
|
206
|
-
"headerFooterKind",
|
|
207
|
-
"variant"
|
|
208
|
-
]
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
"type": "object",
|
|
212
|
-
"properties": {
|
|
213
|
-
"kind": {
|
|
214
|
-
"const": "story",
|
|
215
|
-
"type": "string"
|
|
216
|
-
},
|
|
217
|
-
"storyType": {
|
|
218
|
-
"const": "headerFooterPart",
|
|
219
|
-
"type": "string"
|
|
220
|
-
},
|
|
221
|
-
"refId": {
|
|
222
|
-
"type": "string"
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
"required": [
|
|
226
|
-
"kind",
|
|
227
|
-
"storyType",
|
|
228
|
-
"refId"
|
|
229
|
-
]
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"type": "object",
|
|
233
|
-
"properties": {
|
|
234
|
-
"kind": {
|
|
235
|
-
"const": "story",
|
|
236
|
-
"type": "string"
|
|
237
|
-
},
|
|
238
|
-
"storyType": {
|
|
239
|
-
"const": "footnote",
|
|
240
|
-
"type": "string"
|
|
241
|
-
},
|
|
242
|
-
"noteId": {
|
|
243
|
-
"type": "string"
|
|
244
|
-
}
|
|
245
|
-
},
|
|
246
|
-
"required": [
|
|
247
|
-
"kind",
|
|
248
|
-
"storyType",
|
|
249
|
-
"noteId"
|
|
250
|
-
]
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
"type": "object",
|
|
254
|
-
"properties": {
|
|
255
|
-
"kind": {
|
|
256
|
-
"const": "story",
|
|
257
|
-
"type": "string"
|
|
258
|
-
},
|
|
259
|
-
"storyType": {
|
|
260
|
-
"const": "endnote",
|
|
261
|
-
"type": "string"
|
|
262
|
-
},
|
|
263
|
-
"noteId": {
|
|
264
|
-
"type": "string"
|
|
265
|
-
}
|
|
266
|
-
},
|
|
267
|
-
"required": [
|
|
268
|
-
"kind",
|
|
269
|
-
"storyType",
|
|
270
|
-
"noteId"
|
|
271
|
-
]
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
"type": "object",
|
|
275
|
-
"properties": {
|
|
276
|
-
"kind": {
|
|
277
|
-
"const": "story",
|
|
278
|
-
"type": "string"
|
|
279
|
-
},
|
|
280
|
-
"storyType": {
|
|
281
|
-
"const": "textbox",
|
|
282
|
-
"type": "string"
|
|
283
|
-
},
|
|
284
|
-
"textboxId": {
|
|
285
|
-
"type": "string"
|
|
286
|
-
}
|
|
287
|
-
},
|
|
288
|
-
"required": [
|
|
289
|
-
"kind",
|
|
290
|
-
"storyType",
|
|
291
|
-
"textboxId"
|
|
292
|
-
]
|
|
293
|
-
}
|
|
294
|
-
],
|
|
295
|
-
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
296
|
-
}
|
|
297
|
-
},
|
|
298
|
-
"required": [
|
|
299
|
-
"kind",
|
|
300
|
-
"blockId",
|
|
301
|
-
"offset"
|
|
302
|
-
]
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
"type": "object",
|
|
306
|
-
"properties": {
|
|
307
|
-
"kind": {
|
|
308
|
-
"const": "nodeEdge",
|
|
309
|
-
"type": "string"
|
|
310
|
-
},
|
|
311
|
-
"node": {
|
|
312
|
-
"type": "object",
|
|
313
|
-
"properties": {
|
|
314
|
-
"kind": {
|
|
315
|
-
"const": "block",
|
|
316
|
-
"type": "string"
|
|
317
|
-
},
|
|
318
|
-
"nodeType": {
|
|
319
|
-
"enum": [
|
|
320
|
-
"paragraph",
|
|
321
|
-
"heading",
|
|
322
|
-
"table",
|
|
323
|
-
"tableOfContents",
|
|
324
|
-
"sdt",
|
|
325
|
-
"image"
|
|
326
|
-
]
|
|
327
|
-
},
|
|
328
|
-
"nodeId": {
|
|
329
|
-
"type": "string"
|
|
330
|
-
},
|
|
331
|
-
"story": {
|
|
332
|
-
"oneOf": [
|
|
333
|
-
{
|
|
334
|
-
"type": "object",
|
|
335
|
-
"properties": {
|
|
336
|
-
"kind": {
|
|
337
|
-
"const": "story",
|
|
338
|
-
"type": "string"
|
|
339
|
-
},
|
|
340
|
-
"storyType": {
|
|
341
|
-
"const": "body",
|
|
342
|
-
"type": "string"
|
|
343
|
-
}
|
|
344
|
-
},
|
|
345
|
-
"required": [
|
|
346
|
-
"kind",
|
|
347
|
-
"storyType"
|
|
348
|
-
]
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
"type": "object",
|
|
352
|
-
"properties": {
|
|
353
|
-
"kind": {
|
|
354
|
-
"const": "story",
|
|
355
|
-
"type": "string"
|
|
356
|
-
},
|
|
357
|
-
"storyType": {
|
|
358
|
-
"const": "headerFooterSlot",
|
|
359
|
-
"type": "string"
|
|
360
|
-
},
|
|
361
|
-
"section": {
|
|
362
|
-
"type": "object",
|
|
363
|
-
"properties": {
|
|
364
|
-
"kind": {
|
|
365
|
-
"const": "section",
|
|
366
|
-
"type": "string"
|
|
367
|
-
},
|
|
368
|
-
"sectionId": {
|
|
369
|
-
"type": "string"
|
|
370
|
-
}
|
|
371
|
-
},
|
|
372
|
-
"required": [
|
|
373
|
-
"kind",
|
|
374
|
-
"sectionId"
|
|
375
|
-
]
|
|
376
|
-
},
|
|
377
|
-
"headerFooterKind": {
|
|
378
|
-
"enum": [
|
|
379
|
-
"header",
|
|
380
|
-
"footer"
|
|
381
|
-
]
|
|
382
|
-
},
|
|
383
|
-
"variant": {
|
|
384
|
-
"enum": [
|
|
385
|
-
"default",
|
|
386
|
-
"first",
|
|
387
|
-
"even"
|
|
388
|
-
]
|
|
389
|
-
},
|
|
390
|
-
"resolution": {
|
|
391
|
-
"enum": [
|
|
392
|
-
"effective",
|
|
393
|
-
"explicit"
|
|
394
|
-
]
|
|
395
|
-
},
|
|
396
|
-
"onWrite": {
|
|
397
|
-
"enum": [
|
|
398
|
-
"materializeIfInherited",
|
|
399
|
-
"editResolvedPart",
|
|
400
|
-
"error"
|
|
401
|
-
]
|
|
402
|
-
}
|
|
403
|
-
},
|
|
404
|
-
"required": [
|
|
405
|
-
"kind",
|
|
406
|
-
"storyType",
|
|
407
|
-
"section",
|
|
408
|
-
"headerFooterKind",
|
|
409
|
-
"variant"
|
|
410
|
-
]
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
"type": "object",
|
|
414
|
-
"properties": {
|
|
415
|
-
"kind": {
|
|
416
|
-
"const": "story",
|
|
417
|
-
"type": "string"
|
|
418
|
-
},
|
|
419
|
-
"storyType": {
|
|
420
|
-
"const": "headerFooterPart",
|
|
421
|
-
"type": "string"
|
|
422
|
-
},
|
|
423
|
-
"refId": {
|
|
424
|
-
"type": "string"
|
|
425
|
-
}
|
|
426
|
-
},
|
|
427
|
-
"required": [
|
|
428
|
-
"kind",
|
|
429
|
-
"storyType",
|
|
430
|
-
"refId"
|
|
431
|
-
]
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
"type": "object",
|
|
435
|
-
"properties": {
|
|
436
|
-
"kind": {
|
|
437
|
-
"const": "story",
|
|
438
|
-
"type": "string"
|
|
439
|
-
},
|
|
440
|
-
"storyType": {
|
|
441
|
-
"const": "footnote",
|
|
442
|
-
"type": "string"
|
|
443
|
-
},
|
|
444
|
-
"noteId": {
|
|
445
|
-
"type": "string"
|
|
446
|
-
}
|
|
447
|
-
},
|
|
448
|
-
"required": [
|
|
449
|
-
"kind",
|
|
450
|
-
"storyType",
|
|
451
|
-
"noteId"
|
|
452
|
-
]
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
"type": "object",
|
|
456
|
-
"properties": {
|
|
457
|
-
"kind": {
|
|
458
|
-
"const": "story",
|
|
459
|
-
"type": "string"
|
|
460
|
-
},
|
|
461
|
-
"storyType": {
|
|
462
|
-
"const": "endnote",
|
|
463
|
-
"type": "string"
|
|
464
|
-
},
|
|
465
|
-
"noteId": {
|
|
466
|
-
"type": "string"
|
|
467
|
-
}
|
|
468
|
-
},
|
|
469
|
-
"required": [
|
|
470
|
-
"kind",
|
|
471
|
-
"storyType",
|
|
472
|
-
"noteId"
|
|
473
|
-
]
|
|
474
|
-
},
|
|
475
|
-
{
|
|
476
|
-
"type": "object",
|
|
477
|
-
"properties": {
|
|
478
|
-
"kind": {
|
|
479
|
-
"const": "story",
|
|
480
|
-
"type": "string"
|
|
481
|
-
},
|
|
482
|
-
"storyType": {
|
|
483
|
-
"const": "textbox",
|
|
484
|
-
"type": "string"
|
|
485
|
-
},
|
|
486
|
-
"textboxId": {
|
|
487
|
-
"type": "string"
|
|
488
|
-
}
|
|
489
|
-
},
|
|
490
|
-
"required": [
|
|
491
|
-
"kind",
|
|
492
|
-
"storyType",
|
|
493
|
-
"textboxId"
|
|
494
|
-
]
|
|
495
|
-
}
|
|
496
|
-
],
|
|
497
|
-
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
498
|
-
}
|
|
499
|
-
},
|
|
500
|
-
"required": [
|
|
501
|
-
"kind",
|
|
502
|
-
"nodeType",
|
|
503
|
-
"nodeId"
|
|
504
|
-
]
|
|
505
|
-
},
|
|
506
|
-
"edge": {
|
|
507
|
-
"enum": [
|
|
508
|
-
"before",
|
|
509
|
-
"after"
|
|
510
|
-
]
|
|
511
|
-
}
|
|
512
|
-
},
|
|
513
|
-
"required": [
|
|
514
|
-
"kind",
|
|
515
|
-
"node",
|
|
516
|
-
"edge"
|
|
517
|
-
]
|
|
518
|
-
}
|
|
519
|
-
],
|
|
520
|
-
"description": "A point in the document. Use {kind:'text', blockId, offset} for character positions or {kind:'nodeEdge', node:{kind:'block', nodeType, nodeId}, edge:'before'|'after'} for block boundaries."
|
|
521
|
-
},
|
|
522
|
-
"end": {
|
|
523
|
-
"oneOf": [
|
|
524
|
-
{
|
|
525
|
-
"type": "object",
|
|
526
|
-
"properties": {
|
|
527
|
-
"kind": {
|
|
528
|
-
"const": "text",
|
|
529
|
-
"type": "string"
|
|
530
|
-
},
|
|
531
|
-
"blockId": {
|
|
532
|
-
"type": "string"
|
|
533
|
-
},
|
|
534
|
-
"offset": {
|
|
535
|
-
"type": "number"
|
|
536
|
-
},
|
|
537
|
-
"story": {
|
|
538
|
-
"oneOf": [
|
|
539
|
-
{
|
|
540
|
-
"type": "object",
|
|
541
|
-
"properties": {
|
|
542
|
-
"kind": {
|
|
543
|
-
"const": "story",
|
|
544
|
-
"type": "string"
|
|
545
|
-
},
|
|
546
|
-
"storyType": {
|
|
547
|
-
"const": "body",
|
|
548
|
-
"type": "string"
|
|
549
|
-
}
|
|
550
|
-
},
|
|
551
|
-
"required": [
|
|
552
|
-
"kind",
|
|
553
|
-
"storyType"
|
|
554
|
-
]
|
|
555
|
-
},
|
|
556
|
-
{
|
|
557
|
-
"type": "object",
|
|
558
|
-
"properties": {
|
|
559
|
-
"kind": {
|
|
560
|
-
"const": "story",
|
|
561
|
-
"type": "string"
|
|
562
|
-
},
|
|
563
|
-
"storyType": {
|
|
564
|
-
"const": "headerFooterSlot",
|
|
565
|
-
"type": "string"
|
|
566
|
-
},
|
|
567
|
-
"section": {
|
|
568
|
-
"type": "object",
|
|
569
|
-
"properties": {
|
|
570
|
-
"kind": {
|
|
571
|
-
"const": "section",
|
|
572
|
-
"type": "string"
|
|
573
|
-
},
|
|
574
|
-
"sectionId": {
|
|
575
|
-
"type": "string"
|
|
576
|
-
}
|
|
577
|
-
},
|
|
578
|
-
"required": [
|
|
579
|
-
"kind",
|
|
580
|
-
"sectionId"
|
|
581
|
-
]
|
|
582
|
-
},
|
|
583
|
-
"headerFooterKind": {
|
|
584
|
-
"enum": [
|
|
585
|
-
"header",
|
|
586
|
-
"footer"
|
|
587
|
-
]
|
|
588
|
-
},
|
|
589
|
-
"variant": {
|
|
590
|
-
"enum": [
|
|
591
|
-
"default",
|
|
592
|
-
"first",
|
|
593
|
-
"even"
|
|
594
|
-
]
|
|
595
|
-
},
|
|
596
|
-
"resolution": {
|
|
597
|
-
"enum": [
|
|
598
|
-
"effective",
|
|
599
|
-
"explicit"
|
|
600
|
-
]
|
|
601
|
-
},
|
|
602
|
-
"onWrite": {
|
|
603
|
-
"enum": [
|
|
604
|
-
"materializeIfInherited",
|
|
605
|
-
"editResolvedPart",
|
|
606
|
-
"error"
|
|
607
|
-
]
|
|
608
|
-
}
|
|
609
|
-
},
|
|
610
|
-
"required": [
|
|
611
|
-
"kind",
|
|
612
|
-
"storyType",
|
|
613
|
-
"section",
|
|
614
|
-
"headerFooterKind",
|
|
615
|
-
"variant"
|
|
616
|
-
]
|
|
617
|
-
},
|
|
618
|
-
{
|
|
619
|
-
"type": "object",
|
|
620
|
-
"properties": {
|
|
621
|
-
"kind": {
|
|
622
|
-
"const": "story",
|
|
623
|
-
"type": "string"
|
|
624
|
-
},
|
|
625
|
-
"storyType": {
|
|
626
|
-
"const": "headerFooterPart",
|
|
627
|
-
"type": "string"
|
|
628
|
-
},
|
|
629
|
-
"refId": {
|
|
630
|
-
"type": "string"
|
|
631
|
-
}
|
|
632
|
-
},
|
|
633
|
-
"required": [
|
|
634
|
-
"kind",
|
|
635
|
-
"storyType",
|
|
636
|
-
"refId"
|
|
637
|
-
]
|
|
638
|
-
},
|
|
639
|
-
{
|
|
640
|
-
"type": "object",
|
|
641
|
-
"properties": {
|
|
642
|
-
"kind": {
|
|
643
|
-
"const": "story",
|
|
644
|
-
"type": "string"
|
|
645
|
-
},
|
|
646
|
-
"storyType": {
|
|
647
|
-
"const": "footnote",
|
|
648
|
-
"type": "string"
|
|
649
|
-
},
|
|
650
|
-
"noteId": {
|
|
651
|
-
"type": "string"
|
|
652
|
-
}
|
|
653
|
-
},
|
|
654
|
-
"required": [
|
|
655
|
-
"kind",
|
|
656
|
-
"storyType",
|
|
657
|
-
"noteId"
|
|
658
|
-
]
|
|
659
|
-
},
|
|
660
|
-
{
|
|
661
|
-
"type": "object",
|
|
662
|
-
"properties": {
|
|
663
|
-
"kind": {
|
|
664
|
-
"const": "story",
|
|
665
|
-
"type": "string"
|
|
666
|
-
},
|
|
667
|
-
"storyType": {
|
|
668
|
-
"const": "endnote",
|
|
669
|
-
"type": "string"
|
|
670
|
-
},
|
|
671
|
-
"noteId": {
|
|
672
|
-
"type": "string"
|
|
673
|
-
}
|
|
674
|
-
},
|
|
675
|
-
"required": [
|
|
676
|
-
"kind",
|
|
677
|
-
"storyType",
|
|
678
|
-
"noteId"
|
|
679
|
-
]
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
"type": "object",
|
|
683
|
-
"properties": {
|
|
684
|
-
"kind": {
|
|
685
|
-
"const": "story",
|
|
686
|
-
"type": "string"
|
|
687
|
-
},
|
|
688
|
-
"storyType": {
|
|
689
|
-
"const": "textbox",
|
|
690
|
-
"type": "string"
|
|
691
|
-
},
|
|
692
|
-
"textboxId": {
|
|
693
|
-
"type": "string"
|
|
694
|
-
}
|
|
695
|
-
},
|
|
696
|
-
"required": [
|
|
697
|
-
"kind",
|
|
698
|
-
"storyType",
|
|
699
|
-
"textboxId"
|
|
700
|
-
]
|
|
701
|
-
}
|
|
702
|
-
],
|
|
703
|
-
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
704
|
-
}
|
|
705
|
-
},
|
|
706
|
-
"required": [
|
|
707
|
-
"kind",
|
|
708
|
-
"blockId",
|
|
709
|
-
"offset"
|
|
710
|
-
]
|
|
711
|
-
},
|
|
712
|
-
{
|
|
713
|
-
"type": "object",
|
|
714
|
-
"properties": {
|
|
715
|
-
"kind": {
|
|
716
|
-
"const": "nodeEdge",
|
|
717
|
-
"type": "string"
|
|
718
|
-
},
|
|
719
|
-
"node": {
|
|
720
|
-
"type": "object",
|
|
721
|
-
"properties": {
|
|
722
|
-
"kind": {
|
|
723
|
-
"const": "block",
|
|
724
|
-
"type": "string"
|
|
725
|
-
},
|
|
726
|
-
"nodeType": {
|
|
727
|
-
"enum": [
|
|
728
|
-
"paragraph",
|
|
729
|
-
"heading",
|
|
730
|
-
"table",
|
|
731
|
-
"tableOfContents",
|
|
732
|
-
"sdt",
|
|
733
|
-
"image"
|
|
734
|
-
]
|
|
735
|
-
},
|
|
736
|
-
"nodeId": {
|
|
737
|
-
"type": "string"
|
|
738
|
-
},
|
|
739
|
-
"story": {
|
|
740
|
-
"oneOf": [
|
|
741
|
-
{
|
|
742
|
-
"type": "object",
|
|
743
|
-
"properties": {
|
|
744
|
-
"kind": {
|
|
745
|
-
"const": "story",
|
|
746
|
-
"type": "string"
|
|
747
|
-
},
|
|
748
|
-
"storyType": {
|
|
749
|
-
"const": "body",
|
|
750
|
-
"type": "string"
|
|
751
|
-
}
|
|
752
|
-
},
|
|
753
|
-
"required": [
|
|
754
|
-
"kind",
|
|
755
|
-
"storyType"
|
|
756
|
-
]
|
|
757
|
-
},
|
|
758
|
-
{
|
|
759
|
-
"type": "object",
|
|
760
|
-
"properties": {
|
|
761
|
-
"kind": {
|
|
762
|
-
"const": "story",
|
|
763
|
-
"type": "string"
|
|
764
|
-
},
|
|
765
|
-
"storyType": {
|
|
766
|
-
"const": "headerFooterSlot",
|
|
767
|
-
"type": "string"
|
|
768
|
-
},
|
|
769
|
-
"section": {
|
|
770
|
-
"type": "object",
|
|
771
|
-
"properties": {
|
|
772
|
-
"kind": {
|
|
773
|
-
"const": "section",
|
|
774
|
-
"type": "string"
|
|
775
|
-
},
|
|
776
|
-
"sectionId": {
|
|
777
|
-
"type": "string"
|
|
778
|
-
}
|
|
779
|
-
},
|
|
780
|
-
"required": [
|
|
781
|
-
"kind",
|
|
782
|
-
"sectionId"
|
|
783
|
-
]
|
|
784
|
-
},
|
|
785
|
-
"headerFooterKind": {
|
|
786
|
-
"enum": [
|
|
787
|
-
"header",
|
|
788
|
-
"footer"
|
|
789
|
-
]
|
|
790
|
-
},
|
|
791
|
-
"variant": {
|
|
792
|
-
"enum": [
|
|
793
|
-
"default",
|
|
794
|
-
"first",
|
|
795
|
-
"even"
|
|
796
|
-
]
|
|
797
|
-
},
|
|
798
|
-
"resolution": {
|
|
799
|
-
"enum": [
|
|
800
|
-
"effective",
|
|
801
|
-
"explicit"
|
|
802
|
-
]
|
|
803
|
-
},
|
|
804
|
-
"onWrite": {
|
|
805
|
-
"enum": [
|
|
806
|
-
"materializeIfInherited",
|
|
807
|
-
"editResolvedPart",
|
|
808
|
-
"error"
|
|
809
|
-
]
|
|
810
|
-
}
|
|
811
|
-
},
|
|
812
|
-
"required": [
|
|
813
|
-
"kind",
|
|
814
|
-
"storyType",
|
|
815
|
-
"section",
|
|
816
|
-
"headerFooterKind",
|
|
817
|
-
"variant"
|
|
818
|
-
]
|
|
819
|
-
},
|
|
820
|
-
{
|
|
821
|
-
"type": "object",
|
|
822
|
-
"properties": {
|
|
823
|
-
"kind": {
|
|
824
|
-
"const": "story",
|
|
825
|
-
"type": "string"
|
|
826
|
-
},
|
|
827
|
-
"storyType": {
|
|
828
|
-
"const": "headerFooterPart",
|
|
829
|
-
"type": "string"
|
|
830
|
-
},
|
|
831
|
-
"refId": {
|
|
832
|
-
"type": "string"
|
|
833
|
-
}
|
|
834
|
-
},
|
|
835
|
-
"required": [
|
|
836
|
-
"kind",
|
|
837
|
-
"storyType",
|
|
838
|
-
"refId"
|
|
839
|
-
]
|
|
840
|
-
},
|
|
841
|
-
{
|
|
842
|
-
"type": "object",
|
|
843
|
-
"properties": {
|
|
844
|
-
"kind": {
|
|
845
|
-
"const": "story",
|
|
846
|
-
"type": "string"
|
|
847
|
-
},
|
|
848
|
-
"storyType": {
|
|
849
|
-
"const": "footnote",
|
|
850
|
-
"type": "string"
|
|
851
|
-
},
|
|
852
|
-
"noteId": {
|
|
853
|
-
"type": "string"
|
|
854
|
-
}
|
|
855
|
-
},
|
|
856
|
-
"required": [
|
|
857
|
-
"kind",
|
|
858
|
-
"storyType",
|
|
859
|
-
"noteId"
|
|
860
|
-
]
|
|
861
|
-
},
|
|
862
|
-
{
|
|
863
|
-
"type": "object",
|
|
864
|
-
"properties": {
|
|
865
|
-
"kind": {
|
|
866
|
-
"const": "story",
|
|
867
|
-
"type": "string"
|
|
868
|
-
},
|
|
869
|
-
"storyType": {
|
|
870
|
-
"const": "endnote",
|
|
871
|
-
"type": "string"
|
|
872
|
-
},
|
|
873
|
-
"noteId": {
|
|
874
|
-
"type": "string"
|
|
875
|
-
}
|
|
876
|
-
},
|
|
877
|
-
"required": [
|
|
878
|
-
"kind",
|
|
879
|
-
"storyType",
|
|
880
|
-
"noteId"
|
|
881
|
-
]
|
|
882
|
-
},
|
|
883
|
-
{
|
|
884
|
-
"type": "object",
|
|
885
|
-
"properties": {
|
|
886
|
-
"kind": {
|
|
887
|
-
"const": "story",
|
|
888
|
-
"type": "string"
|
|
889
|
-
},
|
|
890
|
-
"storyType": {
|
|
891
|
-
"const": "textbox",
|
|
892
|
-
"type": "string"
|
|
893
|
-
},
|
|
894
|
-
"textboxId": {
|
|
895
|
-
"type": "string"
|
|
896
|
-
}
|
|
897
|
-
},
|
|
898
|
-
"required": [
|
|
899
|
-
"kind",
|
|
900
|
-
"storyType",
|
|
901
|
-
"textboxId"
|
|
902
|
-
]
|
|
903
|
-
}
|
|
904
|
-
],
|
|
905
|
-
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
906
|
-
}
|
|
907
|
-
},
|
|
908
|
-
"required": [
|
|
909
|
-
"kind",
|
|
910
|
-
"nodeType",
|
|
911
|
-
"nodeId"
|
|
912
|
-
]
|
|
913
|
-
},
|
|
914
|
-
"edge": {
|
|
915
|
-
"enum": [
|
|
916
|
-
"before",
|
|
917
|
-
"after"
|
|
918
|
-
]
|
|
919
|
-
}
|
|
920
|
-
},
|
|
921
|
-
"required": [
|
|
922
|
-
"kind",
|
|
923
|
-
"node",
|
|
924
|
-
"edge"
|
|
925
|
-
]
|
|
926
|
-
}
|
|
927
|
-
],
|
|
928
|
-
"description": "A point in the document. Use {kind:'text', blockId, offset} for character positions or {kind:'nodeEdge', node:{kind:'block', nodeType, nodeId}, edge:'before'|'after'} for block boundaries."
|
|
929
|
-
},
|
|
930
|
-
"story": {
|
|
931
|
-
"oneOf": [
|
|
932
|
-
{
|
|
933
|
-
"type": "object",
|
|
934
|
-
"properties": {
|
|
935
|
-
"kind": {
|
|
936
|
-
"const": "story",
|
|
937
|
-
"type": "string"
|
|
938
|
-
},
|
|
939
|
-
"storyType": {
|
|
940
|
-
"const": "body",
|
|
941
|
-
"type": "string"
|
|
942
|
-
}
|
|
943
|
-
},
|
|
944
|
-
"required": [
|
|
945
|
-
"kind",
|
|
946
|
-
"storyType"
|
|
947
|
-
]
|
|
948
|
-
},
|
|
949
|
-
{
|
|
950
|
-
"type": "object",
|
|
951
|
-
"properties": {
|
|
952
|
-
"kind": {
|
|
953
|
-
"const": "story",
|
|
954
|
-
"type": "string"
|
|
955
|
-
},
|
|
956
|
-
"storyType": {
|
|
957
|
-
"const": "headerFooterSlot",
|
|
958
|
-
"type": "string"
|
|
959
|
-
},
|
|
960
|
-
"section": {
|
|
961
|
-
"type": "object",
|
|
962
|
-
"properties": {
|
|
963
|
-
"kind": {
|
|
964
|
-
"const": "section",
|
|
965
|
-
"type": "string"
|
|
966
|
-
},
|
|
967
|
-
"sectionId": {
|
|
968
|
-
"type": "string"
|
|
969
|
-
}
|
|
970
|
-
},
|
|
971
|
-
"required": [
|
|
972
|
-
"kind",
|
|
973
|
-
"sectionId"
|
|
974
|
-
]
|
|
975
|
-
},
|
|
976
|
-
"headerFooterKind": {
|
|
977
|
-
"enum": [
|
|
978
|
-
"header",
|
|
979
|
-
"footer"
|
|
980
|
-
]
|
|
981
|
-
},
|
|
982
|
-
"variant": {
|
|
983
|
-
"enum": [
|
|
984
|
-
"default",
|
|
985
|
-
"first",
|
|
986
|
-
"even"
|
|
987
|
-
]
|
|
988
|
-
},
|
|
989
|
-
"resolution": {
|
|
990
|
-
"enum": [
|
|
991
|
-
"effective",
|
|
992
|
-
"explicit"
|
|
993
|
-
]
|
|
994
|
-
},
|
|
995
|
-
"onWrite": {
|
|
996
|
-
"enum": [
|
|
997
|
-
"materializeIfInherited",
|
|
998
|
-
"editResolvedPart",
|
|
999
|
-
"error"
|
|
1000
|
-
]
|
|
1001
|
-
}
|
|
1002
|
-
},
|
|
1003
|
-
"required": [
|
|
1004
|
-
"kind",
|
|
1005
|
-
"storyType",
|
|
1006
|
-
"section",
|
|
1007
|
-
"headerFooterKind",
|
|
1008
|
-
"variant"
|
|
1009
|
-
]
|
|
1010
|
-
},
|
|
1011
|
-
{
|
|
1012
|
-
"type": "object",
|
|
1013
|
-
"properties": {
|
|
1014
|
-
"kind": {
|
|
1015
|
-
"const": "story",
|
|
1016
|
-
"type": "string"
|
|
1017
|
-
},
|
|
1018
|
-
"storyType": {
|
|
1019
|
-
"const": "headerFooterPart",
|
|
1020
|
-
"type": "string"
|
|
1021
|
-
},
|
|
1022
|
-
"refId": {
|
|
1023
|
-
"type": "string"
|
|
1024
|
-
}
|
|
1025
|
-
},
|
|
1026
|
-
"required": [
|
|
1027
|
-
"kind",
|
|
1028
|
-
"storyType",
|
|
1029
|
-
"refId"
|
|
1030
|
-
]
|
|
1031
|
-
},
|
|
1032
|
-
{
|
|
1033
|
-
"type": "object",
|
|
1034
|
-
"properties": {
|
|
1035
|
-
"kind": {
|
|
1036
|
-
"const": "story",
|
|
1037
|
-
"type": "string"
|
|
1038
|
-
},
|
|
1039
|
-
"storyType": {
|
|
1040
|
-
"const": "footnote",
|
|
1041
|
-
"type": "string"
|
|
1042
|
-
},
|
|
1043
|
-
"noteId": {
|
|
1044
|
-
"type": "string"
|
|
1045
|
-
}
|
|
1046
|
-
},
|
|
1047
|
-
"required": [
|
|
1048
|
-
"kind",
|
|
1049
|
-
"storyType",
|
|
1050
|
-
"noteId"
|
|
1051
|
-
]
|
|
1052
|
-
},
|
|
1053
|
-
{
|
|
1054
|
-
"type": "object",
|
|
1055
|
-
"properties": {
|
|
1056
|
-
"kind": {
|
|
1057
|
-
"const": "story",
|
|
1058
|
-
"type": "string"
|
|
1059
|
-
},
|
|
1060
|
-
"storyType": {
|
|
1061
|
-
"const": "endnote",
|
|
1062
|
-
"type": "string"
|
|
1063
|
-
},
|
|
1064
|
-
"noteId": {
|
|
1065
|
-
"type": "string"
|
|
1066
|
-
}
|
|
1067
|
-
},
|
|
1068
|
-
"required": [
|
|
1069
|
-
"kind",
|
|
1070
|
-
"storyType",
|
|
1071
|
-
"noteId"
|
|
1072
|
-
]
|
|
1073
|
-
},
|
|
1074
|
-
{
|
|
1075
|
-
"type": "object",
|
|
1076
|
-
"properties": {
|
|
1077
|
-
"kind": {
|
|
1078
|
-
"const": "story",
|
|
1079
|
-
"type": "string"
|
|
1080
|
-
},
|
|
1081
|
-
"storyType": {
|
|
1082
|
-
"const": "textbox",
|
|
1083
|
-
"type": "string"
|
|
1084
|
-
},
|
|
1085
|
-
"textboxId": {
|
|
1086
|
-
"type": "string"
|
|
1087
|
-
}
|
|
1088
|
-
},
|
|
1089
|
-
"required": [
|
|
1090
|
-
"kind",
|
|
1091
|
-
"storyType",
|
|
1092
|
-
"textboxId"
|
|
1093
|
-
]
|
|
1094
|
-
}
|
|
1095
|
-
],
|
|
1096
|
-
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
1097
|
-
},
|
|
1098
|
-
"coordinateSpace": {
|
|
1099
|
-
"enum": [
|
|
1100
|
-
"visible",
|
|
1101
|
-
"tracked"
|
|
1102
|
-
]
|
|
1103
|
-
}
|
|
1104
|
-
},
|
|
1105
|
-
"required": [
|
|
1106
|
-
"kind",
|
|
1107
|
-
"start",
|
|
1108
|
-
"end"
|
|
1109
|
-
]
|
|
1110
|
-
},
|
|
1111
|
-
{
|
|
1112
|
-
"type": "object",
|
|
1113
|
-
"properties": {
|
|
1114
|
-
"kind": {
|
|
1115
|
-
"const": "block",
|
|
1116
|
-
"type": "string"
|
|
1117
|
-
},
|
|
1118
|
-
"nodeType": {
|
|
1119
|
-
"enum": [
|
|
1120
|
-
"paragraph",
|
|
1121
|
-
"heading",
|
|
1122
|
-
"listItem",
|
|
1123
|
-
"table",
|
|
1124
|
-
"tableRow",
|
|
1125
|
-
"tableCell",
|
|
1126
|
-
"tableOfContents",
|
|
1127
|
-
"image",
|
|
1128
|
-
"sdt"
|
|
1129
|
-
]
|
|
1130
|
-
},
|
|
1131
|
-
"nodeId": {
|
|
1132
|
-
"type": "string"
|
|
1133
|
-
},
|
|
1134
|
-
"story": {
|
|
1135
|
-
"oneOf": [
|
|
1136
|
-
{
|
|
1137
|
-
"type": "object",
|
|
1138
|
-
"properties": {
|
|
1139
|
-
"kind": {
|
|
1140
|
-
"const": "story",
|
|
1141
|
-
"type": "string"
|
|
1142
|
-
},
|
|
1143
|
-
"storyType": {
|
|
1144
|
-
"const": "body",
|
|
1145
|
-
"type": "string"
|
|
1146
|
-
}
|
|
1147
|
-
},
|
|
1148
|
-
"required": [
|
|
1149
|
-
"kind",
|
|
1150
|
-
"storyType"
|
|
1151
|
-
]
|
|
1152
|
-
},
|
|
1153
|
-
{
|
|
1154
|
-
"type": "object",
|
|
1155
|
-
"properties": {
|
|
1156
|
-
"kind": {
|
|
1157
|
-
"const": "story",
|
|
1158
|
-
"type": "string"
|
|
1159
|
-
},
|
|
1160
|
-
"storyType": {
|
|
1161
|
-
"const": "headerFooterSlot",
|
|
1162
|
-
"type": "string"
|
|
1163
|
-
},
|
|
1164
|
-
"section": {
|
|
1165
|
-
"type": "object",
|
|
1166
|
-
"properties": {
|
|
1167
|
-
"kind": {
|
|
1168
|
-
"const": "section",
|
|
1169
|
-
"type": "string"
|
|
1170
|
-
},
|
|
1171
|
-
"sectionId": {
|
|
1172
|
-
"type": "string"
|
|
1173
|
-
}
|
|
1174
|
-
},
|
|
1175
|
-
"required": [
|
|
1176
|
-
"kind",
|
|
1177
|
-
"sectionId"
|
|
1178
|
-
]
|
|
1179
|
-
},
|
|
1180
|
-
"headerFooterKind": {
|
|
1181
|
-
"enum": [
|
|
1182
|
-
"header",
|
|
1183
|
-
"footer"
|
|
1184
|
-
]
|
|
1185
|
-
},
|
|
1186
|
-
"variant": {
|
|
1187
|
-
"enum": [
|
|
1188
|
-
"default",
|
|
1189
|
-
"first",
|
|
1190
|
-
"even"
|
|
1191
|
-
]
|
|
1192
|
-
},
|
|
1193
|
-
"resolution": {
|
|
1194
|
-
"enum": [
|
|
1195
|
-
"effective",
|
|
1196
|
-
"explicit"
|
|
1197
|
-
]
|
|
1198
|
-
},
|
|
1199
|
-
"onWrite": {
|
|
1200
|
-
"enum": [
|
|
1201
|
-
"materializeIfInherited",
|
|
1202
|
-
"editResolvedPart",
|
|
1203
|
-
"error"
|
|
1204
|
-
]
|
|
1205
|
-
}
|
|
1206
|
-
},
|
|
1207
|
-
"required": [
|
|
1208
|
-
"kind",
|
|
1209
|
-
"storyType",
|
|
1210
|
-
"section",
|
|
1211
|
-
"headerFooterKind",
|
|
1212
|
-
"variant"
|
|
1213
|
-
]
|
|
1214
|
-
},
|
|
1215
|
-
{
|
|
1216
|
-
"type": "object",
|
|
1217
|
-
"properties": {
|
|
1218
|
-
"kind": {
|
|
1219
|
-
"const": "story",
|
|
1220
|
-
"type": "string"
|
|
1221
|
-
},
|
|
1222
|
-
"storyType": {
|
|
1223
|
-
"const": "headerFooterPart",
|
|
1224
|
-
"type": "string"
|
|
1225
|
-
},
|
|
1226
|
-
"refId": {
|
|
1227
|
-
"type": "string"
|
|
1228
|
-
}
|
|
1229
|
-
},
|
|
1230
|
-
"required": [
|
|
1231
|
-
"kind",
|
|
1232
|
-
"storyType",
|
|
1233
|
-
"refId"
|
|
1234
|
-
]
|
|
1235
|
-
},
|
|
1236
|
-
{
|
|
1237
|
-
"type": "object",
|
|
1238
|
-
"properties": {
|
|
1239
|
-
"kind": {
|
|
1240
|
-
"const": "story",
|
|
1241
|
-
"type": "string"
|
|
1242
|
-
},
|
|
1243
|
-
"storyType": {
|
|
1244
|
-
"const": "footnote",
|
|
1245
|
-
"type": "string"
|
|
1246
|
-
},
|
|
1247
|
-
"noteId": {
|
|
1248
|
-
"type": "string"
|
|
1249
|
-
}
|
|
1250
|
-
},
|
|
1251
|
-
"required": [
|
|
1252
|
-
"kind",
|
|
1253
|
-
"storyType",
|
|
1254
|
-
"noteId"
|
|
1255
|
-
]
|
|
1256
|
-
},
|
|
1257
|
-
{
|
|
1258
|
-
"type": "object",
|
|
1259
|
-
"properties": {
|
|
1260
|
-
"kind": {
|
|
1261
|
-
"const": "story",
|
|
1262
|
-
"type": "string"
|
|
1263
|
-
},
|
|
1264
|
-
"storyType": {
|
|
1265
|
-
"const": "endnote",
|
|
1266
|
-
"type": "string"
|
|
1267
|
-
},
|
|
1268
|
-
"noteId": {
|
|
1269
|
-
"type": "string"
|
|
1270
|
-
}
|
|
1271
|
-
},
|
|
1272
|
-
"required": [
|
|
1273
|
-
"kind",
|
|
1274
|
-
"storyType",
|
|
1275
|
-
"noteId"
|
|
1276
|
-
]
|
|
1277
|
-
},
|
|
1278
|
-
{
|
|
1279
|
-
"type": "object",
|
|
1280
|
-
"properties": {
|
|
1281
|
-
"kind": {
|
|
1282
|
-
"const": "story",
|
|
1283
|
-
"type": "string"
|
|
1284
|
-
},
|
|
1285
|
-
"storyType": {
|
|
1286
|
-
"const": "textbox",
|
|
1287
|
-
"type": "string"
|
|
1288
|
-
},
|
|
1289
|
-
"textboxId": {
|
|
1290
|
-
"type": "string"
|
|
1291
|
-
}
|
|
1292
|
-
},
|
|
1293
|
-
"required": [
|
|
1294
|
-
"kind",
|
|
1295
|
-
"storyType",
|
|
1296
|
-
"textboxId"
|
|
1297
|
-
]
|
|
1298
|
-
}
|
|
1299
|
-
],
|
|
1300
|
-
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
1301
|
-
}
|
|
1302
|
-
},
|
|
1303
|
-
"required": [
|
|
1304
|
-
"kind",
|
|
1305
|
-
"nodeType",
|
|
1306
|
-
"nodeId"
|
|
1307
|
-
]
|
|
1308
|
-
},
|
|
1309
|
-
{
|
|
1310
|
-
"type": "object",
|
|
1311
|
-
"properties": {
|
|
1312
|
-
"kind": {
|
|
1313
|
-
"const": "selection",
|
|
1314
|
-
"type": "string"
|
|
1315
|
-
},
|
|
1316
|
-
"start": {
|
|
1317
|
-
"oneOf": [
|
|
1318
|
-
{
|
|
1319
|
-
"type": "object",
|
|
1320
|
-
"properties": {
|
|
1321
|
-
"kind": {
|
|
1322
|
-
"const": "text",
|
|
1323
|
-
"type": "string"
|
|
1324
|
-
},
|
|
1325
|
-
"blockId": {
|
|
1326
|
-
"type": "string"
|
|
1327
|
-
},
|
|
1328
|
-
"offset": {
|
|
1329
|
-
"type": "number"
|
|
1330
|
-
},
|
|
1331
|
-
"story": {
|
|
1332
|
-
"oneOf": [
|
|
1333
|
-
{
|
|
1334
|
-
"type": "object",
|
|
1335
|
-
"properties": {
|
|
1336
|
-
"kind": {
|
|
1337
|
-
"const": "story",
|
|
1338
|
-
"type": "string"
|
|
1339
|
-
},
|
|
1340
|
-
"storyType": {
|
|
1341
|
-
"const": "body",
|
|
1342
|
-
"type": "string"
|
|
1343
|
-
}
|
|
1344
|
-
},
|
|
1345
|
-
"required": [
|
|
1346
|
-
"kind",
|
|
1347
|
-
"storyType"
|
|
1348
|
-
]
|
|
1349
|
-
},
|
|
1350
|
-
{
|
|
1351
|
-
"type": "object",
|
|
1352
|
-
"properties": {
|
|
1353
|
-
"kind": {
|
|
1354
|
-
"const": "story",
|
|
1355
|
-
"type": "string"
|
|
1356
|
-
},
|
|
1357
|
-
"storyType": {
|
|
1358
|
-
"const": "headerFooterSlot",
|
|
1359
|
-
"type": "string"
|
|
1360
|
-
},
|
|
1361
|
-
"section": {
|
|
1362
|
-
"type": "object",
|
|
1363
|
-
"properties": {
|
|
1364
|
-
"kind": {
|
|
1365
|
-
"const": "section",
|
|
1366
|
-
"type": "string"
|
|
1367
|
-
},
|
|
1368
|
-
"sectionId": {
|
|
1369
|
-
"type": "string"
|
|
1370
|
-
}
|
|
1371
|
-
},
|
|
1372
|
-
"required": [
|
|
1373
|
-
"kind",
|
|
1374
|
-
"sectionId"
|
|
1375
|
-
]
|
|
1376
|
-
},
|
|
1377
|
-
"headerFooterKind": {
|
|
1378
|
-
"enum": [
|
|
1379
|
-
"header",
|
|
1380
|
-
"footer"
|
|
1381
|
-
]
|
|
1382
|
-
},
|
|
1383
|
-
"variant": {
|
|
1384
|
-
"enum": [
|
|
1385
|
-
"default",
|
|
1386
|
-
"first",
|
|
1387
|
-
"even"
|
|
1388
|
-
]
|
|
1389
|
-
},
|
|
1390
|
-
"resolution": {
|
|
1391
|
-
"enum": [
|
|
1392
|
-
"effective",
|
|
1393
|
-
"explicit"
|
|
1394
|
-
]
|
|
1395
|
-
},
|
|
1396
|
-
"onWrite": {
|
|
1397
|
-
"enum": [
|
|
1398
|
-
"materializeIfInherited",
|
|
1399
|
-
"editResolvedPart",
|
|
1400
|
-
"error"
|
|
1401
|
-
]
|
|
1402
|
-
}
|
|
1403
|
-
},
|
|
1404
|
-
"required": [
|
|
1405
|
-
"kind",
|
|
1406
|
-
"storyType",
|
|
1407
|
-
"section",
|
|
1408
|
-
"headerFooterKind",
|
|
1409
|
-
"variant"
|
|
1410
|
-
]
|
|
1411
|
-
},
|
|
1412
|
-
{
|
|
1413
|
-
"type": "object",
|
|
1414
|
-
"properties": {
|
|
1415
|
-
"kind": {
|
|
1416
|
-
"const": "story",
|
|
1417
|
-
"type": "string"
|
|
1418
|
-
},
|
|
1419
|
-
"storyType": {
|
|
1420
|
-
"const": "headerFooterPart",
|
|
1421
|
-
"type": "string"
|
|
1422
|
-
},
|
|
1423
|
-
"refId": {
|
|
1424
|
-
"type": "string"
|
|
1425
|
-
}
|
|
1426
|
-
},
|
|
1427
|
-
"required": [
|
|
1428
|
-
"kind",
|
|
1429
|
-
"storyType",
|
|
1430
|
-
"refId"
|
|
1431
|
-
]
|
|
1432
|
-
},
|
|
1433
|
-
{
|
|
1434
|
-
"type": "object",
|
|
1435
|
-
"properties": {
|
|
1436
|
-
"kind": {
|
|
1437
|
-
"const": "story",
|
|
1438
|
-
"type": "string"
|
|
1439
|
-
},
|
|
1440
|
-
"storyType": {
|
|
1441
|
-
"const": "footnote",
|
|
1442
|
-
"type": "string"
|
|
1443
|
-
},
|
|
1444
|
-
"noteId": {
|
|
1445
|
-
"type": "string"
|
|
1446
|
-
}
|
|
1447
|
-
},
|
|
1448
|
-
"required": [
|
|
1449
|
-
"kind",
|
|
1450
|
-
"storyType",
|
|
1451
|
-
"noteId"
|
|
1452
|
-
]
|
|
1453
|
-
},
|
|
1454
|
-
{
|
|
1455
|
-
"type": "object",
|
|
1456
|
-
"properties": {
|
|
1457
|
-
"kind": {
|
|
1458
|
-
"const": "story",
|
|
1459
|
-
"type": "string"
|
|
1460
|
-
},
|
|
1461
|
-
"storyType": {
|
|
1462
|
-
"const": "endnote",
|
|
1463
|
-
"type": "string"
|
|
1464
|
-
},
|
|
1465
|
-
"noteId": {
|
|
1466
|
-
"type": "string"
|
|
1467
|
-
}
|
|
1468
|
-
},
|
|
1469
|
-
"required": [
|
|
1470
|
-
"kind",
|
|
1471
|
-
"storyType",
|
|
1472
|
-
"noteId"
|
|
1473
|
-
]
|
|
1474
|
-
},
|
|
1475
|
-
{
|
|
1476
|
-
"type": "object",
|
|
1477
|
-
"properties": {
|
|
1478
|
-
"kind": {
|
|
1479
|
-
"const": "story",
|
|
1480
|
-
"type": "string"
|
|
1481
|
-
},
|
|
1482
|
-
"storyType": {
|
|
1483
|
-
"const": "textbox",
|
|
1484
|
-
"type": "string"
|
|
1485
|
-
},
|
|
1486
|
-
"textboxId": {
|
|
1487
|
-
"type": "string"
|
|
1488
|
-
}
|
|
1489
|
-
},
|
|
1490
|
-
"required": [
|
|
1491
|
-
"kind",
|
|
1492
|
-
"storyType",
|
|
1493
|
-
"textboxId"
|
|
1494
|
-
]
|
|
1495
|
-
}
|
|
1496
|
-
],
|
|
1497
|
-
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
1498
|
-
}
|
|
1499
|
-
},
|
|
1500
|
-
"required": [
|
|
1501
|
-
"kind",
|
|
1502
|
-
"blockId",
|
|
1503
|
-
"offset"
|
|
1504
|
-
]
|
|
1505
|
-
},
|
|
1506
|
-
{
|
|
1507
|
-
"type": "object",
|
|
1508
|
-
"properties": {
|
|
1509
|
-
"kind": {
|
|
1510
|
-
"const": "nodeEdge",
|
|
1511
|
-
"type": "string"
|
|
1512
|
-
},
|
|
1513
|
-
"node": {
|
|
1514
|
-
"type": "object",
|
|
1515
|
-
"properties": {
|
|
1516
|
-
"kind": {
|
|
1517
|
-
"const": "block",
|
|
1518
|
-
"type": "string"
|
|
1519
|
-
},
|
|
1520
|
-
"nodeType": {
|
|
1521
|
-
"enum": [
|
|
1522
|
-
"paragraph",
|
|
1523
|
-
"heading",
|
|
1524
|
-
"table",
|
|
1525
|
-
"tableOfContents",
|
|
1526
|
-
"sdt",
|
|
1527
|
-
"image"
|
|
1528
|
-
]
|
|
1529
|
-
},
|
|
1530
|
-
"nodeId": {
|
|
1531
|
-
"type": "string"
|
|
1532
|
-
},
|
|
1533
|
-
"story": {
|
|
1534
|
-
"oneOf": [
|
|
1535
|
-
{
|
|
1536
|
-
"type": "object",
|
|
1537
|
-
"properties": {
|
|
1538
|
-
"kind": {
|
|
1539
|
-
"const": "story",
|
|
1540
|
-
"type": "string"
|
|
1541
|
-
},
|
|
1542
|
-
"storyType": {
|
|
1543
|
-
"const": "body",
|
|
1544
|
-
"type": "string"
|
|
1545
|
-
}
|
|
1546
|
-
},
|
|
1547
|
-
"required": [
|
|
1548
|
-
"kind",
|
|
1549
|
-
"storyType"
|
|
1550
|
-
]
|
|
1551
|
-
},
|
|
1552
|
-
{
|
|
1553
|
-
"type": "object",
|
|
1554
|
-
"properties": {
|
|
1555
|
-
"kind": {
|
|
1556
|
-
"const": "story",
|
|
1557
|
-
"type": "string"
|
|
1558
|
-
},
|
|
1559
|
-
"storyType": {
|
|
1560
|
-
"const": "headerFooterSlot",
|
|
1561
|
-
"type": "string"
|
|
1562
|
-
},
|
|
1563
|
-
"section": {
|
|
1564
|
-
"type": "object",
|
|
1565
|
-
"properties": {
|
|
1566
|
-
"kind": {
|
|
1567
|
-
"const": "section",
|
|
1568
|
-
"type": "string"
|
|
1569
|
-
},
|
|
1570
|
-
"sectionId": {
|
|
1571
|
-
"type": "string"
|
|
1572
|
-
}
|
|
1573
|
-
},
|
|
1574
|
-
"required": [
|
|
1575
|
-
"kind",
|
|
1576
|
-
"sectionId"
|
|
1577
|
-
]
|
|
1578
|
-
},
|
|
1579
|
-
"headerFooterKind": {
|
|
1580
|
-
"enum": [
|
|
1581
|
-
"header",
|
|
1582
|
-
"footer"
|
|
1583
|
-
]
|
|
1584
|
-
},
|
|
1585
|
-
"variant": {
|
|
1586
|
-
"enum": [
|
|
1587
|
-
"default",
|
|
1588
|
-
"first",
|
|
1589
|
-
"even"
|
|
1590
|
-
]
|
|
1591
|
-
},
|
|
1592
|
-
"resolution": {
|
|
1593
|
-
"enum": [
|
|
1594
|
-
"effective",
|
|
1595
|
-
"explicit"
|
|
1596
|
-
]
|
|
1597
|
-
},
|
|
1598
|
-
"onWrite": {
|
|
1599
|
-
"enum": [
|
|
1600
|
-
"materializeIfInherited",
|
|
1601
|
-
"editResolvedPart",
|
|
1602
|
-
"error"
|
|
1603
|
-
]
|
|
1604
|
-
}
|
|
1605
|
-
},
|
|
1606
|
-
"required": [
|
|
1607
|
-
"kind",
|
|
1608
|
-
"storyType",
|
|
1609
|
-
"section",
|
|
1610
|
-
"headerFooterKind",
|
|
1611
|
-
"variant"
|
|
1612
|
-
]
|
|
1613
|
-
},
|
|
1614
|
-
{
|
|
1615
|
-
"type": "object",
|
|
1616
|
-
"properties": {
|
|
1617
|
-
"kind": {
|
|
1618
|
-
"const": "story",
|
|
1619
|
-
"type": "string"
|
|
1620
|
-
},
|
|
1621
|
-
"storyType": {
|
|
1622
|
-
"const": "headerFooterPart",
|
|
1623
|
-
"type": "string"
|
|
1624
|
-
},
|
|
1625
|
-
"refId": {
|
|
1626
|
-
"type": "string"
|
|
1627
|
-
}
|
|
1628
|
-
},
|
|
1629
|
-
"required": [
|
|
1630
|
-
"kind",
|
|
1631
|
-
"storyType",
|
|
1632
|
-
"refId"
|
|
1633
|
-
]
|
|
1634
|
-
},
|
|
1635
|
-
{
|
|
1636
|
-
"type": "object",
|
|
1637
|
-
"properties": {
|
|
1638
|
-
"kind": {
|
|
1639
|
-
"const": "story",
|
|
1640
|
-
"type": "string"
|
|
1641
|
-
},
|
|
1642
|
-
"storyType": {
|
|
1643
|
-
"const": "footnote",
|
|
1644
|
-
"type": "string"
|
|
1645
|
-
},
|
|
1646
|
-
"noteId": {
|
|
1647
|
-
"type": "string"
|
|
1648
|
-
}
|
|
1649
|
-
},
|
|
1650
|
-
"required": [
|
|
1651
|
-
"kind",
|
|
1652
|
-
"storyType",
|
|
1653
|
-
"noteId"
|
|
1654
|
-
]
|
|
1655
|
-
},
|
|
1656
|
-
{
|
|
1657
|
-
"type": "object",
|
|
1658
|
-
"properties": {
|
|
1659
|
-
"kind": {
|
|
1660
|
-
"const": "story",
|
|
1661
|
-
"type": "string"
|
|
1662
|
-
},
|
|
1663
|
-
"storyType": {
|
|
1664
|
-
"const": "endnote",
|
|
1665
|
-
"type": "string"
|
|
1666
|
-
},
|
|
1667
|
-
"noteId": {
|
|
1668
|
-
"type": "string"
|
|
1669
|
-
}
|
|
1670
|
-
},
|
|
1671
|
-
"required": [
|
|
1672
|
-
"kind",
|
|
1673
|
-
"storyType",
|
|
1674
|
-
"noteId"
|
|
1675
|
-
]
|
|
1676
|
-
},
|
|
1677
|
-
{
|
|
1678
|
-
"type": "object",
|
|
1679
|
-
"properties": {
|
|
1680
|
-
"kind": {
|
|
1681
|
-
"const": "story",
|
|
1682
|
-
"type": "string"
|
|
1683
|
-
},
|
|
1684
|
-
"storyType": {
|
|
1685
|
-
"const": "textbox",
|
|
1686
|
-
"type": "string"
|
|
1687
|
-
},
|
|
1688
|
-
"textboxId": {
|
|
1689
|
-
"type": "string"
|
|
1690
|
-
}
|
|
1691
|
-
},
|
|
1692
|
-
"required": [
|
|
1693
|
-
"kind",
|
|
1694
|
-
"storyType",
|
|
1695
|
-
"textboxId"
|
|
1696
|
-
]
|
|
1697
|
-
}
|
|
1698
|
-
],
|
|
1699
|
-
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
1700
|
-
}
|
|
1701
|
-
},
|
|
1702
|
-
"required": [
|
|
1703
|
-
"kind",
|
|
1704
|
-
"nodeType",
|
|
1705
|
-
"nodeId"
|
|
1706
|
-
]
|
|
1707
|
-
},
|
|
1708
|
-
"edge": {
|
|
1709
|
-
"enum": [
|
|
1710
|
-
"before",
|
|
1711
|
-
"after"
|
|
1712
|
-
]
|
|
1713
|
-
}
|
|
1714
|
-
},
|
|
1715
|
-
"required": [
|
|
1716
|
-
"kind",
|
|
1717
|
-
"node",
|
|
1718
|
-
"edge"
|
|
1719
|
-
]
|
|
1720
|
-
}
|
|
1721
|
-
],
|
|
1722
|
-
"description": "A point in the document. Use {kind:'text', blockId, offset} for character positions or {kind:'nodeEdge', node:{kind:'block', nodeType, nodeId}, edge:'before'|'after'} for block boundaries."
|
|
1723
|
-
},
|
|
1724
|
-
"end": {
|
|
1725
|
-
"oneOf": [
|
|
1726
|
-
{
|
|
1727
|
-
"type": "object",
|
|
1728
|
-
"properties": {
|
|
1729
|
-
"kind": {
|
|
1730
|
-
"const": "text",
|
|
1731
|
-
"type": "string"
|
|
1732
|
-
},
|
|
1733
|
-
"blockId": {
|
|
1734
|
-
"type": "string"
|
|
1735
|
-
},
|
|
1736
|
-
"offset": {
|
|
1737
|
-
"type": "number"
|
|
1738
|
-
},
|
|
1739
|
-
"story": {
|
|
1740
|
-
"oneOf": [
|
|
1741
|
-
{
|
|
1742
|
-
"type": "object",
|
|
1743
|
-
"properties": {
|
|
1744
|
-
"kind": {
|
|
1745
|
-
"const": "story",
|
|
1746
|
-
"type": "string"
|
|
1747
|
-
},
|
|
1748
|
-
"storyType": {
|
|
1749
|
-
"const": "body",
|
|
1750
|
-
"type": "string"
|
|
1751
|
-
}
|
|
1752
|
-
},
|
|
1753
|
-
"required": [
|
|
1754
|
-
"kind",
|
|
1755
|
-
"storyType"
|
|
1756
|
-
]
|
|
1757
|
-
},
|
|
1758
|
-
{
|
|
1759
|
-
"type": "object",
|
|
1760
|
-
"properties": {
|
|
1761
|
-
"kind": {
|
|
1762
|
-
"const": "story",
|
|
1763
|
-
"type": "string"
|
|
1764
|
-
},
|
|
1765
|
-
"storyType": {
|
|
1766
|
-
"const": "headerFooterSlot",
|
|
1767
|
-
"type": "string"
|
|
1768
|
-
},
|
|
1769
|
-
"section": {
|
|
1770
|
-
"type": "object",
|
|
1771
|
-
"properties": {
|
|
1772
|
-
"kind": {
|
|
1773
|
-
"const": "section",
|
|
1774
|
-
"type": "string"
|
|
1775
|
-
},
|
|
1776
|
-
"sectionId": {
|
|
1777
|
-
"type": "string"
|
|
1778
|
-
}
|
|
1779
|
-
},
|
|
1780
|
-
"required": [
|
|
1781
|
-
"kind",
|
|
1782
|
-
"sectionId"
|
|
1783
|
-
]
|
|
1784
|
-
},
|
|
1785
|
-
"headerFooterKind": {
|
|
1786
|
-
"enum": [
|
|
1787
|
-
"header",
|
|
1788
|
-
"footer"
|
|
1789
|
-
]
|
|
1790
|
-
},
|
|
1791
|
-
"variant": {
|
|
1792
|
-
"enum": [
|
|
1793
|
-
"default",
|
|
1794
|
-
"first",
|
|
1795
|
-
"even"
|
|
1796
|
-
]
|
|
1797
|
-
},
|
|
1798
|
-
"resolution": {
|
|
1799
|
-
"enum": [
|
|
1800
|
-
"effective",
|
|
1801
|
-
"explicit"
|
|
1802
|
-
]
|
|
1803
|
-
},
|
|
1804
|
-
"onWrite": {
|
|
1805
|
-
"enum": [
|
|
1806
|
-
"materializeIfInherited",
|
|
1807
|
-
"editResolvedPart",
|
|
1808
|
-
"error"
|
|
1809
|
-
]
|
|
1810
|
-
}
|
|
1811
|
-
},
|
|
1812
|
-
"required": [
|
|
1813
|
-
"kind",
|
|
1814
|
-
"storyType",
|
|
1815
|
-
"section",
|
|
1816
|
-
"headerFooterKind",
|
|
1817
|
-
"variant"
|
|
1818
|
-
]
|
|
1819
|
-
},
|
|
1820
|
-
{
|
|
1821
|
-
"type": "object",
|
|
1822
|
-
"properties": {
|
|
1823
|
-
"kind": {
|
|
1824
|
-
"const": "story",
|
|
1825
|
-
"type": "string"
|
|
1826
|
-
},
|
|
1827
|
-
"storyType": {
|
|
1828
|
-
"const": "headerFooterPart",
|
|
1829
|
-
"type": "string"
|
|
1830
|
-
},
|
|
1831
|
-
"refId": {
|
|
1832
|
-
"type": "string"
|
|
1833
|
-
}
|
|
1834
|
-
},
|
|
1835
|
-
"required": [
|
|
1836
|
-
"kind",
|
|
1837
|
-
"storyType",
|
|
1838
|
-
"refId"
|
|
1839
|
-
]
|
|
1840
|
-
},
|
|
1841
|
-
{
|
|
1842
|
-
"type": "object",
|
|
1843
|
-
"properties": {
|
|
1844
|
-
"kind": {
|
|
1845
|
-
"const": "story",
|
|
1846
|
-
"type": "string"
|
|
1847
|
-
},
|
|
1848
|
-
"storyType": {
|
|
1849
|
-
"const": "footnote",
|
|
1850
|
-
"type": "string"
|
|
1851
|
-
},
|
|
1852
|
-
"noteId": {
|
|
1853
|
-
"type": "string"
|
|
1854
|
-
}
|
|
1855
|
-
},
|
|
1856
|
-
"required": [
|
|
1857
|
-
"kind",
|
|
1858
|
-
"storyType",
|
|
1859
|
-
"noteId"
|
|
1860
|
-
]
|
|
1861
|
-
},
|
|
1862
|
-
{
|
|
1863
|
-
"type": "object",
|
|
1864
|
-
"properties": {
|
|
1865
|
-
"kind": {
|
|
1866
|
-
"const": "story",
|
|
1867
|
-
"type": "string"
|
|
1868
|
-
},
|
|
1869
|
-
"storyType": {
|
|
1870
|
-
"const": "endnote",
|
|
1871
|
-
"type": "string"
|
|
1872
|
-
},
|
|
1873
|
-
"noteId": {
|
|
1874
|
-
"type": "string"
|
|
1875
|
-
}
|
|
1876
|
-
},
|
|
1877
|
-
"required": [
|
|
1878
|
-
"kind",
|
|
1879
|
-
"storyType",
|
|
1880
|
-
"noteId"
|
|
1881
|
-
]
|
|
1882
|
-
},
|
|
1883
|
-
{
|
|
1884
|
-
"type": "object",
|
|
1885
|
-
"properties": {
|
|
1886
|
-
"kind": {
|
|
1887
|
-
"const": "story",
|
|
1888
|
-
"type": "string"
|
|
1889
|
-
},
|
|
1890
|
-
"storyType": {
|
|
1891
|
-
"const": "textbox",
|
|
1892
|
-
"type": "string"
|
|
1893
|
-
},
|
|
1894
|
-
"textboxId": {
|
|
1895
|
-
"type": "string"
|
|
1896
|
-
}
|
|
1897
|
-
},
|
|
1898
|
-
"required": [
|
|
1899
|
-
"kind",
|
|
1900
|
-
"storyType",
|
|
1901
|
-
"textboxId"
|
|
1902
|
-
]
|
|
1903
|
-
}
|
|
1904
|
-
],
|
|
1905
|
-
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
1906
|
-
}
|
|
1907
|
-
},
|
|
1908
|
-
"required": [
|
|
1909
|
-
"kind",
|
|
1910
|
-
"blockId",
|
|
1911
|
-
"offset"
|
|
1912
|
-
]
|
|
1913
|
-
},
|
|
1914
|
-
{
|
|
1915
|
-
"type": "object",
|
|
1916
|
-
"properties": {
|
|
1917
|
-
"kind": {
|
|
1918
|
-
"const": "nodeEdge",
|
|
1919
|
-
"type": "string"
|
|
1920
|
-
},
|
|
1921
|
-
"node": {
|
|
1922
|
-
"type": "object",
|
|
1923
|
-
"properties": {
|
|
1924
|
-
"kind": {
|
|
1925
|
-
"const": "block",
|
|
1926
|
-
"type": "string"
|
|
1927
|
-
},
|
|
1928
|
-
"nodeType": {
|
|
1929
|
-
"enum": [
|
|
1930
|
-
"paragraph",
|
|
1931
|
-
"heading",
|
|
1932
|
-
"table",
|
|
1933
|
-
"tableOfContents",
|
|
1934
|
-
"sdt",
|
|
1935
|
-
"image"
|
|
1936
|
-
]
|
|
1937
|
-
},
|
|
1938
|
-
"nodeId": {
|
|
1939
|
-
"type": "string"
|
|
1940
|
-
},
|
|
1941
|
-
"story": {
|
|
1942
|
-
"oneOf": [
|
|
1943
|
-
{
|
|
1944
|
-
"type": "object",
|
|
1945
|
-
"properties": {
|
|
1946
|
-
"kind": {
|
|
1947
|
-
"const": "story",
|
|
1948
|
-
"type": "string"
|
|
1949
|
-
},
|
|
1950
|
-
"storyType": {
|
|
1951
|
-
"const": "body",
|
|
1952
|
-
"type": "string"
|
|
1953
|
-
}
|
|
1954
|
-
},
|
|
1955
|
-
"required": [
|
|
1956
|
-
"kind",
|
|
1957
|
-
"storyType"
|
|
1958
|
-
]
|
|
1959
|
-
},
|
|
1960
|
-
{
|
|
1961
|
-
"type": "object",
|
|
1962
|
-
"properties": {
|
|
1963
|
-
"kind": {
|
|
1964
|
-
"const": "story",
|
|
1965
|
-
"type": "string"
|
|
1966
|
-
},
|
|
1967
|
-
"storyType": {
|
|
1968
|
-
"const": "headerFooterSlot",
|
|
1969
|
-
"type": "string"
|
|
1970
|
-
},
|
|
1971
|
-
"section": {
|
|
1972
|
-
"type": "object",
|
|
1973
|
-
"properties": {
|
|
1974
|
-
"kind": {
|
|
1975
|
-
"const": "section",
|
|
1976
|
-
"type": "string"
|
|
1977
|
-
},
|
|
1978
|
-
"sectionId": {
|
|
1979
|
-
"type": "string"
|
|
1980
|
-
}
|
|
1981
|
-
},
|
|
1982
|
-
"required": [
|
|
1983
|
-
"kind",
|
|
1984
|
-
"sectionId"
|
|
1985
|
-
]
|
|
1986
|
-
},
|
|
1987
|
-
"headerFooterKind": {
|
|
1988
|
-
"enum": [
|
|
1989
|
-
"header",
|
|
1990
|
-
"footer"
|
|
1991
|
-
]
|
|
1992
|
-
},
|
|
1993
|
-
"variant": {
|
|
1994
|
-
"enum": [
|
|
1995
|
-
"default",
|
|
1996
|
-
"first",
|
|
1997
|
-
"even"
|
|
1998
|
-
]
|
|
1999
|
-
},
|
|
2000
|
-
"resolution": {
|
|
2001
|
-
"enum": [
|
|
2002
|
-
"effective",
|
|
2003
|
-
"explicit"
|
|
2004
|
-
]
|
|
2005
|
-
},
|
|
2006
|
-
"onWrite": {
|
|
2007
|
-
"enum": [
|
|
2008
|
-
"materializeIfInherited",
|
|
2009
|
-
"editResolvedPart",
|
|
2010
|
-
"error"
|
|
2011
|
-
]
|
|
2012
|
-
}
|
|
2013
|
-
},
|
|
2014
|
-
"required": [
|
|
2015
|
-
"kind",
|
|
2016
|
-
"storyType",
|
|
2017
|
-
"section",
|
|
2018
|
-
"headerFooterKind",
|
|
2019
|
-
"variant"
|
|
2020
|
-
]
|
|
2021
|
-
},
|
|
2022
|
-
{
|
|
2023
|
-
"type": "object",
|
|
2024
|
-
"properties": {
|
|
2025
|
-
"kind": {
|
|
2026
|
-
"const": "story",
|
|
2027
|
-
"type": "string"
|
|
2028
|
-
},
|
|
2029
|
-
"storyType": {
|
|
2030
|
-
"const": "headerFooterPart",
|
|
2031
|
-
"type": "string"
|
|
2032
|
-
},
|
|
2033
|
-
"refId": {
|
|
2034
|
-
"type": "string"
|
|
2035
|
-
}
|
|
2036
|
-
},
|
|
2037
|
-
"required": [
|
|
2038
|
-
"kind",
|
|
2039
|
-
"storyType",
|
|
2040
|
-
"refId"
|
|
2041
|
-
]
|
|
2042
|
-
},
|
|
2043
|
-
{
|
|
2044
|
-
"type": "object",
|
|
2045
|
-
"properties": {
|
|
2046
|
-
"kind": {
|
|
2047
|
-
"const": "story",
|
|
2048
|
-
"type": "string"
|
|
2049
|
-
},
|
|
2050
|
-
"storyType": {
|
|
2051
|
-
"const": "footnote",
|
|
2052
|
-
"type": "string"
|
|
2053
|
-
},
|
|
2054
|
-
"noteId": {
|
|
2055
|
-
"type": "string"
|
|
2056
|
-
}
|
|
2057
|
-
},
|
|
2058
|
-
"required": [
|
|
2059
|
-
"kind",
|
|
2060
|
-
"storyType",
|
|
2061
|
-
"noteId"
|
|
2062
|
-
]
|
|
2063
|
-
},
|
|
2064
|
-
{
|
|
2065
|
-
"type": "object",
|
|
2066
|
-
"properties": {
|
|
2067
|
-
"kind": {
|
|
2068
|
-
"const": "story",
|
|
2069
|
-
"type": "string"
|
|
2070
|
-
},
|
|
2071
|
-
"storyType": {
|
|
2072
|
-
"const": "endnote",
|
|
2073
|
-
"type": "string"
|
|
2074
|
-
},
|
|
2075
|
-
"noteId": {
|
|
2076
|
-
"type": "string"
|
|
2077
|
-
}
|
|
2078
|
-
},
|
|
2079
|
-
"required": [
|
|
2080
|
-
"kind",
|
|
2081
|
-
"storyType",
|
|
2082
|
-
"noteId"
|
|
2083
|
-
]
|
|
2084
|
-
},
|
|
2085
|
-
{
|
|
2086
|
-
"type": "object",
|
|
2087
|
-
"properties": {
|
|
2088
|
-
"kind": {
|
|
2089
|
-
"const": "story",
|
|
2090
|
-
"type": "string"
|
|
2091
|
-
},
|
|
2092
|
-
"storyType": {
|
|
2093
|
-
"const": "textbox",
|
|
2094
|
-
"type": "string"
|
|
2095
|
-
},
|
|
2096
|
-
"textboxId": {
|
|
2097
|
-
"type": "string"
|
|
2098
|
-
}
|
|
2099
|
-
},
|
|
2100
|
-
"required": [
|
|
2101
|
-
"kind",
|
|
2102
|
-
"storyType",
|
|
2103
|
-
"textboxId"
|
|
2104
|
-
]
|
|
2105
|
-
}
|
|
2106
|
-
],
|
|
2107
|
-
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
2108
|
-
}
|
|
2109
|
-
},
|
|
2110
|
-
"required": [
|
|
2111
|
-
"kind",
|
|
2112
|
-
"nodeType",
|
|
2113
|
-
"nodeId"
|
|
2114
|
-
]
|
|
2115
|
-
},
|
|
2116
|
-
"edge": {
|
|
2117
|
-
"enum": [
|
|
2118
|
-
"before",
|
|
2119
|
-
"after"
|
|
2120
|
-
]
|
|
2121
|
-
}
|
|
2122
|
-
},
|
|
2123
|
-
"required": [
|
|
2124
|
-
"kind",
|
|
2125
|
-
"node",
|
|
2126
|
-
"edge"
|
|
2127
|
-
]
|
|
2128
|
-
}
|
|
2129
|
-
],
|
|
2130
|
-
"description": "A point in the document. Use {kind:'text', blockId, offset} for character positions or {kind:'nodeEdge', node:{kind:'block', nodeType, nodeId}, edge:'before'|'after'} for block boundaries."
|
|
2131
|
-
},
|
|
2132
|
-
"story": {
|
|
2133
|
-
"oneOf": [
|
|
2134
|
-
{
|
|
2135
|
-
"type": "object",
|
|
2136
|
-
"properties": {
|
|
2137
|
-
"kind": {
|
|
2138
|
-
"const": "story",
|
|
2139
|
-
"type": "string"
|
|
2140
|
-
},
|
|
2141
|
-
"storyType": {
|
|
2142
|
-
"const": "body",
|
|
2143
|
-
"type": "string"
|
|
2144
|
-
}
|
|
2145
|
-
},
|
|
2146
|
-
"required": [
|
|
2147
|
-
"kind",
|
|
2148
|
-
"storyType"
|
|
2149
|
-
]
|
|
2150
|
-
},
|
|
2151
|
-
{
|
|
2152
|
-
"type": "object",
|
|
2153
|
-
"properties": {
|
|
2154
|
-
"kind": {
|
|
2155
|
-
"const": "story",
|
|
2156
|
-
"type": "string"
|
|
2157
|
-
},
|
|
2158
|
-
"storyType": {
|
|
2159
|
-
"const": "headerFooterSlot",
|
|
2160
|
-
"type": "string"
|
|
2161
|
-
},
|
|
2162
|
-
"section": {
|
|
2163
|
-
"type": "object",
|
|
2164
|
-
"properties": {
|
|
2165
|
-
"kind": {
|
|
2166
|
-
"const": "section",
|
|
2167
|
-
"type": "string"
|
|
2168
|
-
},
|
|
2169
|
-
"sectionId": {
|
|
2170
|
-
"type": "string"
|
|
2171
|
-
}
|
|
2172
|
-
},
|
|
2173
|
-
"required": [
|
|
2174
|
-
"kind",
|
|
2175
|
-
"sectionId"
|
|
2176
|
-
]
|
|
2177
|
-
},
|
|
2178
|
-
"headerFooterKind": {
|
|
2179
|
-
"enum": [
|
|
2180
|
-
"header",
|
|
2181
|
-
"footer"
|
|
2182
|
-
]
|
|
2183
|
-
},
|
|
2184
|
-
"variant": {
|
|
2185
|
-
"enum": [
|
|
2186
|
-
"default",
|
|
2187
|
-
"first",
|
|
2188
|
-
"even"
|
|
2189
|
-
]
|
|
2190
|
-
},
|
|
2191
|
-
"resolution": {
|
|
2192
|
-
"enum": [
|
|
2193
|
-
"effective",
|
|
2194
|
-
"explicit"
|
|
2195
|
-
]
|
|
2196
|
-
},
|
|
2197
|
-
"onWrite": {
|
|
2198
|
-
"enum": [
|
|
2199
|
-
"materializeIfInherited",
|
|
2200
|
-
"editResolvedPart",
|
|
2201
|
-
"error"
|
|
2202
|
-
]
|
|
2203
|
-
}
|
|
2204
|
-
},
|
|
2205
|
-
"required": [
|
|
2206
|
-
"kind",
|
|
2207
|
-
"storyType",
|
|
2208
|
-
"section",
|
|
2209
|
-
"headerFooterKind",
|
|
2210
|
-
"variant"
|
|
2211
|
-
]
|
|
2212
|
-
},
|
|
2213
|
-
{
|
|
2214
|
-
"type": "object",
|
|
2215
|
-
"properties": {
|
|
2216
|
-
"kind": {
|
|
2217
|
-
"const": "story",
|
|
2218
|
-
"type": "string"
|
|
2219
|
-
},
|
|
2220
|
-
"storyType": {
|
|
2221
|
-
"const": "headerFooterPart",
|
|
2222
|
-
"type": "string"
|
|
2223
|
-
},
|
|
2224
|
-
"refId": {
|
|
2225
|
-
"type": "string"
|
|
2226
|
-
}
|
|
2227
|
-
},
|
|
2228
|
-
"required": [
|
|
2229
|
-
"kind",
|
|
2230
|
-
"storyType",
|
|
2231
|
-
"refId"
|
|
2232
|
-
]
|
|
2233
|
-
},
|
|
2234
|
-
{
|
|
2235
|
-
"type": "object",
|
|
2236
|
-
"properties": {
|
|
2237
|
-
"kind": {
|
|
2238
|
-
"const": "story",
|
|
2239
|
-
"type": "string"
|
|
2240
|
-
},
|
|
2241
|
-
"storyType": {
|
|
2242
|
-
"const": "footnote",
|
|
2243
|
-
"type": "string"
|
|
2244
|
-
},
|
|
2245
|
-
"noteId": {
|
|
2246
|
-
"type": "string"
|
|
2247
|
-
}
|
|
2248
|
-
},
|
|
2249
|
-
"required": [
|
|
2250
|
-
"kind",
|
|
2251
|
-
"storyType",
|
|
2252
|
-
"noteId"
|
|
2253
|
-
]
|
|
2254
|
-
},
|
|
2255
|
-
{
|
|
2256
|
-
"type": "object",
|
|
2257
|
-
"properties": {
|
|
2258
|
-
"kind": {
|
|
2259
|
-
"const": "story",
|
|
2260
|
-
"type": "string"
|
|
2261
|
-
},
|
|
2262
|
-
"storyType": {
|
|
2263
|
-
"const": "endnote",
|
|
2264
|
-
"type": "string"
|
|
2265
|
-
},
|
|
2266
|
-
"noteId": {
|
|
2267
|
-
"type": "string"
|
|
2268
|
-
}
|
|
2269
|
-
},
|
|
2270
|
-
"required": [
|
|
2271
|
-
"kind",
|
|
2272
|
-
"storyType",
|
|
2273
|
-
"noteId"
|
|
2274
|
-
]
|
|
2275
|
-
},
|
|
2276
|
-
{
|
|
2277
|
-
"type": "object",
|
|
2278
|
-
"properties": {
|
|
2279
|
-
"kind": {
|
|
2280
|
-
"const": "story",
|
|
2281
|
-
"type": "string"
|
|
2282
|
-
},
|
|
2283
|
-
"storyType": {
|
|
2284
|
-
"const": "textbox",
|
|
2285
|
-
"type": "string"
|
|
2286
|
-
},
|
|
2287
|
-
"textboxId": {
|
|
2288
|
-
"type": "string"
|
|
2289
|
-
}
|
|
2290
|
-
},
|
|
2291
|
-
"required": [
|
|
2292
|
-
"kind",
|
|
2293
|
-
"storyType",
|
|
2294
|
-
"textboxId"
|
|
2295
|
-
]
|
|
2296
|
-
}
|
|
2297
|
-
],
|
|
2298
|
-
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
2299
|
-
},
|
|
2300
|
-
"coordinateSpace": {
|
|
2301
|
-
"enum": [
|
|
2302
|
-
"visible",
|
|
2303
|
-
"tracked"
|
|
2304
|
-
]
|
|
2305
|
-
}
|
|
2306
|
-
},
|
|
2307
|
-
"required": [
|
|
2308
|
-
"kind",
|
|
2309
|
-
"start",
|
|
2310
|
-
"end"
|
|
2311
|
-
]
|
|
112
|
+
"supportCheck": {
|
|
113
|
+
"type": "object",
|
|
114
|
+
"properties": {
|
|
115
|
+
"version": {
|
|
116
|
+
"const": "sd-html-markdown-check/1",
|
|
117
|
+
"type": "string"
|
|
118
|
+
},
|
|
119
|
+
"operation": {
|
|
120
|
+
"enum": [
|
|
121
|
+
"insert",
|
|
122
|
+
"replace"
|
|
123
|
+
]
|
|
124
|
+
},
|
|
125
|
+
"evaluatedRevision": {
|
|
126
|
+
"type": "string"
|
|
127
|
+
},
|
|
128
|
+
"requestSha256": {
|
|
129
|
+
"type": "string"
|
|
130
|
+
},
|
|
131
|
+
"analysisSha256": {
|
|
132
|
+
"type": "string"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"required": [
|
|
136
|
+
"version",
|
|
137
|
+
"operation",
|
|
138
|
+
"evaluatedRevision",
|
|
139
|
+
"requestSha256",
|
|
140
|
+
"analysisSha256"
|
|
141
|
+
],
|
|
142
|
+
"additionalProperties": false,
|
|
143
|
+
"description": "Guard returned by capabilities check for this exact HTML or Markdown write. Only for actions 'insert', 'replace'. Omit for other actions."
|
|
144
|
+
},
|
|
145
|
+
"target": {
|
|
146
|
+
"oneOf": [
|
|
147
|
+
{
|
|
148
|
+
"oneOf": [
|
|
149
|
+
{
|
|
150
|
+
"$ref": "#/$defs/BlockNodeAddress",
|
|
151
|
+
"description": "Block address for structural insertion: {kind:'block', nodeType:'...', nodeId:'...'}."
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"type": "object",
|
|
155
|
+
"properties": {
|
|
156
|
+
"kind": {
|
|
157
|
+
"const": "story",
|
|
158
|
+
"type": "string"
|
|
159
|
+
},
|
|
160
|
+
"storyType": {
|
|
161
|
+
"const": "body",
|
|
162
|
+
"type": "string"
|
|
2312
163
|
}
|
|
164
|
+
},
|
|
165
|
+
"additionalProperties": false,
|
|
166
|
+
"required": [
|
|
167
|
+
"kind",
|
|
168
|
+
"storyType"
|
|
2313
169
|
]
|
|
2314
170
|
}
|
|
2315
171
|
],
|
|
@@ -2320,7 +176,7 @@
|
|
|
2320
176
|
"description": "Selection target: {kind:'selection', start:{kind:'text', blockId, offset}, end:{kind:'text', blockId, offset}}. Use 'ref' instead when you have a search result handle."
|
|
2321
177
|
}
|
|
2322
178
|
],
|
|
2323
|
-
"description": "Block address for structural insertion: {kind:'block', nodeType:'...', nodeId:'...'}."
|
|
179
|
+
"description": "Block address for structural insertion: {kind:'block', nodeType:'...', nodeId:'...'}. Only for actions 'insert', 'replace', 'delete'. Omit for other actions."
|
|
2324
180
|
},
|
|
2325
181
|
"in": {
|
|
2326
182
|
"oneOf": [
|
|
@@ -2506,20 +362,48 @@
|
|
|
2506
362
|
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
2507
363
|
}
|
|
2508
364
|
],
|
|
2509
|
-
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
|
|
365
|
+
"description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes. Only for actions 'insert', 'replace', 'delete'. Omit for other actions."
|
|
2510
366
|
},
|
|
2511
367
|
"value": {
|
|
2512
|
-
"
|
|
2513
|
-
|
|
368
|
+
"oneOf": [
|
|
369
|
+
{
|
|
370
|
+
"type": "string",
|
|
371
|
+
"description": "HTML or Markdown content to convert and insert."
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"type": "string",
|
|
375
|
+
"description": "HTML or Markdown that replaces the complete main body."
|
|
376
|
+
}
|
|
377
|
+
],
|
|
378
|
+
"description": "HTML or Markdown content to convert and insert. Only for actions 'insert', 'replace'. Omit for other actions."
|
|
2514
379
|
},
|
|
2515
380
|
"type": {
|
|
2516
|
-
"
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
381
|
+
"oneOf": [
|
|
382
|
+
{
|
|
383
|
+
"type": "string",
|
|
384
|
+
"oneOf": [
|
|
385
|
+
{
|
|
386
|
+
"const": "text",
|
|
387
|
+
"description": "Plain-text content format. Omit for the same 'text' default.",
|
|
388
|
+
"type": "string"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"enum": [
|
|
392
|
+
"markdown",
|
|
393
|
+
"html"
|
|
394
|
+
]
|
|
395
|
+
}
|
|
396
|
+
]
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"type": "string",
|
|
400
|
+
"enum": [
|
|
401
|
+
"html",
|
|
402
|
+
"markdown"
|
|
403
|
+
]
|
|
404
|
+
}
|
|
405
|
+
],
|
|
406
|
+
"description": "Only for actions 'insert', 'replace'. Omit for other actions."
|
|
2523
407
|
},
|
|
2524
408
|
"ref": {
|
|
2525
409
|
"oneOf": [
|
|
@@ -2541,7 +425,16 @@
|
|
|
2541
425
|
"description": "Handle ref string from a superdoc_search result. Pass the handle.ref value directly (e.g. 'text:eyJ...'). Preferred over 'target' for inline formatting."
|
|
2542
426
|
}
|
|
2543
427
|
],
|
|
2544
|
-
"description": "Handle ref from superdoc_search result (pass handle.ref value directly). Preferred over building a target object."
|
|
428
|
+
"description": "Handle ref from superdoc_search result (pass handle.ref value directly). Preferred over building a target object. Only for actions 'insert', 'replace', 'delete'. Omit for other actions."
|
|
429
|
+
},
|
|
430
|
+
"placement": {
|
|
431
|
+
"enum": [
|
|
432
|
+
"before",
|
|
433
|
+
"after",
|
|
434
|
+
"insideStart",
|
|
435
|
+
"insideEnd"
|
|
436
|
+
],
|
|
437
|
+
"description": "Where to place content relative to target: 'before', 'after', 'insideStart', or 'insideEnd'. Only for action 'insert'. Omit for other actions."
|
|
2545
438
|
},
|
|
2546
439
|
"content": {
|
|
2547
440
|
"oneOf": [
|
|
@@ -2572,21 +465,11 @@
|
|
|
2572
465
|
"properties": {}
|
|
2573
466
|
}
|
|
2574
467
|
}
|
|
2575
|
-
]
|
|
2576
|
-
"description": "Document fragment to replace with (structured content)."
|
|
468
|
+
]
|
|
2577
469
|
}
|
|
2578
470
|
],
|
|
2579
471
|
"description": "Document fragment to insert (structured content). Only for actions 'insert', 'replace'. Omit for other actions."
|
|
2580
472
|
},
|
|
2581
|
-
"placement": {
|
|
2582
|
-
"enum": [
|
|
2583
|
-
"before",
|
|
2584
|
-
"after",
|
|
2585
|
-
"insideStart",
|
|
2586
|
-
"insideEnd"
|
|
2587
|
-
],
|
|
2588
|
-
"description": "Where to place content relative to target: 'before', 'after', 'insideStart', or 'insideEnd'. Only for action 'insert'. Omit for other actions."
|
|
2589
|
-
},
|
|
2590
473
|
"nestingPolicy": {
|
|
2591
474
|
"oneOf": [
|
|
2592
475
|
{
|
|
@@ -2619,11 +502,296 @@
|
|
|
2619
502
|
},
|
|
2620
503
|
"text": {
|
|
2621
504
|
"type": "string",
|
|
2622
|
-
"description": "
|
|
505
|
+
"description": "Complete replacement text for the main body. Only for action 'replace'. Omit for other actions."
|
|
2623
506
|
},
|
|
2624
507
|
"behavior": {
|
|
2625
508
|
"$ref": "#/$defs/DeleteBehavior",
|
|
2626
509
|
"description": "Delete behavior: 'selection' (default) or 'exact'. Only for action 'delete'. Omit for other actions."
|
|
510
|
+
},
|
|
511
|
+
"operation": {
|
|
512
|
+
"oneOf": [
|
|
513
|
+
{
|
|
514
|
+
"oneOf": [
|
|
515
|
+
{
|
|
516
|
+
"enum": [
|
|
517
|
+
"insert",
|
|
518
|
+
"replace"
|
|
519
|
+
]
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"const": "projectHtml",
|
|
523
|
+
"type": "string"
|
|
524
|
+
}
|
|
525
|
+
]
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"const": "projectMarkdown",
|
|
529
|
+
"type": "string"
|
|
530
|
+
}
|
|
531
|
+
],
|
|
532
|
+
"description": "Required for action 'check_support'."
|
|
533
|
+
},
|
|
534
|
+
"input": {
|
|
535
|
+
"oneOf": [
|
|
536
|
+
{
|
|
537
|
+
"oneOf": [
|
|
538
|
+
{
|
|
539
|
+
"oneOf": [
|
|
540
|
+
{
|
|
541
|
+
"oneOf": [
|
|
542
|
+
{
|
|
543
|
+
"type": "object",
|
|
544
|
+
"properties": {
|
|
545
|
+
"in": {
|
|
546
|
+
"$ref": "#/$defs/StoryLocator"
|
|
547
|
+
},
|
|
548
|
+
"target": {
|
|
549
|
+
"oneOf": [
|
|
550
|
+
{
|
|
551
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"$ref": "#/$defs/BlockNodeAddress"
|
|
555
|
+
}
|
|
556
|
+
]
|
|
557
|
+
},
|
|
558
|
+
"value": {
|
|
559
|
+
"type": "string"
|
|
560
|
+
},
|
|
561
|
+
"type": {
|
|
562
|
+
"enum": [
|
|
563
|
+
"html",
|
|
564
|
+
"markdown"
|
|
565
|
+
]
|
|
566
|
+
},
|
|
567
|
+
"placement": {
|
|
568
|
+
"enum": [
|
|
569
|
+
"before",
|
|
570
|
+
"after",
|
|
571
|
+
"insideStart",
|
|
572
|
+
"insideEnd"
|
|
573
|
+
]
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
"additionalProperties": false,
|
|
577
|
+
"required": [
|
|
578
|
+
"target",
|
|
579
|
+
"value",
|
|
580
|
+
"type"
|
|
581
|
+
]
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"type": "object",
|
|
585
|
+
"properties": {
|
|
586
|
+
"in": {
|
|
587
|
+
"$ref": "#/$defs/StoryLocator"
|
|
588
|
+
},
|
|
589
|
+
"ref": {
|
|
590
|
+
"type": "string",
|
|
591
|
+
"minLength": 1
|
|
592
|
+
},
|
|
593
|
+
"value": {
|
|
594
|
+
"type": "string"
|
|
595
|
+
},
|
|
596
|
+
"type": {
|
|
597
|
+
"enum": [
|
|
598
|
+
"html",
|
|
599
|
+
"markdown"
|
|
600
|
+
]
|
|
601
|
+
},
|
|
602
|
+
"placement": {
|
|
603
|
+
"enum": [
|
|
604
|
+
"before",
|
|
605
|
+
"after",
|
|
606
|
+
"insideStart",
|
|
607
|
+
"insideEnd"
|
|
608
|
+
]
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
"additionalProperties": false,
|
|
612
|
+
"required": [
|
|
613
|
+
"ref",
|
|
614
|
+
"value",
|
|
615
|
+
"type"
|
|
616
|
+
]
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"type": "object",
|
|
620
|
+
"properties": {
|
|
621
|
+
"in": {
|
|
622
|
+
"$ref": "#/$defs/StoryLocator"
|
|
623
|
+
},
|
|
624
|
+
"value": {
|
|
625
|
+
"type": "string"
|
|
626
|
+
},
|
|
627
|
+
"type": {
|
|
628
|
+
"enum": [
|
|
629
|
+
"html",
|
|
630
|
+
"markdown"
|
|
631
|
+
]
|
|
632
|
+
},
|
|
633
|
+
"placement": {
|
|
634
|
+
"enum": [
|
|
635
|
+
"before",
|
|
636
|
+
"after",
|
|
637
|
+
"insideStart",
|
|
638
|
+
"insideEnd"
|
|
639
|
+
]
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
"additionalProperties": false,
|
|
643
|
+
"required": [
|
|
644
|
+
"value",
|
|
645
|
+
"type"
|
|
646
|
+
]
|
|
647
|
+
}
|
|
648
|
+
]
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"oneOf": [
|
|
652
|
+
{
|
|
653
|
+
"type": "object",
|
|
654
|
+
"properties": {
|
|
655
|
+
"in": {
|
|
656
|
+
"$ref": "#/$defs/StoryLocator"
|
|
657
|
+
},
|
|
658
|
+
"target": {
|
|
659
|
+
"oneOf": [
|
|
660
|
+
{
|
|
661
|
+
"$ref": "#/$defs/SelectionTarget"
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"$ref": "#/$defs/BlockNodeAddress"
|
|
665
|
+
}
|
|
666
|
+
]
|
|
667
|
+
},
|
|
668
|
+
"value": {
|
|
669
|
+
"type": "string"
|
|
670
|
+
},
|
|
671
|
+
"type": {
|
|
672
|
+
"enum": [
|
|
673
|
+
"html",
|
|
674
|
+
"markdown"
|
|
675
|
+
]
|
|
676
|
+
},
|
|
677
|
+
"nestingPolicy": {
|
|
678
|
+
"type": "object",
|
|
679
|
+
"properties": {
|
|
680
|
+
"tables": {
|
|
681
|
+
"enum": [
|
|
682
|
+
"forbid",
|
|
683
|
+
"allow"
|
|
684
|
+
]
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
"additionalProperties": false,
|
|
688
|
+
"description": "Controls nesting behavior. tables: 'allow' permits inserting tables inside other tables."
|
|
689
|
+
}
|
|
690
|
+
},
|
|
691
|
+
"additionalProperties": false,
|
|
692
|
+
"required": [
|
|
693
|
+
"target",
|
|
694
|
+
"value",
|
|
695
|
+
"type"
|
|
696
|
+
]
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"type": "object",
|
|
700
|
+
"properties": {
|
|
701
|
+
"in": {
|
|
702
|
+
"$ref": "#/$defs/StoryLocator"
|
|
703
|
+
},
|
|
704
|
+
"ref": {
|
|
705
|
+
"type": "string",
|
|
706
|
+
"minLength": 1
|
|
707
|
+
},
|
|
708
|
+
"value": {
|
|
709
|
+
"type": "string"
|
|
710
|
+
},
|
|
711
|
+
"type": {
|
|
712
|
+
"enum": [
|
|
713
|
+
"html",
|
|
714
|
+
"markdown"
|
|
715
|
+
]
|
|
716
|
+
},
|
|
717
|
+
"nestingPolicy": {
|
|
718
|
+
"type": "object",
|
|
719
|
+
"properties": {
|
|
720
|
+
"tables": {
|
|
721
|
+
"enum": [
|
|
722
|
+
"forbid",
|
|
723
|
+
"allow"
|
|
724
|
+
]
|
|
725
|
+
}
|
|
726
|
+
},
|
|
727
|
+
"additionalProperties": false,
|
|
728
|
+
"description": "Controls nesting behavior. tables: 'allow' permits inserting tables inside other tables."
|
|
729
|
+
}
|
|
730
|
+
},
|
|
731
|
+
"additionalProperties": false,
|
|
732
|
+
"required": [
|
|
733
|
+
"ref",
|
|
734
|
+
"value",
|
|
735
|
+
"type"
|
|
736
|
+
]
|
|
737
|
+
}
|
|
738
|
+
]
|
|
739
|
+
}
|
|
740
|
+
]
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"type": "object",
|
|
744
|
+
"properties": {
|
|
745
|
+
"in": {
|
|
746
|
+
"$ref": "#/$defs/StoryLocator"
|
|
747
|
+
},
|
|
748
|
+
"reviewMode": {
|
|
749
|
+
"$ref": "#/$defs/SDProjectionReviewMode"
|
|
750
|
+
},
|
|
751
|
+
"scope": {
|
|
752
|
+
"$ref": "#/$defs/SDProjectionScope"
|
|
753
|
+
},
|
|
754
|
+
"includeSourceMap": {
|
|
755
|
+
"type": "boolean"
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
"additionalProperties": false
|
|
759
|
+
}
|
|
760
|
+
]
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"type": "object",
|
|
764
|
+
"properties": {
|
|
765
|
+
"in": {
|
|
766
|
+
"$ref": "#/$defs/StoryLocator"
|
|
767
|
+
},
|
|
768
|
+
"reviewMode": {
|
|
769
|
+
"$ref": "#/$defs/SDProjectionReviewMode"
|
|
770
|
+
},
|
|
771
|
+
"scope": {
|
|
772
|
+
"$ref": "#/$defs/SDProjectionScope"
|
|
773
|
+
},
|
|
774
|
+
"includeSourceMap": {
|
|
775
|
+
"type": "boolean"
|
|
776
|
+
}
|
|
777
|
+
},
|
|
778
|
+
"additionalProperties": false
|
|
779
|
+
}
|
|
780
|
+
],
|
|
781
|
+
"description": "Only for action 'check_support'. Omit for other actions."
|
|
782
|
+
},
|
|
783
|
+
"options": {
|
|
784
|
+
"type": "object",
|
|
785
|
+
"properties": {
|
|
786
|
+
"changeMode": {
|
|
787
|
+
"enum": [
|
|
788
|
+
"direct",
|
|
789
|
+
"tracked"
|
|
790
|
+
]
|
|
791
|
+
}
|
|
792
|
+
},
|
|
793
|
+
"additionalProperties": false,
|
|
794
|
+
"description": "Only for action 'check_support'. Omit for other actions."
|
|
2627
795
|
}
|
|
2628
796
|
},
|
|
2629
797
|
"required": [
|