eligius 2.0.0 → 2.2.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/index.d.mts +602 -235
- package/dist/index.mjs +639 -331
- package/dist/index.mjs.map +1 -1
- package/jsonschema/eligius-configuration.json +708 -81
- package/jsonschema/operations/add-class.json +20 -23
- package/jsonschema/operations/add-controller-to-element.json +13 -12
- package/jsonschema/operations/animate-with-class.json +21 -25
- package/jsonschema/operations/animate.json +23 -31
- package/jsonschema/operations/announce-to-screen-reader.json +20 -24
- package/jsonschema/operations/broadcast-event.json +19 -31
- package/jsonschema/operations/calc.json +24 -30
- package/jsonschema/operations/clear-element.json +24 -13
- package/jsonschema/operations/clear-operation-data.json +15 -18
- package/jsonschema/operations/compare-date.json +51 -23
- package/jsonschema/operations/concatenate-strings.json +22 -24
- package/jsonschema/operations/create-element.json +11 -144
- package/jsonschema/operations/custom-function.json +15 -22
- package/jsonschema/operations/end-action.json +19 -22
- package/jsonschema/operations/extend-controller.json +19 -22
- package/jsonschema/operations/filter-array.json +40 -26
- package/jsonschema/operations/find-in-array.json +40 -26
- package/jsonschema/operations/for-each.json +23 -22
- package/jsonschema/operations/format-date.json +33 -22
- package/jsonschema/operations/format-text.json +22 -20
- package/jsonschema/operations/get-attributes-from-element.json +28 -22
- package/jsonschema/operations/get-controller-from-element.json +23 -34
- package/jsonschema/operations/get-controller-instance.json +11 -25
- package/jsonschema/operations/get-current-time.json +23 -13
- package/jsonschema/operations/get-element-dimensions.json +30 -20
- package/jsonschema/operations/get-focused-element.json +20 -13
- package/jsonschema/operations/get-form-data.json +27 -13
- package/jsonschema/operations/get-import.json +17 -23
- package/jsonschema/operations/get-query-params.json +17 -18
- package/jsonschema/operations/get-scroll-position.json +23 -13
- package/jsonschema/operations/get-text-content.json +27 -13
- package/jsonschema/operations/http-delete.json +20 -24
- package/jsonschema/operations/http-post.json +21 -30
- package/jsonschema/operations/http-put.json +21 -30
- package/jsonschema/operations/invoke-object-method.json +26 -24
- package/jsonschema/operations/is-element-in-viewport.json +27 -13
- package/jsonschema/operations/load-from-storage.json +19 -26
- package/jsonschema/operations/load-json.json +21 -24
- package/jsonschema/operations/log.json +13 -26
- package/jsonschema/operations/map-array.json +39 -22
- package/jsonschema/operations/math.json +33 -27
- package/jsonschema/operations/remove-class.json +20 -23
- package/jsonschema/operations/remove-controller-from-element.json +20 -34
- package/jsonschema/operations/remove-element.json +24 -13
- package/jsonschema/operations/remove-properties-from-operation-data.json +18 -22
- package/jsonschema/operations/reparent-element.json +20 -22
- package/jsonschema/operations/replace-string.json +32 -25
- package/jsonschema/operations/replace-text.json +32 -25
- package/jsonschema/operations/request-action.json +18 -22
- package/jsonschema/operations/save-to-storage.json +19 -32
- package/jsonschema/operations/scroll-to-element.json +21 -22
- package/jsonschema/operations/scroll-to-position.json +18 -29
- package/jsonschema/operations/select-element.json +19 -24
- package/jsonschema/operations/set-data.json +15 -22
- package/jsonschema/operations/set-element-attributes.json +20 -22
- package/jsonschema/operations/set-element-content.json +36 -20
- package/jsonschema/operations/set-focus.json +24 -13
- package/jsonschema/operations/set-form-value.json +24 -20
- package/jsonschema/operations/set-global-data.json +18 -22
- package/jsonschema/operations/set-style.json +20 -22
- package/jsonschema/operations/set-variable.json +17 -31
- package/jsonschema/operations/set.json +40 -0
- package/jsonschema/operations/sort-array.json +39 -22
- package/jsonschema/operations/split-string.json +34 -22
- package/jsonschema/operations/start-action.json +19 -20
- package/jsonschema/operations/substring-text.json +23 -24
- package/jsonschema/operations/toggle-class.json +21 -23
- package/jsonschema/operations/toggle-element.json +24 -13
- package/jsonschema/operations/toggle-form-element.json +20 -22
- package/jsonschema/operations/validate-form.json +25 -18
- package/jsonschema/operations/wait.json +16 -22
- package/jsonschema/operations/when.json +15 -22
- package/package.json +4 -2
- package/jsonschema/endable-action-template.json +0 -525
- package/jsonschema/endable-action.json +0 -525
- package/jsonschema/engine-config.json +0 -21
- package/jsonschema/event-action.json +0 -293
- package/jsonschema/mediaplayer-timeline-provider-settings.json +0 -40
- package/jsonschema/operation-templates/add-class.json +0 -40
- package/jsonschema/operation-templates/add-controller-to-element.json +0 -26
- package/jsonschema/operation-templates/add-globals-to-operation.json +0 -39
- package/jsonschema/operation-templates/animate-with-class.json +0 -44
- package/jsonschema/operation-templates/animate.json +0 -51
- package/jsonschema/operation-templates/announce-to-screen-reader.json +0 -43
- package/jsonschema/operation-templates/break-for-each.json +0 -26
- package/jsonschema/operation-templates/broadcast-event.json +0 -51
- package/jsonschema/operation-templates/calc.json +0 -49
- package/jsonschema/operation-templates/clear-element.json +0 -26
- package/jsonschema/operation-templates/clear-operation-data.json +0 -37
- package/jsonschema/operation-templates/clear-storage.json +0 -41
- package/jsonschema/operation-templates/compare-date.json +0 -41
- package/jsonschema/operation-templates/concatenate-strings.json +0 -43
- package/jsonschema/operation-templates/continue-for-each.json +0 -26
- package/jsonschema/operation-templates/create-element.json +0 -156
- package/jsonschema/operation-templates/custom-function.json +0 -39
- package/jsonschema/operation-templates/end-action.json +0 -39
- package/jsonschema/operation-templates/end-for-each.json +0 -26
- package/jsonschema/operation-templates/end-when.json +0 -26
- package/jsonschema/operation-templates/extend-controller.json +0 -39
- package/jsonschema/operation-templates/filter-array.json +0 -47
- package/jsonschema/operation-templates/find-in-array.json +0 -47
- package/jsonschema/operation-templates/for-each.json +0 -40
- package/jsonschema/operation-templates/format-date.json +0 -39
- package/jsonschema/operation-templates/format-text.json +0 -37
- package/jsonschema/operation-templates/get-attributes-from-element.json +0 -39
- package/jsonschema/operation-templates/get-controller-from-element.json +0 -51
- package/jsonschema/operation-templates/get-controller-instance.json +0 -37
- package/jsonschema/operation-templates/get-current-time.json +0 -26
- package/jsonschema/operation-templates/get-element-dimensions.json +0 -39
- package/jsonschema/operation-templates/get-focused-element.json +0 -26
- package/jsonschema/operation-templates/get-form-data.json +0 -26
- package/jsonschema/operation-templates/get-import.json +0 -39
- package/jsonschema/operation-templates/get-query-params.json +0 -37
- package/jsonschema/operation-templates/get-scroll-position.json +0 -26
- package/jsonschema/operation-templates/get-text-content.json +0 -26
- package/jsonschema/operation-templates/http-delete.json +0 -43
- package/jsonschema/operation-templates/http-post.json +0 -49
- package/jsonschema/operation-templates/http-put.json +0 -49
- package/jsonschema/operation-templates/invoke-object-method.json +0 -43
- package/jsonschema/operation-templates/is-element-in-viewport.json +0 -26
- package/jsonschema/operation-templates/load-from-storage.json +0 -43
- package/jsonschema/operation-templates/load-json.json +0 -43
- package/jsonschema/operation-templates/log.json +0 -47
- package/jsonschema/operation-templates/map-array.json +0 -39
- package/jsonschema/operation-templates/math.json +0 -45
- package/jsonschema/operation-templates/otherwise.json +0 -26
- package/jsonschema/operation-templates/remove-class.json +0 -40
- package/jsonschema/operation-templates/remove-controller-from-element.json +0 -51
- package/jsonschema/operation-templates/remove-element.json +0 -26
- package/jsonschema/operation-templates/remove-properties-from-operation-data.json +0 -39
- package/jsonschema/operation-templates/reparent-element.json +0 -39
- package/jsonschema/operation-templates/replace-string.json +0 -43
- package/jsonschema/operation-templates/replace-text.json +0 -43
- package/jsonschema/operation-templates/request-action.json +0 -39
- package/jsonschema/operation-templates/save-to-storage.json +0 -49
- package/jsonschema/operation-templates/scroll-to-element.json +0 -45
- package/jsonschema/operation-templates/scroll-to-position.json +0 -49
- package/jsonschema/operation-templates/select-element.json +0 -43
- package/jsonschema/operation-templates/set-data.json +0 -39
- package/jsonschema/operation-templates/set-element-attributes.json +0 -39
- package/jsonschema/operation-templates/set-element-content.json +0 -41
- package/jsonschema/operation-templates/set-focus.json +0 -26
- package/jsonschema/operation-templates/set-form-value.json +0 -37
- package/jsonschema/operation-templates/set-global-data.json +0 -39
- package/jsonschema/operation-templates/set-operation-data.json +0 -43
- package/jsonschema/operation-templates/set-style.json +0 -39
- package/jsonschema/operation-templates/set-variable.json +0 -49
- package/jsonschema/operation-templates/sort-array.json +0 -45
- package/jsonschema/operation-templates/split-string.json +0 -41
- package/jsonschema/operation-templates/start-action.json +0 -39
- package/jsonschema/operation-templates/substring-text.json +0 -43
- package/jsonschema/operation-templates/toggle-class.json +0 -40
- package/jsonschema/operation-templates/toggle-element.json +0 -26
- package/jsonschema/operation-templates/toggle-form-element.json +0 -39
- package/jsonschema/operation-templates/validate-form.json +0 -37
- package/jsonschema/operation-templates/wait.json +0 -39
- package/jsonschema/operation-templates/when.json +0 -39
- package/jsonschema/operations/add-globals-to-operation.json +0 -43
- package/jsonschema/operations/break-for-each.json +0 -26
- package/jsonschema/operations/clear-storage.json +0 -45
- package/jsonschema/operations/continue-for-each.json +0 -26
- package/jsonschema/operations/end-for-each.json +0 -26
- package/jsonschema/operations/end-when.json +0 -26
- package/jsonschema/operations/otherwise.json +0 -26
- package/jsonschema/operations/set-operation-data.json +0 -47
- package/jsonschema/raf-timeline-provider-settings.json +0 -29
- package/jsonschema/timeline-action.json +0 -540
- package/jsonschema/timeline-provider-settings.json +0 -16
- package/jsonschema/timeline.json +0 -52
|
@@ -1,43 +1,39 @@
|
|
|
1
1
|
{
|
|
2
|
-
"definitions": {},
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "
|
|
3
|
+
"$id": "https://rolandzwaga.github.io/eligius/jsonschema/operations/remove-properties-from-operation-data.json",
|
|
5
4
|
"type": "object",
|
|
6
|
-
"title": "
|
|
7
|
-
"description": "
|
|
5
|
+
"title": "removePropertiesFromOperationData Operation",
|
|
6
|
+
"description": "Schema for the removePropertiesFromOperationData operation",
|
|
8
7
|
"required": [
|
|
9
8
|
"systemName",
|
|
10
9
|
"operationData"
|
|
11
10
|
],
|
|
12
11
|
"properties": {
|
|
13
12
|
"id": {
|
|
14
|
-
"$id": "#/properties/id",
|
|
15
13
|
"type": "string",
|
|
16
|
-
"
|
|
17
|
-
"examples": [
|
|
18
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
-
],
|
|
14
|
+
"description": "Unique identifier for the operation (UUID format)",
|
|
20
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}$"
|
|
21
16
|
},
|
|
22
17
|
"systemName": {
|
|
23
|
-
"
|
|
24
|
-
"
|
|
18
|
+
"const": "removePropertiesFromOperationData",
|
|
19
|
+
"description": "The operation system name"
|
|
25
20
|
},
|
|
26
21
|
"operationData": {
|
|
27
|
-
"$id": "#/properties/operationData",
|
|
28
22
|
"type": "object",
|
|
29
|
-
"
|
|
30
|
-
"required": [
|
|
31
|
-
"propertyNames"
|
|
32
|
-
],
|
|
23
|
+
"description": "Operation-specific configuration data",
|
|
33
24
|
"properties": {
|
|
34
25
|
"propertyNames": {
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
26
|
+
"type": "array",
|
|
27
|
+
"items": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
}
|
|
39
30
|
}
|
|
40
|
-
}
|
|
31
|
+
},
|
|
32
|
+
"additionalProperties": true,
|
|
33
|
+
"required": [
|
|
34
|
+
"propertyNames"
|
|
35
|
+
]
|
|
41
36
|
}
|
|
42
|
-
}
|
|
37
|
+
},
|
|
38
|
+
"additionalProperties": false
|
|
43
39
|
}
|
|
@@ -1,43 +1,41 @@
|
|
|
1
1
|
{
|
|
2
|
-
"definitions": {},
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "
|
|
3
|
+
"$id": "https://rolandzwaga.github.io/eligius/jsonschema/operations/reparent-element.json",
|
|
5
4
|
"type": "object",
|
|
6
|
-
"title": "
|
|
7
|
-
"description": "
|
|
5
|
+
"title": "reparentElement Operation",
|
|
6
|
+
"description": "Schema for the reparentElement operation",
|
|
8
7
|
"required": [
|
|
9
8
|
"systemName",
|
|
10
9
|
"operationData"
|
|
11
10
|
],
|
|
12
11
|
"properties": {
|
|
13
12
|
"id": {
|
|
14
|
-
"$id": "#/properties/id",
|
|
15
13
|
"type": "string",
|
|
16
|
-
"
|
|
17
|
-
"examples": [
|
|
18
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
-
],
|
|
14
|
+
"description": "Unique identifier for the operation (UUID format)",
|
|
20
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}$"
|
|
21
16
|
},
|
|
22
17
|
"systemName": {
|
|
23
|
-
"
|
|
24
|
-
"
|
|
18
|
+
"const": "reparentElement",
|
|
19
|
+
"description": "The operation system name"
|
|
25
20
|
},
|
|
26
21
|
"operationData": {
|
|
27
|
-
"$id": "#/properties/operationData",
|
|
28
22
|
"type": "object",
|
|
29
|
-
"
|
|
30
|
-
"required": [
|
|
31
|
-
"newParentSelector"
|
|
32
|
-
],
|
|
23
|
+
"description": "Operation-specific configuration data",
|
|
33
24
|
"properties": {
|
|
25
|
+
"selectedElement": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"description": "DOM element (JQuery)"
|
|
28
|
+
},
|
|
34
29
|
"newParentSelector": {
|
|
35
|
-
"
|
|
36
|
-
"type": [
|
|
37
|
-
"string"
|
|
38
|
-
]
|
|
30
|
+
"type": "string"
|
|
39
31
|
}
|
|
40
|
-
}
|
|
32
|
+
},
|
|
33
|
+
"additionalProperties": true,
|
|
34
|
+
"required": [
|
|
35
|
+
"selectedElement",
|
|
36
|
+
"newParentSelector"
|
|
37
|
+
]
|
|
41
38
|
}
|
|
42
|
-
}
|
|
39
|
+
},
|
|
40
|
+
"additionalProperties": false
|
|
43
41
|
}
|
|
@@ -1,48 +1,55 @@
|
|
|
1
1
|
{
|
|
2
|
-
"definitions": {},
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "
|
|
3
|
+
"$id": "https://rolandzwaga.github.io/eligius/jsonschema/operations/replace-string.json",
|
|
5
4
|
"type": "object",
|
|
6
|
-
"title": "
|
|
7
|
-
"description": "
|
|
5
|
+
"title": "replaceString Operation",
|
|
6
|
+
"description": "Schema for the replaceString operation",
|
|
8
7
|
"required": [
|
|
9
8
|
"systemName",
|
|
10
9
|
"operationData"
|
|
11
10
|
],
|
|
12
11
|
"properties": {
|
|
13
12
|
"id": {
|
|
14
|
-
"$id": "#/properties/id",
|
|
15
13
|
"type": "string",
|
|
16
|
-
"
|
|
17
|
-
"examples": [
|
|
18
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
-
],
|
|
14
|
+
"description": "Unique identifier for the operation (UUID format)",
|
|
20
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}$"
|
|
21
16
|
},
|
|
22
17
|
"systemName": {
|
|
23
|
-
"
|
|
24
|
-
"
|
|
18
|
+
"const": "replaceString",
|
|
19
|
+
"description": "The operation system name"
|
|
25
20
|
},
|
|
26
21
|
"operationData": {
|
|
27
|
-
"$id": "#/properties/operationData",
|
|
28
22
|
"type": "object",
|
|
29
|
-
"
|
|
30
|
-
"required": [
|
|
31
|
-
"pattern",
|
|
32
|
-
"replacement"
|
|
33
|
-
],
|
|
23
|
+
"description": "Operation-specific configuration data",
|
|
34
24
|
"properties": {
|
|
25
|
+
"textContent": {
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
35
28
|
"pattern": {
|
|
36
|
-
"
|
|
37
|
-
|
|
29
|
+
"anyOf": [
|
|
30
|
+
{
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"type": "string",
|
|
35
|
+
"format": "regex"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
38
|
},
|
|
39
39
|
"replacement": {
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
"result": {
|
|
43
|
+
"type": "string"
|
|
44
44
|
}
|
|
45
|
-
}
|
|
45
|
+
},
|
|
46
|
+
"additionalProperties": true,
|
|
47
|
+
"required": [
|
|
48
|
+
"textContent",
|
|
49
|
+
"pattern",
|
|
50
|
+
"replacement"
|
|
51
|
+
]
|
|
46
52
|
}
|
|
47
|
-
}
|
|
53
|
+
},
|
|
54
|
+
"additionalProperties": false
|
|
48
55
|
}
|
|
@@ -1,48 +1,55 @@
|
|
|
1
1
|
{
|
|
2
|
-
"definitions": {},
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "
|
|
3
|
+
"$id": "https://rolandzwaga.github.io/eligius/jsonschema/operations/replace-text.json",
|
|
5
4
|
"type": "object",
|
|
6
|
-
"title": "
|
|
7
|
-
"description": "
|
|
5
|
+
"title": "replaceText Operation",
|
|
6
|
+
"description": "Schema for the replaceText operation",
|
|
8
7
|
"required": [
|
|
9
8
|
"systemName",
|
|
10
9
|
"operationData"
|
|
11
10
|
],
|
|
12
11
|
"properties": {
|
|
13
12
|
"id": {
|
|
14
|
-
"$id": "#/properties/id",
|
|
15
13
|
"type": "string",
|
|
16
|
-
"
|
|
17
|
-
"examples": [
|
|
18
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
-
],
|
|
14
|
+
"description": "Unique identifier for the operation (UUID format)",
|
|
20
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}$"
|
|
21
16
|
},
|
|
22
17
|
"systemName": {
|
|
23
|
-
"
|
|
24
|
-
"
|
|
18
|
+
"const": "replaceText",
|
|
19
|
+
"description": "The operation system name"
|
|
25
20
|
},
|
|
26
21
|
"operationData": {
|
|
27
|
-
"$id": "#/properties/operationData",
|
|
28
22
|
"type": "object",
|
|
29
|
-
"
|
|
30
|
-
"required": [
|
|
31
|
-
"searchPattern",
|
|
32
|
-
"replacement"
|
|
33
|
-
],
|
|
23
|
+
"description": "Operation-specific configuration data",
|
|
34
24
|
"properties": {
|
|
25
|
+
"textContent": {
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
35
28
|
"searchPattern": {
|
|
36
|
-
"
|
|
37
|
-
|
|
29
|
+
"anyOf": [
|
|
30
|
+
{
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"type": "string",
|
|
35
|
+
"format": "regex"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
38
|
},
|
|
39
39
|
"replacement": {
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
"replacementCount": {
|
|
43
|
+
"type": "number"
|
|
44
44
|
}
|
|
45
|
-
}
|
|
45
|
+
},
|
|
46
|
+
"additionalProperties": true,
|
|
47
|
+
"required": [
|
|
48
|
+
"textContent",
|
|
49
|
+
"searchPattern",
|
|
50
|
+
"replacement"
|
|
51
|
+
]
|
|
46
52
|
}
|
|
47
|
-
}
|
|
53
|
+
},
|
|
54
|
+
"additionalProperties": false
|
|
48
55
|
}
|
|
@@ -1,43 +1,39 @@
|
|
|
1
1
|
{
|
|
2
|
-
"definitions": {},
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "
|
|
3
|
+
"$id": "https://rolandzwaga.github.io/eligius/jsonschema/operations/request-action.json",
|
|
5
4
|
"type": "object",
|
|
6
|
-
"title": "
|
|
7
|
-
"description": "
|
|
5
|
+
"title": "requestAction Operation",
|
|
6
|
+
"description": "Schema for the requestAction operation",
|
|
8
7
|
"required": [
|
|
9
8
|
"systemName",
|
|
10
9
|
"operationData"
|
|
11
10
|
],
|
|
12
11
|
"properties": {
|
|
13
12
|
"id": {
|
|
14
|
-
"$id": "#/properties/id",
|
|
15
13
|
"type": "string",
|
|
16
|
-
"
|
|
17
|
-
"examples": [
|
|
18
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
-
],
|
|
14
|
+
"description": "Unique identifier for the operation (UUID format)",
|
|
20
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}$"
|
|
21
16
|
},
|
|
22
17
|
"systemName": {
|
|
23
|
-
"
|
|
24
|
-
"
|
|
18
|
+
"const": "requestAction",
|
|
19
|
+
"description": "The operation system name"
|
|
25
20
|
},
|
|
26
21
|
"operationData": {
|
|
27
|
-
"$id": "#/properties/operationData",
|
|
28
22
|
"type": "object",
|
|
29
|
-
"
|
|
30
|
-
"required": [
|
|
31
|
-
"systemName"
|
|
32
|
-
],
|
|
23
|
+
"description": "Operation-specific configuration data",
|
|
33
24
|
"properties": {
|
|
34
25
|
"systemName": {
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
28
|
+
"actionInstance": {
|
|
29
|
+
"type": "object"
|
|
39
30
|
}
|
|
40
|
-
}
|
|
31
|
+
},
|
|
32
|
+
"additionalProperties": true,
|
|
33
|
+
"required": [
|
|
34
|
+
"systemName"
|
|
35
|
+
]
|
|
41
36
|
}
|
|
42
|
-
}
|
|
37
|
+
},
|
|
38
|
+
"additionalProperties": false
|
|
43
39
|
}
|
|
@@ -1,55 +1,42 @@
|
|
|
1
1
|
{
|
|
2
|
-
"definitions": {},
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "
|
|
3
|
+
"$id": "https://rolandzwaga.github.io/eligius/jsonschema/operations/save-to-storage.json",
|
|
5
4
|
"type": "object",
|
|
6
|
-
"title": "
|
|
7
|
-
"description": "
|
|
5
|
+
"title": "saveToStorage Operation",
|
|
6
|
+
"description": "Schema for the saveToStorage operation",
|
|
8
7
|
"required": [
|
|
9
8
|
"systemName",
|
|
10
9
|
"operationData"
|
|
11
10
|
],
|
|
12
11
|
"properties": {
|
|
13
12
|
"id": {
|
|
14
|
-
"$id": "#/properties/id",
|
|
15
13
|
"type": "string",
|
|
16
|
-
"
|
|
17
|
-
"examples": [
|
|
18
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
-
],
|
|
14
|
+
"description": "Unique identifier for the operation (UUID format)",
|
|
20
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}$"
|
|
21
16
|
},
|
|
22
17
|
"systemName": {
|
|
23
|
-
"
|
|
24
|
-
"
|
|
18
|
+
"const": "saveToStorage",
|
|
19
|
+
"description": "The operation system name"
|
|
25
20
|
},
|
|
26
21
|
"operationData": {
|
|
27
|
-
"$id": "#/properties/operationData",
|
|
28
22
|
"type": "object",
|
|
29
|
-
"
|
|
30
|
-
"required": [
|
|
31
|
-
"key",
|
|
32
|
-
"value",
|
|
33
|
-
"storageType"
|
|
34
|
-
],
|
|
23
|
+
"description": "Operation-specific configuration data",
|
|
35
24
|
"properties": {
|
|
36
25
|
"key": {
|
|
37
|
-
"
|
|
38
|
-
"type": [
|
|
39
|
-
"string"
|
|
40
|
-
]
|
|
41
|
-
},
|
|
42
|
-
"value": {
|
|
43
|
-
"$id": "#/properties/operationData/value",
|
|
44
|
-
"type": [
|
|
45
|
-
"object"
|
|
46
|
-
]
|
|
26
|
+
"type": "string"
|
|
47
27
|
},
|
|
28
|
+
"value": {},
|
|
48
29
|
"storageType": {
|
|
49
|
-
"$
|
|
50
|
-
"type": "array"
|
|
30
|
+
"$ref": "#/definitions/StorageType"
|
|
51
31
|
}
|
|
52
|
-
}
|
|
32
|
+
},
|
|
33
|
+
"additionalProperties": true,
|
|
34
|
+
"required": [
|
|
35
|
+
"key",
|
|
36
|
+
"value",
|
|
37
|
+
"storageType"
|
|
38
|
+
]
|
|
53
39
|
}
|
|
54
|
-
}
|
|
40
|
+
},
|
|
41
|
+
"additionalProperties": false
|
|
55
42
|
}
|
|
@@ -1,47 +1,46 @@
|
|
|
1
1
|
{
|
|
2
|
-
"definitions": {},
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "
|
|
3
|
+
"$id": "https://rolandzwaga.github.io/eligius/jsonschema/operations/scroll-to-element.json",
|
|
5
4
|
"type": "object",
|
|
6
|
-
"title": "
|
|
7
|
-
"description": "
|
|
5
|
+
"title": "scrollToElement Operation",
|
|
6
|
+
"description": "Schema for the scrollToElement operation",
|
|
8
7
|
"required": [
|
|
9
8
|
"systemName",
|
|
10
9
|
"operationData"
|
|
11
10
|
],
|
|
12
11
|
"properties": {
|
|
13
12
|
"id": {
|
|
14
|
-
"$id": "#/properties/id",
|
|
15
13
|
"type": "string",
|
|
16
|
-
"
|
|
17
|
-
"examples": [
|
|
18
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
-
],
|
|
14
|
+
"description": "Unique identifier for the operation (UUID format)",
|
|
20
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}$"
|
|
21
16
|
},
|
|
22
17
|
"systemName": {
|
|
23
|
-
"
|
|
24
|
-
"
|
|
18
|
+
"const": "scrollToElement",
|
|
19
|
+
"description": "The operation system name"
|
|
25
20
|
},
|
|
26
21
|
"operationData": {
|
|
27
|
-
"$id": "#/properties/operationData",
|
|
28
22
|
"type": "object",
|
|
29
|
-
"
|
|
30
|
-
"required": [],
|
|
23
|
+
"description": "Operation-specific configuration data",
|
|
31
24
|
"properties": {
|
|
25
|
+
"selectedElement": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"description": "DOM element (JQuery)"
|
|
28
|
+
},
|
|
32
29
|
"behavior": {
|
|
33
|
-
"$
|
|
34
|
-
"type": "array"
|
|
30
|
+
"$ref": "#/definitions/ScrollBehavior"
|
|
35
31
|
},
|
|
36
32
|
"block": {
|
|
37
|
-
"$
|
|
38
|
-
"type": "array"
|
|
33
|
+
"$ref": "#/definitions/ScrollLogicalPosition"
|
|
39
34
|
},
|
|
40
35
|
"inline": {
|
|
41
|
-
"$
|
|
42
|
-
"type": "array"
|
|
36
|
+
"$ref": "#/definitions/ScrollLogicalPosition"
|
|
43
37
|
}
|
|
44
|
-
}
|
|
38
|
+
},
|
|
39
|
+
"additionalProperties": true,
|
|
40
|
+
"required": [
|
|
41
|
+
"selectedElement"
|
|
42
|
+
]
|
|
45
43
|
}
|
|
46
|
-
}
|
|
44
|
+
},
|
|
45
|
+
"additionalProperties": false
|
|
47
46
|
}
|
|
@@ -1,54 +1,43 @@
|
|
|
1
1
|
{
|
|
2
|
-
"definitions": {},
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "
|
|
3
|
+
"$id": "https://rolandzwaga.github.io/eligius/jsonschema/operations/scroll-to-position.json",
|
|
5
4
|
"type": "object",
|
|
6
|
-
"title": "
|
|
7
|
-
"description": "
|
|
5
|
+
"title": "scrollToPosition Operation",
|
|
6
|
+
"description": "Schema for the scrollToPosition operation",
|
|
8
7
|
"required": [
|
|
9
8
|
"systemName",
|
|
10
9
|
"operationData"
|
|
11
10
|
],
|
|
12
11
|
"properties": {
|
|
13
12
|
"id": {
|
|
14
|
-
"$id": "#/properties/id",
|
|
15
13
|
"type": "string",
|
|
16
|
-
"
|
|
17
|
-
"examples": [
|
|
18
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
-
],
|
|
14
|
+
"description": "Unique identifier for the operation (UUID format)",
|
|
20
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}$"
|
|
21
16
|
},
|
|
22
17
|
"systemName": {
|
|
23
|
-
"
|
|
24
|
-
"
|
|
18
|
+
"const": "scrollToPosition",
|
|
19
|
+
"description": "The operation system name"
|
|
25
20
|
},
|
|
26
21
|
"operationData": {
|
|
27
|
-
"$id": "#/properties/operationData",
|
|
28
22
|
"type": "object",
|
|
29
|
-
"
|
|
30
|
-
"required": [
|
|
31
|
-
"x",
|
|
32
|
-
"y"
|
|
33
|
-
],
|
|
23
|
+
"description": "Operation-specific configuration data",
|
|
34
24
|
"properties": {
|
|
35
25
|
"x": {
|
|
36
|
-
"
|
|
37
|
-
"type": [
|
|
38
|
-
"number"
|
|
39
|
-
]
|
|
26
|
+
"type": "number"
|
|
40
27
|
},
|
|
41
28
|
"y": {
|
|
42
|
-
"
|
|
43
|
-
"type": [
|
|
44
|
-
"number"
|
|
45
|
-
]
|
|
29
|
+
"type": "number"
|
|
46
30
|
},
|
|
47
31
|
"behavior": {
|
|
48
|
-
"$
|
|
49
|
-
"type": "array"
|
|
32
|
+
"$ref": "#/definitions/ScrollBehavior"
|
|
50
33
|
}
|
|
51
|
-
}
|
|
34
|
+
},
|
|
35
|
+
"additionalProperties": true,
|
|
36
|
+
"required": [
|
|
37
|
+
"x",
|
|
38
|
+
"y"
|
|
39
|
+
]
|
|
52
40
|
}
|
|
53
|
-
}
|
|
41
|
+
},
|
|
42
|
+
"additionalProperties": false
|
|
54
43
|
}
|
|
@@ -1,47 +1,42 @@
|
|
|
1
1
|
{
|
|
2
|
-
"definitions": {},
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "
|
|
3
|
+
"$id": "https://rolandzwaga.github.io/eligius/jsonschema/operations/select-element.json",
|
|
5
4
|
"type": "object",
|
|
6
|
-
"title": "
|
|
7
|
-
"description": "
|
|
5
|
+
"title": "selectElement Operation",
|
|
6
|
+
"description": "Schema for the selectElement operation",
|
|
8
7
|
"required": [
|
|
9
8
|
"systemName",
|
|
10
9
|
"operationData"
|
|
11
10
|
],
|
|
12
11
|
"properties": {
|
|
13
12
|
"id": {
|
|
14
|
-
"$id": "#/properties/id",
|
|
15
13
|
"type": "string",
|
|
16
|
-
"
|
|
17
|
-
"examples": [
|
|
18
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
-
],
|
|
14
|
+
"description": "Unique identifier for the operation (UUID format)",
|
|
20
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}$"
|
|
21
16
|
},
|
|
22
17
|
"systemName": {
|
|
23
|
-
"
|
|
24
|
-
"
|
|
18
|
+
"const": "selectElement",
|
|
19
|
+
"description": "The operation system name"
|
|
25
20
|
},
|
|
26
21
|
"operationData": {
|
|
27
|
-
"$id": "#/properties/operationData",
|
|
28
22
|
"type": "object",
|
|
29
|
-
"
|
|
30
|
-
"required": [
|
|
31
|
-
"selector"
|
|
32
|
-
],
|
|
23
|
+
"description": "Operation-specific configuration data",
|
|
33
24
|
"properties": {
|
|
34
25
|
"selector": {
|
|
35
|
-
"
|
|
36
|
-
"type": [
|
|
37
|
-
"string"
|
|
38
|
-
]
|
|
26
|
+
"type": "string"
|
|
39
27
|
},
|
|
40
28
|
"useSelectedElementAsRoot": {
|
|
41
|
-
"
|
|
42
|
-
|
|
29
|
+
"type": "boolean"
|
|
30
|
+
},
|
|
31
|
+
"selectedElement": {
|
|
32
|
+
"type": "object"
|
|
43
33
|
}
|
|
44
|
-
}
|
|
34
|
+
},
|
|
35
|
+
"additionalProperties": true,
|
|
36
|
+
"required": [
|
|
37
|
+
"selector"
|
|
38
|
+
]
|
|
45
39
|
}
|
|
46
|
-
}
|
|
40
|
+
},
|
|
41
|
+
"additionalProperties": false
|
|
47
42
|
}
|