@shotstack/schemas 1.14.0 → 1.15.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 (75) hide show
  1. package/dist/api.bundled.json +12 -13
  2. package/dist/json-schema/edit.json +3828 -4198
  3. package/dist/json-schema/index.cjs +1 -6
  4. package/dist/json-schema/index.d.ts +1 -11
  5. package/dist/json-schema/index.js +0 -5
  6. package/dist/schema.d.ts +20 -9
  7. package/dist/zod/zod.gen.cjs +12 -4
  8. package/dist/zod/zod.gen.d.ts +99 -91
  9. package/dist/zod/zod.gen.js +12 -4
  10. package/dist/zod/zod.gen.ts +12 -4
  11. package/package.json +1 -1
  12. package/dist/json-schema/asset.json +0 -2725
  13. package/dist/json-schema/audio-asset.json +0 -315
  14. package/dist/json-schema/blueprint.json +0 -380
  15. package/dist/json-schema/caption-asset.json +0 -285
  16. package/dist/json-schema/caption-background.json +0 -61
  17. package/dist/json-schema/caption-detailer.json +0 -275
  18. package/dist/json-schema/caption-font.json +0 -97
  19. package/dist/json-schema/caption-margin.json +0 -49
  20. package/dist/json-schema/chroma-key.json +0 -46
  21. package/dist/json-schema/clip.json +0 -3236
  22. package/dist/json-schema/crop.json +0 -69
  23. package/dist/json-schema/destinations.json +0 -599
  24. package/dist/json-schema/flip-transformation.json +0 -37
  25. package/dist/json-schema/font.json +0 -18
  26. package/dist/json-schema/google-cloud-storage-destination-options.json +0 -42
  27. package/dist/json-schema/google-cloud-storage-destination.json +0 -73
  28. package/dist/json-schema/google-drive-destination-options.json +0 -30
  29. package/dist/json-schema/google-drive-destination.json +0 -54
  30. package/dist/json-schema/image-asset.json +0 -173
  31. package/dist/json-schema/image-to-video-asset.json +0 -151
  32. package/dist/json-schema/luma-asset.json +0 -38
  33. package/dist/json-schema/merge-field.json +0 -23
  34. package/dist/json-schema/offset.json +0 -175
  35. package/dist/json-schema/output.json +0 -893
  36. package/dist/json-schema/poster.json +0 -18
  37. package/dist/json-schema/range.json +0 -39
  38. package/dist/json-schema/rich-caption-active-font.json +0 -106
  39. package/dist/json-schema/rich-caption-active.json +0 -291
  40. package/dist/json-schema/rich-caption-animation.json +0 -46
  41. package/dist/json-schema/rich-caption-asset.json +0 -1247
  42. package/dist/json-schema/rich-text-alignment.json +0 -47
  43. package/dist/json-schema/rich-text-animation.json +0 -74
  44. package/dist/json-schema/rich-text-asset.json +0 -761
  45. package/dist/json-schema/rich-text-background.json +0 -78
  46. package/dist/json-schema/rich-text-content.json +0 -394
  47. package/dist/json-schema/rich-text-effects.json +0 -400
  48. package/dist/json-schema/rich-text-font.json +0 -157
  49. package/dist/json-schema/rich-text-gradient.json +0 -68
  50. package/dist/json-schema/rich-text-shadow.json +0 -79
  51. package/dist/json-schema/rich-text-stroke.json +0 -55
  52. package/dist/json-schema/rich-text-style.json +0 -165
  53. package/dist/json-schema/rotate-transformation.json +0 -153
  54. package/dist/json-schema/s3destination-options.json +0 -59
  55. package/dist/json-schema/s3destination.json +0 -90
  56. package/dist/json-schema/schemas.json +0 -4716
  57. package/dist/json-schema/shape-asset.json +0 -225
  58. package/dist/json-schema/shotstack-destination.json +0 -33
  59. package/dist/json-schema/size.json +0 -41
  60. package/dist/json-schema/skew-transformation.json +0 -175
  61. package/dist/json-schema/soundtrack.json +0 -47
  62. package/dist/json-schema/svg-asset.json +0 -26
  63. package/dist/json-schema/template.json +0 -827
  64. package/dist/json-schema/text-to-image-asset.json +0 -128
  65. package/dist/json-schema/text-to-speech-asset.json +0 -239
  66. package/dist/json-schema/thumbnail.json +0 -25
  67. package/dist/json-schema/timeline.json +0 -3364
  68. package/dist/json-schema/track.json +0 -3251
  69. package/dist/json-schema/transformation.json +0 -281
  70. package/dist/json-schema/transition.json +0 -85
  71. package/dist/json-schema/tween.json +0 -120
  72. package/dist/json-schema/video-asset.json +0 -471
  73. package/dist/json-schema/vimeo-destination-options.json +0 -149
  74. package/dist/json-schema/vimeo-destination-privacy-options.json +0 -90
  75. package/dist/json-schema/vimeo-destination.json +0 -178
@@ -1,761 +0,0 @@
1
- {
2
- "name": "RichTextAsset",
3
- "strict": true,
4
- "schema": {
5
- "type": "object",
6
- "properties": {
7
- "type": {
8
- "enum": [
9
- "rich-text"
10
- ],
11
- "type": "string"
12
- },
13
- "text": {
14
- "type": "string"
15
- },
16
- "font": {
17
- "anyOf": [
18
- {
19
- "$ref": "#/$defs/RichTextFont"
20
- },
21
- {
22
- "type": "null"
23
- }
24
- ]
25
- },
26
- "style": {
27
- "anyOf": [
28
- {
29
- "$ref": "#/$defs/RichTextStyle"
30
- },
31
- {
32
- "type": "null"
33
- }
34
- ]
35
- },
36
- "stroke": {
37
- "anyOf": [
38
- {
39
- "$ref": "#/$defs/RichTextStroke"
40
- },
41
- {
42
- "type": "null"
43
- }
44
- ]
45
- },
46
- "shadow": {
47
- "anyOf": [
48
- {
49
- "$ref": "#/$defs/RichTextShadow"
50
- },
51
- {
52
- "type": "null"
53
- }
54
- ]
55
- },
56
- "background": {
57
- "anyOf": [
58
- {
59
- "$ref": "#/$defs/RichTextBackground"
60
- },
61
- {
62
- "type": "null"
63
- }
64
- ]
65
- },
66
- "border": {
67
- "anyOf": [
68
- {
69
- "type": "object",
70
- "properties": {
71
- "width": {
72
- "anyOf": [
73
- {
74
- "type": "number",
75
- "minimum": 0
76
- },
77
- {
78
- "type": "null"
79
- }
80
- ]
81
- },
82
- "color": {
83
- "anyOf": [
84
- {
85
- "type": "string"
86
- },
87
- {
88
- "type": "null"
89
- }
90
- ]
91
- },
92
- "opacity": {
93
- "anyOf": [
94
- {
95
- "type": "number",
96
- "minimum": 0,
97
- "maximum": 1
98
- },
99
- {
100
- "type": "null"
101
- }
102
- ]
103
- },
104
- "radius": {
105
- "anyOf": [
106
- {
107
- "type": "number",
108
- "minimum": 0
109
- },
110
- {
111
- "type": "null"
112
- }
113
- ]
114
- }
115
- },
116
- "additionalProperties": false,
117
- "required": [
118
- "width",
119
- "color",
120
- "opacity",
121
- "radius"
122
- ]
123
- },
124
- {
125
- "type": "null"
126
- }
127
- ]
128
- },
129
- "padding": {
130
- "anyOf": [
131
- {
132
- "type": "number",
133
- "minimum": 0
134
- },
135
- {
136
- "properties": {
137
- "top": {
138
- "anyOf": [
139
- {
140
- "type": "number",
141
- "minimum": 0
142
- },
143
- {
144
- "type": "null"
145
- }
146
- ]
147
- },
148
- "right": {
149
- "anyOf": [
150
- {
151
- "type": "number",
152
- "minimum": 0
153
- },
154
- {
155
- "type": "null"
156
- }
157
- ]
158
- },
159
- "bottom": {
160
- "anyOf": [
161
- {
162
- "type": "number",
163
- "minimum": 0
164
- },
165
- {
166
- "type": "null"
167
- }
168
- ]
169
- },
170
- "left": {
171
- "anyOf": [
172
- {
173
- "type": "number",
174
- "minimum": 0
175
- },
176
- {
177
- "type": "null"
178
- }
179
- ]
180
- }
181
- },
182
- "additionalProperties": false,
183
- "type": "object",
184
- "required": [
185
- "top",
186
- "right",
187
- "bottom",
188
- "left"
189
- ]
190
- },
191
- {
192
- "type": "null"
193
- }
194
- ]
195
- },
196
- "align": {
197
- "anyOf": [
198
- {
199
- "$ref": "#/$defs/RichTextAlignment"
200
- },
201
- {
202
- "type": "null"
203
- }
204
- ]
205
- },
206
- "animation": {
207
- "anyOf": [
208
- {
209
- "$ref": "#/$defs/RichTextAnimation"
210
- },
211
- {
212
- "type": "null"
213
- }
214
- ]
215
- }
216
- },
217
- "additionalProperties": false,
218
- "required": [
219
- "type",
220
- "text",
221
- "font",
222
- "style",
223
- "stroke",
224
- "shadow",
225
- "background",
226
- "border",
227
- "padding",
228
- "align",
229
- "animation"
230
- ],
231
- "$defs": {
232
- "RichTextFont": {
233
- "properties": {
234
- "family": {
235
- "anyOf": [
236
- {
237
- "type": "string",
238
- "enum": [
239
- "Open Sans"
240
- ]
241
- },
242
- {
243
- "type": "null"
244
- }
245
- ]
246
- },
247
- "size": {
248
- "anyOf": [
249
- {
250
- "type": "integer",
251
- "minimum": 1,
252
- "maximum": 500
253
- },
254
- {
255
- "type": "null"
256
- }
257
- ]
258
- },
259
- "weight": {
260
- "anyOf": [
261
- {
262
- "type": "string"
263
- },
264
- {
265
- "type": "null"
266
- }
267
- ]
268
- },
269
- "color": {
270
- "anyOf": [
271
- {
272
- "type": "string"
273
- },
274
- {
275
- "type": "null"
276
- }
277
- ]
278
- },
279
- "opacity": {
280
- "anyOf": [
281
- {
282
- "type": "number",
283
- "minimum": 0,
284
- "maximum": 1
285
- },
286
- {
287
- "type": "null"
288
- }
289
- ]
290
- },
291
- "background": {
292
- "anyOf": [
293
- {
294
- "type": "string"
295
- },
296
- {
297
- "type": "null"
298
- }
299
- ]
300
- },
301
- "stroke": {
302
- "anyOf": [
303
- {
304
- "$ref": "#/$defs/RichTextStroke"
305
- },
306
- {
307
- "type": "null"
308
- }
309
- ]
310
- }
311
- },
312
- "additionalProperties": false,
313
- "type": "object",
314
- "required": [
315
- "family",
316
- "size",
317
- "weight",
318
- "color",
319
- "opacity",
320
- "background",
321
- "stroke"
322
- ]
323
- },
324
- "RichTextStroke": {
325
- "properties": {
326
- "width": {
327
- "anyOf": [
328
- {
329
- "type": "number",
330
- "minimum": 0
331
- },
332
- {
333
- "type": "null"
334
- }
335
- ]
336
- },
337
- "color": {
338
- "anyOf": [
339
- {
340
- "type": "string",
341
- "enum": [
342
- "#000000"
343
- ]
344
- },
345
- {
346
- "type": "null"
347
- }
348
- ]
349
- },
350
- "opacity": {
351
- "anyOf": [
352
- {
353
- "type": "number",
354
- "minimum": 0,
355
- "maximum": 1
356
- },
357
- {
358
- "type": "null"
359
- }
360
- ]
361
- }
362
- },
363
- "additionalProperties": false,
364
- "type": "object",
365
- "required": [
366
- "width",
367
- "color",
368
- "opacity"
369
- ]
370
- },
371
- "RichTextStyle": {
372
- "properties": {
373
- "letterSpacing": {
374
- "anyOf": [
375
- {
376
- "type": "number"
377
- },
378
- {
379
- "type": "null"
380
- }
381
- ]
382
- },
383
- "wordSpacing": {
384
- "anyOf": [
385
- {
386
- "type": "number",
387
- "minimum": 0
388
- },
389
- {
390
- "type": "null"
391
- }
392
- ]
393
- },
394
- "lineHeight": {
395
- "anyOf": [
396
- {
397
- "type": "number",
398
- "minimum": 0,
399
- "maximum": 10
400
- },
401
- {
402
- "type": "null"
403
- }
404
- ]
405
- },
406
- "textTransform": {
407
- "anyOf": [
408
- {
409
- "type": "string",
410
- "enum": [
411
- "none",
412
- "uppercase",
413
- "lowercase",
414
- "capitalize"
415
- ]
416
- },
417
- {
418
- "type": "null"
419
- }
420
- ]
421
- },
422
- "textDecoration": {
423
- "anyOf": [
424
- {
425
- "type": "string",
426
- "enum": [
427
- "none",
428
- "underline",
429
- "line-through"
430
- ]
431
- },
432
- {
433
- "type": "null"
434
- }
435
- ]
436
- },
437
- "gradient": {
438
- "anyOf": [
439
- {
440
- "$ref": "#/$defs/RichTextGradient"
441
- },
442
- {
443
- "type": "null"
444
- }
445
- ]
446
- }
447
- },
448
- "additionalProperties": false,
449
- "type": "object",
450
- "required": [
451
- "letterSpacing",
452
- "wordSpacing",
453
- "lineHeight",
454
- "textTransform",
455
- "textDecoration",
456
- "gradient"
457
- ]
458
- },
459
- "RichTextGradient": {
460
- "properties": {
461
- "type": {
462
- "anyOf": [
463
- {
464
- "type": "string",
465
- "enum": [
466
- "linear",
467
- "radial"
468
- ]
469
- },
470
- {
471
- "type": "null"
472
- }
473
- ]
474
- },
475
- "angle": {
476
- "anyOf": [
477
- {
478
- "type": "number",
479
- "minimum": 0,
480
- "maximum": 360
481
- },
482
- {
483
- "type": "null"
484
- }
485
- ]
486
- },
487
- "stops": {
488
- "type": "array",
489
- "items": {
490
- "type": "object",
491
- "properties": {
492
- "offset": {
493
- "type": "number",
494
- "minimum": 0,
495
- "maximum": 1
496
- },
497
- "color": {
498
- "type": "string"
499
- }
500
- },
501
- "required": [
502
- "offset",
503
- "color"
504
- ],
505
- "additionalProperties": false
506
- }
507
- }
508
- },
509
- "required": [
510
- "type",
511
- "angle",
512
- "stops"
513
- ],
514
- "additionalProperties": false,
515
- "type": "object"
516
- },
517
- "RichTextShadow": {
518
- "properties": {
519
- "offsetX": {
520
- "anyOf": [
521
- {
522
- "type": "number"
523
- },
524
- {
525
- "type": "null"
526
- }
527
- ]
528
- },
529
- "offsetY": {
530
- "anyOf": [
531
- {
532
- "type": "number"
533
- },
534
- {
535
- "type": "null"
536
- }
537
- ]
538
- },
539
- "blur": {
540
- "anyOf": [
541
- {
542
- "type": "number",
543
- "minimum": 0
544
- },
545
- {
546
- "type": "null"
547
- }
548
- ]
549
- },
550
- "color": {
551
- "anyOf": [
552
- {
553
- "type": "string",
554
- "enum": [
555
- "#000000"
556
- ]
557
- },
558
- {
559
- "type": "null"
560
- }
561
- ]
562
- },
563
- "opacity": {
564
- "anyOf": [
565
- {
566
- "type": "number",
567
- "minimum": 0,
568
- "maximum": 1
569
- },
570
- {
571
- "type": "null"
572
- }
573
- ]
574
- }
575
- },
576
- "additionalProperties": false,
577
- "type": "object",
578
- "required": [
579
- "offsetX",
580
- "offsetY",
581
- "blur",
582
- "color",
583
- "opacity"
584
- ]
585
- },
586
- "RichTextBackground": {
587
- "properties": {
588
- "color": {
589
- "anyOf": [
590
- {
591
- "type": "string"
592
- },
593
- {
594
- "type": "null"
595
- }
596
- ]
597
- },
598
- "opacity": {
599
- "anyOf": [
600
- {
601
- "type": "number",
602
- "minimum": 0,
603
- "maximum": 1
604
- },
605
- {
606
- "type": "null"
607
- }
608
- ]
609
- },
610
- "borderRadius": {
611
- "anyOf": [
612
- {
613
- "type": "number",
614
- "minimum": 0
615
- },
616
- {
617
- "type": "null"
618
- }
619
- ]
620
- },
621
- "wrap": {
622
- "anyOf": [
623
- {
624
- "type": "boolean"
625
- },
626
- {
627
- "type": "null"
628
- }
629
- ]
630
- },
631
- "padding": {
632
- "anyOf": [
633
- {
634
- "type": "integer",
635
- "minimum": 0,
636
- "maximum": 200
637
- },
638
- {
639
- "type": "null"
640
- }
641
- ]
642
- }
643
- },
644
- "additionalProperties": false,
645
- "type": "object",
646
- "required": [
647
- "color",
648
- "opacity",
649
- "borderRadius",
650
- "wrap",
651
- "padding"
652
- ]
653
- },
654
- "RichTextAlignment": {
655
- "properties": {
656
- "horizontal": {
657
- "anyOf": [
658
- {
659
- "type": "string",
660
- "enum": [
661
- "left",
662
- "center",
663
- "right"
664
- ]
665
- },
666
- {
667
- "type": "null"
668
- }
669
- ]
670
- },
671
- "vertical": {
672
- "anyOf": [
673
- {
674
- "type": "string",
675
- "enum": [
676
- "top",
677
- "middle",
678
- "bottom"
679
- ]
680
- },
681
- {
682
- "type": "null"
683
- }
684
- ]
685
- }
686
- },
687
- "additionalProperties": false,
688
- "type": "object",
689
- "required": [
690
- "horizontal",
691
- "vertical"
692
- ]
693
- },
694
- "RichTextAnimation": {
695
- "properties": {
696
- "preset": {
697
- "type": "string",
698
- "enum": [
699
- "fadeIn",
700
- "slideIn",
701
- "typewriter",
702
- "ascend",
703
- "shift",
704
- "movingLetters"
705
- ]
706
- },
707
- "duration": {
708
- "anyOf": [
709
- {
710
- "type": "number",
711
- "minimum": 0.1,
712
- "maximum": 30
713
- },
714
- {
715
- "type": "null"
716
- }
717
- ]
718
- },
719
- "style": {
720
- "anyOf": [
721
- {
722
- "type": "string",
723
- "enum": [
724
- "character",
725
- "word"
726
- ]
727
- },
728
- {
729
- "type": "null"
730
- }
731
- ]
732
- },
733
- "direction": {
734
- "anyOf": [
735
- {
736
- "type": "string",
737
- "enum": [
738
- "left",
739
- "right",
740
- "up",
741
- "down"
742
- ]
743
- },
744
- {
745
- "type": "null"
746
- }
747
- ]
748
- }
749
- },
750
- "required": [
751
- "preset",
752
- "duration",
753
- "style",
754
- "direction"
755
- ],
756
- "additionalProperties": false,
757
- "type": "object"
758
- }
759
- }
760
- }
761
- }