@shotstack/schemas 1.7.0 → 1.8.2

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 (53) hide show
  1. package/README.md +89 -89
  2. package/dist/api.bundled.json +49 -833
  3. package/dist/json-schema/asset.json +115 -856
  4. package/dist/json-schema/audio-asset.json +31 -1
  5. package/dist/json-schema/blueprint.json +380 -0
  6. package/dist/json-schema/caption-detailer.json +275 -0
  7. package/dist/json-schema/clip.json +256 -949
  8. package/dist/json-schema/edit.json +247 -940
  9. package/dist/json-schema/index.cjs +5 -0
  10. package/dist/json-schema/index.d.ts +5 -0
  11. package/dist/json-schema/index.js +5 -0
  12. package/dist/json-schema/offset.json +31 -1
  13. package/dist/json-schema/rich-caption-asset.json +221 -140
  14. package/dist/json-schema/rich-text-content.json +370 -0
  15. package/dist/json-schema/rich-text-effects.json +400 -0
  16. package/dist/json-schema/rotate-transformation.json +31 -1
  17. package/dist/json-schema/schemas.json +264 -1044
  18. package/dist/json-schema/skew-transformation.json +31 -1
  19. package/dist/json-schema/svg-asset.json +6 -857
  20. package/dist/json-schema/template.json +541 -0
  21. package/dist/json-schema/text-to-speech-asset.json +31 -1
  22. package/dist/json-schema/timeline.json +256 -949
  23. package/dist/json-schema/track.json +256 -949
  24. package/dist/json-schema/transformation.json +52 -22
  25. package/dist/json-schema/transition.json +50 -2
  26. package/dist/json-schema/tween.json +31 -1
  27. package/dist/json-schema/video-asset.json +56 -26
  28. package/dist/schema.d.ts +43 -660
  29. package/dist/zod/zod.gen.cjs +914 -1640
  30. package/dist/zod/zod.gen.d.ts +306 -8714
  31. package/dist/zod/zod.gen.js +911 -1636
  32. package/dist/zod/zod.gen.ts +1593 -1880
  33. package/package.json +79 -79
  34. package/dist/json-schema/svg-arrow-shape.json +0 -49
  35. package/dist/json-schema/svg-circle-shape.json +0 -28
  36. package/dist/json-schema/svg-cross-shape.json +0 -42
  37. package/dist/json-schema/svg-ellipse-shape.json +0 -35
  38. package/dist/json-schema/svg-fill.json +0 -169
  39. package/dist/json-schema/svg-gradient-stop.json +0 -25
  40. package/dist/json-schema/svg-heart-shape.json +0 -28
  41. package/dist/json-schema/svg-line-shape.json +0 -35
  42. package/dist/json-schema/svg-linear-gradient-fill.json +0 -80
  43. package/dist/json-schema/svg-path-shape.json +0 -26
  44. package/dist/json-schema/svg-polygon-shape.json +0 -35
  45. package/dist/json-schema/svg-radial-gradient-fill.json +0 -66
  46. package/dist/json-schema/svg-rectangle-shape.json +0 -49
  47. package/dist/json-schema/svg-ring-shape.json +0 -35
  48. package/dist/json-schema/svg-shadow.json +0 -79
  49. package/dist/json-schema/svg-shape.json +0 -404
  50. package/dist/json-schema/svg-solid-fill.json +0 -40
  51. package/dist/json-schema/svg-star-shape.json +0 -42
  52. package/dist/json-schema/svg-stroke.json +0 -115
  53. package/dist/json-schema/svg-transform.json +0 -93
@@ -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"