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