@tiwater/office-mcp 0.15.0 → 0.15.2

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 (89) hide show
  1. package/office/README.md +5 -0
  2. package/office/contracts/docx_apply_font_policy.schema.json +6 -3
  3. package/office/contracts/docx_apply_toc_style_policy.schema.json +6 -3
  4. package/office/contracts/docx_collapse_trailing_empty_paragraphs.schema.json +6 -3
  5. package/office/contracts/docx_collapse_trailing_empty_section.schema.json +6 -3
  6. package/office/contracts/docx_compare.schema.json +4 -2
  7. package/office/contracts/docx_copy_table_range.schema.json +8 -4
  8. package/office/contracts/docx_delete_body_drawing_before_paragraph.schema.json +6 -3
  9. package/office/contracts/docx_delete_body_paragraph.schema.json +6 -3
  10. package/office/contracts/docx_delete_body_range.schema.json +6 -3
  11. package/office/contracts/docx_delete_comments.schema.json +6 -3
  12. package/office/contracts/docx_delete_table_rows.schema.json +6 -3
  13. package/office/contracts/docx_export_json.schema.json +4 -2
  14. package/office/contracts/docx_find_literal.schema.json +2 -1
  15. package/office/contracts/docx_freeze_fields.schema.json +6 -3
  16. package/office/contracts/docx_insert_body_image.schema.json +8 -4
  17. package/office/contracts/docx_insert_body_range.schema.json +8 -4
  18. package/office/contracts/docx_insert_table_columns.schema.json +6 -3
  19. package/office/contracts/docx_insert_table_rows.schema.json +9 -4
  20. package/office/contracts/docx_inspect.schema.json +4 -2
  21. package/office/contracts/docx_inspect_tables.schema.json +4 -2
  22. package/office/contracts/docx_list_objects.schema.json +2 -1
  23. package/office/contracts/docx_mark_fields_dirty.schema.json +6 -3
  24. package/office/contracts/docx_merge_table_cells.schema.json +6 -3
  25. package/office/contracts/docx_read_object.schema.json +2 -1
  26. package/office/contracts/docx_replace_body_text.schema.json +6 -3
  27. package/office/contracts/docx_replace_drawing_image.schema.json +8 -4
  28. package/office/contracts/docx_replace_header_text.schema.json +6 -3
  29. package/office/contracts/docx_replace_style_ids.schema.json +4 -2
  30. package/office/contracts/docx_replace_table_rows.schema.json +9 -4
  31. package/office/contracts/docx_sanitize_fields.schema.json +6 -3
  32. package/office/contracts/docx_set_anchored_text.schema.json +6 -3
  33. package/office/contracts/docx_set_body_paragraph_keep_lines.schema.json +6 -3
  34. package/office/contracts/docx_set_body_paragraph_keep_next.schema.json +6 -3
  35. package/office/contracts/docx_set_footer_paragraph_text.schema.json +6 -3
  36. package/office/contracts/docx_set_footer_run_text.schema.json +6 -3
  37. package/office/contracts/docx_set_footer_table_cell_run_text.schema.json +6 -3
  38. package/office/contracts/docx_set_footer_table_cell_text.schema.json +6 -3
  39. package/office/contracts/docx_set_header_paragraph_font_size.schema.json +6 -3
  40. package/office/contracts/docx_set_header_paragraph_text.schema.json +6 -3
  41. package/office/contracts/docx_set_header_run_text.schema.json +6 -3
  42. package/office/contracts/docx_set_header_table_cell_run_text.schema.json +6 -3
  43. package/office/contracts/docx_set_header_table_cell_text.schema.json +6 -3
  44. package/office/contracts/docx_set_paragraph_run_text.schema.json +6 -3
  45. package/office/contracts/docx_set_paragraph_text.schema.json +6 -3
  46. package/office/contracts/docx_set_table_cell_alignment.schema.json +6 -3
  47. package/office/contracts/docx_set_table_cell_font_size.schema.json +6 -3
  48. package/office/contracts/docx_set_table_cell_no_wrap.schema.json +6 -3
  49. package/office/contracts/docx_set_table_cell_rich_text.schema.json +6 -3
  50. package/office/contracts/docx_set_table_cell_run_text.schema.json +6 -3
  51. package/office/contracts/docx_set_table_cell_text.schema.json +6 -3
  52. package/office/contracts/docx_set_table_row_cant_split.schema.json +6 -3
  53. package/office/contracts/docx_set_table_row_height.schema.json +6 -3
  54. package/office/contracts/docx_set_table_row_keep_next.schema.json +6 -3
  55. package/office/contracts/docx_set_table_row_repeat_as_header.schema.json +6 -3
  56. package/office/contracts/docx_set_table_width.schema.json +6 -3
  57. package/office/contracts/docx_start_section.schema.json +6 -3
  58. package/office/contracts/docx_strip_direct_formatting.schema.json +4 -2
  59. package/office/contracts/docx_unmerge_table_column_cells.schema.json +6 -3
  60. package/office/contracts/docx_unmerge_table_row_cells.schema.json +6 -3
  61. package/office/contracts/docx_validate.schema.json +2 -1
  62. package/office/contracts/docx_validate_font_policy.schema.json +2 -1
  63. package/office/contracts/docx_validate_toc_style_policy.schema.json +2 -1
  64. package/office/contracts/office_render_pdf.schema.json +6 -3
  65. package/office/contracts/pptx_apply_format.schema.json +6 -3
  66. package/office/contracts/pptx_apply_template.schema.json +8 -4
  67. package/office/contracts/pptx_export_json.schema.json +4 -2
  68. package/office/contracts/pptx_inspect.schema.json +4 -2
  69. package/office/contracts/pptx_replace_picture_image.schema.json +8 -4
  70. package/office/contracts/pptx_set_shape_geometry.schema.json +6 -3
  71. package/office/contracts/pptx_validate.schema.json +2 -1
  72. package/office/contracts/tiwater-office-provider-contract-manifest-v1.json +173 -173
  73. package/office/contracts/xlsx_convert_legacy.schema.json +6 -3
  74. package/office/contracts/xlsx_copy_row.schema.json +6 -3
  75. package/office/contracts/xlsx_delete_rows.schema.json +6 -3
  76. package/office/contracts/xlsx_expand_section_rows.schema.json +6 -3
  77. package/office/contracts/xlsx_export_json.schema.json +4 -2
  78. package/office/contracts/xlsx_insert_rows.schema.json +6 -3
  79. package/office/contracts/xlsx_inspect.schema.json +4 -2
  80. package/office/contracts/xlsx_set_cell_number_format.schema.json +6 -3
  81. package/office/contracts/xlsx_set_cell_value.schema.json +6 -3
  82. package/office/contracts/xlsx_set_column_width.schema.json +6 -3
  83. package/office/contracts/xlsx_set_page_setup.schema.json +6 -3
  84. package/office/contracts/xlsx_set_print_area.schema.json +6 -3
  85. package/office/contracts/xlsx_set_range_values.schema.json +6 -3
  86. package/office/contracts/xlsx_set_rich_text_cell_value.schema.json +6 -3
  87. package/office/contracts/xlsx_set_row_page_breaks.schema.json +6 -3
  88. package/office/contracts/xlsx_validate.schema.json +2 -1
  89. package/package.json +1 -1
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,11 +4,13 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
- "minLength": 1
12
+ "minLength": 1,
13
+ "x-tiwater-file-role": "write"
12
14
  },
13
15
  "styleMap": {
14
16
  "type": "object",
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -58,7 +61,9 @@
58
61
  "maximum": 9007199254740991
59
62
  },
60
63
  "vMerge": {
61
- "type": "string"
64
+ "type": "string",
65
+ "enum": ["restart", "continue", "none"],
66
+ "description": "Vertical merge state for this cell. Use none to clear a merge inherited from the template row."
62
67
  },
63
68
  "bold": {
64
69
  "type": "boolean"
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  }
19
22
  },
20
23
  "required": [
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,
@@ -4,17 +4,20 @@
4
4
  "properties": {
5
5
  "input": {
6
6
  "type": "string",
7
- "minLength": 1
7
+ "minLength": 1,
8
+ "x-tiwater-file-role": "read"
8
9
  },
9
10
  "output": {
10
11
  "type": "string",
11
12
  "minLength": 1,
12
- "description": "New document output path. Existing files are never overwritten."
13
+ "description": "New document output path. Existing files are never overwritten.",
14
+ "x-tiwater-file-role": "write"
13
15
  },
14
16
  "receiptOutput": {
15
17
  "type": "string",
16
18
  "minLength": 1,
17
- "description": "New JSON receipt path. Existing files are never overwritten."
19
+ "description": "New JSON receipt path. Existing files are never overwritten.",
20
+ "x-tiwater-file-role": "write"
18
21
  },
19
22
  "changes": {
20
23
  "minItems": 1,