@shotstack/schemas 1.14.1 → 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 +8 -5
  2. package/dist/json-schema/edit.json +3823 -4207
  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 +16 -5
  7. package/dist/zod/zod.gen.cjs +10 -2
  8. package/dist/zod/zod.gen.d.ts +10 -2
  9. package/dist/zod/zod.gen.js +10 -2
  10. package/dist/zod/zod.gen.ts +10 -2
  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 -613
  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 -37
  29. package/dist/json-schema/google-drive-destination.json +0 -68
  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 -907
  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 -4730
  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,907 +0,0 @@
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
- "properties": {
408
- "provider": {
409
- "type": "string",
410
- "enum": [
411
- "akamai-netstorage"
412
- ]
413
- },
414
- "options": {
415
- "anyOf": [
416
- {
417
- "type": "object",
418
- "properties": {
419
- "host": {
420
- "type": "string"
421
- },
422
- "cpCode": {
423
- "type": "string"
424
- },
425
- "path": {
426
- "anyOf": [
427
- {
428
- "type": "string"
429
- },
430
- {
431
- "type": "null"
432
- }
433
- ]
434
- },
435
- "filename": {
436
- "anyOf": [
437
- {
438
- "type": "string"
439
- },
440
- {
441
- "type": "null"
442
- }
443
- ]
444
- }
445
- },
446
- "required": [
447
- "host",
448
- "cpCode",
449
- "path",
450
- "filename"
451
- ],
452
- "additionalProperties": false
453
- },
454
- {
455
- "type": "null"
456
- }
457
- ]
458
- }
459
- },
460
- "type": "object",
461
- "required": [
462
- "provider",
463
- "options"
464
- ],
465
- "additionalProperties": false
466
- },
467
- {
468
- "properties": {
469
- "provider": {
470
- "type": "string",
471
- "enum": [
472
- "azure-blob-storage"
473
- ]
474
- },
475
- "options": {
476
- "anyOf": [
477
- {
478
- "type": "object",
479
- "properties": {
480
- "accountName": {
481
- "type": "string"
482
- },
483
- "container": {
484
- "type": "string"
485
- },
486
- "prefix": {
487
- "anyOf": [
488
- {
489
- "type": "string"
490
- },
491
- {
492
- "type": "null"
493
- }
494
- ]
495
- },
496
- "filename": {
497
- "anyOf": [
498
- {
499
- "type": "string"
500
- },
501
- {
502
- "type": "null"
503
- }
504
- ]
505
- }
506
- },
507
- "required": [
508
- "accountName",
509
- "container",
510
- "prefix",
511
- "filename"
512
- ],
513
- "additionalProperties": false
514
- },
515
- {
516
- "type": "null"
517
- }
518
- ]
519
- }
520
- },
521
- "type": "object",
522
- "required": [
523
- "provider",
524
- "options"
525
- ],
526
- "additionalProperties": false
527
- }
528
- ]
529
- },
530
- "ShotstackDestination": {
531
- "properties": {
532
- "provider": {
533
- "type": "string",
534
- "enum": [
535
- "shotstack"
536
- ]
537
- },
538
- "exclude": {
539
- "anyOf": [
540
- {
541
- "type": "boolean"
542
- },
543
- {
544
- "type": "null"
545
- }
546
- ]
547
- }
548
- },
549
- "type": "object",
550
- "required": [
551
- "provider",
552
- "exclude"
553
- ],
554
- "additionalProperties": false
555
- },
556
- "S3Destination": {
557
- "properties": {
558
- "provider": {
559
- "type": "string",
560
- "enum": [
561
- "s3"
562
- ]
563
- },
564
- "options": {
565
- "anyOf": [
566
- {
567
- "$ref": "#/$defs/S3DestinationOptions"
568
- },
569
- {
570
- "type": "null"
571
- }
572
- ]
573
- }
574
- },
575
- "type": "object",
576
- "required": [
577
- "provider",
578
- "options"
579
- ],
580
- "additionalProperties": false
581
- },
582
- "S3DestinationOptions": {
583
- "properties": {
584
- "region": {
585
- "type": "string"
586
- },
587
- "bucket": {
588
- "type": "string"
589
- },
590
- "prefix": {
591
- "anyOf": [
592
- {
593
- "type": "string"
594
- },
595
- {
596
- "type": "null"
597
- }
598
- ]
599
- },
600
- "filename": {
601
- "anyOf": [
602
- {
603
- "type": "string"
604
- },
605
- {
606
- "type": "null"
607
- }
608
- ]
609
- },
610
- "acl": {
611
- "anyOf": [
612
- {
613
- "type": "string"
614
- },
615
- {
616
- "type": "null"
617
- }
618
- ]
619
- }
620
- },
621
- "required": [
622
- "region",
623
- "bucket",
624
- "prefix",
625
- "filename",
626
- "acl"
627
- ],
628
- "type": "object",
629
- "additionalProperties": false
630
- },
631
- "GoogleCloudStorageDestination": {
632
- "properties": {
633
- "provider": {
634
- "type": "string",
635
- "enum": [
636
- "google-cloud-storage"
637
- ]
638
- },
639
- "options": {
640
- "anyOf": [
641
- {
642
- "$ref": "#/$defs/GoogleCloudStorageDestinationOptions"
643
- },
644
- {
645
- "type": "null"
646
- }
647
- ]
648
- }
649
- },
650
- "type": "object",
651
- "required": [
652
- "provider",
653
- "options"
654
- ],
655
- "additionalProperties": false
656
- },
657
- "GoogleCloudStorageDestinationOptions": {
658
- "properties": {
659
- "bucket": {
660
- "type": "string"
661
- },
662
- "prefix": {
663
- "anyOf": [
664
- {
665
- "type": "string"
666
- },
667
- {
668
- "type": "null"
669
- }
670
- ]
671
- },
672
- "filename": {
673
- "anyOf": [
674
- {
675
- "type": "string"
676
- },
677
- {
678
- "type": "null"
679
- }
680
- ]
681
- }
682
- },
683
- "required": [
684
- "bucket",
685
- "prefix",
686
- "filename"
687
- ],
688
- "type": "object",
689
- "additionalProperties": false
690
- },
691
- "GoogleDriveDestination": {
692
- "properties": {
693
- "provider": {
694
- "type": "string",
695
- "enum": [
696
- "google-drive"
697
- ]
698
- },
699
- "options": {
700
- "anyOf": [
701
- {
702
- "$ref": "#/$defs/GoogleDriveDestinationOptions"
703
- },
704
- {
705
- "type": "null"
706
- }
707
- ]
708
- }
709
- },
710
- "type": "object",
711
- "required": [
712
- "provider",
713
- "options"
714
- ],
715
- "additionalProperties": false
716
- },
717
- "GoogleDriveDestinationOptions": {
718
- "properties": {
719
- "folderId": {
720
- "anyOf": [
721
- {
722
- "type": "string"
723
- },
724
- {
725
- "type": "null"
726
- }
727
- ]
728
- },
729
- "filename": {
730
- "anyOf": [
731
- {
732
- "type": "string"
733
- },
734
- {
735
- "type": "null"
736
- }
737
- ]
738
- }
739
- },
740
- "type": "object",
741
- "additionalProperties": false,
742
- "required": [
743
- "folderId",
744
- "filename"
745
- ]
746
- },
747
- "VimeoDestination": {
748
- "properties": {
749
- "provider": {
750
- "type": "string",
751
- "enum": [
752
- "vimeo"
753
- ]
754
- },
755
- "options": {
756
- "anyOf": [
757
- {
758
- "$ref": "#/$defs/VimeoDestinationOptions"
759
- },
760
- {
761
- "type": "null"
762
- }
763
- ]
764
- }
765
- },
766
- "type": "object",
767
- "required": [
768
- "provider",
769
- "options"
770
- ],
771
- "additionalProperties": false
772
- },
773
- "VimeoDestinationOptions": {
774
- "properties": {
775
- "name": {
776
- "anyOf": [
777
- {
778
- "type": "string"
779
- },
780
- {
781
- "type": "null"
782
- }
783
- ]
784
- },
785
- "description": {
786
- "anyOf": [
787
- {
788
- "type": "string"
789
- },
790
- {
791
- "type": "null"
792
- }
793
- ]
794
- },
795
- "privacy": {
796
- "anyOf": [
797
- {
798
- "$ref": "#/$defs/VimeoDestinationPrivacyOptions"
799
- },
800
- {
801
- "type": "null"
802
- }
803
- ]
804
- },
805
- "folderUri": {
806
- "anyOf": [
807
- {
808
- "type": "string"
809
- },
810
- {
811
- "type": "null"
812
- }
813
- ]
814
- }
815
- },
816
- "type": "object",
817
- "additionalProperties": false,
818
- "required": [
819
- "name",
820
- "description",
821
- "privacy",
822
- "folderUri"
823
- ]
824
- },
825
- "VimeoDestinationPrivacyOptions": {
826
- "properties": {
827
- "view": {
828
- "anyOf": [
829
- {
830
- "type": "string",
831
- "enum": [
832
- "anybody",
833
- "nobody",
834
- "contacts",
835
- "password",
836
- "unlisted"
837
- ]
838
- },
839
- {
840
- "type": "null"
841
- }
842
- ]
843
- },
844
- "embed": {
845
- "anyOf": [
846
- {
847
- "type": "string",
848
- "enum": [
849
- "public",
850
- "private",
851
- "whitelist"
852
- ]
853
- },
854
- {
855
- "type": "null"
856
- }
857
- ]
858
- },
859
- "comments": {
860
- "anyOf": [
861
- {
862
- "type": "string",
863
- "enum": [
864
- "anybody",
865
- "nobody",
866
- "contacts"
867
- ]
868
- },
869
- {
870
- "type": "null"
871
- }
872
- ]
873
- },
874
- "download": {
875
- "anyOf": [
876
- {
877
- "type": "boolean"
878
- },
879
- {
880
- "type": "null"
881
- }
882
- ]
883
- },
884
- "add": {
885
- "anyOf": [
886
- {
887
- "type": "boolean"
888
- },
889
- {
890
- "type": "null"
891
- }
892
- ]
893
- }
894
- },
895
- "type": "object",
896
- "additionalProperties": false,
897
- "required": [
898
- "view",
899
- "embed",
900
- "comments",
901
- "download",
902
- "add"
903
- ]
904
- }
905
- }
906
- }
907
- }