@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,827 +0,0 @@
1
- {
2
- "name": "Template",
3
- "strict": true,
4
- "schema": {
5
- "type": "object",
6
- "properties": {
7
- "timeline": {
8
- "$ref": "#/$defs/Timeline"
9
- },
10
- "output": {
11
- "$ref": "#/$defs/Output"
12
- },
13
- "merge": {
14
- "anyOf": [
15
- {
16
- "type": "array",
17
- "items": {
18
- "$ref": "#/$defs/MergeField"
19
- }
20
- },
21
- {
22
- "type": "null"
23
- }
24
- ]
25
- }
26
- },
27
- "additionalProperties": false,
28
- "required": [
29
- "timeline",
30
- "output",
31
- "merge"
32
- ],
33
- "$defs": {
34
- "Timeline": {
35
- "properties": {
36
- "tracks": {
37
- "type": "array",
38
- "items": {
39
- "$ref": "#/$defs/Track"
40
- }
41
- }
42
- },
43
- "additionalProperties": false,
44
- "required": [
45
- "tracks"
46
- ],
47
- "type": "object"
48
- },
49
- "Track": {
50
- "properties": {
51
- "clips": {
52
- "type": "array",
53
- "items": {
54
- "$ref": "#/$defs/Clip"
55
- }
56
- }
57
- },
58
- "additionalProperties": false,
59
- "required": [
60
- "clips"
61
- ],
62
- "type": "object"
63
- },
64
- "Clip": {
65
- "properties": {
66
- "id": {
67
- "anyOf": [
68
- {
69
- "type": "string"
70
- },
71
- {
72
- "type": "null"
73
- }
74
- ]
75
- },
76
- "asset": {
77
- "$ref": "#/$defs/Asset"
78
- },
79
- "start": {
80
- "anyOf": [
81
- {
82
- "type": "number",
83
- "minimum": 0
84
- },
85
- {
86
- "type": "string"
87
- }
88
- ]
89
- },
90
- "length": {
91
- "anyOf": [
92
- {
93
- "type": "number",
94
- "minimum": 0
95
- },
96
- {
97
- "type": "string"
98
- }
99
- ]
100
- },
101
- "fit": {
102
- "anyOf": [
103
- {
104
- "type": "string",
105
- "enum": [
106
- "cover",
107
- "contain",
108
- "crop",
109
- "none"
110
- ]
111
- },
112
- {
113
- "type": "null"
114
- }
115
- ]
116
- },
117
- "position": {
118
- "anyOf": [
119
- {
120
- "type": "string",
121
- "enum": [
122
- "top",
123
- "topRight",
124
- "right",
125
- "bottomRight",
126
- "bottom",
127
- "bottomLeft",
128
- "left",
129
- "topLeft",
130
- "center"
131
- ]
132
- },
133
- {
134
- "type": "null"
135
- }
136
- ]
137
- },
138
- "transition": {
139
- "anyOf": [
140
- {
141
- "$ref": "#/$defs/Transition"
142
- },
143
- {
144
- "type": "null"
145
- }
146
- ]
147
- },
148
- "effect": {
149
- "anyOf": [
150
- {
151
- "type": "string",
152
- "enum": [
153
- "zoomIn",
154
- "zoomInSlow",
155
- "zoomInFast",
156
- "zoomOut",
157
- "zoomOutSlow",
158
- "zoomOutFast",
159
- "slideLeft",
160
- "slideLeftSlow",
161
- "slideLeftFast",
162
- "slideRight",
163
- "slideRightSlow",
164
- "slideRightFast",
165
- "slideUp",
166
- "slideUpSlow",
167
- "slideUpFast",
168
- "slideDown",
169
- "slideDownSlow",
170
- "slideDownFast"
171
- ]
172
- },
173
- {
174
- "type": "null"
175
- }
176
- ]
177
- }
178
- },
179
- "additionalProperties": false,
180
- "required": [
181
- "id",
182
- "asset",
183
- "start",
184
- "length",
185
- "fit",
186
- "position",
187
- "transition",
188
- "effect"
189
- ],
190
- "type": "object"
191
- },
192
- "Asset": {
193
- "anyOf": [
194
- {
195
- "$ref": "#/$defs/VideoAsset"
196
- },
197
- {
198
- "$ref": "#/$defs/ImageAsset"
199
- },
200
- {
201
- "$ref": "#/$defs/AudioAsset"
202
- }
203
- ]
204
- },
205
- "VideoAsset": {
206
- "type": "object",
207
- "properties": {
208
- "type": {
209
- "enum": [
210
- "video"
211
- ],
212
- "type": "string"
213
- },
214
- "src": {
215
- "anyOf": [
216
- {
217
- "type": "string"
218
- },
219
- {
220
- "type": "null"
221
- }
222
- ]
223
- },
224
- "prompt": {
225
- "anyOf": [
226
- {
227
- "type": "string"
228
- },
229
- {
230
- "type": "null"
231
- }
232
- ]
233
- },
234
- "inputSrc": {
235
- "anyOf": [
236
- {
237
- "type": "string"
238
- },
239
- {
240
- "type": "null"
241
- }
242
- ]
243
- },
244
- "model": {
245
- "anyOf": [
246
- {
247
- "type": "string"
248
- },
249
- {
250
- "type": "null"
251
- }
252
- ]
253
- },
254
- "resolution": {
255
- "anyOf": [
256
- {
257
- "type": "string",
258
- "enum": [
259
- "480p",
260
- "720p",
261
- "1080p"
262
- ]
263
- },
264
- {
265
- "type": "null"
266
- }
267
- ]
268
- },
269
- "duration": {
270
- "anyOf": [
271
- {
272
- "type": "string",
273
- "enum": [
274
- "auto",
275
- "4",
276
- "5",
277
- "6",
278
- "7",
279
- "8",
280
- "9",
281
- "10",
282
- "11",
283
- "12",
284
- "13",
285
- "14",
286
- "15"
287
- ]
288
- },
289
- {
290
- "type": "null"
291
- }
292
- ]
293
- },
294
- "aspectRatio": {
295
- "anyOf": [
296
- {
297
- "type": "string",
298
- "enum": [
299
- "1:1",
300
- "16:9",
301
- "9:16",
302
- "4:3",
303
- "3:4",
304
- "21:9",
305
- "9:21"
306
- ]
307
- },
308
- {
309
- "type": "null"
310
- }
311
- ]
312
- },
313
- "generateAudio": {
314
- "anyOf": [
315
- {
316
- "type": "boolean"
317
- },
318
- {
319
- "type": "null"
320
- }
321
- ]
322
- },
323
- "trim": {
324
- "anyOf": [
325
- {
326
- "type": "number"
327
- },
328
- {
329
- "type": "null"
330
- }
331
- ]
332
- },
333
- "volume": {
334
- "anyOf": [
335
- {
336
- "type": "number",
337
- "minimum": 0,
338
- "maximum": 1
339
- },
340
- {
341
- "type": "null"
342
- }
343
- ]
344
- },
345
- "volumeEffect": {
346
- "anyOf": [
347
- {
348
- "type": "string",
349
- "enum": [
350
- "none",
351
- "fadeIn",
352
- "fadeOut",
353
- "fadeInFadeOut"
354
- ]
355
- },
356
- {
357
- "type": "null"
358
- }
359
- ]
360
- },
361
- "speed": {
362
- "anyOf": [
363
- {
364
- "type": "number",
365
- "minimum": 0,
366
- "maximum": 10
367
- },
368
- {
369
- "type": "null"
370
- }
371
- ]
372
- }
373
- },
374
- "additionalProperties": false,
375
- "required": [
376
- "type",
377
- "src",
378
- "prompt",
379
- "inputSrc",
380
- "model",
381
- "resolution",
382
- "duration",
383
- "aspectRatio",
384
- "generateAudio",
385
- "trim",
386
- "volume",
387
- "volumeEffect",
388
- "speed"
389
- ]
390
- },
391
- "ImageAsset": {
392
- "type": "object",
393
- "properties": {
394
- "type": {
395
- "enum": [
396
- "image"
397
- ],
398
- "type": "string"
399
- },
400
- "src": {
401
- "anyOf": [
402
- {
403
- "type": "string"
404
- },
405
- {
406
- "type": "null"
407
- }
408
- ]
409
- },
410
- "prompt": {
411
- "anyOf": [
412
- {
413
- "type": "string"
414
- },
415
- {
416
- "type": "null"
417
- }
418
- ]
419
- },
420
- "model": {
421
- "anyOf": [
422
- {
423
- "type": "string"
424
- },
425
- {
426
- "type": "null"
427
- }
428
- ]
429
- },
430
- "resolution": {
431
- "anyOf": [
432
- {
433
- "type": "string",
434
- "enum": [
435
- "1K",
436
- "2K",
437
- "4K"
438
- ]
439
- },
440
- {
441
- "type": "null"
442
- }
443
- ]
444
- },
445
- "aspectRatio": {
446
- "anyOf": [
447
- {
448
- "type": "string",
449
- "enum": [
450
- "1:1",
451
- "16:9",
452
- "9:16",
453
- "4:3",
454
- "3:4",
455
- "21:9",
456
- "9:21"
457
- ]
458
- },
459
- {
460
- "type": "null"
461
- }
462
- ]
463
- }
464
- },
465
- "additionalProperties": false,
466
- "required": [
467
- "type",
468
- "src",
469
- "prompt",
470
- "model",
471
- "resolution",
472
- "aspectRatio"
473
- ]
474
- },
475
- "AudioAsset": {
476
- "type": "object",
477
- "properties": {
478
- "type": {
479
- "enum": [
480
- "audio"
481
- ],
482
- "type": "string"
483
- },
484
- "src": {
485
- "anyOf": [
486
- {
487
- "type": "string"
488
- },
489
- {
490
- "type": "null"
491
- }
492
- ]
493
- },
494
- "prompt": {
495
- "anyOf": [
496
- {
497
- "type": "string"
498
- },
499
- {
500
- "type": "null"
501
- }
502
- ]
503
- },
504
- "voice": {
505
- "anyOf": [
506
- {
507
- "type": "string"
508
- },
509
- {
510
- "type": "null"
511
- }
512
- ]
513
- },
514
- "language": {
515
- "anyOf": [
516
- {
517
- "type": "string"
518
- },
519
- {
520
- "type": "null"
521
- }
522
- ]
523
- },
524
- "newscaster": {
525
- "anyOf": [
526
- {
527
- "type": "boolean"
528
- },
529
- {
530
- "type": "null"
531
- }
532
- ]
533
- },
534
- "model": {
535
- "anyOf": [
536
- {
537
- "type": "string"
538
- },
539
- {
540
- "type": "null"
541
- }
542
- ]
543
- },
544
- "musicLengthMs": {
545
- "anyOf": [
546
- {
547
- "type": "number",
548
- "minimum": 3000,
549
- "maximum": 600000
550
- },
551
- {
552
- "type": "null"
553
- }
554
- ]
555
- },
556
- "forceInstrumental": {
557
- "anyOf": [
558
- {
559
- "type": "boolean"
560
- },
561
- {
562
- "type": "null"
563
- }
564
- ]
565
- },
566
- "compositionPlan": {
567
- "anyOf": [
568
- {
569
- "type": "string"
570
- },
571
- {
572
- "type": "null"
573
- }
574
- ]
575
- },
576
- "trim": {
577
- "anyOf": [
578
- {
579
- "type": "number"
580
- },
581
- {
582
- "type": "null"
583
- }
584
- ]
585
- },
586
- "volume": {
587
- "anyOf": [
588
- {
589
- "type": "number",
590
- "minimum": 0,
591
- "maximum": 1
592
- },
593
- {
594
- "type": "null"
595
- }
596
- ]
597
- },
598
- "effect": {
599
- "anyOf": [
600
- {
601
- "type": "string",
602
- "enum": [
603
- "none",
604
- "fadeIn",
605
- "fadeOut",
606
- "fadeInFadeOut"
607
- ]
608
- },
609
- {
610
- "type": "null"
611
- }
612
- ]
613
- }
614
- },
615
- "additionalProperties": false,
616
- "required": [
617
- "type",
618
- "src",
619
- "prompt",
620
- "voice",
621
- "language",
622
- "newscaster",
623
- "model",
624
- "musicLengthMs",
625
- "forceInstrumental",
626
- "compositionPlan",
627
- "trim",
628
- "volume",
629
- "effect"
630
- ]
631
- },
632
- "Transition": {
633
- "properties": {
634
- "in": {
635
- "anyOf": [
636
- {
637
- "type": "string",
638
- "enum": [
639
- "none",
640
- "fade",
641
- "reveal",
642
- "wipeLeft",
643
- "wipeRight",
644
- "slideLeft",
645
- "slideRight",
646
- "slideUp",
647
- "slideDown",
648
- "carouselLeft",
649
- "carouselRight",
650
- "carouselUp",
651
- "carouselDown",
652
- "shuffleTopRight",
653
- "shuffleRightTop",
654
- "shuffleRightBottom",
655
- "shuffleBottomRight",
656
- "shuffleBottomLeft",
657
- "shuffleLeftBottom",
658
- "shuffleLeftTop",
659
- "shuffleTopLeft",
660
- "zoom"
661
- ]
662
- },
663
- {
664
- "type": "null"
665
- }
666
- ]
667
- },
668
- "out": {
669
- "anyOf": [
670
- {
671
- "type": "string",
672
- "enum": [
673
- "none",
674
- "fade",
675
- "reveal",
676
- "wipeLeft",
677
- "wipeRight",
678
- "slideLeft",
679
- "slideRight",
680
- "slideUp",
681
- "slideDown",
682
- "carouselLeft",
683
- "carouselRight",
684
- "carouselUp",
685
- "carouselDown",
686
- "shuffleTopRight",
687
- "shuffleRightTop",
688
- "shuffleRightBottom",
689
- "shuffleBottomRight",
690
- "shuffleBottomLeft",
691
- "shuffleLeftBottom",
692
- "shuffleLeftTop",
693
- "shuffleTopLeft",
694
- "zoom"
695
- ]
696
- },
697
- {
698
- "type": "null"
699
- }
700
- ]
701
- }
702
- },
703
- "additionalProperties": false,
704
- "type": "object",
705
- "required": [
706
- "in",
707
- "out"
708
- ]
709
- },
710
- "Output": {
711
- "properties": {
712
- "format": {
713
- "enum": [
714
- "mp4",
715
- "gif",
716
- "mp3",
717
- "jpg",
718
- "png",
719
- "bmp"
720
- ],
721
- "type": "string"
722
- },
723
- "resolution": {
724
- "anyOf": [
725
- {
726
- "type": "string",
727
- "enum": [
728
- "preview",
729
- "mobile",
730
- "sd",
731
- "hd",
732
- "1080",
733
- "4k"
734
- ]
735
- },
736
- {
737
- "type": "null"
738
- }
739
- ]
740
- },
741
- "aspectRatio": {
742
- "anyOf": [
743
- {
744
- "type": "string",
745
- "enum": [
746
- "16:9",
747
- "9:16",
748
- "1:1",
749
- "4:5",
750
- "4:3"
751
- ]
752
- },
753
- {
754
- "type": "null"
755
- }
756
- ]
757
- },
758
- "fps": {
759
- "anyOf": [
760
- {
761
- "type": "number",
762
- "enum": [
763
- 12,
764
- 15,
765
- 23.976,
766
- 24,
767
- 25,
768
- 29.97,
769
- 30,
770
- 48,
771
- 50,
772
- 59.94,
773
- 60
774
- ]
775
- },
776
- {
777
- "type": "null"
778
- }
779
- ]
780
- },
781
- "quality": {
782
- "anyOf": [
783
- {
784
- "type": "string",
785
- "enum": [
786
- "verylow",
787
- "low",
788
- "medium",
789
- "high",
790
- "veryhigh"
791
- ]
792
- },
793
- {
794
- "type": "null"
795
- }
796
- ]
797
- }
798
- },
799
- "additionalProperties": false,
800
- "required": [
801
- "format",
802
- "resolution",
803
- "aspectRatio",
804
- "fps",
805
- "quality"
806
- ],
807
- "type": "object"
808
- },
809
- "MergeField": {
810
- "type": "object",
811
- "properties": {
812
- "find": {
813
- "type": "string"
814
- },
815
- "replace": {
816
- "type": "string"
817
- }
818
- },
819
- "additionalProperties": false,
820
- "required": [
821
- "find",
822
- "replace"
823
- ]
824
- }
825
- }
826
- }
827
- }