eligius 1.2.0 → 1.3.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.
Files changed (104) hide show
  1. package/dist/index.d.ts +55 -22
  2. package/dist/index.js +104 -40
  3. package/dist/index.js.map +1 -1
  4. package/jsonschema/endable-action-template.json +338 -326
  5. package/jsonschema/endable-action.json +338 -326
  6. package/jsonschema/event-action.json +199 -193
  7. package/jsonschema/operation-templates/add-class.json +40 -0
  8. package/jsonschema/operation-templates/add-controller-to-element.json +26 -0
  9. package/jsonschema/operation-templates/add-globals-to-operation.json +39 -0
  10. package/jsonschema/operation-templates/animate-with-class.json +46 -0
  11. package/jsonschema/operation-templates/animate.json +51 -0
  12. package/jsonschema/operation-templates/break-for-each.json +26 -0
  13. package/jsonschema/operation-templates/broadcast-event.json +51 -0
  14. package/jsonschema/operation-templates/calc.json +49 -0
  15. package/jsonschema/operation-templates/clear-element.json +26 -0
  16. package/jsonschema/operation-templates/clear-operation-data.json +39 -0
  17. package/jsonschema/operation-templates/continue-for-each.json +26 -0
  18. package/jsonschema/operation-templates/create-element.json +158 -0
  19. package/jsonschema/operation-templates/custom-function.json +39 -0
  20. package/jsonschema/operation-templates/end-action.json +39 -0
  21. package/jsonschema/operation-templates/end-for-each.json +26 -0
  22. package/jsonschema/operation-templates/end-when.json +26 -0
  23. package/jsonschema/operation-templates/extend-controller.json +39 -0
  24. package/jsonschema/operation-templates/for-each.json +40 -0
  25. package/jsonschema/operation-templates/get-attributes-from-element.json +39 -0
  26. package/jsonschema/operation-templates/get-controller-from-element.json +50 -0
  27. package/jsonschema/operation-templates/get-controller-instance.json +37 -0
  28. package/jsonschema/operation-templates/get-element-dimensions.json +39 -0
  29. package/jsonschema/operation-templates/get-import.json +39 -0
  30. package/jsonschema/operation-templates/get-query-params.json +39 -0
  31. package/jsonschema/operation-templates/invoke-object-method.json +45 -0
  32. package/jsonschema/operation-templates/load-json.json +45 -0
  33. package/jsonschema/operation-templates/log.json +49 -0
  34. package/jsonschema/operation-templates/math.json +45 -0
  35. package/jsonschema/operation-templates/otherwise.json +26 -0
  36. package/jsonschema/operation-templates/remove-class.json +40 -0
  37. package/jsonschema/operation-templates/remove-controller-from-element.json +50 -0
  38. package/jsonschema/operation-templates/remove-element.json +26 -0
  39. package/jsonschema/operation-templates/remove-properties-from-operation-data.json +39 -0
  40. package/jsonschema/operation-templates/reparent-element.json +39 -0
  41. package/jsonschema/operation-templates/request-action.json +39 -0
  42. package/jsonschema/operation-templates/select-element.json +45 -0
  43. package/jsonschema/operation-templates/set-data.json +39 -0
  44. package/jsonschema/operation-templates/set-element-attributes.json +39 -0
  45. package/jsonschema/operation-templates/set-element-content.json +41 -0
  46. package/jsonschema/operation-templates/set-global-data.json +39 -0
  47. package/jsonschema/operation-templates/set-operation-data.json +45 -0
  48. package/jsonschema/operation-templates/set-style.json +39 -0
  49. package/jsonschema/operation-templates/set-variable.json +49 -0
  50. package/jsonschema/operation-templates/start-action.json +39 -0
  51. package/jsonschema/operation-templates/toggle-class.json +40 -0
  52. package/jsonschema/operation-templates/toggle-element.json +26 -0
  53. package/jsonschema/operation-templates/wait.json +39 -0
  54. package/jsonschema/operation-templates/when.json +39 -0
  55. package/jsonschema/operations/add-class.json +44 -0
  56. package/jsonschema/operations/add-controller-to-element.json +26 -0
  57. package/jsonschema/operations/add-globals-to-operation.json +43 -0
  58. package/jsonschema/operations/animate-with-class.json +50 -0
  59. package/jsonschema/operations/animate.json +56 -0
  60. package/jsonschema/operations/break-for-each.json +26 -0
  61. package/jsonschema/operations/broadcast-event.json +56 -0
  62. package/jsonschema/operations/calc.json +55 -0
  63. package/jsonschema/operations/clear-element.json +26 -0
  64. package/jsonschema/operations/clear-operation-data.json +41 -0
  65. package/jsonschema/operations/continue-for-each.json +26 -0
  66. package/jsonschema/operations/create-element.json +162 -0
  67. package/jsonschema/operations/custom-function.json +43 -0
  68. package/jsonschema/operations/end-action.json +43 -0
  69. package/jsonschema/operations/end-for-each.json +26 -0
  70. package/jsonschema/operations/end-when.json +26 -0
  71. package/jsonschema/operations/extend-controller.json +43 -0
  72. package/jsonschema/operations/for-each.json +44 -0
  73. package/jsonschema/operations/get-attributes-from-element.json +43 -0
  74. package/jsonschema/operations/get-controller-from-element.json +54 -0
  75. package/jsonschema/operations/get-controller-instance.json +41 -0
  76. package/jsonschema/operations/get-element-dimensions.json +41 -0
  77. package/jsonschema/operations/get-import.json +43 -0
  78. package/jsonschema/operations/get-query-params.json +41 -0
  79. package/jsonschema/operations/invoke-object-method.json +49 -0
  80. package/jsonschema/operations/load-json.json +49 -0
  81. package/jsonschema/operations/log.json +51 -0
  82. package/jsonschema/operations/math.json +50 -0
  83. package/jsonschema/operations/otherwise.json +26 -0
  84. package/jsonschema/operations/remove-class.json +44 -0
  85. package/jsonschema/operations/remove-controller-from-element.json +54 -0
  86. package/jsonschema/operations/remove-element.json +26 -0
  87. package/jsonschema/operations/remove-properties-from-operation-data.json +43 -0
  88. package/jsonschema/operations/reparent-element.json +43 -0
  89. package/jsonschema/operations/request-action.json +43 -0
  90. package/jsonschema/operations/select-element.json +49 -0
  91. package/jsonschema/operations/set-data.json +43 -0
  92. package/jsonschema/operations/set-element-attributes.json +43 -0
  93. package/jsonschema/operations/set-element-content.json +43 -0
  94. package/jsonschema/operations/set-global-data.json +43 -0
  95. package/jsonschema/operations/set-operation-data.json +49 -0
  96. package/jsonschema/operations/set-style.json +43 -0
  97. package/jsonschema/operations/set-variable.json +54 -0
  98. package/jsonschema/operations/start-action.json +41 -0
  99. package/jsonschema/operations/toggle-class.json +44 -0
  100. package/jsonschema/operations/toggle-element.json +26 -0
  101. package/jsonschema/operations/wait.json +43 -0
  102. package/jsonschema/operations/when.json +43 -0
  103. package/jsonschema/timeline-action.json +353 -341
  104. package/package.json +2 -2
@@ -0,0 +1,44 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/for-each-operation.json",
5
+ "type": "object",
6
+ "title": "The forEach schema",
7
+ "description": "This operation iterates over the given collection.\n\nEach iteration the current item from the specified collection is\nassigned to the {@link IOperationScope.currentItem |currentItem} property on the {@link IOperationScope |operation scope}.\n\nAt the start of the loop, the associated {@link endForEach} operation is determined and when\nthe last iteration is completed the flow control is set to the index of that operation.\n\nThe {@link continueForEach |continue} and {@link breakForEach |break} operations can be used to control the \nloop iterations.",
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": "forEach"
25
+ },
26
+ "operationData": {
27
+ "$id": "#/properties/operationData",
28
+ "type": "object",
29
+ "title": "The Operationdata Schema",
30
+ "required": [
31
+ "collection"
32
+ ],
33
+ "properties": {
34
+ "collection": {
35
+ "$id": "#/properties/operationData/collection",
36
+ "type": [
37
+ "array",
38
+ "string"
39
+ ]
40
+ }
41
+ }
42
+ }
43
+ }
44
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/get-attributes-from-element-operation.json",
5
+ "type": "object",
6
+ "title": "The getAttributesFromElement schema",
7
+ "description": "This operation retrieves the values for the specified attribute names from 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": "getAttributesFromElement"
25
+ },
26
+ "operationData": {
27
+ "$id": "#/properties/operationData",
28
+ "type": "object",
29
+ "title": "The Operationdata Schema",
30
+ "required": [
31
+ "attributeNames"
32
+ ],
33
+ "properties": {
34
+ "attributeNames": {
35
+ "$id": "#/properties/operationData/attributeNames",
36
+ "type": [
37
+ "array"
38
+ ]
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/get-controller-from-element-operation.json",
5
+ "type": "object",
6
+ "title": "The getControllerFromElement schema",
7
+ "description": "This operation retrieves the controller instance with the specified name that is assigned to 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": "getControllerFromElement"
25
+ },
26
+ "operationData": {
27
+ "$id": "#/properties/operationData",
28
+ "type": "object",
29
+ "title": "The Operationdata Schema",
30
+ "required": [
31
+ "controllerName"
32
+ ],
33
+ "properties": {
34
+ "controllerName": {
35
+ "$id": "#/properties/operationData/controllerName",
36
+ "type": [
37
+ {
38
+ "type": "string",
39
+ "enum": [
40
+ "EventListenerController",
41
+ "LabelController",
42
+ "LottieController",
43
+ "NavigationController",
44
+ "ProgressbarController",
45
+ "RoutingController",
46
+ "SubtitlesController"
47
+ ]
48
+ }
49
+ ]
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/get-controller-instance-operation.json",
5
+ "type": "object",
6
+ "title": "The getControllerInstance schema",
7
+ "description": "This operation retrieves an instance of the given controller name.\nIt assigns this instance to the `controllerInstance` property on 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": "getControllerInstance"
25
+ },
26
+ "operationData": {
27
+ "$id": "#/properties/operationData",
28
+ "type": "object",
29
+ "title": "The Operationdata Schema",
30
+ "required": [
31
+ "systemName"
32
+ ],
33
+ "properties": {
34
+ "systemName": {
35
+ "$id": "#/properties/operationData/systemName",
36
+ "type": "array"
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/get-element-dimensions-operation.json",
5
+ "type": "object",
6
+ "title": "The getElementDimensions schema",
7
+ "description": "This operation calculates the width and height of the given selected element.\nIt assigns this struct to the dimensions property on the current operation data.\nOptionally the width and height can be modified using the given modifier string.\n\nThe modifier string is formatted in the following way:\n\n<operator><amount><optional-side><optional-precentage>|<ratio-definition>\n\nWhere the ratio modifier is formatted in the following way:\n<side>[ar=<ratio-left>-<ratio-right>]\n\nFor example, this modifier '+100h|w[ar=8-1]' will modifiy the dimensions like this:\nit will add a value of 100 to the height and modify the width by a ratio of 8 to 1 relative to the height.",
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": "getElementDimensions"
25
+ },
26
+ "operationData": {
27
+ "$id": "#/properties/operationData",
28
+ "type": "object",
29
+ "title": "The Operationdata Schema",
30
+ "required": [],
31
+ "properties": {
32
+ "modifier": {
33
+ "$id": "#/properties/operationData/modifier",
34
+ "type": [
35
+ "string"
36
+ ]
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/get-import-operation.json",
5
+ "type": "object",
6
+ "title": "The getImport schema",
7
+ "description": "This operation retrieves the import specified by the given `systemName` and\nassigns it to the `importedInstance` property on the current operaton date.",
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": "getImport"
25
+ },
26
+ "operationData": {
27
+ "$id": "#/properties/operationData",
28
+ "type": "object",
29
+ "title": "The Operationdata Schema",
30
+ "required": [
31
+ "systemName"
32
+ ],
33
+ "properties": {
34
+ "systemName": {
35
+ "$id": "#/properties/operationData/systemName",
36
+ "type": [
37
+ "string"
38
+ ]
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/get-query-params-operation.json",
5
+ "type": "object",
6
+ "title": "The getQueryParams schema",
7
+ "description": "This operation retrieves the current query parameters from the browser's address bar and places\nthem on the returned 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": "getQueryParams"
25
+ },
26
+ "operationData": {
27
+ "$id": "#/properties/operationData",
28
+ "type": "object",
29
+ "title": "The Operationdata Schema",
30
+ "required": [],
31
+ "properties": {
32
+ "defaultValues": {
33
+ "$id": "#/properties/operationData/defaultValues",
34
+ "type": [
35
+ "object"
36
+ ]
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/invoke-object-method-operation.json",
5
+ "type": "object",
6
+ "title": "The invokeObjectMethod schema",
7
+ "description": "This operation invokes the specified method on the given object with the given optional arguments\nand assigns the result to the `methodResult` operationdata property.",
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": "invokeObjectMethod"
25
+ },
26
+ "operationData": {
27
+ "$id": "#/properties/operationData",
28
+ "type": "object",
29
+ "title": "The Operationdata Schema",
30
+ "required": [
31
+ "methodName"
32
+ ],
33
+ "properties": {
34
+ "methodName": {
35
+ "$id": "#/properties/operationData/methodName",
36
+ "type": [
37
+ "string"
38
+ ]
39
+ },
40
+ "methodArguments": {
41
+ "$id": "#/properties/operationData/methodArguments",
42
+ "type": [
43
+ "array"
44
+ ]
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/load-json-operation.json",
5
+ "type": "object",
6
+ "title": "The loadJson schema",
7
+ "description": "This operation loads a JSON file from the specified url and assigns it to the json\nproperty on the current operation data.\n\nIf the cache property is set to true and a cached value already exists, this is assigned\ninstead of re-retrieving it from the url.",
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": "loadJson"
25
+ },
26
+ "operationData": {
27
+ "$id": "#/properties/operationData",
28
+ "type": "object",
29
+ "title": "The Operationdata Schema",
30
+ "required": [
31
+ "url"
32
+ ],
33
+ "properties": {
34
+ "url": {
35
+ "$id": "#/properties/operationData/url",
36
+ "type": [
37
+ "string"
38
+ ]
39
+ },
40
+ "cache": {
41
+ "$id": "#/properties/operationData/cache",
42
+ "type": [
43
+ "boolean"
44
+ ]
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/log-operation.json",
5
+ "type": "object",
6
+ "title": "The log schema",
7
+ "description": "This operation logs the specified value, or, when no logValue property has been assigned\nit will log the current operation data, global data and scope to the console",
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": "log"
25
+ },
26
+ "operationData": {
27
+ "$id": "#/properties/operationData",
28
+ "type": "object",
29
+ "title": "The Operationdata Schema",
30
+ "required": [],
31
+ "properties": {
32
+ "logValue": {
33
+ "$id": "#/properties/operationData/logValue",
34
+ "type": [
35
+ "object",
36
+ "string",
37
+ "number",
38
+ "boolean",
39
+ "array"
40
+ ]
41
+ },
42
+ "logName": {
43
+ "$id": "#/properties/operationData/logName",
44
+ "type": [
45
+ "string"
46
+ ]
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/math-operation.json",
5
+ "type": "object",
6
+ "title": "The math schema",
7
+ "description": "This operation performs the given math function with the specified arguments.",
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": "math"
25
+ },
26
+ "operationData": {
27
+ "$id": "#/properties/operationData",
28
+ "type": "object",
29
+ "title": "The Operationdata Schema",
30
+ "required": [
31
+ "args",
32
+ "functionName"
33
+ ],
34
+ "properties": {
35
+ "args": {
36
+ "$id": "#/properties/operationData/args",
37
+ "type": [
38
+ "array"
39
+ ]
40
+ },
41
+ "functionName": {
42
+ "$id": "#/properties/operationData/functionName",
43
+ "type": [
44
+ "string"
45
+ ]
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/otherwise-operation.json",
5
+ "type": "object",
6
+ "title": "The otherwise schema",
7
+ "description": "If the preceeding {@link when} operation evaluates to `true` subsequent operations will\nbe skipped until an {@link endWhen} operation is encountered.",
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": "otherwise"
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/remove-class-operation.json",
5
+ "type": "object",
6
+ "title": "The removeClass schema",
7
+ "description": "This operation removes the spcified class name from 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": "removeClass"
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,54 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/remove-controller-from-element-operation.json",
5
+ "type": "object",
6
+ "title": "The removeControllerFromElement schema",
7
+ "description": "This operation removes the controller with the specified name from 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": "removeControllerFromElement"
25
+ },
26
+ "operationData": {
27
+ "$id": "#/properties/operationData",
28
+ "type": "object",
29
+ "title": "The Operationdata Schema",
30
+ "required": [
31
+ "controllerName"
32
+ ],
33
+ "properties": {
34
+ "controllerName": {
35
+ "$id": "#/properties/operationData/controllerName",
36
+ "type": [
37
+ {
38
+ "type": "string",
39
+ "enum": [
40
+ "EventListenerController",
41
+ "LabelController",
42
+ "LottieController",
43
+ "NavigationController",
44
+ "ProgressbarController",
45
+ "RoutingController",
46
+ "SubtitlesController"
47
+ ]
48
+ }
49
+ ]
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/remove-element-operation.json",
5
+ "type": "object",
6
+ "title": "The removeElement schema",
7
+ "description": "This operation removes the given selected element from the DOM.",
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": "removeElement"
24
+ }
25
+ }
26
+ }