eligius 2.1.0 → 2.2.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.
- package/dist/index.d.mts +452 -227
- package/dist/index.mjs +356 -283
- package/dist/index.mjs.map +1 -1
- package/jsonschema/eligius-configuration.json +698 -125
- 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 +9 -7
- package/jsonschema/endable-action-template.json +0 -527
- package/jsonschema/endable-action.json +0 -527
- package/jsonschema/engine-config.json +0 -21
- package/jsonschema/event-action.json +0 -295
- package/jsonschema/mediaplayer-timeline-provider-settings.json +0 -95
- 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 -141
- package/jsonschema/timeline-action.json +0 -542
- package/jsonschema/timeline-provider-settings.json +0 -19
- package/jsonschema/timeline.json +0 -73
|
@@ -1,46 +1,74 @@
|
|
|
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/compare-date.json",
|
|
5
4
|
"type": "object",
|
|
6
|
-
"title": "
|
|
7
|
-
"description": "
|
|
5
|
+
"title": "compareDate Operation",
|
|
6
|
+
"description": "Schema for the compareDate 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": "compareDate",
|
|
19
|
+
"description": "The operation system name"
|
|
25
20
|
},
|
|
26
21
|
"operationData": {
|
|
27
|
-
"$id": "#/properties/operationData",
|
|
28
22
|
"type": "object",
|
|
29
|
-
"
|
|
30
|
-
"required": [
|
|
31
|
-
"date1",
|
|
32
|
-
"date2"
|
|
33
|
-
],
|
|
23
|
+
"description": "Operation-specific configuration data",
|
|
34
24
|
"properties": {
|
|
35
25
|
"date1": {
|
|
36
|
-
"
|
|
37
|
-
|
|
26
|
+
"anyOf": [
|
|
27
|
+
{
|
|
28
|
+
"type": "string",
|
|
29
|
+
"format": "date-time"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"type": "number"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
38
|
},
|
|
39
39
|
"date2": {
|
|
40
|
-
"
|
|
41
|
-
|
|
40
|
+
"anyOf": [
|
|
41
|
+
{
|
|
42
|
+
"type": "string",
|
|
43
|
+
"format": "date-time"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"type": "number"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"comparison": {
|
|
54
|
+
"type": "number"
|
|
55
|
+
},
|
|
56
|
+
"isEqual": {
|
|
57
|
+
"type": "boolean"
|
|
58
|
+
},
|
|
59
|
+
"isBefore": {
|
|
60
|
+
"type": "boolean"
|
|
61
|
+
},
|
|
62
|
+
"isAfter": {
|
|
63
|
+
"type": "boolean"
|
|
42
64
|
}
|
|
43
|
-
}
|
|
65
|
+
},
|
|
66
|
+
"additionalProperties": true,
|
|
67
|
+
"required": [
|
|
68
|
+
"date1",
|
|
69
|
+
"date2"
|
|
70
|
+
]
|
|
44
71
|
}
|
|
45
|
-
}
|
|
72
|
+
},
|
|
73
|
+
"additionalProperties": false
|
|
46
74
|
}
|
|
@@ -1,47 +1,45 @@
|
|
|
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/concatenate-strings.json",
|
|
5
4
|
"type": "object",
|
|
6
|
-
"title": "
|
|
7
|
-
"description": "
|
|
5
|
+
"title": "concatenateStrings Operation",
|
|
6
|
+
"description": "Schema for the concatenateStrings 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": "concatenateStrings",
|
|
19
|
+
"description": "The operation system name"
|
|
25
20
|
},
|
|
26
21
|
"operationData": {
|
|
27
|
-
"$id": "#/properties/operationData",
|
|
28
22
|
"type": "object",
|
|
29
|
-
"
|
|
30
|
-
"required": [
|
|
31
|
-
"strings"
|
|
32
|
-
],
|
|
23
|
+
"description": "Operation-specific configuration data",
|
|
33
24
|
"properties": {
|
|
34
25
|
"strings": {
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
26
|
+
"type": "array",
|
|
27
|
+
"items": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
}
|
|
39
30
|
},
|
|
40
31
|
"separator": {
|
|
41
|
-
"
|
|
42
|
-
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"result": {
|
|
35
|
+
"type": "string"
|
|
43
36
|
}
|
|
44
|
-
}
|
|
37
|
+
},
|
|
38
|
+
"additionalProperties": true,
|
|
39
|
+
"required": [
|
|
40
|
+
"strings"
|
|
41
|
+
]
|
|
45
42
|
}
|
|
46
|
-
}
|
|
43
|
+
},
|
|
44
|
+
"additionalProperties": false
|
|
47
45
|
}
|
|
@@ -1,160 +1,27 @@
|
|
|
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/create-element.json",
|
|
5
4
|
"type": "object",
|
|
6
|
-
"title": "
|
|
7
|
-
"description": "
|
|
5
|
+
"title": "createElement Operation",
|
|
6
|
+
"description": "Schema for the createElement operation (generated from ICreateElementOperationData)",
|
|
8
7
|
"required": [
|
|
9
|
-
"systemName"
|
|
10
|
-
"operationData"
|
|
8
|
+
"systemName"
|
|
11
9
|
],
|
|
12
10
|
"properties": {
|
|
13
11
|
"id": {
|
|
14
|
-
"$id": "#/properties/id",
|
|
15
12
|
"type": "string",
|
|
16
|
-
"
|
|
17
|
-
"examples": [
|
|
18
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
-
],
|
|
13
|
+
"description": "Unique identifier for the operation (UUID format)",
|
|
20
14
|
"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
15
|
},
|
|
22
16
|
"systemName": {
|
|
23
|
-
"
|
|
24
|
-
"
|
|
17
|
+
"const": "createElement",
|
|
18
|
+
"description": "The operation system name"
|
|
25
19
|
},
|
|
26
20
|
"operationData": {
|
|
27
|
-
"$id": "#/properties/operationData",
|
|
28
21
|
"type": "object",
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"elementName"
|
|
32
|
-
],
|
|
33
|
-
"properties": {
|
|
34
|
-
"elementName": {
|
|
35
|
-
"$id": "#/properties/operationData/elementName",
|
|
36
|
-
"type": [
|
|
37
|
-
{
|
|
38
|
-
"type": "string",
|
|
39
|
-
"enum": [
|
|
40
|
-
"a",
|
|
41
|
-
"abbr",
|
|
42
|
-
"address",
|
|
43
|
-
"area",
|
|
44
|
-
"article",
|
|
45
|
-
"aside",
|
|
46
|
-
"audio",
|
|
47
|
-
"b",
|
|
48
|
-
"base",
|
|
49
|
-
"bdi",
|
|
50
|
-
"bdo",
|
|
51
|
-
"blockquote",
|
|
52
|
-
"body",
|
|
53
|
-
"br",
|
|
54
|
-
"button",
|
|
55
|
-
"canvas",
|
|
56
|
-
"caption",
|
|
57
|
-
"cite",
|
|
58
|
-
"code",
|
|
59
|
-
"col",
|
|
60
|
-
"colgroup",
|
|
61
|
-
"data",
|
|
62
|
-
"datalist",
|
|
63
|
-
"dd",
|
|
64
|
-
"del",
|
|
65
|
-
"details",
|
|
66
|
-
"dfn",
|
|
67
|
-
"dialog",
|
|
68
|
-
"div",
|
|
69
|
-
"dl",
|
|
70
|
-
"dt",
|
|
71
|
-
"em",
|
|
72
|
-
"embed",
|
|
73
|
-
"fieldset",
|
|
74
|
-
"figcaption",
|
|
75
|
-
"figure",
|
|
76
|
-
"footer",
|
|
77
|
-
"form",
|
|
78
|
-
"h1,",
|
|
79
|
-
"head",
|
|
80
|
-
"header",
|
|
81
|
-
"hr",
|
|
82
|
-
"html",
|
|
83
|
-
"i",
|
|
84
|
-
"iframe",
|
|
85
|
-
"img",
|
|
86
|
-
"input",
|
|
87
|
-
"ins",
|
|
88
|
-
"kbd",
|
|
89
|
-
"keygen",
|
|
90
|
-
"label",
|
|
91
|
-
"legend",
|
|
92
|
-
"li",
|
|
93
|
-
"link",
|
|
94
|
-
"main",
|
|
95
|
-
"map",
|
|
96
|
-
"mark",
|
|
97
|
-
"meta",
|
|
98
|
-
"meter",
|
|
99
|
-
"nav",
|
|
100
|
-
"noscript",
|
|
101
|
-
"object",
|
|
102
|
-
"ol",
|
|
103
|
-
"optgroup",
|
|
104
|
-
"option",
|
|
105
|
-
"output",
|
|
106
|
-
"p",
|
|
107
|
-
"param",
|
|
108
|
-
"pre",
|
|
109
|
-
"progress",
|
|
110
|
-
"q",
|
|
111
|
-
"rp",
|
|
112
|
-
"rt",
|
|
113
|
-
"ruby",
|
|
114
|
-
"s",
|
|
115
|
-
"samp",
|
|
116
|
-
"script",
|
|
117
|
-
"section",
|
|
118
|
-
"select",
|
|
119
|
-
"small",
|
|
120
|
-
"source",
|
|
121
|
-
"span",
|
|
122
|
-
"strong",
|
|
123
|
-
"style",
|
|
124
|
-
"sub",
|
|
125
|
-
"summary",
|
|
126
|
-
"sup",
|
|
127
|
-
"table",
|
|
128
|
-
"tbody",
|
|
129
|
-
"td",
|
|
130
|
-
"textarea",
|
|
131
|
-
"tfoot",
|
|
132
|
-
"th",
|
|
133
|
-
"thead",
|
|
134
|
-
"time",
|
|
135
|
-
"title",
|
|
136
|
-
"tr",
|
|
137
|
-
"track",
|
|
138
|
-
"u",
|
|
139
|
-
"ul",
|
|
140
|
-
"var",
|
|
141
|
-
"video",
|
|
142
|
-
"wbr"
|
|
143
|
-
]
|
|
144
|
-
}
|
|
145
|
-
]
|
|
146
|
-
},
|
|
147
|
-
"text": {
|
|
148
|
-
"$id": "#/properties/operationData/text",
|
|
149
|
-
"type": "array"
|
|
150
|
-
},
|
|
151
|
-
"attributes": {
|
|
152
|
-
"$id": "#/properties/operationData/attributes",
|
|
153
|
-
"type": [
|
|
154
|
-
"object"
|
|
155
|
-
]
|
|
156
|
-
}
|
|
157
|
-
}
|
|
22
|
+
"description": "Operation-specific configuration data. See TypeScript definition for full type information.",
|
|
23
|
+
"additionalProperties": true
|
|
158
24
|
}
|
|
159
|
-
}
|
|
25
|
+
},
|
|
26
|
+
"additionalProperties": false
|
|
160
27
|
}
|
|
@@ -1,43 +1,36 @@
|
|
|
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/custom-function.json",
|
|
5
4
|
"type": "object",
|
|
6
|
-
"title": "
|
|
7
|
-
"description": "
|
|
5
|
+
"title": "customFunction Operation",
|
|
6
|
+
"description": "Schema for the customFunction 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": "customFunction",
|
|
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
|
-
"type": [
|
|
37
|
-
"string"
|
|
38
|
-
]
|
|
26
|
+
"type": "string"
|
|
39
27
|
}
|
|
40
|
-
}
|
|
28
|
+
},
|
|
29
|
+
"additionalProperties": true,
|
|
30
|
+
"required": [
|
|
31
|
+
"systemName"
|
|
32
|
+
]
|
|
41
33
|
}
|
|
42
|
-
}
|
|
34
|
+
},
|
|
35
|
+
"additionalProperties": false
|
|
43
36
|
}
|
|
@@ -1,43 +1,40 @@
|
|
|
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/end-action.json",
|
|
5
4
|
"type": "object",
|
|
6
|
-
"title": "
|
|
7
|
-
"description": "
|
|
5
|
+
"title": "endAction Operation",
|
|
6
|
+
"description": "Schema for the endAction 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": "endAction",
|
|
19
|
+
"description": "The operation system name"
|
|
25
20
|
},
|
|
26
21
|
"operationData": {
|
|
27
|
-
"$id": "#/properties/operationData",
|
|
28
22
|
"type": "object",
|
|
29
|
-
"
|
|
30
|
-
"required": [
|
|
31
|
-
"actionOperationData"
|
|
32
|
-
],
|
|
23
|
+
"description": "Operation-specific configuration data",
|
|
33
24
|
"properties": {
|
|
25
|
+
"actionInstance": {
|
|
26
|
+
"$ref": "#/definitions/IEndableAction"
|
|
27
|
+
},
|
|
34
28
|
"actionOperationData": {
|
|
35
|
-
"$
|
|
36
|
-
"type": [
|
|
37
|
-
"object"
|
|
38
|
-
]
|
|
29
|
+
"$ref": "#/definitions/Record%3Cstring%2Cunknown%3E"
|
|
39
30
|
}
|
|
40
|
-
}
|
|
31
|
+
},
|
|
32
|
+
"additionalProperties": true,
|
|
33
|
+
"required": [
|
|
34
|
+
"actionInstance",
|
|
35
|
+
"actionOperationData"
|
|
36
|
+
]
|
|
41
37
|
}
|
|
42
|
-
}
|
|
38
|
+
},
|
|
39
|
+
"additionalProperties": false
|
|
43
40
|
}
|
|
@@ -1,43 +1,40 @@
|
|
|
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/extend-controller.json",
|
|
5
4
|
"type": "object",
|
|
6
|
-
"title": "
|
|
7
|
-
"description": "
|
|
5
|
+
"title": "extendController Operation",
|
|
6
|
+
"description": "This operation extends the specified controller instance with the specified extension.",
|
|
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": "extendController",
|
|
19
|
+
"description": "The operation system name"
|
|
25
20
|
},
|
|
26
21
|
"operationData": {
|
|
27
|
-
"$id": "#/properties/operationData",
|
|
28
22
|
"type": "object",
|
|
29
|
-
"
|
|
30
|
-
"required": [
|
|
31
|
-
"controllerExtension"
|
|
32
|
-
],
|
|
23
|
+
"description": "Operation-specific configuration data",
|
|
33
24
|
"properties": {
|
|
25
|
+
"controllerInstance": {
|
|
26
|
+
"$ref": "#/definitions/IController%3CTOperationData%3E"
|
|
27
|
+
},
|
|
34
28
|
"controllerExtension": {
|
|
35
|
-
"$
|
|
36
|
-
"type": [
|
|
37
|
-
"object"
|
|
38
|
-
]
|
|
29
|
+
"$ref": "#/definitions/Record%3CPropertyKey%2Cunknown%3E"
|
|
39
30
|
}
|
|
40
|
-
}
|
|
31
|
+
},
|
|
32
|
+
"additionalProperties": true,
|
|
33
|
+
"required": [
|
|
34
|
+
"controllerInstance",
|
|
35
|
+
"controllerExtension"
|
|
36
|
+
]
|
|
41
37
|
}
|
|
42
|
-
}
|
|
38
|
+
},
|
|
39
|
+
"additionalProperties": false
|
|
43
40
|
}
|
|
@@ -1,49 +1,63 @@
|
|
|
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/filter-array.json",
|
|
5
4
|
"type": "object",
|
|
6
|
-
"title": "
|
|
7
|
-
"description": "
|
|
5
|
+
"title": "filterArray Operation",
|
|
6
|
+
"description": "Schema for the filterArray 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": "filterArray",
|
|
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": {
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
25
|
+
"arrayData": {
|
|
26
|
+
"type": "array",
|
|
27
|
+
"items": {}
|
|
35
28
|
},
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"type": [
|
|
39
|
-
"object"
|
|
40
|
-
]
|
|
29
|
+
"filterProperty": {
|
|
30
|
+
"type": "string"
|
|
41
31
|
},
|
|
32
|
+
"filterValue": {},
|
|
42
33
|
"filterPredicate": {
|
|
43
|
-
"
|
|
44
|
-
"
|
|
34
|
+
"type": "object",
|
|
35
|
+
"properties": {
|
|
36
|
+
"namedArgs": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"properties": {
|
|
39
|
+
"item": {},
|
|
40
|
+
"index": {
|
|
41
|
+
"type": "number"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"required": [
|
|
45
|
+
"item"
|
|
46
|
+
],
|
|
47
|
+
"additionalProperties": false
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"filteredArray": {
|
|
52
|
+
"type": "array",
|
|
53
|
+
"items": {}
|
|
45
54
|
}
|
|
46
|
-
}
|
|
55
|
+
},
|
|
56
|
+
"additionalProperties": true,
|
|
57
|
+
"required": [
|
|
58
|
+
"arrayData"
|
|
59
|
+
]
|
|
47
60
|
}
|
|
48
|
-
}
|
|
61
|
+
},
|
|
62
|
+
"additionalProperties": false
|
|
49
63
|
}
|