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