@shotstack/schemas 1.7.0 → 1.7.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.
@@ -0,0 +1,400 @@
1
+ {
2
+ "name": "RichTextEffects",
3
+ "strict": true,
4
+ "schema": {
5
+ "type": "object",
6
+ "properties": {
7
+ "effects": {
8
+ "type": "array",
9
+ "items": {
10
+ "$ref": "#/$defs/RichTextEffect"
11
+ }
12
+ }
13
+ },
14
+ "additionalProperties": false,
15
+ "required": [
16
+ "effects"
17
+ ],
18
+ "$defs": {
19
+ "RichTextEffect": {
20
+ "type": "object",
21
+ "properties": {
22
+ "style": {
23
+ "anyOf": [
24
+ {
25
+ "$ref": "#/$defs/RichTextStyle"
26
+ },
27
+ {
28
+ "type": "null"
29
+ }
30
+ ]
31
+ },
32
+ "stroke": {
33
+ "anyOf": [
34
+ {
35
+ "$ref": "#/$defs/RichTextStroke"
36
+ },
37
+ {
38
+ "type": "null"
39
+ }
40
+ ]
41
+ },
42
+ "shadow": {
43
+ "anyOf": [
44
+ {
45
+ "$ref": "#/$defs/RichTextShadow"
46
+ },
47
+ {
48
+ "type": "null"
49
+ }
50
+ ]
51
+ },
52
+ "animation": {
53
+ "anyOf": [
54
+ {
55
+ "$ref": "#/$defs/RichTextAnimation"
56
+ },
57
+ {
58
+ "type": "null"
59
+ }
60
+ ]
61
+ }
62
+ },
63
+ "additionalProperties": false,
64
+ "required": [
65
+ "style",
66
+ "stroke",
67
+ "shadow",
68
+ "animation"
69
+ ]
70
+ },
71
+ "RichTextStyle": {
72
+ "properties": {
73
+ "letterSpacing": {
74
+ "anyOf": [
75
+ {
76
+ "type": "number"
77
+ },
78
+ {
79
+ "type": "null"
80
+ }
81
+ ]
82
+ },
83
+ "wordSpacing": {
84
+ "anyOf": [
85
+ {
86
+ "type": "number",
87
+ "minimum": 0
88
+ },
89
+ {
90
+ "type": "null"
91
+ }
92
+ ]
93
+ },
94
+ "lineHeight": {
95
+ "anyOf": [
96
+ {
97
+ "type": "number",
98
+ "minimum": 0,
99
+ "maximum": 10
100
+ },
101
+ {
102
+ "type": "null"
103
+ }
104
+ ]
105
+ },
106
+ "textTransform": {
107
+ "anyOf": [
108
+ {
109
+ "type": "string",
110
+ "enum": [
111
+ "none",
112
+ "uppercase",
113
+ "lowercase",
114
+ "capitalize"
115
+ ]
116
+ },
117
+ {
118
+ "type": "null"
119
+ }
120
+ ]
121
+ },
122
+ "textDecoration": {
123
+ "anyOf": [
124
+ {
125
+ "type": "string",
126
+ "enum": [
127
+ "none",
128
+ "underline",
129
+ "line-through"
130
+ ]
131
+ },
132
+ {
133
+ "type": "null"
134
+ }
135
+ ]
136
+ },
137
+ "gradient": {
138
+ "anyOf": [
139
+ {
140
+ "$ref": "#/$defs/RichTextGradient"
141
+ },
142
+ {
143
+ "type": "null"
144
+ }
145
+ ]
146
+ }
147
+ },
148
+ "additionalProperties": false,
149
+ "type": "object",
150
+ "required": [
151
+ "letterSpacing",
152
+ "wordSpacing",
153
+ "lineHeight",
154
+ "textTransform",
155
+ "textDecoration",
156
+ "gradient"
157
+ ]
158
+ },
159
+ "RichTextStroke": {
160
+ "properties": {
161
+ "width": {
162
+ "anyOf": [
163
+ {
164
+ "type": "number",
165
+ "minimum": 0
166
+ },
167
+ {
168
+ "type": "null"
169
+ }
170
+ ]
171
+ },
172
+ "color": {
173
+ "anyOf": [
174
+ {
175
+ "type": "string",
176
+ "enum": [
177
+ "#000000"
178
+ ]
179
+ },
180
+ {
181
+ "type": "null"
182
+ }
183
+ ]
184
+ },
185
+ "opacity": {
186
+ "anyOf": [
187
+ {
188
+ "type": "number",
189
+ "minimum": 0,
190
+ "maximum": 1
191
+ },
192
+ {
193
+ "type": "null"
194
+ }
195
+ ]
196
+ }
197
+ },
198
+ "additionalProperties": false,
199
+ "type": "object",
200
+ "required": [
201
+ "width",
202
+ "color",
203
+ "opacity"
204
+ ]
205
+ },
206
+ "RichTextShadow": {
207
+ "properties": {
208
+ "offsetX": {
209
+ "anyOf": [
210
+ {
211
+ "type": "number"
212
+ },
213
+ {
214
+ "type": "null"
215
+ }
216
+ ]
217
+ },
218
+ "offsetY": {
219
+ "anyOf": [
220
+ {
221
+ "type": "number"
222
+ },
223
+ {
224
+ "type": "null"
225
+ }
226
+ ]
227
+ },
228
+ "blur": {
229
+ "anyOf": [
230
+ {
231
+ "type": "number",
232
+ "minimum": 0
233
+ },
234
+ {
235
+ "type": "null"
236
+ }
237
+ ]
238
+ },
239
+ "color": {
240
+ "anyOf": [
241
+ {
242
+ "type": "string",
243
+ "enum": [
244
+ "#000000"
245
+ ]
246
+ },
247
+ {
248
+ "type": "null"
249
+ }
250
+ ]
251
+ },
252
+ "opacity": {
253
+ "anyOf": [
254
+ {
255
+ "type": "number",
256
+ "minimum": 0,
257
+ "maximum": 1
258
+ },
259
+ {
260
+ "type": "null"
261
+ }
262
+ ]
263
+ }
264
+ },
265
+ "additionalProperties": false,
266
+ "type": "object",
267
+ "required": [
268
+ "offsetX",
269
+ "offsetY",
270
+ "blur",
271
+ "color",
272
+ "opacity"
273
+ ]
274
+ },
275
+ "RichTextGradient": {
276
+ "properties": {
277
+ "type": {
278
+ "anyOf": [
279
+ {
280
+ "type": "string",
281
+ "enum": [
282
+ "linear",
283
+ "radial"
284
+ ]
285
+ },
286
+ {
287
+ "type": "null"
288
+ }
289
+ ]
290
+ },
291
+ "angle": {
292
+ "anyOf": [
293
+ {
294
+ "type": "number",
295
+ "minimum": 0,
296
+ "maximum": 360
297
+ },
298
+ {
299
+ "type": "null"
300
+ }
301
+ ]
302
+ },
303
+ "stops": {
304
+ "type": "array",
305
+ "items": {
306
+ "type": "object",
307
+ "properties": {
308
+ "offset": {
309
+ "type": "number",
310
+ "minimum": 0,
311
+ "maximum": 1
312
+ },
313
+ "color": {
314
+ "type": "string"
315
+ }
316
+ },
317
+ "required": [
318
+ "offset",
319
+ "color"
320
+ ],
321
+ "additionalProperties": false
322
+ }
323
+ }
324
+ },
325
+ "required": [
326
+ "type",
327
+ "angle",
328
+ "stops"
329
+ ],
330
+ "additionalProperties": false,
331
+ "type": "object"
332
+ },
333
+ "RichTextAnimation": {
334
+ "properties": {
335
+ "preset": {
336
+ "type": "string",
337
+ "enum": [
338
+ "fadeIn",
339
+ "slideIn",
340
+ "typewriter",
341
+ "ascend",
342
+ "shift",
343
+ "movingLetters"
344
+ ]
345
+ },
346
+ "duration": {
347
+ "anyOf": [
348
+ {
349
+ "type": "number",
350
+ "minimum": 0.1,
351
+ "maximum": 30
352
+ },
353
+ {
354
+ "type": "null"
355
+ }
356
+ ]
357
+ },
358
+ "style": {
359
+ "anyOf": [
360
+ {
361
+ "type": "string",
362
+ "enum": [
363
+ "character",
364
+ "word"
365
+ ]
366
+ },
367
+ {
368
+ "type": "null"
369
+ }
370
+ ]
371
+ },
372
+ "direction": {
373
+ "anyOf": [
374
+ {
375
+ "type": "string",
376
+ "enum": [
377
+ "left",
378
+ "right",
379
+ "up",
380
+ "down"
381
+ ]
382
+ },
383
+ {
384
+ "type": "null"
385
+ }
386
+ ]
387
+ }
388
+ },
389
+ "required": [
390
+ "preset",
391
+ "duration",
392
+ "style",
393
+ "direction"
394
+ ],
395
+ "additionalProperties": false,
396
+ "type": "object"
397
+ }
398
+ }
399
+ }
400
+ }
@@ -99,7 +99,37 @@
99
99
  "anyOf": [
100
100
  {
101
101
  "type": "string",
102
- "description": "The easing function to use for the animation. Easing controls the rate of change of the animated value, allowing for more natural motion by speeding up or slowing down the animation at different points. Only applicable if interpolation is set to `bezier`."
102
+ "description": "The easing function to use for the animation. Easing controls the rate of change of the animated value, allowing for more natural motion by speeding up or slowing down the animation at different points. Only applicable if interpolation is set to `bezier`.",
103
+ "enum": [
104
+ "ease",
105
+ "easeIn",
106
+ "easeOut",
107
+ "easeInOut",
108
+ "easeInQuad",
109
+ "easeInCubic",
110
+ "easeInQuart",
111
+ "easeInQuint",
112
+ "easeInSine",
113
+ "easeInExpo",
114
+ "easeInCirc",
115
+ "easeInBack",
116
+ "easeOutQuad",
117
+ "easeOutCubic",
118
+ "easeOutQuart",
119
+ "easeOutQuint",
120
+ "easeOutSine",
121
+ "easeOutExpo",
122
+ "easeOutCirc",
123
+ "easeOutBack",
124
+ "easeInOutQuad",
125
+ "easeInOutCubic",
126
+ "easeInOutQuart",
127
+ "easeInOutQuint",
128
+ "easeInOutSine",
129
+ "easeInOutExpo",
130
+ "easeInOutCirc",
131
+ "easeInOutBack"
132
+ ]
103
133
  },
104
134
  {
105
135
  "type": "null"
@@ -626,7 +626,37 @@
626
626
  "anyOf": [
627
627
  {
628
628
  "type": "string",
629
- "description": "The easing function to use for the animation. Easing controls the rate of change of the animated value, allowing for more natural motion by speeding up or slowing down the animation at different points. Only applicable if interpolation is set to `bezier`."
629
+ "description": "The easing function to use for the animation. Easing controls the rate of change of the animated value, allowing for more natural motion by speeding up or slowing down the animation at different points. Only applicable if interpolation is set to `bezier`.",
630
+ "enum": [
631
+ "ease",
632
+ "easeIn",
633
+ "easeOut",
634
+ "easeInOut",
635
+ "easeInQuad",
636
+ "easeInCubic",
637
+ "easeInQuart",
638
+ "easeInQuint",
639
+ "easeInSine",
640
+ "easeInExpo",
641
+ "easeInCirc",
642
+ "easeInBack",
643
+ "easeOutQuad",
644
+ "easeOutCubic",
645
+ "easeOutQuart",
646
+ "easeOutQuint",
647
+ "easeOutSine",
648
+ "easeOutExpo",
649
+ "easeOutCirc",
650
+ "easeOutBack",
651
+ "easeInOutQuad",
652
+ "easeInOutCubic",
653
+ "easeInOutQuart",
654
+ "easeInOutQuint",
655
+ "easeInOutSine",
656
+ "easeInOutExpo",
657
+ "easeInOutCirc",
658
+ "easeInOutBack"
659
+ ]
630
660
  },
631
661
  {
632
662
  "type": "null"
@@ -3879,7 +3909,31 @@
3879
3909
  "anyOf": [
3880
3910
  {
3881
3911
  "type": "string",
3882
- "description": "The transition in. Available transitions are:\n <ul>\n <li>`fade` - fade in</li>\n <li>`reveal` - reveal from left to right</li>\n <li>`wipeLeft` - fade across screen to the left</li>\n <li>`wipeRight` - fade across screen to the right</li>\n <li>`slideLeft` - move slightly left and fade in</li>\n <li>`slideRight` - move slightly right and fade in</li>\n <li>`slideUp` - move slightly up and fade in</li>\n <li>`slideDown` - move slightly down and fade in</li>\n <li>`carouselLeft` - slide in from right to left</li>\n <li>`carouselRight` - slide in from left to right</li>\n <li>`carouselUp` - slide in from bottom to top</li>\n <li>`carouselDown` - slide in from top to bottom</li>\n <li>`shuffleTopRight` - rotate in from top right</li>\n <li>`shuffleRightTop` - rotate in from right top</li>\n <li>`shuffleRightBottom` - rotate in from right bottom</li>\n <li>`shuffleBottomRight` - rotate in from bottom right</li>\n <li>`shuffleBottomLeft` - rotate in from bottom left</li>\n <li>`shuffleLeftBottom` - rotate in from left bottom</li>\n <li>`shuffleLeftTop` - rotate in from left top</li>\n <li>`shuffleTopLeft` - rotate in from top left</li>\n <li>`zoom` - fast zoom in</li>\n </ul>\nThe transition speed can also be controlled by appending `Fast` or `Slow` to the transition, e.g. `fadeFast` or `CarouselLeftSlow`."
3912
+ "description": "The transition in. Available transitions are:\n <ul>\n <li>`fade` - fade in</li>\n <li>`reveal` - reveal from left to right</li>\n <li>`wipeLeft` - fade across screen to the left</li>\n <li>`wipeRight` - fade across screen to the right</li>\n <li>`slideLeft` - move slightly left and fade in</li>\n <li>`slideRight` - move slightly right and fade in</li>\n <li>`slideUp` - move slightly up and fade in</li>\n <li>`slideDown` - move slightly down and fade in</li>\n <li>`carouselLeft` - slide in from right to left</li>\n <li>`carouselRight` - slide in from left to right</li>\n <li>`carouselUp` - slide in from bottom to top</li>\n <li>`carouselDown` - slide in from top to bottom</li>\n <li>`shuffleTopRight` - rotate in from top right</li>\n <li>`shuffleRightTop` - rotate in from right top</li>\n <li>`shuffleRightBottom` - rotate in from right bottom</li>\n <li>`shuffleBottomRight` - rotate in from bottom right</li>\n <li>`shuffleBottomLeft` - rotate in from bottom left</li>\n <li>`shuffleLeftBottom` - rotate in from left bottom</li>\n <li>`shuffleLeftTop` - rotate in from left top</li>\n <li>`shuffleTopLeft` - rotate in from top left</li>\n <li>`zoom` - fast zoom in</li>\n </ul>\nThe transition speed can also be controlled by appending `Fast` or `Slow` to the transition, e.g. `fadeFast` or `CarouselLeftSlow`.",
3913
+ "enum": [
3914
+ "none",
3915
+ "fade",
3916
+ "reveal",
3917
+ "wipeLeft",
3918
+ "wipeRight",
3919
+ "slideLeft",
3920
+ "slideRight",
3921
+ "slideUp",
3922
+ "slideDown",
3923
+ "carouselLeft",
3924
+ "carouselRight",
3925
+ "carouselUp",
3926
+ "carouselDown",
3927
+ "shuffleTopRight",
3928
+ "shuffleRightTop",
3929
+ "shuffleRightBottom",
3930
+ "shuffleBottomRight",
3931
+ "shuffleBottomLeft",
3932
+ "shuffleLeftBottom",
3933
+ "shuffleLeftTop",
3934
+ "shuffleTopLeft",
3935
+ "zoom"
3936
+ ]
3883
3937
  },
3884
3938
  {
3885
3939
  "type": "null"
@@ -3890,7 +3944,31 @@
3890
3944
  "anyOf": [
3891
3945
  {
3892
3946
  "type": "string",
3893
- "description": "The transition out. Available transitions are:\n <ul>\n <li>`fade` - fade out</li>\n <li>`reveal` - reveal from right to left</li>\n <li>`wipeLeft` - fade across screen to the left</li>\n <li>`wipeRight` - fade across screen to the right</li>\n <li>`slideLeft` - move slightly left and fade out</li>\n <li>`slideRight` - move slightly right and fade out</li>\n <li>`slideUp` - move slightly up and fade out</li>\n <li>`slideDown` - move slightly down and fade out</li>\n <li>`carouselLeft` - slide out from right to left</li>\n <li>`carouselRight` - slide out from left to right</li>\n <li>`carouselUp` - slide out from bottom to top</li>\n <li>`carouselDown` - slide out from top to bottom</li>\n <li>`shuffleTopRight` - rotate out from top right</li>\n <li>`shuffleRightTop` - rotate out from right top</li>\n <li>`shuffleRightBottom` - rotate out from right bottom</li>\n <li>`shuffleBottomRight` - rotate out from bottom right</li>\n <li>`shuffleBottomLeft` - rotate out from bottom left</li>\n <li>`shuffleLeftBottom` - rotate out from left bottom</li>\n <li>`shuffleLeftTop` - rotate out from left top</li>\n <li>`shuffleTopLeft` - rotate out from top left</li>\n <li>`zoom` - fast zoom out</li>\n </ul>\nThe transition speed can also be controlled by appending `Fast` or `Slow` to the transition, e.g. `fadeFast` or `CarouselLeftSlow`."
3947
+ "description": "The transition out. Available transitions are:\n <ul>\n <li>`fade` - fade out</li>\n <li>`reveal` - reveal from right to left</li>\n <li>`wipeLeft` - fade across screen to the left</li>\n <li>`wipeRight` - fade across screen to the right</li>\n <li>`slideLeft` - move slightly left and fade out</li>\n <li>`slideRight` - move slightly right and fade out</li>\n <li>`slideUp` - move slightly up and fade out</li>\n <li>`slideDown` - move slightly down and fade out</li>\n <li>`carouselLeft` - slide out from right to left</li>\n <li>`carouselRight` - slide out from left to right</li>\n <li>`carouselUp` - slide out from bottom to top</li>\n <li>`carouselDown` - slide out from top to bottom</li>\n <li>`shuffleTopRight` - rotate out from top right</li>\n <li>`shuffleRightTop` - rotate out from right top</li>\n <li>`shuffleRightBottom` - rotate out from right bottom</li>\n <li>`shuffleBottomRight` - rotate out from bottom right</li>\n <li>`shuffleBottomLeft` - rotate out from bottom left</li>\n <li>`shuffleLeftBottom` - rotate out from left bottom</li>\n <li>`shuffleLeftTop` - rotate out from left top</li>\n <li>`shuffleTopLeft` - rotate out from top left</li>\n <li>`zoom` - fast zoom out</li>\n </ul>\nThe transition speed can also be controlled by appending `Fast` or `Slow` to the transition, e.g. `fadeFast` or `CarouselLeftSlow`.",
3948
+ "enum": [
3949
+ "none",
3950
+ "fade",
3951
+ "reveal",
3952
+ "wipeLeft",
3953
+ "wipeRight",
3954
+ "slideLeft",
3955
+ "slideRight",
3956
+ "slideUp",
3957
+ "slideDown",
3958
+ "carouselLeft",
3959
+ "carouselRight",
3960
+ "carouselUp",
3961
+ "carouselDown",
3962
+ "shuffleTopRight",
3963
+ "shuffleRightTop",
3964
+ "shuffleRightBottom",
3965
+ "shuffleBottomRight",
3966
+ "shuffleBottomLeft",
3967
+ "shuffleLeftBottom",
3968
+ "shuffleLeftTop",
3969
+ "shuffleTopLeft",
3970
+ "zoom"
3971
+ ]
3894
3972
  },
3895
3973
  {
3896
3974
  "type": "null"
@@ -121,7 +121,37 @@
121
121
  "anyOf": [
122
122
  {
123
123
  "type": "string",
124
- "description": "The easing function to use for the animation. Easing controls the rate of change of the animated value, allowing for more natural motion by speeding up or slowing down the animation at different points. Only applicable if interpolation is set to `bezier`."
124
+ "description": "The easing function to use for the animation. Easing controls the rate of change of the animated value, allowing for more natural motion by speeding up or slowing down the animation at different points. Only applicable if interpolation is set to `bezier`.",
125
+ "enum": [
126
+ "ease",
127
+ "easeIn",
128
+ "easeOut",
129
+ "easeInOut",
130
+ "easeInQuad",
131
+ "easeInCubic",
132
+ "easeInQuart",
133
+ "easeInQuint",
134
+ "easeInSine",
135
+ "easeInExpo",
136
+ "easeInCirc",
137
+ "easeInBack",
138
+ "easeOutQuad",
139
+ "easeOutCubic",
140
+ "easeOutQuart",
141
+ "easeOutQuint",
142
+ "easeOutSine",
143
+ "easeOutExpo",
144
+ "easeOutCirc",
145
+ "easeOutBack",
146
+ "easeInOutQuad",
147
+ "easeInOutCubic",
148
+ "easeInOutQuart",
149
+ "easeInOutQuint",
150
+ "easeInOutSine",
151
+ "easeInOutExpo",
152
+ "easeInOutCirc",
153
+ "easeInOutBack"
154
+ ]
125
155
  },
126
156
  {
127
157
  "type": "null"