@shotstack/schemas 1.13.2 → 1.14.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.
@@ -241,7 +241,7 @@
241
241
  }
242
242
  ]
243
243
  },
244
- "seed": {
244
+ "model": {
245
245
  "anyOf": [
246
246
  {
247
247
  "type": "string"
@@ -251,10 +251,69 @@
251
251
  }
252
252
  ]
253
253
  },
254
- "model": {
254
+ "resolution": {
255
255
  "anyOf": [
256
256
  {
257
- "type": "string"
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"
258
317
  },
259
318
  {
260
319
  "type": "null"
@@ -318,8 +377,11 @@
318
377
  "src",
319
378
  "prompt",
320
379
  "inputSrc",
321
- "seed",
322
380
  "model",
381
+ "resolution",
382
+ "duration",
383
+ "aspectRatio",
384
+ "generateAudio",
323
385
  "trim",
324
386
  "volume",
325
387
  "volumeEffect",
@@ -364,6 +426,40 @@
364
426
  "type": "null"
365
427
  }
366
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
+ ]
367
463
  }
368
464
  },
369
465
  "additionalProperties": false,
@@ -371,7 +467,9 @@
371
467
  "type",
372
468
  "src",
373
469
  "prompt",
374
- "model"
470
+ "model",
471
+ "resolution",
472
+ "aspectRatio"
375
473
  ]
376
474
  },
377
475
  "AudioAsset": {
@@ -443,6 +541,38 @@
443
541
  }
444
542
  ]
445
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
+ },
446
576
  "trim": {
447
577
  "anyOf": [
448
578
  {
@@ -491,6 +621,9 @@
491
621
  "language",
492
622
  "newscaster",
493
623
  "model",
624
+ "musicLengthMs",
625
+ "forceInstrumental",
626
+ "compositionPlan",
494
627
  "trim",
495
628
  "volume",
496
629
  "effect"
@@ -451,7 +451,7 @@
451
451
  }
452
452
  ]
453
453
  },
454
- "seed": {
454
+ "model": {
455
455
  "anyOf": [
456
456
  {
457
457
  "type": "string"
@@ -461,10 +461,69 @@
461
461
  }
462
462
  ]
463
463
  },
464
- "model": {
464
+ "resolution": {
465
465
  "anyOf": [
466
466
  {
467
- "type": "string"
467
+ "type": "string",
468
+ "enum": [
469
+ "480p",
470
+ "720p",
471
+ "1080p"
472
+ ]
473
+ },
474
+ {
475
+ "type": "null"
476
+ }
477
+ ]
478
+ },
479
+ "duration": {
480
+ "anyOf": [
481
+ {
482
+ "type": "string",
483
+ "enum": [
484
+ "auto",
485
+ "4",
486
+ "5",
487
+ "6",
488
+ "7",
489
+ "8",
490
+ "9",
491
+ "10",
492
+ "11",
493
+ "12",
494
+ "13",
495
+ "14",
496
+ "15"
497
+ ]
498
+ },
499
+ {
500
+ "type": "null"
501
+ }
502
+ ]
503
+ },
504
+ "aspectRatio": {
505
+ "anyOf": [
506
+ {
507
+ "type": "string",
508
+ "enum": [
509
+ "1:1",
510
+ "16:9",
511
+ "9:16",
512
+ "4:3",
513
+ "3:4",
514
+ "21:9",
515
+ "9:21"
516
+ ]
517
+ },
518
+ {
519
+ "type": "null"
520
+ }
521
+ ]
522
+ },
523
+ "generateAudio": {
524
+ "anyOf": [
525
+ {
526
+ "type": "boolean"
468
527
  },
469
528
  {
470
529
  "type": "null"
@@ -564,8 +623,11 @@
564
623
  "src",
565
624
  "prompt",
566
625
  "inputSrc",
567
- "seed",
568
626
  "model",
627
+ "resolution",
628
+ "duration",
629
+ "aspectRatio",
630
+ "generateAudio",
569
631
  "transcode",
570
632
  "trim",
571
633
  "volume",
@@ -821,6 +883,40 @@
821
883
  }
822
884
  ]
823
885
  },
886
+ "resolution": {
887
+ "anyOf": [
888
+ {
889
+ "type": "string",
890
+ "enum": [
891
+ "1K",
892
+ "2K",
893
+ "4K"
894
+ ]
895
+ },
896
+ {
897
+ "type": "null"
898
+ }
899
+ ]
900
+ },
901
+ "aspectRatio": {
902
+ "anyOf": [
903
+ {
904
+ "type": "string",
905
+ "enum": [
906
+ "1:1",
907
+ "16:9",
908
+ "9:16",
909
+ "4:3",
910
+ "3:4",
911
+ "21:9",
912
+ "9:21"
913
+ ]
914
+ },
915
+ {
916
+ "type": "null"
917
+ }
918
+ ]
919
+ },
824
920
  "crop": {
825
921
  "anyOf": [
826
922
  {
@@ -838,6 +934,8 @@
838
934
  "src",
839
935
  "prompt",
840
936
  "model",
937
+ "resolution",
938
+ "aspectRatio",
841
939
  "crop"
842
940
  ]
843
941
  },
@@ -1665,6 +1763,38 @@
1665
1763
  }
1666
1764
  ]
1667
1765
  },
1766
+ "musicLengthMs": {
1767
+ "anyOf": [
1768
+ {
1769
+ "type": "number",
1770
+ "minimum": 3000,
1771
+ "maximum": 600000
1772
+ },
1773
+ {
1774
+ "type": "null"
1775
+ }
1776
+ ]
1777
+ },
1778
+ "forceInstrumental": {
1779
+ "anyOf": [
1780
+ {
1781
+ "type": "boolean"
1782
+ },
1783
+ {
1784
+ "type": "null"
1785
+ }
1786
+ ]
1787
+ },
1788
+ "compositionPlan": {
1789
+ "anyOf": [
1790
+ {
1791
+ "type": "string"
1792
+ },
1793
+ {
1794
+ "type": "null"
1795
+ }
1796
+ ]
1797
+ },
1668
1798
  "trim": {
1669
1799
  "anyOf": [
1670
1800
  {
@@ -1731,6 +1861,9 @@
1731
1861
  "language",
1732
1862
  "newscaster",
1733
1863
  "model",
1864
+ "musicLengthMs",
1865
+ "forceInstrumental",
1866
+ "compositionPlan",
1734
1867
  "trim",
1735
1868
  "volume",
1736
1869
  "speed",
@@ -338,7 +338,7 @@
338
338
  }
339
339
  ]
340
340
  },
341
- "seed": {
341
+ "model": {
342
342
  "anyOf": [
343
343
  {
344
344
  "type": "string"
@@ -348,10 +348,69 @@
348
348
  }
349
349
  ]
350
350
  },
351
- "model": {
351
+ "resolution": {
352
352
  "anyOf": [
353
353
  {
354
- "type": "string"
354
+ "type": "string",
355
+ "enum": [
356
+ "480p",
357
+ "720p",
358
+ "1080p"
359
+ ]
360
+ },
361
+ {
362
+ "type": "null"
363
+ }
364
+ ]
365
+ },
366
+ "duration": {
367
+ "anyOf": [
368
+ {
369
+ "type": "string",
370
+ "enum": [
371
+ "auto",
372
+ "4",
373
+ "5",
374
+ "6",
375
+ "7",
376
+ "8",
377
+ "9",
378
+ "10",
379
+ "11",
380
+ "12",
381
+ "13",
382
+ "14",
383
+ "15"
384
+ ]
385
+ },
386
+ {
387
+ "type": "null"
388
+ }
389
+ ]
390
+ },
391
+ "aspectRatio": {
392
+ "anyOf": [
393
+ {
394
+ "type": "string",
395
+ "enum": [
396
+ "1:1",
397
+ "16:9",
398
+ "9:16",
399
+ "4:3",
400
+ "3:4",
401
+ "21:9",
402
+ "9:21"
403
+ ]
404
+ },
405
+ {
406
+ "type": "null"
407
+ }
408
+ ]
409
+ },
410
+ "generateAudio": {
411
+ "anyOf": [
412
+ {
413
+ "type": "boolean"
355
414
  },
356
415
  {
357
416
  "type": "null"
@@ -451,8 +510,11 @@
451
510
  "src",
452
511
  "prompt",
453
512
  "inputSrc",
454
- "seed",
455
513
  "model",
514
+ "resolution",
515
+ "duration",
516
+ "aspectRatio",
517
+ "generateAudio",
456
518
  "transcode",
457
519
  "trim",
458
520
  "volume",
@@ -708,6 +770,40 @@
708
770
  }
709
771
  ]
710
772
  },
773
+ "resolution": {
774
+ "anyOf": [
775
+ {
776
+ "type": "string",
777
+ "enum": [
778
+ "1K",
779
+ "2K",
780
+ "4K"
781
+ ]
782
+ },
783
+ {
784
+ "type": "null"
785
+ }
786
+ ]
787
+ },
788
+ "aspectRatio": {
789
+ "anyOf": [
790
+ {
791
+ "type": "string",
792
+ "enum": [
793
+ "1:1",
794
+ "16:9",
795
+ "9:16",
796
+ "4:3",
797
+ "3:4",
798
+ "21:9",
799
+ "9:21"
800
+ ]
801
+ },
802
+ {
803
+ "type": "null"
804
+ }
805
+ ]
806
+ },
711
807
  "crop": {
712
808
  "anyOf": [
713
809
  {
@@ -725,6 +821,8 @@
725
821
  "src",
726
822
  "prompt",
727
823
  "model",
824
+ "resolution",
825
+ "aspectRatio",
728
826
  "crop"
729
827
  ]
730
828
  },
@@ -1552,6 +1650,38 @@
1552
1650
  }
1553
1651
  ]
1554
1652
  },
1653
+ "musicLengthMs": {
1654
+ "anyOf": [
1655
+ {
1656
+ "type": "number",
1657
+ "minimum": 3000,
1658
+ "maximum": 600000
1659
+ },
1660
+ {
1661
+ "type": "null"
1662
+ }
1663
+ ]
1664
+ },
1665
+ "forceInstrumental": {
1666
+ "anyOf": [
1667
+ {
1668
+ "type": "boolean"
1669
+ },
1670
+ {
1671
+ "type": "null"
1672
+ }
1673
+ ]
1674
+ },
1675
+ "compositionPlan": {
1676
+ "anyOf": [
1677
+ {
1678
+ "type": "string"
1679
+ },
1680
+ {
1681
+ "type": "null"
1682
+ }
1683
+ ]
1684
+ },
1555
1685
  "trim": {
1556
1686
  "anyOf": [
1557
1687
  {
@@ -1618,6 +1748,9 @@
1618
1748
  "language",
1619
1749
  "newscaster",
1620
1750
  "model",
1751
+ "musicLengthMs",
1752
+ "forceInstrumental",
1753
+ "compositionPlan",
1621
1754
  "trim",
1622
1755
  "volume",
1623
1756
  "speed",