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,51 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/broadcast-event-operation.json",
5
+ "type": "object",
6
+ "title": "The broadcastEvent schema",
7
+ "description": "This operation broadcasts the given event through the eventbus, along with the\nevent arguments and optional event topic.",
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": "broadcastEvent"
24
+ },
25
+ "operationData": {
26
+ "$id": "#/properties/operationData",
27
+ "type": "object",
28
+ "title": "The Operationdata Schema",
29
+ "properties": {
30
+ "eventArgs": {
31
+ "$id": "#/properties/operationData/eventArgs",
32
+ "type": [
33
+ "array"
34
+ ]
35
+ },
36
+ "eventTopic": {
37
+ "$id": "#/properties/operationData/eventTopic",
38
+ "type": [
39
+ "string"
40
+ ]
41
+ },
42
+ "eventName": {
43
+ "$id": "#/properties/operationData/eventName",
44
+ "type": [
45
+ "string"
46
+ ]
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/calc-operation.json",
5
+ "type": "object",
6
+ "title": "The calc schema",
7
+ "description": "This operation calculates the given left and right hand operands using the specified operator.",
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": "calc"
24
+ },
25
+ "operationData": {
26
+ "$id": "#/properties/operationData",
27
+ "type": "object",
28
+ "title": "The Operationdata Schema",
29
+ "properties": {
30
+ "left": {
31
+ "$id": "#/properties/operationData/left",
32
+ "type": [
33
+ "number"
34
+ ]
35
+ },
36
+ "right": {
37
+ "$id": "#/properties/operationData/right",
38
+ "type": [
39
+ "number"
40
+ ]
41
+ },
42
+ "operator": {
43
+ "$id": "#/properties/operationData/operator",
44
+ "type": "array"
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/clear-element-operation.json",
5
+ "type": "object",
6
+ "title": "The clearElement schema",
7
+ "description": "This operation removes all of the children from the given selected element.",
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": "clearElement"
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/clear-operation-data-operation.json",
5
+ "type": "object",
6
+ "title": "The clearOperationData schema",
7
+ "description": "This operation removes all of the properties on the current operation date.\nOr, if the `properties` property is set only removes the properties defined by that list.",
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": "clearOperationData"
24
+ },
25
+ "operationData": {
26
+ "$id": "#/properties/operationData",
27
+ "type": "object",
28
+ "title": "The Operationdata Schema",
29
+ "properties": {
30
+ "properties": {
31
+ "$id": "#/properties/operationData/properties",
32
+ "type": [
33
+ "array"
34
+ ]
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/continue-for-each-operation.json",
5
+ "type": "object",
6
+ "title": "The continueForEach schema",
7
+ "description": "\nThis operation should only be used within a loop, so between a {@link forEach} and {@link endForEach}\noperation. This operation immediately moves to the next loop index, effectively canceling the rest \nof the operations in the current iteration.",
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": "continueForEach"
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,158 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/create-element-operation.json",
5
+ "type": "object",
6
+ "title": "The createElement schema",
7
+ "description": "This operation creates the DOM element described by the given elementName and attributes and assigns\nthe instance to the `template` property on the current operation data.",
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": "createElement"
24
+ },
25
+ "operationData": {
26
+ "$id": "#/properties/operationData",
27
+ "type": "object",
28
+ "title": "The Operationdata Schema",
29
+ "properties": {
30
+ "elementName": {
31
+ "$id": "#/properties/operationData/elementName",
32
+ "type": [
33
+ {
34
+ "type": "string",
35
+ "enum": [
36
+ "a",
37
+ "abbr",
38
+ "address",
39
+ "area",
40
+ "article",
41
+ "aside",
42
+ "audio",
43
+ "b",
44
+ "base",
45
+ "bdi",
46
+ "bdo",
47
+ "blockquote",
48
+ "body",
49
+ "br",
50
+ "button",
51
+ "canvas",
52
+ "caption",
53
+ "cite",
54
+ "code",
55
+ "col",
56
+ "colgroup",
57
+ "data",
58
+ "datalist",
59
+ "dd",
60
+ "del",
61
+ "details",
62
+ "dfn",
63
+ "dialog",
64
+ "div",
65
+ "dl",
66
+ "dt",
67
+ "em",
68
+ "embed",
69
+ "fieldset",
70
+ "figcaption",
71
+ "figure",
72
+ "footer",
73
+ "form",
74
+ "h1,",
75
+ "head",
76
+ "header",
77
+ "hr",
78
+ "html",
79
+ "i",
80
+ "iframe",
81
+ "img",
82
+ "input",
83
+ "ins",
84
+ "kbd",
85
+ "keygen",
86
+ "label",
87
+ "legend",
88
+ "li",
89
+ "link",
90
+ "main",
91
+ "map",
92
+ "mark",
93
+ "meta",
94
+ "meter",
95
+ "nav",
96
+ "noscript",
97
+ "object",
98
+ "ol",
99
+ "optgroup",
100
+ "option",
101
+ "output",
102
+ "p",
103
+ "param",
104
+ "pre",
105
+ "progress",
106
+ "q",
107
+ "rp",
108
+ "rt",
109
+ "ruby",
110
+ "s",
111
+ "samp",
112
+ "script",
113
+ "section",
114
+ "select",
115
+ "small",
116
+ "source",
117
+ "span",
118
+ "strong",
119
+ "style",
120
+ "sub",
121
+ "summary",
122
+ "sup",
123
+ "table",
124
+ "tbody",
125
+ "td",
126
+ "textarea",
127
+ "tfoot",
128
+ "th",
129
+ "thead",
130
+ "time",
131
+ "title",
132
+ "tr",
133
+ "track",
134
+ "u",
135
+ "ul",
136
+ "var",
137
+ "video",
138
+ "wbr"
139
+ ]
140
+ }
141
+ ]
142
+ },
143
+ "text": {
144
+ "$id": "#/properties/operationData/text",
145
+ "type": [
146
+ "string"
147
+ ]
148
+ },
149
+ "attributes": {
150
+ "$id": "#/properties/operationData/attributes",
151
+ "type": [
152
+ "object"
153
+ ]
154
+ }
155
+ }
156
+ }
157
+ }
158
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/custom-function-operation.json",
5
+ "type": "object",
6
+ "title": "The customFunction schema",
7
+ "description": "This operation retrieves a custom function defined by the given system name\nand invokes it with the current operation data and eventbus.",
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": "customFunction"
24
+ },
25
+ "operationData": {
26
+ "$id": "#/properties/operationData",
27
+ "type": "object",
28
+ "title": "The Operationdata Schema",
29
+ "properties": {
30
+ "systemName": {
31
+ "$id": "#/properties/operationData/systemName",
32
+ "type": [
33
+ "string"
34
+ ]
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/end-action-operation.json",
5
+ "type": "object",
6
+ "title": "The endAction schema",
7
+ "description": "This operation invokes the {@link EndableAction}.end method on the specified action instance.\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
+ ],
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": "endAction"
24
+ },
25
+ "operationData": {
26
+ "$id": "#/properties/operationData",
27
+ "type": "object",
28
+ "title": "The Operationdata Schema",
29
+ "properties": {
30
+ "actionOperationData": {
31
+ "$id": "#/properties/operationData/actionOperationData",
32
+ "type": [
33
+ "object"
34
+ ]
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/end-for-each-operation.json",
5
+ "type": "object",
6
+ "title": "The endForEach schema",
7
+ "description": "This operation checks if the current loop should end or start the next iteration.",
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": "endForEach"
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/end-when-operation.json",
5
+ "type": "object",
6
+ "title": "The endWhen schema",
7
+ "description": "This operation cleans up after the {@link when}/{@link otherwise}/{@link endWhen} control flow ends.",
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": "endWhen"
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/extend-controller-operation.json",
5
+ "type": "object",
6
+ "title": "The extendController schema",
7
+ "description": "Extends the current controller with given extension.",
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": "extendController"
24
+ },
25
+ "operationData": {
26
+ "$id": "#/properties/operationData",
27
+ "type": "object",
28
+ "title": "The Operationdata Schema",
29
+ "properties": {
30
+ "controllerExtension": {
31
+ "$id": "#/properties/operationData/controllerExtension",
32
+ "type": [
33
+ "object"
34
+ ]
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,40 @@
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
+ ],
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": "forEach"
24
+ },
25
+ "operationData": {
26
+ "$id": "#/properties/operationData",
27
+ "type": "object",
28
+ "title": "The Operationdata Schema",
29
+ "properties": {
30
+ "collection": {
31
+ "$id": "#/properties/operationData/collection",
32
+ "type": [
33
+ "array",
34
+ "string"
35
+ ]
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
@@ -0,0 +1,39 @@
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
+ ],
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": "getAttributesFromElement"
24
+ },
25
+ "operationData": {
26
+ "$id": "#/properties/operationData",
27
+ "type": "object",
28
+ "title": "The Operationdata Schema",
29
+ "properties": {
30
+ "attributeNames": {
31
+ "$id": "#/properties/operationData/attributeNames",
32
+ "type": [
33
+ "array"
34
+ ]
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,50 @@
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
+ ],
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": "getControllerFromElement"
24
+ },
25
+ "operationData": {
26
+ "$id": "#/properties/operationData",
27
+ "type": "object",
28
+ "title": "The Operationdata Schema",
29
+ "properties": {
30
+ "controllerName": {
31
+ "$id": "#/properties/operationData/controllerName",
32
+ "type": [
33
+ {
34
+ "type": "string",
35
+ "enum": [
36
+ "EventListenerController",
37
+ "LabelController",
38
+ "LottieController",
39
+ "NavigationController",
40
+ "ProgressbarController",
41
+ "RoutingController",
42
+ "SubtitlesController"
43
+ ]
44
+ }
45
+ ]
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }