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