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.
Files changed (98) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/jsonschema/endable-action-template.json +326 -326
  3. package/jsonschema/endable-action.json +326 -326
  4. package/jsonschema/event-action.json +193 -193
  5. package/jsonschema/operation-templates/add-class.json +40 -0
  6. package/jsonschema/operation-templates/add-controller-to-element.json +26 -0
  7. package/jsonschema/operation-templates/add-globals-to-operation.json +39 -0
  8. package/jsonschema/operation-templates/animate-with-class.json +46 -0
  9. package/jsonschema/operation-templates/animate.json +51 -0
  10. package/jsonschema/operation-templates/broadcast-event.json +51 -0
  11. package/jsonschema/operation-templates/calc.json +49 -0
  12. package/jsonschema/operation-templates/clear-element.json +26 -0
  13. package/jsonschema/operation-templates/clear-operation-data.json +39 -0
  14. package/jsonschema/operation-templates/create-element.json +158 -0
  15. package/jsonschema/operation-templates/custom-function.json +39 -0
  16. package/jsonschema/operation-templates/end-action.json +39 -0
  17. package/jsonschema/operation-templates/end-for-each.json +26 -0
  18. package/jsonschema/operation-templates/end-when.json +26 -0
  19. package/jsonschema/operation-templates/extend-controller.json +39 -0
  20. package/jsonschema/operation-templates/for-each.json +40 -0
  21. package/jsonschema/operation-templates/get-attributes-from-element.json +39 -0
  22. package/jsonschema/operation-templates/get-controller-from-element.json +50 -0
  23. package/jsonschema/operation-templates/get-controller-instance.json +37 -0
  24. package/jsonschema/operation-templates/get-element-dimensions.json +39 -0
  25. package/jsonschema/operation-templates/get-import.json +39 -0
  26. package/jsonschema/operation-templates/get-query-params.json +39 -0
  27. package/jsonschema/operation-templates/invoke-object-method.json +45 -0
  28. package/jsonschema/operation-templates/load-json.json +45 -0
  29. package/jsonschema/operation-templates/log.json +39 -0
  30. package/jsonschema/operation-templates/math.json +45 -0
  31. package/jsonschema/operation-templates/otherwise.json +26 -0
  32. package/jsonschema/operation-templates/remove-class.json +40 -0
  33. package/jsonschema/operation-templates/remove-controller-from-element.json +50 -0
  34. package/jsonschema/operation-templates/remove-element.json +26 -0
  35. package/jsonschema/operation-templates/remove-properties-from-operation-data.json +39 -0
  36. package/jsonschema/operation-templates/reparent-element.json +39 -0
  37. package/jsonschema/operation-templates/request-action.json +39 -0
  38. package/jsonschema/operation-templates/select-element.json +45 -0
  39. package/jsonschema/operation-templates/set-data.json +39 -0
  40. package/jsonschema/operation-templates/set-element-attributes.json +39 -0
  41. package/jsonschema/operation-templates/set-element-content.json +41 -0
  42. package/jsonschema/operation-templates/set-global-data.json +39 -0
  43. package/jsonschema/operation-templates/set-operation-data.json +45 -0
  44. package/jsonschema/operation-templates/set-style.json +39 -0
  45. package/jsonschema/operation-templates/set-variable.json +45 -0
  46. package/jsonschema/operation-templates/start-action.json +39 -0
  47. package/jsonschema/operation-templates/toggle-class.json +40 -0
  48. package/jsonschema/operation-templates/toggle-element.json +26 -0
  49. package/jsonschema/operation-templates/wait.json +39 -0
  50. package/jsonschema/operation-templates/when.json +39 -0
  51. package/jsonschema/operations/add-class.json +44 -0
  52. package/jsonschema/operations/add-controller-to-element.json +26 -0
  53. package/jsonschema/operations/add-globals-to-operation.json +43 -0
  54. package/jsonschema/operations/animate-with-class.json +50 -0
  55. package/jsonschema/operations/animate.json +56 -0
  56. package/jsonschema/operations/broadcast-event.json +56 -0
  57. package/jsonschema/operations/calc.json +55 -0
  58. package/jsonschema/operations/clear-element.json +26 -0
  59. package/jsonschema/operations/clear-operation-data.json +41 -0
  60. package/jsonschema/operations/create-element.json +162 -0
  61. package/jsonschema/operations/custom-function.json +43 -0
  62. package/jsonschema/operations/end-action.json +43 -0
  63. package/jsonschema/operations/end-for-each.json +26 -0
  64. package/jsonschema/operations/end-when.json +26 -0
  65. package/jsonschema/operations/extend-controller.json +43 -0
  66. package/jsonschema/operations/for-each.json +44 -0
  67. package/jsonschema/operations/get-attributes-from-element.json +43 -0
  68. package/jsonschema/operations/get-controller-from-element.json +54 -0
  69. package/jsonschema/operations/get-controller-instance.json +41 -0
  70. package/jsonschema/operations/get-element-dimensions.json +41 -0
  71. package/jsonschema/operations/get-import.json +43 -0
  72. package/jsonschema/operations/get-query-params.json +41 -0
  73. package/jsonschema/operations/invoke-object-method.json +49 -0
  74. package/jsonschema/operations/load-json.json +49 -0
  75. package/jsonschema/operations/log.json +41 -0
  76. package/jsonschema/operations/math.json +50 -0
  77. package/jsonschema/operations/otherwise.json +26 -0
  78. package/jsonschema/operations/remove-class.json +44 -0
  79. package/jsonschema/operations/remove-controller-from-element.json +54 -0
  80. package/jsonschema/operations/remove-element.json +26 -0
  81. package/jsonschema/operations/remove-properties-from-operation-data.json +43 -0
  82. package/jsonschema/operations/reparent-element.json +43 -0
  83. package/jsonschema/operations/request-action.json +43 -0
  84. package/jsonschema/operations/select-element.json +49 -0
  85. package/jsonschema/operations/set-data.json +43 -0
  86. package/jsonschema/operations/set-element-attributes.json +43 -0
  87. package/jsonschema/operations/set-element-content.json +43 -0
  88. package/jsonschema/operations/set-global-data.json +43 -0
  89. package/jsonschema/operations/set-operation-data.json +49 -0
  90. package/jsonschema/operations/set-style.json +43 -0
  91. package/jsonschema/operations/set-variable.json +50 -0
  92. package/jsonschema/operations/start-action.json +41 -0
  93. package/jsonschema/operations/toggle-class.json +44 -0
  94. package/jsonschema/operations/toggle-element.json +26 -0
  95. package/jsonschema/operations/wait.json +43 -0
  96. package/jsonschema/operations/when.json +43 -0
  97. package/jsonschema/timeline-action.json +341 -341
  98. package/package.json +2 -2
@@ -1,194 +1,194 @@
1
- {
2
- "definitions": {},
3
- "$schema": "http://json-schema.org/draft-07/schema#",
4
- "$id": "https://rolandzwaga.github.io/eligius/jsonschema/event-action.json",
5
- "type": "object",
6
- "title": "The Event Action Schema",
7
- "required": [
8
- "name",
9
- "startOperations",
10
- "eventName"
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
- "eventName": {
23
- "$id": "#/properties/eventName",
24
- "type": "string",
25
- "title": "The eventName Schema",
26
- "examples": [
27
- "PLAY_TOGGLE_REQUEST"
28
- ]
29
- },
30
- "eventTopic": {
31
- "$id": "#/properties/eventTopic",
32
- "type": "string",
33
- "title": "The eventTopic Schema",
34
- "examples": [
35
- "SOME_UNIQUE_STRING"
36
- ]
37
- },
38
- "name": {
39
- "$id": "#/properties/name",
40
- "type": "string",
41
- "title": "The Name Schema",
42
- "examples": [
43
- "ProgressbarSetup"
44
- ]
45
- },
46
- "startOperations": {
47
- "$id": "#/properties/startOperations",
48
- "type": "array",
49
- "title": "The Startoperations Schema",
50
- "items": {
51
- "anyOf": [
52
- {
53
- "$ref": "operations/add-class.json"
54
- },
55
- {
56
- "$ref": "operations/add-controller-to-element.json"
57
- },
58
- {
59
- "$ref": "operations/add-globals-to-operation.json"
60
- },
61
- {
62
- "$ref": "operations/animate.json"
63
- },
64
- {
65
- "$ref": "operations/animate-with-class.json"
66
- },
67
- {
68
- "$ref": "operations/broadcast-event.json"
69
- },
70
- {
71
- "$ref": "operations/calc.json"
72
- },
73
- {
74
- "$ref": "operations/clear-element.json"
75
- },
76
- {
77
- "$ref": "operations/clear-operation-data.json"
78
- },
79
- {
80
- "$ref": "operations/create-element.json"
81
- },
82
- {
83
- "$ref": "operations/custom-function.json"
84
- },
85
- {
86
- "$ref": "operations/end-action.json"
87
- },
88
- {
89
- "$ref": "operations/end-for-each.json"
90
- },
91
- {
92
- "$ref": "operations/end-when.json"
93
- },
94
- {
95
- "$ref": "operations/extend-controller.json"
96
- },
97
- {
98
- "$ref": "operations/for-each.json"
99
- },
100
- {
101
- "$ref": "operations/get-attributes-from-element.json"
102
- },
103
- {
104
- "$ref": "operations/get-controller-from-element.json"
105
- },
106
- {
107
- "$ref": "operations/get-controller-instance.json"
108
- },
109
- {
110
- "$ref": "operations/get-element-dimensions.json"
111
- },
112
- {
113
- "$ref": "operations/get-import.json"
114
- },
115
- {
116
- "$ref": "operations/get-query-params.json"
117
- },
118
- {
119
- "$ref": "operations/invoke-object-method.json"
120
- },
121
- {
122
- "$ref": "operations/load-json.json"
123
- },
124
- {
125
- "$ref": "operations/log.json"
126
- },
127
- {
128
- "$ref": "operations/math.json"
129
- },
130
- {
131
- "$ref": "operations/otherwise.json"
132
- },
133
- {
134
- "$ref": "operations/remove-class.json"
135
- },
136
- {
137
- "$ref": "operations/remove-controller-from-element.json"
138
- },
139
- {
140
- "$ref": "operations/remove-element.json"
141
- },
142
- {
143
- "$ref": "operations/remove-properties-from-operation-data.json"
144
- },
145
- {
146
- "$ref": "operations/reparent-element.json"
147
- },
148
- {
149
- "$ref": "operations/request-action.json"
150
- },
151
- {
152
- "$ref": "operations/select-element.json"
153
- },
154
- {
155
- "$ref": "operations/set-data.json"
156
- },
157
- {
158
- "$ref": "operations/set-element-attributes.json"
159
- },
160
- {
161
- "$ref": "operations/set-element-content.json"
162
- },
163
- {
164
- "$ref": "operations/set-global-data.json"
165
- },
166
- {
167
- "$ref": "operations/set-operation-data.json"
168
- },
169
- {
170
- "$ref": "operations/set-style.json"
171
- },
172
- {
173
- "$ref": "operations/set-variable.json"
174
- },
175
- {
176
- "$ref": "operations/start-action.json"
177
- },
178
- {
179
- "$ref": "operations/toggle-class.json"
180
- },
181
- {
182
- "$ref": "operations/toggle-element.json"
183
- },
184
- {
185
- "$ref": "operations/wait.json"
186
- },
187
- {
188
- "$ref": "operations/when.json"
189
- }
190
- ]
191
- }
192
- }
193
- }
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "https://rolandzwaga.github.io/eligius/jsonschema/event-action.json",
5
+ "type": "object",
6
+ "title": "The Event Action Schema",
7
+ "required": [
8
+ "name",
9
+ "startOperations",
10
+ "eventName"
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
+ "eventName": {
23
+ "$id": "#/properties/eventName",
24
+ "type": "string",
25
+ "title": "The eventName Schema",
26
+ "examples": [
27
+ "PLAY_TOGGLE_REQUEST"
28
+ ]
29
+ },
30
+ "eventTopic": {
31
+ "$id": "#/properties/eventTopic",
32
+ "type": "string",
33
+ "title": "The eventTopic Schema",
34
+ "examples": [
35
+ "SOME_UNIQUE_STRING"
36
+ ]
37
+ },
38
+ "name": {
39
+ "$id": "#/properties/name",
40
+ "type": "string",
41
+ "title": "The Name Schema",
42
+ "examples": [
43
+ "ProgressbarSetup"
44
+ ]
45
+ },
46
+ "startOperations": {
47
+ "$id": "#/properties/startOperations",
48
+ "type": "array",
49
+ "title": "The Startoperations Schema",
50
+ "items": {
51
+ "anyOf": [
52
+ {
53
+ "$ref": "operations/add-class.json"
54
+ },
55
+ {
56
+ "$ref": "operations/add-controller-to-element.json"
57
+ },
58
+ {
59
+ "$ref": "operations/add-globals-to-operation.json"
60
+ },
61
+ {
62
+ "$ref": "operations/animate.json"
63
+ },
64
+ {
65
+ "$ref": "operations/animate-with-class.json"
66
+ },
67
+ {
68
+ "$ref": "operations/broadcast-event.json"
69
+ },
70
+ {
71
+ "$ref": "operations/calc.json"
72
+ },
73
+ {
74
+ "$ref": "operations/clear-element.json"
75
+ },
76
+ {
77
+ "$ref": "operations/clear-operation-data.json"
78
+ },
79
+ {
80
+ "$ref": "operations/create-element.json"
81
+ },
82
+ {
83
+ "$ref": "operations/custom-function.json"
84
+ },
85
+ {
86
+ "$ref": "operations/end-action.json"
87
+ },
88
+ {
89
+ "$ref": "operations/end-for-each.json"
90
+ },
91
+ {
92
+ "$ref": "operations/end-when.json"
93
+ },
94
+ {
95
+ "$ref": "operations/extend-controller.json"
96
+ },
97
+ {
98
+ "$ref": "operations/for-each.json"
99
+ },
100
+ {
101
+ "$ref": "operations/get-attributes-from-element.json"
102
+ },
103
+ {
104
+ "$ref": "operations/get-controller-from-element.json"
105
+ },
106
+ {
107
+ "$ref": "operations/get-controller-instance.json"
108
+ },
109
+ {
110
+ "$ref": "operations/get-element-dimensions.json"
111
+ },
112
+ {
113
+ "$ref": "operations/get-import.json"
114
+ },
115
+ {
116
+ "$ref": "operations/get-query-params.json"
117
+ },
118
+ {
119
+ "$ref": "operations/invoke-object-method.json"
120
+ },
121
+ {
122
+ "$ref": "operations/load-json.json"
123
+ },
124
+ {
125
+ "$ref": "operations/log.json"
126
+ },
127
+ {
128
+ "$ref": "operations/math.json"
129
+ },
130
+ {
131
+ "$ref": "operations/otherwise.json"
132
+ },
133
+ {
134
+ "$ref": "operations/remove-class.json"
135
+ },
136
+ {
137
+ "$ref": "operations/remove-controller-from-element.json"
138
+ },
139
+ {
140
+ "$ref": "operations/remove-element.json"
141
+ },
142
+ {
143
+ "$ref": "operations/remove-properties-from-operation-data.json"
144
+ },
145
+ {
146
+ "$ref": "operations/reparent-element.json"
147
+ },
148
+ {
149
+ "$ref": "operations/request-action.json"
150
+ },
151
+ {
152
+ "$ref": "operations/select-element.json"
153
+ },
154
+ {
155
+ "$ref": "operations/set-data.json"
156
+ },
157
+ {
158
+ "$ref": "operations/set-element-attributes.json"
159
+ },
160
+ {
161
+ "$ref": "operations/set-element-content.json"
162
+ },
163
+ {
164
+ "$ref": "operations/set-global-data.json"
165
+ },
166
+ {
167
+ "$ref": "operations/set-operation-data.json"
168
+ },
169
+ {
170
+ "$ref": "operations/set-style.json"
171
+ },
172
+ {
173
+ "$ref": "operations/set-variable.json"
174
+ },
175
+ {
176
+ "$ref": "operations/start-action.json"
177
+ },
178
+ {
179
+ "$ref": "operations/toggle-class.json"
180
+ },
181
+ {
182
+ "$ref": "operations/toggle-element.json"
183
+ },
184
+ {
185
+ "$ref": "operations/wait.json"
186
+ },
187
+ {
188
+ "$ref": "operations/when.json"
189
+ }
190
+ ]
191
+ }
192
+ }
193
+ }
194
194
  }
@@ -0,0 +1,40 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/add-class-operation.json",
5
+ "type": "object",
6
+ "title": "The addClass schema",
7
+ "description": "This operation adds the specified class name to the specified 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": "addClass"
24
+ },
25
+ "operationData": {
26
+ "$id": "#/properties/operationData",
27
+ "type": "object",
28
+ "title": "The Operationdata Schema",
29
+ "properties": {
30
+ "className": {
31
+ "$id": "#/properties/operationData/className",
32
+ "type": [
33
+ "string"
34
+ ],
35
+ "pattern": ".-?[_a-zA-Z]+[_a-zA-Z0-9-]*"
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/add-controller-to-element-operation.json",
5
+ "type": "object",
6
+ "title": "The addControllerToElement schema",
7
+ "description": "This operation adds the specified controller instance 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": "addControllerToElement"
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/add-globals-to-operation-operation.json",
5
+ "type": "object",
6
+ "title": "The addGlobalsToOperation schema",
7
+ "description": "This operation adds the specified global property names to the current operation data.\nIt finally removes the `globalProperties` property 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": "addGlobalsToOperation"
24
+ },
25
+ "operationData": {
26
+ "$id": "#/properties/operationData",
27
+ "type": "object",
28
+ "title": "The Operationdata Schema",
29
+ "properties": {
30
+ "globalProperties": {
31
+ "$id": "#/properties/operationData/globalProperties",
32
+ "type": [
33
+ "array"
34
+ ]
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/animate-with-class-operation.json",
5
+ "type": "object",
6
+ "title": "The animateWithClass schema",
7
+ "description": "This operation adds the specified class name to the specified selected element and assumes that this\nclass triggers and animation on the selected element. It then waits for this animation to complete\nbefore it resolves.",
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": "animateWithClass"
24
+ },
25
+ "operationData": {
26
+ "$id": "#/properties/operationData",
27
+ "type": "object",
28
+ "title": "The Operationdata Schema",
29
+ "properties": {
30
+ "className": {
31
+ "$id": "#/properties/operationData/className",
32
+ "type": [
33
+ "string"
34
+ ],
35
+ "pattern": ".-?[_a-zA-Z]+[_a-zA-Z0-9-]*"
36
+ },
37
+ "removeClass": {
38
+ "$id": "#/properties/operationData/removeClass",
39
+ "type": [
40
+ "boolean"
41
+ ]
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "definitions": {},
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "http://eligius.com/schema/animate-operation.json",
5
+ "type": "object",
6
+ "title": "The animate schema",
7
+ "description": "This operation animates the specified selected element with the given [jQuery animation](https://api.jquery.com/animate/) properties, duration and easing.\nIt resolves after the animation completes.",
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": "animate"
24
+ },
25
+ "operationData": {
26
+ "$id": "#/properties/operationData",
27
+ "type": "object",
28
+ "title": "The Operationdata Schema",
29
+ "properties": {
30
+ "animationEasing": {
31
+ "$id": "#/properties/operationData/animationEasing",
32
+ "type": [
33
+ "boolean"
34
+ ]
35
+ },
36
+ "animationProperties": {
37
+ "$id": "#/properties/operationData/animationProperties",
38
+ "type": [
39
+ "object"
40
+ ]
41
+ },
42
+ "animationDuration": {
43
+ "$id": "#/properties/operationData/animationDuration",
44
+ "type": [
45
+ "number"
46
+ ]
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
@@ -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
+ }