@tiwater/office-mcp 0.15.10 → 0.15.12

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.
Files changed (78) hide show
  1. package/office/contracts/docx_apply_font_policy.schema.json +2 -1
  2. package/office/contracts/docx_apply_toc_style_policy.schema.json +2 -1
  3. package/office/contracts/docx_collapse_trailing_empty_paragraphs.schema.json +2 -1
  4. package/office/contracts/docx_collapse_trailing_empty_section.schema.json +2 -1
  5. package/office/contracts/docx_copy_content.schema.json +67 -0
  6. package/office/contracts/docx_copy_object.schema.json +88 -0
  7. package/office/contracts/docx_delete_body_drawing_before_paragraph.schema.json +2 -1
  8. package/office/contracts/docx_delete_body_paragraph.schema.json +2 -1
  9. package/office/contracts/docx_delete_body_range.schema.json +2 -1
  10. package/office/contracts/docx_delete_comments.schema.json +2 -1
  11. package/office/contracts/docx_delete_object.schema.json +58 -0
  12. package/office/contracts/docx_delete_table_rows.schema.json +2 -1
  13. package/office/contracts/docx_find_literal.schema.json +2 -0
  14. package/office/contracts/docx_freeze_fields.schema.json +2 -1
  15. package/office/contracts/docx_insert_body_image.schema.json +2 -1
  16. package/office/contracts/docx_insert_body_range.schema.json +2 -1
  17. package/office/contracts/docx_insert_table_columns.schema.json +2 -1
  18. package/office/contracts/docx_insert_table_rows.schema.json +7 -2
  19. package/office/contracts/docx_list_objects.schema.json +4 -2
  20. package/office/contracts/docx_mark_fields_dirty.schema.json +2 -1
  21. package/office/contracts/docx_merge_cells.schema.json +36 -0
  22. package/office/contracts/docx_replace_body_text.schema.json +2 -1
  23. package/office/contracts/docx_replace_drawing_image.schema.json +2 -1
  24. package/office/contracts/docx_replace_header_text.schema.json +2 -1
  25. package/office/contracts/docx_replace_table_rows.schema.json +10 -2
  26. package/office/contracts/docx_sanitize_fields.schema.json +2 -1
  27. package/office/contracts/docx_set_anchored_text.schema.json +2 -1
  28. package/office/contracts/docx_set_body_paragraph_keep_lines.schema.json +2 -1
  29. package/office/contracts/docx_set_body_paragraph_keep_next.schema.json +2 -1
  30. package/office/contracts/docx_set_footer_paragraph_text.schema.json +2 -1
  31. package/office/contracts/docx_set_footer_run_text.schema.json +2 -1
  32. package/office/contracts/docx_set_footer_table_cell_run_text.schema.json +2 -1
  33. package/office/contracts/docx_set_footer_table_cell_text.schema.json +2 -1
  34. package/office/contracts/docx_set_header_paragraph_font_size.schema.json +2 -1
  35. package/office/contracts/docx_set_header_paragraph_text.schema.json +2 -1
  36. package/office/contracts/docx_set_header_run_text.schema.json +2 -1
  37. package/office/contracts/docx_set_header_table_cell_run_text.schema.json +2 -1
  38. package/office/contracts/docx_set_header_table_cell_text.schema.json +2 -1
  39. package/office/contracts/docx_set_paragraph_run_text.schema.json +2 -1
  40. package/office/contracts/docx_set_paragraph_text.schema.json +2 -1
  41. package/office/contracts/docx_set_table_cell_alignment.schema.json +2 -1
  42. package/office/contracts/docx_set_table_cell_font_size.schema.json +2 -1
  43. package/office/contracts/docx_set_table_cell_no_wrap.schema.json +2 -1
  44. package/office/contracts/docx_set_table_cell_rich_text.schema.json +2 -1
  45. package/office/contracts/docx_set_table_cell_run_text.schema.json +2 -1
  46. package/office/contracts/docx_set_table_cell_text.schema.json +2 -1
  47. package/office/contracts/docx_set_table_row_cant_split.schema.json +2 -1
  48. package/office/contracts/docx_set_table_row_height.schema.json +2 -1
  49. package/office/contracts/docx_set_table_row_keep_next.schema.json +2 -1
  50. package/office/contracts/docx_set_table_row_repeat_as_header.schema.json +2 -1
  51. package/office/contracts/docx_set_table_width.schema.json +2 -1
  52. package/office/contracts/docx_split_cells.schema.json +36 -0
  53. package/office/contracts/docx_start_section.schema.json +2 -1
  54. package/office/contracts/office_render_pdf.schema.json +2 -1
  55. package/office/contracts/pptx_apply_format.schema.json +2 -1
  56. package/office/contracts/pptx_apply_template.schema.json +2 -1
  57. package/office/contracts/pptx_replace_picture_image.schema.json +2 -1
  58. package/office/contracts/pptx_set_shape_geometry.schema.json +2 -1
  59. package/office/contracts/tiwater-office-provider-contract-manifest-v1.json +176 -165
  60. package/office/contracts/xlsx_convert_legacy.schema.json +2 -1
  61. package/office/contracts/xlsx_copy_row.schema.json +2 -1
  62. package/office/contracts/xlsx_delete_rows.schema.json +2 -1
  63. package/office/contracts/xlsx_expand_section_rows.schema.json +2 -1
  64. package/office/contracts/xlsx_insert_rows.schema.json +2 -1
  65. package/office/contracts/xlsx_set_cell_number_format.schema.json +2 -1
  66. package/office/contracts/xlsx_set_cell_value.schema.json +2 -1
  67. package/office/contracts/xlsx_set_column_width.schema.json +2 -1
  68. package/office/contracts/xlsx_set_page_setup.schema.json +2 -1
  69. package/office/contracts/xlsx_set_print_area.schema.json +2 -1
  70. package/office/contracts/xlsx_set_range_values.schema.json +2 -1
  71. package/office/contracts/xlsx_set_rich_text_cell_value.schema.json +2 -1
  72. package/office/contracts/xlsx_set_row_page_breaks.schema.json +2 -1
  73. package/office/index.mjs +22 -9
  74. package/package.json +1 -1
  75. package/office/contracts/docx_copy_table_range.schema.json +0 -120
  76. package/office/contracts/docx_merge_table_cells.schema.json +0 -83
  77. package/office/contracts/docx_unmerge_table_column_cells.schema.json +0 -66
  78. package/office/contracts/docx_unmerge_table_row_cells.schema.json +0 -60
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  }
22
23
  },
23
24
  "required": [
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  }
22
23
  },
23
24
  "required": [
@@ -0,0 +1,67 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "tiwater.office-mcp-input/docx_copy_content",
4
+ "type": "object",
5
+ "properties": {
6
+ "targetDocument": {
7
+ "type": "object",
8
+ "properties": {
9
+ "input": { "type": "string", "minLength": 1, "x-tiwater-file-role": "read" },
10
+ "revision": { "type": "string", "pattern": "^docx-rev-v1-[0-9a-f]{64}$" }
11
+ },
12
+ "required": ["input", "revision"],
13
+ "additionalProperties": false
14
+ },
15
+ "changes": {
16
+ "type": "array",
17
+ "minItems": 1,
18
+ "items": {
19
+ "type": "object",
20
+ "properties": {
21
+ "targetRef": { "type": "string", "pattern": "^dox1_[0-9a-f]{64}$" },
22
+ "sourceDocument": {
23
+ "type": "object",
24
+ "properties": {
25
+ "input": { "type": "string", "minLength": 1, "x-tiwater-file-role": "read" },
26
+ "revision": { "type": "string", "pattern": "^docx-rev-v1-[0-9a-f]{64}$" }
27
+ },
28
+ "required": ["input", "revision"],
29
+ "additionalProperties": false
30
+ },
31
+ "sourceSelections": {
32
+ "type": "array",
33
+ "minItems": 1,
34
+ "items": {
35
+ "type": "object",
36
+ "properties": {
37
+ "ref": { "type": "string", "pattern": "^dox1_[0-9a-f]{64}$" },
38
+ "range": {
39
+ "type": "object",
40
+ "properties": {
41
+ "start": { "type": "integer", "minimum": 0, "maximum": 2147483647 },
42
+ "length": { "type": "integer", "exclusiveMinimum": 0, "maximum": 2147483647 }
43
+ },
44
+ "required": ["start", "length"],
45
+ "additionalProperties": false
46
+ }
47
+ },
48
+ "required": ["ref"],
49
+ "additionalProperties": false
50
+ }
51
+ }
52
+ },
53
+ "required": ["targetRef", "sourceDocument", "sourceSelections"],
54
+ "additionalProperties": false
55
+ }
56
+ },
57
+ "output": { "type": "string", "minLength": 1, "x-tiwater-file-role": "write" },
58
+ "receiptOutput": {
59
+ "type": "string",
60
+ "minLength": 1,
61
+ "x-tiwater-file-role": "write",
62
+ "x-tiwater-file-effect": false
63
+ }
64
+ },
65
+ "required": ["targetDocument", "changes", "output", "receiptOutput"],
66
+ "additionalProperties": false
67
+ }
@@ -0,0 +1,88 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "tiwater.office-mcp-input/docx_copy_object",
4
+ "type": "object",
5
+ "properties": {
6
+ "targetDocument": {
7
+ "type": "object",
8
+ "properties": {
9
+ "input": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "x-tiwater-file-role": "read"
13
+ },
14
+ "revision": {
15
+ "type": "string",
16
+ "minLength": 1,
17
+ "description": "Exact revision id returned by the current observation."
18
+ }
19
+ },
20
+ "required": ["input", "revision"],
21
+ "additionalProperties": false
22
+ },
23
+ "changes": {
24
+ "type": "array",
25
+ "minItems": 1,
26
+ "items": {
27
+ "type": "object",
28
+ "properties": {
29
+ "sourceDocument": {
30
+ "type": "object",
31
+ "properties": {
32
+ "input": {
33
+ "type": "string",
34
+ "minLength": 1,
35
+ "x-tiwater-file-role": "read"
36
+ },
37
+ "revision": {
38
+ "type": "string",
39
+ "minLength": 1,
40
+ "description": "Exact revision id returned by the source observation."
41
+ }
42
+ },
43
+ "required": ["input", "revision"],
44
+ "additionalProperties": false
45
+ },
46
+ "sourceRefs": {
47
+ "type": "array",
48
+ "minItems": 1,
49
+ "items": {
50
+ "type": "string",
51
+ "pattern": "^dox1_[0-9a-f]{64}$"
52
+ }
53
+ },
54
+ "targetParentRef": {
55
+ "type": "string",
56
+ "pattern": "^dox1_[0-9a-f]{64}$"
57
+ },
58
+ "beforeRef": {
59
+ "type": "string",
60
+ "pattern": "^dox1_[0-9a-f]{64}$"
61
+ },
62
+ "repeat": {
63
+ "type": "integer",
64
+ "minimum": 1,
65
+ "maximum": 1000
66
+ }
67
+ },
68
+ "required": ["sourceDocument", "sourceRefs", "targetParentRef"],
69
+ "additionalProperties": false
70
+ }
71
+ },
72
+ "output": {
73
+ "type": "string",
74
+ "minLength": 1,
75
+ "x-tiwater-file-role": "write",
76
+ "description": "New DOCX output path; an existing path is rejected."
77
+ },
78
+ "receiptOutput": {
79
+ "type": "string",
80
+ "minLength": 1,
81
+ "x-tiwater-file-role": "write",
82
+ "x-tiwater-file-effect": false,
83
+ "description": "New JSON receipt path; an existing path is rejected."
84
+ }
85
+ },
86
+ "required": ["targetDocument", "changes", "output", "receiptOutput"],
87
+ "additionalProperties": false
88
+ }
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,
@@ -0,0 +1,58 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "tiwater.office-mcp-input/docx_delete_object",
4
+ "type": "object",
5
+ "properties": {
6
+ "targetDocument": {
7
+ "type": "object",
8
+ "properties": {
9
+ "input": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "x-tiwater-file-role": "read"
13
+ },
14
+ "revision": {
15
+ "type": "string",
16
+ "minLength": 1,
17
+ "description": "Exact revision id returned by the current observation."
18
+ }
19
+ },
20
+ "required": ["input", "revision"],
21
+ "additionalProperties": false
22
+ },
23
+ "changes": {
24
+ "type": "array",
25
+ "minItems": 1,
26
+ "items": {
27
+ "type": "object",
28
+ "properties": {
29
+ "refs": {
30
+ "type": "array",
31
+ "minItems": 1,
32
+ "items": {
33
+ "type": "string",
34
+ "pattern": "^dox1_[0-9a-f]{64}$"
35
+ }
36
+ }
37
+ },
38
+ "required": ["refs"],
39
+ "additionalProperties": false
40
+ }
41
+ },
42
+ "output": {
43
+ "type": "string",
44
+ "minLength": 1,
45
+ "x-tiwater-file-role": "write",
46
+ "description": "New DOCX output path; an existing path is rejected."
47
+ },
48
+ "receiptOutput": {
49
+ "type": "string",
50
+ "minLength": 1,
51
+ "x-tiwater-file-role": "write",
52
+ "x-tiwater-file-effect": false,
53
+ "description": "New JSON receipt path; an existing path is rejected."
54
+ }
55
+ },
56
+ "required": ["targetDocument", "changes", "output", "receiptOutput"],
57
+ "additionalProperties": false
58
+ }
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,
@@ -17,9 +17,11 @@
17
17
  "part",
18
18
  "paragraph",
19
19
  "table",
20
+ "gridColumn",
20
21
  "row",
21
22
  "cell",
22
23
  "run",
24
+ "text",
23
25
  "drawing"
24
26
  ]
25
27
  },
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  }
22
23
  },
23
24
  "required": [
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,
@@ -57,7 +58,11 @@
57
58
  },
58
59
  "vMerge": {
59
60
  "type": "string",
60
- "enum": ["restart", "continue", "none"],
61
+ "enum": [
62
+ "restart",
63
+ "continue",
64
+ "none"
65
+ ],
61
66
  "description": "Vertical merge state for this cell. Use none to clear a merge inherited from the template row."
62
67
  },
63
68
  "bold": {
@@ -8,15 +8,17 @@
8
8
  "x-tiwater-file-role": "read"
9
9
  },
10
10
  "kind": {
11
- "description": "Object granularity for structure discovery, not document-text extraction. Use table to locate tables and row with a table parentRef for table-range discovery; use cell or run only when the task directly targets that object kind.",
11
+ "description": "Open XML object kind to list. Use parentRef to walk only the native structure needed for the direct operation.",
12
12
  "type": "string",
13
13
  "enum": [
14
14
  "part",
15
15
  "paragraph",
16
16
  "table",
17
+ "gridColumn",
17
18
  "row",
18
19
  "cell",
19
20
  "run",
21
+ "text",
20
22
  "drawing"
21
23
  ]
22
24
  },
@@ -26,7 +28,7 @@
26
28
  "minLength": 1
27
29
  },
28
30
  "parentRef": {
29
- "description": "Optional revision-bound parent object ref. Returns only its nearest published child objects: a part yields top-level story blocks, a table yields rows, a row yields cells. This is not recursive descendant search.",
31
+ "description": "Optional revision-bound parent object ref. Returns only its nearest published child objects; this is not recursive descendant search.",
30
32
  "type": "string",
31
33
  "pattern": "^dox1_[0-9a-f]{64}$"
32
34
  },
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  }
22
23
  },
23
24
  "required": [
@@ -0,0 +1,36 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "tiwater.office-mcp-input/docx_merge_cells",
4
+ "type": "object",
5
+ "properties": {
6
+ "targetDocument": {
7
+ "type": "object",
8
+ "properties": {
9
+ "input": { "type": "string", "minLength": 1, "x-tiwater-file-role": "read" },
10
+ "revision": { "type": "string", "minLength": 1 }
11
+ },
12
+ "required": ["input", "revision"],
13
+ "additionalProperties": false
14
+ },
15
+ "changes": {
16
+ "type": "array",
17
+ "minItems": 1,
18
+ "items": {
19
+ "type": "object",
20
+ "properties": {
21
+ "cellRefs": {
22
+ "type": "array",
23
+ "minItems": 2,
24
+ "items": { "type": "string", "pattern": "^dox1_[0-9a-f]{64}$" }
25
+ }
26
+ },
27
+ "required": ["cellRefs"],
28
+ "additionalProperties": false
29
+ }
30
+ },
31
+ "output": { "type": "string", "minLength": 1, "x-tiwater-file-role": "write" },
32
+ "receiptOutput": { "type": "string", "minLength": 1, "x-tiwater-file-role": "write", "x-tiwater-file-effect": false }
33
+ },
34
+ "required": ["targetDocument", "changes", "output", "receiptOutput"],
35
+ "additionalProperties": false
36
+ }
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,
@@ -32,11 +33,13 @@
32
33
  },
33
34
  "startRowIndex": {
34
35
  "type": "integer",
36
+ "description": "Zero-based index of the first existing row to replace.",
35
37
  "minimum": 0,
36
38
  "maximum": 9007199254740991
37
39
  },
38
40
  "endRowIndex": {
39
41
  "type": "integer",
42
+ "description": "Zero-based index of the last existing row to replace. This is independent of the replacement rows count.",
40
43
  "minimum": 0,
41
44
  "maximum": 9007199254740991
42
45
  },
@@ -47,6 +50,7 @@
47
50
  },
48
51
  "rows": {
49
52
  "type": "array",
53
+ "description": "Final replacement rows. Their count may differ from the inclusive existing row range being replaced.",
50
54
  "items": {
51
55
  "type": "array",
52
56
  "items": {
@@ -62,7 +66,11 @@
62
66
  },
63
67
  "vMerge": {
64
68
  "type": "string",
65
- "enum": ["restart", "continue", "none"],
69
+ "enum": [
70
+ "restart",
71
+ "continue",
72
+ "none"
73
+ ],
66
74
  "description": "Vertical merge state for this cell. Use none to clear a merge inherited from the template row."
67
75
  },
68
76
  "bold": {
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  }
22
23
  },
23
24
  "required": [
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,
@@ -17,7 +17,8 @@
17
17
  "type": "string",
18
18
  "minLength": 1,
19
19
  "description": "New JSON receipt path. Existing files are never overwritten.",
20
- "x-tiwater-file-role": "write"
20
+ "x-tiwater-file-role": "write",
21
+ "x-tiwater-file-effect": false
21
22
  },
22
23
  "changes": {
23
24
  "minItems": 1,