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