eligius 2.3.2 → 3.0.1

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 (92) hide show
  1. package/README.md +158 -33
  2. package/dist/configuration-api.d.mts +6110 -0
  3. package/dist/configuration-api.mjs +3876 -0
  4. package/dist/configuration-api.mjs.map +1 -0
  5. package/dist/index.d.mts +3980 -1278
  6. package/dist/index.mjs +10476 -4825
  7. package/dist/index.mjs.map +1 -1
  8. package/dist/metadata.d.mts +1060 -282
  9. package/dist/metadata.mjs +592 -278
  10. package/dist/metadata.mjs.map +1 -1
  11. package/dist/{chunk-w6R9maHv.mjs → rolldown-runtime-BOlb2svz.mjs} +1 -0
  12. package/jsonschema/eligius-configuration.json +120 -9
  13. package/jsonschema/operations/add-class.json +2 -7
  14. package/jsonschema/operations/add-controller-to-element.json +4 -3
  15. package/jsonschema/operations/add-globals-to-operation.json +40 -0
  16. package/jsonschema/operations/animate-with-class.json +8 -8
  17. package/jsonschema/operations/animate.json +10 -9
  18. package/jsonschema/operations/announce-to-screen-reader.json +2 -2
  19. package/jsonschema/operations/break-for-each.json +27 -0
  20. package/jsonschema/operations/broadcast-event.json +2 -2
  21. package/jsonschema/operations/calc.json +16 -3
  22. package/jsonschema/operations/clear-element.json +5 -14
  23. package/jsonschema/operations/clear-operation-data.json +3 -4
  24. package/jsonschema/operations/clear-storage.json +48 -0
  25. package/jsonschema/operations/compare-date.json +2 -2
  26. package/jsonschema/operations/concatenate-strings.json +2 -2
  27. package/jsonschema/operations/continue-for-each.json +27 -0
  28. package/jsonschema/operations/create-element.json +21 -5
  29. package/jsonschema/operations/custom-function.json +2 -2
  30. package/jsonschema/operations/end-action.json +5 -13
  31. package/jsonschema/operations/end-for-each.json +27 -0
  32. package/jsonschema/operations/end-when.json +27 -0
  33. package/jsonschema/operations/extend-controller.json +9 -7
  34. package/jsonschema/operations/filter-array.json +4 -12
  35. package/jsonschema/operations/find-in-array.json +4 -12
  36. package/jsonschema/operations/for-each.json +2 -3
  37. package/jsonschema/operations/format-date.json +2 -17
  38. package/jsonschema/operations/format-text.json +15 -7
  39. package/jsonschema/operations/get-attributes-from-element.json +9 -8
  40. package/jsonschema/operations/get-controller-from-element.json +2 -7
  41. package/jsonschema/operations/get-controller-instance.json +18 -5
  42. package/jsonschema/operations/get-current-time.json +3 -4
  43. package/jsonschema/operations/get-element-dimensions.json +4 -12
  44. package/jsonschema/operations/get-focused-element.json +3 -4
  45. package/jsonschema/operations/get-form-data.json +4 -12
  46. package/jsonschema/operations/get-import.json +2 -2
  47. package/jsonschema/operations/get-query-params.json +12 -5
  48. package/jsonschema/operations/get-scroll-position.json +3 -4
  49. package/jsonschema/operations/get-text-content.json +4 -12
  50. package/jsonschema/operations/http-delete.json +11 -3
  51. package/jsonschema/operations/http-post.json +11 -3
  52. package/jsonschema/operations/http-put.json +11 -3
  53. package/jsonschema/operations/invoke-object-method.json +2 -6
  54. package/jsonschema/operations/is-element-in-viewport.json +4 -12
  55. package/jsonschema/operations/load-from-storage.json +12 -3
  56. package/jsonschema/operations/load-json.json +5 -5
  57. package/jsonschema/operations/log.json +4 -7
  58. package/jsonschema/operations/map-array.json +2 -7
  59. package/jsonschema/operations/math.json +18 -3
  60. package/jsonschema/operations/otherwise.json +27 -0
  61. package/jsonschema/operations/remove-class.json +2 -7
  62. package/jsonschema/operations/remove-controller-from-element.json +2 -7
  63. package/jsonschema/operations/remove-element.json +5 -14
  64. package/jsonschema/operations/remove-properties-from-operation-data.json +2 -2
  65. package/jsonschema/operations/reparent-element.json +2 -7
  66. package/jsonschema/operations/replace-string.json +2 -6
  67. package/jsonschema/operations/replace-text.json +2 -6
  68. package/jsonschema/operations/request-action.json +2 -2
  69. package/jsonschema/operations/save-to-storage.json +12 -3
  70. package/jsonschema/operations/scroll-to-element.json +23 -13
  71. package/jsonschema/operations/scroll-to-position.json +12 -3
  72. package/jsonschema/operations/select-element.json +2 -2
  73. package/jsonschema/operations/set-data.json +8 -3
  74. package/jsonschema/operations/set-element-attributes.json +10 -9
  75. package/jsonschema/operations/set-element-content.json +5 -15
  76. package/jsonschema/operations/set-focus.json +5 -14
  77. package/jsonschema/operations/set-form-value.json +2 -7
  78. package/jsonschema/operations/set-global-data.json +2 -2
  79. package/jsonschema/operations/{set.json → set-operation-data.json} +12 -7
  80. package/jsonschema/operations/set-style.json +3 -8
  81. package/jsonschema/operations/set-variable.json +3 -5
  82. package/jsonschema/operations/sort-array.json +14 -13
  83. package/jsonschema/operations/split-string.json +2 -6
  84. package/jsonschema/operations/start-action.json +4 -12
  85. package/jsonschema/operations/substring-text.json +2 -6
  86. package/jsonschema/operations/toggle-class.json +2 -7
  87. package/jsonschema/operations/toggle-element.json +5 -14
  88. package/jsonschema/operations/toggle-form-element.json +2 -7
  89. package/jsonschema/operations/validate-form.json +41 -13
  90. package/jsonschema/operations/wait.json +2 -2
  91. package/jsonschema/operations/when.json +2 -2
  92. package/package.json +49 -24
@@ -5,14 +5,14 @@
5
5
  "title": "replaceString Operation",
6
6
  "description": "Schema for the replaceString operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "replaceString",
@@ -22,9 +22,6 @@
22
22
  "type": "object",
23
23
  "description": "Operation-specific configuration data",
24
24
  "properties": {
25
- "textContent": {
26
- "type": "string"
27
- },
28
25
  "pattern": {
29
26
  "anyOf": [
30
27
  {
@@ -45,7 +42,6 @@
45
42
  },
46
43
  "additionalProperties": true,
47
44
  "required": [
48
- "textContent",
49
45
  "pattern",
50
46
  "replacement"
51
47
  ]
@@ -5,14 +5,14 @@
5
5
  "title": "replaceText Operation",
6
6
  "description": "Schema for the replaceText operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "replaceText",
@@ -22,9 +22,6 @@
22
22
  "type": "object",
23
23
  "description": "Operation-specific configuration data",
24
24
  "properties": {
25
- "textContent": {
26
- "type": "string"
27
- },
28
25
  "searchPattern": {
29
26
  "anyOf": [
30
27
  {
@@ -45,7 +42,6 @@
45
42
  },
46
43
  "additionalProperties": true,
47
44
  "required": [
48
- "textContent",
49
45
  "searchPattern",
50
46
  "replacement"
51
47
  ]
@@ -5,14 +5,14 @@
5
5
  "title": "requestAction Operation",
6
6
  "description": "Schema for the requestAction operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "requestAction",
@@ -5,14 +5,14 @@
5
5
  "title": "saveToStorage Operation",
6
6
  "description": "Schema for the saveToStorage operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "saveToStorage",
@@ -38,5 +38,14 @@
38
38
  ]
39
39
  }
40
40
  },
41
- "additionalProperties": false
41
+ "additionalProperties": false,
42
+ "definitions": {
43
+ "StorageType": {
44
+ "type": "string",
45
+ "enum": [
46
+ "local",
47
+ "session"
48
+ ]
49
+ }
50
+ }
42
51
  }
@@ -5,14 +5,13 @@
5
5
  "title": "scrollToElement Operation",
6
6
  "description": "Schema for the scrollToElement operation",
7
7
  "required": [
8
- "systemName",
9
- "operationData"
8
+ "id",
9
+ "systemName"
10
10
  ],
11
11
  "properties": {
12
12
  "id": {
13
13
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
14
+ "description": "Unique identifier for the operation"
16
15
  },
17
16
  "systemName": {
18
17
  "const": "scrollToElement",
@@ -22,10 +21,6 @@
22
21
  "type": "object",
23
22
  "description": "Operation-specific configuration data",
24
23
  "properties": {
25
- "selectedElement": {
26
- "type": "object",
27
- "description": "DOM element (JQuery)"
28
- },
29
24
  "behavior": {
30
25
  "$ref": "#/definitions/ScrollBehavior"
31
26
  },
@@ -36,11 +31,26 @@
36
31
  "$ref": "#/definitions/ScrollLogicalPosition"
37
32
  }
38
33
  },
39
- "additionalProperties": true,
40
- "required": [
41
- "selectedElement"
42
- ]
34
+ "additionalProperties": true
43
35
  }
44
36
  },
45
- "additionalProperties": false
37
+ "additionalProperties": false,
38
+ "definitions": {
39
+ "ScrollBehavior": {
40
+ "type": "string",
41
+ "enum": [
42
+ "auto",
43
+ "smooth"
44
+ ]
45
+ },
46
+ "ScrollLogicalPosition": {
47
+ "type": "string",
48
+ "enum": [
49
+ "start",
50
+ "center",
51
+ "end",
52
+ "nearest"
53
+ ]
54
+ }
55
+ }
46
56
  }
@@ -5,14 +5,14 @@
5
5
  "title": "scrollToPosition Operation",
6
6
  "description": "Schema for the scrollToPosition operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "scrollToPosition",
@@ -39,5 +39,14 @@
39
39
  ]
40
40
  }
41
41
  },
42
- "additionalProperties": false
42
+ "additionalProperties": false,
43
+ "definitions": {
44
+ "ScrollBehavior": {
45
+ "type": "string",
46
+ "enum": [
47
+ "auto",
48
+ "smooth"
49
+ ]
50
+ }
51
+ }
43
52
  }
@@ -5,14 +5,14 @@
5
5
  "title": "selectElement Operation",
6
6
  "description": "Schema for the selectElement operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "selectElement",
@@ -5,14 +5,14 @@
5
5
  "title": "setData Operation",
6
6
  "description": "Schema for the setData operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "setData",
@@ -32,5 +32,10 @@
32
32
  ]
33
33
  }
34
34
  },
35
- "additionalProperties": false
35
+ "additionalProperties": false,
36
+ "definitions": {
37
+ "Record<TDataTarget,any>": {
38
+ "type": "object"
39
+ }
40
+ }
36
41
  }
@@ -5,14 +5,14 @@
5
5
  "title": "setElementAttributes Operation",
6
6
  "description": "Schema for the setElementAttributes operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "setElementAttributes",
@@ -24,18 +24,19 @@
24
24
  "properties": {
25
25
  "attributes": {
26
26
  "$ref": "#/definitions/Record%3Cstring%2Cunknown%3E"
27
- },
28
- "selectedElement": {
29
- "type": "object",
30
- "description": "DOM element (JQuery)"
31
27
  }
32
28
  },
33
29
  "additionalProperties": true,
34
30
  "required": [
35
- "attributes",
36
- "selectedElement"
31
+ "attributes"
37
32
  ]
38
33
  }
39
34
  },
40
- "additionalProperties": false
35
+ "additionalProperties": false,
36
+ "definitions": {
37
+ "Record<string,unknown>": {
38
+ "type": "object",
39
+ "additionalProperties": {}
40
+ }
41
+ }
41
42
  }
@@ -5,14 +5,13 @@
5
5
  "title": "setElementContent Operation",
6
6
  "description": "Schema for the setElementContent operation",
7
7
  "required": [
8
- "systemName",
9
- "operationData"
8
+ "id",
9
+ "systemName"
10
10
  ],
11
11
  "properties": {
12
12
  "id": {
13
13
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
14
+ "description": "Unique identifier for the operation"
16
15
  },
17
16
  "systemName": {
18
17
  "const": "setElementContent",
@@ -22,10 +21,6 @@
22
21
  "type": "object",
23
22
  "description": "Operation-specific configuration data",
24
23
  "properties": {
25
- "selectedElement": {
26
- "type": "object",
27
- "description": "DOM element (JQuery)"
28
- },
29
24
  "template": {
30
25
  "anyOf": [
31
26
  {
@@ -44,15 +39,10 @@
44
39
  "append",
45
40
  "prepend"
46
41
  ],
47
- "description": "overwite = the contents of the selected element are replaced by the given template\n\nappend = the new content will be inserted after the current content\n\nprepend = the new content will be inserted before the current content"
42
+ "description": "overwite = the contents of the selected element are replaced by the given template\n\nappend = the new content will be inserted after the current content\n\nprepend = the new content will be inserted before the current content\n\nDefaults to overwrite."
48
43
  }
49
44
  },
50
- "additionalProperties": true,
51
- "required": [
52
- "selectedElement",
53
- "template",
54
- "insertionType"
55
- ]
45
+ "additionalProperties": true
56
46
  }
57
47
  },
58
48
  "additionalProperties": false
@@ -5,14 +5,13 @@
5
5
  "title": "setFocus Operation",
6
6
  "description": "Schema for the setFocus operation",
7
7
  "required": [
8
- "systemName",
9
- "operationData"
8
+ "id",
9
+ "systemName"
10
10
  ],
11
11
  "properties": {
12
12
  "id": {
13
13
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
14
+ "description": "Unique identifier for the operation"
16
15
  },
17
16
  "systemName": {
18
17
  "const": "setFocus",
@@ -21,16 +20,8 @@
21
20
  "operationData": {
22
21
  "type": "object",
23
22
  "description": "Operation-specific configuration data",
24
- "properties": {
25
- "selectedElement": {
26
- "type": "object",
27
- "description": "DOM element (JQuery)"
28
- }
29
- },
30
- "additionalProperties": true,
31
- "required": [
32
- "selectedElement"
33
- ]
23
+ "properties": {},
24
+ "additionalProperties": true
34
25
  }
35
26
  },
36
27
  "additionalProperties": false
@@ -5,14 +5,14 @@
5
5
  "title": "setFormValue Operation",
6
6
  "description": "Schema for the setFormValue operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "setFormValue",
@@ -22,10 +22,6 @@
22
22
  "type": "object",
23
23
  "description": "Operation-specific configuration data",
24
24
  "properties": {
25
- "selectedElement": {
26
- "type": "object",
27
- "description": "DOM element (JQuery)"
28
- },
29
25
  "value": {
30
26
  "type": [
31
27
  "string",
@@ -36,7 +32,6 @@
36
32
  },
37
33
  "additionalProperties": true,
38
34
  "required": [
39
- "selectedElement",
40
35
  "value"
41
36
  ]
42
37
  }
@@ -5,14 +5,14 @@
5
5
  "title": "setGlobalData Operation",
6
6
  "description": "Schema for the setGlobalData operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "setGlobalData",
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://rolandzwaga.github.io/eligius/jsonschema/operations/set.json",
3
+ "$id": "https://rolandzwaga.github.io/eligius/jsonschema/operations/set-operation-data.json",
4
4
  "type": "object",
5
- "title": "set Operation",
6
- "description": "Schema for the set operation",
5
+ "title": "setOperationData Operation",
6
+ "description": "Schema for the setOperationData operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
- "const": "set",
18
+ "const": "setOperationData",
19
19
  "description": "The operation system name"
20
20
  },
21
21
  "operationData": {
@@ -36,5 +36,10 @@
36
36
  ]
37
37
  }
38
38
  },
39
- "additionalProperties": false
39
+ "additionalProperties": false,
40
+ "definitions": {
41
+ "Record<string,any>": {
42
+ "type": "object"
43
+ }
44
+ }
40
45
  }
@@ -5,14 +5,14 @@
5
5
  "title": "setStyle Operation",
6
6
  "description": "Schema for the setStyle operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "setStyle",
@@ -24,16 +24,11 @@
24
24
  "properties": {
25
25
  "properties": {
26
26
  "type": "object"
27
- },
28
- "selectedElement": {
29
- "type": "object",
30
- "description": "DOM element (JQuery)"
31
27
  }
32
28
  },
33
29
  "additionalProperties": true,
34
30
  "required": [
35
- "properties",
36
- "selectedElement"
31
+ "properties"
37
32
  ]
38
33
  }
39
34
  },
@@ -5,14 +5,14 @@
5
5
  "title": "setVariable Operation",
6
6
  "description": "Schema for the setVariable operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "setVariable",
@@ -25,9 +25,7 @@
25
25
  "name": {
26
26
  "type": "string"
27
27
  },
28
- "value": {
29
- "type": "string"
30
- }
28
+ "value": {}
31
29
  },
32
30
  "additionalProperties": true,
33
31
  "required": [
@@ -5,14 +5,13 @@
5
5
  "title": "sortArray Operation",
6
6
  "description": "Schema for the sortArray operation",
7
7
  "required": [
8
- "systemName",
9
- "operationData"
8
+ "id",
9
+ "systemName"
10
10
  ],
11
11
  "properties": {
12
12
  "id": {
13
13
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
14
+ "description": "Unique identifier for the operation"
16
15
  },
17
16
  "systemName": {
18
17
  "const": "sortArray",
@@ -22,10 +21,6 @@
22
21
  "type": "object",
23
22
  "description": "Operation-specific configuration data",
24
23
  "properties": {
25
- "arrayData": {
26
- "type": "array",
27
- "items": {}
28
- },
29
24
  "sortProperty": {
30
25
  "type": "string"
31
26
  },
@@ -54,11 +49,17 @@
54
49
  "items": {}
55
50
  }
56
51
  },
57
- "additionalProperties": true,
58
- "required": [
59
- "arrayData"
60
- ]
52
+ "additionalProperties": true
61
53
  }
62
54
  },
63
- "additionalProperties": false
55
+ "additionalProperties": false,
56
+ "definitions": {
57
+ "SortOrder": {
58
+ "type": "string",
59
+ "enum": [
60
+ "asc",
61
+ "desc"
62
+ ]
63
+ }
64
+ }
64
65
  }
@@ -5,14 +5,14 @@
5
5
  "title": "splitString Operation",
6
6
  "description": "Schema for the splitString operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "splitString",
@@ -22,9 +22,6 @@
22
22
  "type": "object",
23
23
  "description": "Operation-specific configuration data",
24
24
  "properties": {
25
- "textContent": {
26
- "type": "string"
27
- },
28
25
  "delimiter": {
29
26
  "anyOf": [
30
27
  {
@@ -48,7 +45,6 @@
48
45
  },
49
46
  "additionalProperties": true,
50
47
  "required": [
51
- "textContent",
52
48
  "delimiter"
53
49
  ]
54
50
  }
@@ -5,14 +5,13 @@
5
5
  "title": "startAction Operation",
6
6
  "description": "Schema for the startAction operation",
7
7
  "required": [
8
- "systemName",
9
- "operationData"
8
+ "id",
9
+ "systemName"
10
10
  ],
11
11
  "properties": {
12
12
  "id": {
13
13
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
14
+ "description": "Unique identifier for the operation"
16
15
  },
17
16
  "systemName": {
18
17
  "const": "startAction",
@@ -22,18 +21,11 @@
22
21
  "type": "object",
23
22
  "description": "Operation-specific configuration data",
24
23
  "properties": {
25
- "actionInstance": {
26
- "$ref": "#/definitions/IAction"
27
- },
28
24
  "actionOperationData": {
29
25
  "type": "object"
30
26
  }
31
27
  },
32
- "additionalProperties": true,
33
- "required": [
34
- "actionInstance",
35
- "actionOperationData"
36
- ]
28
+ "additionalProperties": true
37
29
  }
38
30
  },
39
31
  "additionalProperties": false