eligius 1.2.0 → 1.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.ts +1 -1
- package/jsonschema/endable-action-template.json +326 -326
- package/jsonschema/endable-action.json +326 -326
- package/jsonschema/event-action.json +193 -193
- package/jsonschema/operation-templates/add-class.json +40 -0
- package/jsonschema/operation-templates/add-controller-to-element.json +26 -0
- package/jsonschema/operation-templates/add-globals-to-operation.json +39 -0
- package/jsonschema/operation-templates/animate-with-class.json +46 -0
- package/jsonschema/operation-templates/animate.json +51 -0
- package/jsonschema/operation-templates/broadcast-event.json +51 -0
- package/jsonschema/operation-templates/calc.json +49 -0
- package/jsonschema/operation-templates/clear-element.json +26 -0
- package/jsonschema/operation-templates/clear-operation-data.json +39 -0
- package/jsonschema/operation-templates/create-element.json +158 -0
- package/jsonschema/operation-templates/custom-function.json +39 -0
- package/jsonschema/operation-templates/end-action.json +39 -0
- package/jsonschema/operation-templates/end-for-each.json +26 -0
- package/jsonschema/operation-templates/end-when.json +26 -0
- package/jsonschema/operation-templates/extend-controller.json +39 -0
- package/jsonschema/operation-templates/for-each.json +40 -0
- package/jsonschema/operation-templates/get-attributes-from-element.json +39 -0
- package/jsonschema/operation-templates/get-controller-from-element.json +50 -0
- package/jsonschema/operation-templates/get-controller-instance.json +37 -0
- package/jsonschema/operation-templates/get-element-dimensions.json +39 -0
- package/jsonschema/operation-templates/get-import.json +39 -0
- package/jsonschema/operation-templates/get-query-params.json +39 -0
- package/jsonschema/operation-templates/invoke-object-method.json +45 -0
- package/jsonschema/operation-templates/load-json.json +45 -0
- package/jsonschema/operation-templates/log.json +39 -0
- package/jsonschema/operation-templates/math.json +45 -0
- package/jsonschema/operation-templates/otherwise.json +26 -0
- package/jsonschema/operation-templates/remove-class.json +40 -0
- package/jsonschema/operation-templates/remove-controller-from-element.json +50 -0
- package/jsonschema/operation-templates/remove-element.json +26 -0
- package/jsonschema/operation-templates/remove-properties-from-operation-data.json +39 -0
- package/jsonschema/operation-templates/reparent-element.json +39 -0
- package/jsonschema/operation-templates/request-action.json +39 -0
- package/jsonschema/operation-templates/select-element.json +45 -0
- package/jsonschema/operation-templates/set-data.json +39 -0
- package/jsonschema/operation-templates/set-element-attributes.json +39 -0
- package/jsonschema/operation-templates/set-element-content.json +41 -0
- package/jsonschema/operation-templates/set-global-data.json +39 -0
- package/jsonschema/operation-templates/set-operation-data.json +45 -0
- package/jsonschema/operation-templates/set-style.json +39 -0
- package/jsonschema/operation-templates/set-variable.json +45 -0
- package/jsonschema/operation-templates/start-action.json +39 -0
- package/jsonschema/operation-templates/toggle-class.json +40 -0
- package/jsonschema/operation-templates/toggle-element.json +26 -0
- package/jsonschema/operation-templates/wait.json +39 -0
- package/jsonschema/operation-templates/when.json +39 -0
- package/jsonschema/operations/add-class.json +44 -0
- package/jsonschema/operations/add-controller-to-element.json +26 -0
- package/jsonschema/operations/add-globals-to-operation.json +43 -0
- package/jsonschema/operations/animate-with-class.json +50 -0
- package/jsonschema/operations/animate.json +56 -0
- package/jsonschema/operations/broadcast-event.json +56 -0
- package/jsonschema/operations/calc.json +55 -0
- package/jsonschema/operations/clear-element.json +26 -0
- package/jsonschema/operations/clear-operation-data.json +41 -0
- package/jsonschema/operations/create-element.json +162 -0
- package/jsonschema/operations/custom-function.json +43 -0
- package/jsonschema/operations/end-action.json +43 -0
- package/jsonschema/operations/end-for-each.json +26 -0
- package/jsonschema/operations/end-when.json +26 -0
- package/jsonschema/operations/extend-controller.json +43 -0
- package/jsonschema/operations/for-each.json +44 -0
- package/jsonschema/operations/get-attributes-from-element.json +43 -0
- package/jsonschema/operations/get-controller-from-element.json +54 -0
- package/jsonschema/operations/get-controller-instance.json +41 -0
- package/jsonschema/operations/get-element-dimensions.json +41 -0
- package/jsonschema/operations/get-import.json +43 -0
- package/jsonschema/operations/get-query-params.json +41 -0
- package/jsonschema/operations/invoke-object-method.json +49 -0
- package/jsonschema/operations/load-json.json +49 -0
- package/jsonschema/operations/log.json +41 -0
- package/jsonschema/operations/math.json +50 -0
- package/jsonschema/operations/otherwise.json +26 -0
- package/jsonschema/operations/remove-class.json +44 -0
- package/jsonschema/operations/remove-controller-from-element.json +54 -0
- package/jsonschema/operations/remove-element.json +26 -0
- package/jsonschema/operations/remove-properties-from-operation-data.json +43 -0
- package/jsonschema/operations/reparent-element.json +43 -0
- package/jsonschema/operations/request-action.json +43 -0
- package/jsonschema/operations/select-element.json +49 -0
- package/jsonschema/operations/set-data.json +43 -0
- package/jsonschema/operations/set-element-attributes.json +43 -0
- package/jsonschema/operations/set-element-content.json +43 -0
- package/jsonschema/operations/set-global-data.json +43 -0
- package/jsonschema/operations/set-operation-data.json +49 -0
- package/jsonschema/operations/set-style.json +43 -0
- package/jsonschema/operations/set-variable.json +50 -0
- package/jsonschema/operations/start-action.json +41 -0
- package/jsonschema/operations/toggle-class.json +44 -0
- package/jsonschema/operations/toggle-element.json +26 -0
- package/jsonschema/operations/wait.json +43 -0
- package/jsonschema/operations/when.json +43 -0
- package/jsonschema/timeline-action.json +341 -341
- package/package.json +2 -2
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/select-element-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The selectElement schema",
|
|
7
|
+
"description": "This operation selects one or more elements using the specified selector.\n\nIf `useSelectedElementAsRoot` is set to true and a valid DOM element is assigned\nto the current operation data's `selectedElement` property\nthen the element will be looked for only in the descendant elements of this DOM element.",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName",
|
|
10
|
+
"operationData"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"id": {
|
|
14
|
+
"$id": "#/properties/id",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "The Id Schema",
|
|
17
|
+
"examples": [
|
|
18
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
+
],
|
|
20
|
+
"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
|
+
},
|
|
22
|
+
"systemName": {
|
|
23
|
+
"$id": "#/properties/systemName",
|
|
24
|
+
"const": "selectElement"
|
|
25
|
+
},
|
|
26
|
+
"operationData": {
|
|
27
|
+
"$id": "#/properties/operationData",
|
|
28
|
+
"type": "object",
|
|
29
|
+
"title": "The Operationdata Schema",
|
|
30
|
+
"required": [
|
|
31
|
+
"selector"
|
|
32
|
+
],
|
|
33
|
+
"properties": {
|
|
34
|
+
"selector": {
|
|
35
|
+
"$id": "#/properties/operationData/selector",
|
|
36
|
+
"type": [
|
|
37
|
+
"string"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"useSelectedElementAsRoot": {
|
|
41
|
+
"$id": "#/properties/operationData/useSelectedElementAsRoot",
|
|
42
|
+
"type": [
|
|
43
|
+
"boolean"
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/set-data-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The setData schema",
|
|
7
|
+
"description": "This operation assigns the specified properties to the specified data targets.",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName",
|
|
10
|
+
"operationData"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"id": {
|
|
14
|
+
"$id": "#/properties/id",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "The Id Schema",
|
|
17
|
+
"examples": [
|
|
18
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
+
],
|
|
20
|
+
"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
|
+
},
|
|
22
|
+
"systemName": {
|
|
23
|
+
"$id": "#/properties/systemName",
|
|
24
|
+
"const": "setData"
|
|
25
|
+
},
|
|
26
|
+
"operationData": {
|
|
27
|
+
"$id": "#/properties/operationData",
|
|
28
|
+
"type": "object",
|
|
29
|
+
"title": "The Operationdata Schema",
|
|
30
|
+
"required": [
|
|
31
|
+
"properties"
|
|
32
|
+
],
|
|
33
|
+
"properties": {
|
|
34
|
+
"properties": {
|
|
35
|
+
"$id": "#/properties/operationData/properties",
|
|
36
|
+
"type": [
|
|
37
|
+
"object"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/set-element-attributes-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The setElementAttributes schema",
|
|
7
|
+
"description": "This operation sets the specified set of attributes on the given selected element.",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName",
|
|
10
|
+
"operationData"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"id": {
|
|
14
|
+
"$id": "#/properties/id",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "The Id Schema",
|
|
17
|
+
"examples": [
|
|
18
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
+
],
|
|
20
|
+
"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
|
+
},
|
|
22
|
+
"systemName": {
|
|
23
|
+
"$id": "#/properties/systemName",
|
|
24
|
+
"const": "setElementAttributes"
|
|
25
|
+
},
|
|
26
|
+
"operationData": {
|
|
27
|
+
"$id": "#/properties/operationData",
|
|
28
|
+
"type": "object",
|
|
29
|
+
"title": "The Operationdata Schema",
|
|
30
|
+
"required": [
|
|
31
|
+
"attributes"
|
|
32
|
+
],
|
|
33
|
+
"properties": {
|
|
34
|
+
"attributes": {
|
|
35
|
+
"$id": "#/properties/operationData/attributes",
|
|
36
|
+
"type": [
|
|
37
|
+
"object"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/set-element-content-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The setElementContent schema",
|
|
7
|
+
"description": "This operation sets the specified content defined by the value assigned to the template property\nto the given selected element.\n\nWhen the `insertionType` is set to `overwrite` the contents of the selected element are replaced\nby the given template.\nWhen set to `append` the new content will be inserted after the current content.\nWhen set to `prepend` the new content will be inserted before the current content.",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName",
|
|
10
|
+
"operationData"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"id": {
|
|
14
|
+
"$id": "#/properties/id",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "The Id Schema",
|
|
17
|
+
"examples": [
|
|
18
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
+
],
|
|
20
|
+
"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
|
+
},
|
|
22
|
+
"systemName": {
|
|
23
|
+
"$id": "#/properties/systemName",
|
|
24
|
+
"const": "setElementContent"
|
|
25
|
+
},
|
|
26
|
+
"operationData": {
|
|
27
|
+
"$id": "#/properties/operationData",
|
|
28
|
+
"type": "object",
|
|
29
|
+
"title": "The Operationdata Schema",
|
|
30
|
+
"required": [],
|
|
31
|
+
"properties": {
|
|
32
|
+
"template": {
|
|
33
|
+
"$id": "#/properties/operationData/template",
|
|
34
|
+
"type": "array"
|
|
35
|
+
},
|
|
36
|
+
"insertionType": {
|
|
37
|
+
"$id": "#/properties/operationData/insertionType",
|
|
38
|
+
"type": "array"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/set-global-data-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The setGlobalData schema",
|
|
7
|
+
"description": "This operation copies the specified properties from the operationData to the global data.",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName",
|
|
10
|
+
"operationData"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"id": {
|
|
14
|
+
"$id": "#/properties/id",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "The Id Schema",
|
|
17
|
+
"examples": [
|
|
18
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
+
],
|
|
20
|
+
"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
|
+
},
|
|
22
|
+
"systemName": {
|
|
23
|
+
"$id": "#/properties/systemName",
|
|
24
|
+
"const": "setGlobalData"
|
|
25
|
+
},
|
|
26
|
+
"operationData": {
|
|
27
|
+
"$id": "#/properties/operationData",
|
|
28
|
+
"type": "object",
|
|
29
|
+
"title": "The Operationdata Schema",
|
|
30
|
+
"required": [
|
|
31
|
+
"propertyNames"
|
|
32
|
+
],
|
|
33
|
+
"properties": {
|
|
34
|
+
"propertyNames": {
|
|
35
|
+
"$id": "#/properties/operationData/propertyNames",
|
|
36
|
+
"type": [
|
|
37
|
+
"array"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/set-operation-data-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The setOperationData schema",
|
|
7
|
+
"description": "This operation assigns the specified properties to the current operation data.\nWhen override is set to true the properties replace the current operation data entirely.",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName",
|
|
10
|
+
"operationData"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"id": {
|
|
14
|
+
"$id": "#/properties/id",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "The Id Schema",
|
|
17
|
+
"examples": [
|
|
18
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
+
],
|
|
20
|
+
"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
|
+
},
|
|
22
|
+
"systemName": {
|
|
23
|
+
"$id": "#/properties/systemName",
|
|
24
|
+
"const": "setOperationData"
|
|
25
|
+
},
|
|
26
|
+
"operationData": {
|
|
27
|
+
"$id": "#/properties/operationData",
|
|
28
|
+
"type": "object",
|
|
29
|
+
"title": "The Operationdata Schema",
|
|
30
|
+
"required": [
|
|
31
|
+
"properties"
|
|
32
|
+
],
|
|
33
|
+
"properties": {
|
|
34
|
+
"override": {
|
|
35
|
+
"$id": "#/properties/operationData/override",
|
|
36
|
+
"type": [
|
|
37
|
+
"boolean"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"properties": {
|
|
41
|
+
"$id": "#/properties/operationData/properties",
|
|
42
|
+
"type": [
|
|
43
|
+
"object"
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/set-style-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The setStyle schema",
|
|
7
|
+
"description": "This operation assigns the specified CSS style properties to the\ngiven selected element.",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName",
|
|
10
|
+
"operationData"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"id": {
|
|
14
|
+
"$id": "#/properties/id",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "The Id Schema",
|
|
17
|
+
"examples": [
|
|
18
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
+
],
|
|
20
|
+
"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
|
+
},
|
|
22
|
+
"systemName": {
|
|
23
|
+
"$id": "#/properties/systemName",
|
|
24
|
+
"const": "setStyle"
|
|
25
|
+
},
|
|
26
|
+
"operationData": {
|
|
27
|
+
"$id": "#/properties/operationData",
|
|
28
|
+
"type": "object",
|
|
29
|
+
"title": "The Operationdata Schema",
|
|
30
|
+
"required": [
|
|
31
|
+
"properties"
|
|
32
|
+
],
|
|
33
|
+
"properties": {
|
|
34
|
+
"properties": {
|
|
35
|
+
"$id": "#/properties/operationData/properties",
|
|
36
|
+
"type": [
|
|
37
|
+
"object"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/set-variable-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The setVariable schema",
|
|
7
|
+
"description": "This operation sets a variable with the specified name on the scope with the specified value.",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName",
|
|
10
|
+
"operationData"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"id": {
|
|
14
|
+
"$id": "#/properties/id",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "The Id Schema",
|
|
17
|
+
"examples": [
|
|
18
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
+
],
|
|
20
|
+
"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
|
+
},
|
|
22
|
+
"systemName": {
|
|
23
|
+
"$id": "#/properties/systemName",
|
|
24
|
+
"const": "setVariable"
|
|
25
|
+
},
|
|
26
|
+
"operationData": {
|
|
27
|
+
"$id": "#/properties/operationData",
|
|
28
|
+
"type": "object",
|
|
29
|
+
"title": "The Operationdata Schema",
|
|
30
|
+
"required": [
|
|
31
|
+
"name",
|
|
32
|
+
"value"
|
|
33
|
+
],
|
|
34
|
+
"properties": {
|
|
35
|
+
"name": {
|
|
36
|
+
"$id": "#/properties/operationData/name",
|
|
37
|
+
"type": [
|
|
38
|
+
"string"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"value": {
|
|
42
|
+
"$id": "#/properties/operationData/value",
|
|
43
|
+
"type": [
|
|
44
|
+
"object"
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/start-action-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The startAction schema",
|
|
7
|
+
"description": "This operation starts the specified action instance using the given action operation data.\n\nThe action operation data is first merged with the current operation data before it is\npassed on to the action. After the action has completed the action operation data properties\nare removed from the current operation data.",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName",
|
|
10
|
+
"operationData"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"id": {
|
|
14
|
+
"$id": "#/properties/id",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "The Id Schema",
|
|
17
|
+
"examples": [
|
|
18
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
+
],
|
|
20
|
+
"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
|
+
},
|
|
22
|
+
"systemName": {
|
|
23
|
+
"$id": "#/properties/systemName",
|
|
24
|
+
"const": "startAction"
|
|
25
|
+
},
|
|
26
|
+
"operationData": {
|
|
27
|
+
"$id": "#/properties/operationData",
|
|
28
|
+
"type": "object",
|
|
29
|
+
"title": "The Operationdata Schema",
|
|
30
|
+
"required": [],
|
|
31
|
+
"properties": {
|
|
32
|
+
"actionOperationData": {
|
|
33
|
+
"$id": "#/properties/operationData/actionOperationData",
|
|
34
|
+
"type": [
|
|
35
|
+
"object"
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/toggle-class-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The toggleClass schema",
|
|
7
|
+
"description": "This operation toggles the specfied class name on the given selected element.\n\nMeaning, if the specified class name exists on the given element it will be removed,\notherwise it will be added.",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName",
|
|
10
|
+
"operationData"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"id": {
|
|
14
|
+
"$id": "#/properties/id",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "The Id Schema",
|
|
17
|
+
"examples": [
|
|
18
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
+
],
|
|
20
|
+
"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
|
+
},
|
|
22
|
+
"systemName": {
|
|
23
|
+
"$id": "#/properties/systemName",
|
|
24
|
+
"const": "toggleClass"
|
|
25
|
+
},
|
|
26
|
+
"operationData": {
|
|
27
|
+
"$id": "#/properties/operationData",
|
|
28
|
+
"type": "object",
|
|
29
|
+
"title": "The Operationdata Schema",
|
|
30
|
+
"required": [
|
|
31
|
+
"className"
|
|
32
|
+
],
|
|
33
|
+
"properties": {
|
|
34
|
+
"className": {
|
|
35
|
+
"$id": "#/properties/operationData/className",
|
|
36
|
+
"type": [
|
|
37
|
+
"string"
|
|
38
|
+
],
|
|
39
|
+
"pattern": ".-?[_a-zA-Z]+[_a-zA-Z0-9-]*"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/toggle-element-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The toggleElement schema",
|
|
7
|
+
"description": "This operation toggles the visibility of the given selected element.\n\nMeaning, if the element is hidden, it will be made visible, otherwise\nit will be hidden.",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"id": {
|
|
13
|
+
"$id": "#/properties/id",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"title": "The Id Schema",
|
|
16
|
+
"examples": [
|
|
17
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
+
],
|
|
19
|
+
"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}$"
|
|
20
|
+
},
|
|
21
|
+
"systemName": {
|
|
22
|
+
"$id": "#/properties/systemName",
|
|
23
|
+
"const": "toggleElement"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/wait-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The wait schema",
|
|
7
|
+
"description": "This operation waits for the specified amount of milliseconds.",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName",
|
|
10
|
+
"operationData"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"id": {
|
|
14
|
+
"$id": "#/properties/id",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "The Id Schema",
|
|
17
|
+
"examples": [
|
|
18
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
+
],
|
|
20
|
+
"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
|
+
},
|
|
22
|
+
"systemName": {
|
|
23
|
+
"$id": "#/properties/systemName",
|
|
24
|
+
"const": "wait"
|
|
25
|
+
},
|
|
26
|
+
"operationData": {
|
|
27
|
+
"$id": "#/properties/operationData",
|
|
28
|
+
"type": "object",
|
|
29
|
+
"title": "The Operationdata Schema",
|
|
30
|
+
"required": [
|
|
31
|
+
"milliseconds"
|
|
32
|
+
],
|
|
33
|
+
"properties": {
|
|
34
|
+
"milliseconds": {
|
|
35
|
+
"$id": "#/properties/operationData/milliseconds",
|
|
36
|
+
"type": [
|
|
37
|
+
"number"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/when-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The when schema",
|
|
7
|
+
"description": "When the given expression evaluates to false, subsequent operations will be skipped\nuntil an {@link endWhen} or {@link otherwise} operation is encountered.\n\nPractically, this means an `if` or `if`/`else` statement control flow implementation in a list of operations.\n\nThe expression is passed in as a formatted string.\nThe left and right values of the expression can be defined like this:\n\n'constant': for a constant string\n100: for a constant number\noperationData.foo: for an operation data value\nglobaldata.foo: for a global data value\nscope.loopIndex: for a scope value",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName",
|
|
10
|
+
"operationData"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"id": {
|
|
14
|
+
"$id": "#/properties/id",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "The Id Schema",
|
|
17
|
+
"examples": [
|
|
18
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
+
],
|
|
20
|
+
"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
|
+
},
|
|
22
|
+
"systemName": {
|
|
23
|
+
"$id": "#/properties/systemName",
|
|
24
|
+
"const": "when"
|
|
25
|
+
},
|
|
26
|
+
"operationData": {
|
|
27
|
+
"$id": "#/properties/operationData",
|
|
28
|
+
"type": "object",
|
|
29
|
+
"title": "The Operationdata Schema",
|
|
30
|
+
"required": [
|
|
31
|
+
"expression"
|
|
32
|
+
],
|
|
33
|
+
"properties": {
|
|
34
|
+
"expression": {
|
|
35
|
+
"$id": "#/properties/operationData/expression",
|
|
36
|
+
"type": [
|
|
37
|
+
"string"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|