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