@shotstack/schemas 1.7.0 → 1.8.2

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 (53) hide show
  1. package/README.md +89 -89
  2. package/dist/api.bundled.json +49 -833
  3. package/dist/json-schema/asset.json +115 -856
  4. package/dist/json-schema/audio-asset.json +31 -1
  5. package/dist/json-schema/blueprint.json +380 -0
  6. package/dist/json-schema/caption-detailer.json +275 -0
  7. package/dist/json-schema/clip.json +256 -949
  8. package/dist/json-schema/edit.json +247 -940
  9. package/dist/json-schema/index.cjs +5 -0
  10. package/dist/json-schema/index.d.ts +5 -0
  11. package/dist/json-schema/index.js +5 -0
  12. package/dist/json-schema/offset.json +31 -1
  13. package/dist/json-schema/rich-caption-asset.json +221 -140
  14. package/dist/json-schema/rich-text-content.json +370 -0
  15. package/dist/json-schema/rich-text-effects.json +400 -0
  16. package/dist/json-schema/rotate-transformation.json +31 -1
  17. package/dist/json-schema/schemas.json +264 -1044
  18. package/dist/json-schema/skew-transformation.json +31 -1
  19. package/dist/json-schema/svg-asset.json +6 -857
  20. package/dist/json-schema/template.json +541 -0
  21. package/dist/json-schema/text-to-speech-asset.json +31 -1
  22. package/dist/json-schema/timeline.json +256 -949
  23. package/dist/json-schema/track.json +256 -949
  24. package/dist/json-schema/transformation.json +52 -22
  25. package/dist/json-schema/transition.json +50 -2
  26. package/dist/json-schema/tween.json +31 -1
  27. package/dist/json-schema/video-asset.json +56 -26
  28. package/dist/schema.d.ts +43 -660
  29. package/dist/zod/zod.gen.cjs +914 -1640
  30. package/dist/zod/zod.gen.d.ts +306 -8714
  31. package/dist/zod/zod.gen.js +911 -1636
  32. package/dist/zod/zod.gen.ts +1593 -1880
  33. package/package.json +79 -79
  34. package/dist/json-schema/svg-arrow-shape.json +0 -49
  35. package/dist/json-schema/svg-circle-shape.json +0 -28
  36. package/dist/json-schema/svg-cross-shape.json +0 -42
  37. package/dist/json-schema/svg-ellipse-shape.json +0 -35
  38. package/dist/json-schema/svg-fill.json +0 -169
  39. package/dist/json-schema/svg-gradient-stop.json +0 -25
  40. package/dist/json-schema/svg-heart-shape.json +0 -28
  41. package/dist/json-schema/svg-line-shape.json +0 -35
  42. package/dist/json-schema/svg-linear-gradient-fill.json +0 -80
  43. package/dist/json-schema/svg-path-shape.json +0 -26
  44. package/dist/json-schema/svg-polygon-shape.json +0 -35
  45. package/dist/json-schema/svg-radial-gradient-fill.json +0 -66
  46. package/dist/json-schema/svg-rectangle-shape.json +0 -49
  47. package/dist/json-schema/svg-ring-shape.json +0 -35
  48. package/dist/json-schema/svg-shadow.json +0 -79
  49. package/dist/json-schema/svg-shape.json +0 -404
  50. package/dist/json-schema/svg-solid-fill.json +0 -40
  51. package/dist/json-schema/svg-star-shape.json +0 -42
  52. package/dist/json-schema/svg-stroke.json +0 -115
  53. package/dist/json-schema/svg-transform.json +0 -93
@@ -573,7 +573,37 @@
573
573
  "easing": {
574
574
  "anyOf": [
575
575
  {
576
- "type": "string"
576
+ "type": "string",
577
+ "enum": [
578
+ "ease",
579
+ "easeIn",
580
+ "easeOut",
581
+ "easeInOut",
582
+ "easeInQuad",
583
+ "easeInCubic",
584
+ "easeInQuart",
585
+ "easeInQuint",
586
+ "easeInSine",
587
+ "easeInExpo",
588
+ "easeInCirc",
589
+ "easeInBack",
590
+ "easeOutQuad",
591
+ "easeOutCubic",
592
+ "easeOutQuart",
593
+ "easeOutQuint",
594
+ "easeOutSine",
595
+ "easeOutExpo",
596
+ "easeOutCirc",
597
+ "easeOutBack",
598
+ "easeInOutQuad",
599
+ "easeInOutCubic",
600
+ "easeInOutQuart",
601
+ "easeInOutQuint",
602
+ "easeInOutSine",
603
+ "easeInOutExpo",
604
+ "easeInOutCirc",
605
+ "easeInOutBack"
606
+ ]
577
607
  },
578
608
  {
579
609
  "type": "null"
@@ -1849,7 +1879,88 @@
1849
1879
  "font": {
1850
1880
  "anyOf": [
1851
1881
  {
1852
- "$ref": "#/$defs/RichTextFont"
1882
+ "type": "object",
1883
+ "properties": {
1884
+ "family": {
1885
+ "anyOf": [
1886
+ {
1887
+ "type": "string",
1888
+ "enum": [
1889
+ "Roboto"
1890
+ ]
1891
+ },
1892
+ {
1893
+ "type": "null"
1894
+ }
1895
+ ]
1896
+ },
1897
+ "size": {
1898
+ "anyOf": [
1899
+ {
1900
+ "type": "integer",
1901
+ "minimum": 1,
1902
+ "maximum": 500
1903
+ },
1904
+ {
1905
+ "type": "null"
1906
+ }
1907
+ ]
1908
+ },
1909
+ "weight": {
1910
+ "anyOf": [
1911
+ {
1912
+ "type": "string"
1913
+ },
1914
+ {
1915
+ "type": "null"
1916
+ }
1917
+ ]
1918
+ },
1919
+ "color": {
1920
+ "anyOf": [
1921
+ {
1922
+ "type": "string",
1923
+ "enum": [
1924
+ "#ffffff"
1925
+ ]
1926
+ },
1927
+ {
1928
+ "type": "null"
1929
+ }
1930
+ ]
1931
+ },
1932
+ "opacity": {
1933
+ "anyOf": [
1934
+ {
1935
+ "type": "number",
1936
+ "minimum": 0,
1937
+ "maximum": 1
1938
+ },
1939
+ {
1940
+ "type": "null"
1941
+ }
1942
+ ]
1943
+ },
1944
+ "background": {
1945
+ "anyOf": [
1946
+ {
1947
+ "type": "string"
1948
+ },
1949
+ {
1950
+ "type": "null"
1951
+ }
1952
+ ]
1953
+ }
1954
+ },
1955
+ "additionalProperties": false,
1956
+ "required": [
1957
+ "family",
1958
+ "size",
1959
+ "weight",
1960
+ "color",
1961
+ "opacity",
1962
+ "background"
1963
+ ]
1853
1964
  },
1854
1965
  {
1855
1966
  "type": "null"
@@ -2386,95 +2497,123 @@
2386
2497
  ]
2387
2498
  },
2388
2499
  "src": {
2389
- "anyOf": [
2390
- {
2391
- "type": "string"
2392
- },
2393
- {
2394
- "type": "null"
2395
- }
2500
+ "type": "string"
2501
+ }
2502
+ },
2503
+ "additionalProperties": false,
2504
+ "required": [
2505
+ "type",
2506
+ "src"
2507
+ ]
2508
+ },
2509
+ "TextToImageAsset": {
2510
+ "properties": {
2511
+ "type": {
2512
+ "type": "string",
2513
+ "enum": [
2514
+ "text-to-image"
2396
2515
  ]
2397
2516
  },
2398
- "shape": {
2517
+ "prompt": {
2518
+ "type": "string"
2519
+ },
2520
+ "width": {
2399
2521
  "anyOf": [
2400
2522
  {
2401
- "$ref": "#/$defs/SvgShape"
2523
+ "type": "integer"
2402
2524
  },
2403
2525
  {
2404
2526
  "type": "null"
2405
2527
  }
2406
2528
  ]
2407
2529
  },
2408
- "fill": {
2530
+ "height": {
2409
2531
  "anyOf": [
2410
2532
  {
2411
- "$ref": "#/$defs/SvgFill"
2533
+ "type": "integer"
2412
2534
  },
2413
2535
  {
2414
2536
  "type": "null"
2415
2537
  }
2416
2538
  ]
2417
2539
  },
2418
- "stroke": {
2540
+ "crop": {
2419
2541
  "anyOf": [
2420
2542
  {
2421
- "$ref": "#/$defs/SvgStroke"
2543
+ "$ref": "#/$defs/Crop"
2422
2544
  },
2423
2545
  {
2424
2546
  "type": "null"
2425
2547
  }
2426
2548
  ]
2549
+ }
2550
+ },
2551
+ "additionalProperties": false,
2552
+ "type": "object",
2553
+ "required": [
2554
+ "type",
2555
+ "prompt",
2556
+ "width",
2557
+ "height",
2558
+ "crop"
2559
+ ]
2560
+ },
2561
+ "ImageToVideoAsset": {
2562
+ "properties": {
2563
+ "type": {
2564
+ "type": "string",
2565
+ "enum": [
2566
+ "image-to-video"
2567
+ ]
2427
2568
  },
2428
- "shadow": {
2569
+ "src": {
2570
+ "type": "string"
2571
+ },
2572
+ "prompt": {
2429
2573
  "anyOf": [
2430
2574
  {
2431
- "$ref": "#/$defs/SvgShadow"
2575
+ "type": "string"
2432
2576
  },
2433
2577
  {
2434
2578
  "type": "null"
2435
2579
  }
2436
2580
  ]
2437
2581
  },
2438
- "transform": {
2582
+ "aspectRatio": {
2439
2583
  "anyOf": [
2440
2584
  {
2441
- "$ref": "#/$defs/SvgTransform"
2585
+ "type": "string",
2586
+ "enum": [
2587
+ "1:1",
2588
+ "4:3",
2589
+ "16:9",
2590
+ "9:16",
2591
+ "3:4",
2592
+ "21:9",
2593
+ "9:21"
2594
+ ]
2442
2595
  },
2443
2596
  {
2444
2597
  "type": "null"
2445
2598
  }
2446
2599
  ]
2447
2600
  },
2448
- "opacity": {
2601
+ "speed": {
2449
2602
  "anyOf": [
2450
2603
  {
2451
2604
  "type": "number",
2452
2605
  "minimum": 0,
2453
- "maximum": 1
2454
- },
2455
- {
2456
- "type": "null"
2457
- }
2458
- ]
2459
- },
2460
- "width": {
2461
- "anyOf": [
2462
- {
2463
- "type": "integer",
2464
- "minimum": 1,
2465
- "maximum": 4096
2606
+ "maximum": 10
2466
2607
  },
2467
2608
  {
2468
2609
  "type": "null"
2469
2610
  }
2470
2611
  ]
2471
2612
  },
2472
- "height": {
2613
+ "crop": {
2473
2614
  "anyOf": [
2474
2615
  {
2475
- "type": "integer",
2476
- "minimum": 1,
2477
- "maximum": 4096
2616
+ "$ref": "#/$defs/Crop"
2478
2617
  },
2479
2618
  {
2480
2619
  "type": "null"
@@ -2483,939 +2622,59 @@
2483
2622
  }
2484
2623
  },
2485
2624
  "additionalProperties": false,
2625
+ "type": "object",
2486
2626
  "required": [
2487
2627
  "type",
2488
2628
  "src",
2489
- "shape",
2490
- "fill",
2491
- "stroke",
2492
- "shadow",
2493
- "transform",
2494
- "opacity",
2495
- "width",
2496
- "height"
2497
- ]
2498
- },
2499
- "SvgShape": {
2500
- "anyOf": [
2501
- {
2502
- "$ref": "#/$defs/SvgRectangleShape"
2503
- },
2504
- {
2505
- "$ref": "#/$defs/SvgCircleShape"
2506
- },
2507
- {
2508
- "$ref": "#/$defs/SvgEllipseShape"
2509
- },
2510
- {
2511
- "$ref": "#/$defs/SvgLineShape"
2512
- },
2513
- {
2514
- "$ref": "#/$defs/SvgPolygonShape"
2515
- },
2516
- {
2517
- "$ref": "#/$defs/SvgStarShape"
2518
- },
2519
- {
2520
- "$ref": "#/$defs/SvgArrowShape"
2521
- },
2522
- {
2523
- "$ref": "#/$defs/SvgHeartShape"
2524
- },
2525
- {
2526
- "$ref": "#/$defs/SvgCrossShape"
2527
- },
2528
- {
2529
- "$ref": "#/$defs/SvgRingShape"
2530
- },
2531
- {
2532
- "$ref": "#/$defs/SvgPathShape"
2533
- }
2629
+ "prompt",
2630
+ "aspectRatio",
2631
+ "speed",
2632
+ "crop"
2534
2633
  ]
2535
2634
  },
2536
- "SvgRectangleShape": {
2635
+ "TextToSpeechAsset": {
2537
2636
  "type": "object",
2538
- "additionalProperties": false,
2539
2637
  "properties": {
2540
2638
  "type": {
2541
2639
  "type": "string",
2542
2640
  "enum": [
2543
- "rectangle"
2641
+ "text-to-speech"
2544
2642
  ]
2545
2643
  },
2546
- "width": {
2547
- "type": "number",
2548
- "minimum": 1,
2549
- "maximum": 4096
2644
+ "text": {
2645
+ "type": "string"
2550
2646
  },
2551
- "height": {
2552
- "type": "number",
2553
- "minimum": 1,
2554
- "maximum": 4096
2647
+ "voice": {
2648
+ "type": "string"
2555
2649
  },
2556
- "cornerRadius": {
2650
+ "language": {
2557
2651
  "anyOf": [
2558
2652
  {
2559
- "type": "number",
2560
- "minimum": 0,
2561
- "maximum": 2048
2653
+ "type": "string"
2562
2654
  },
2563
2655
  {
2564
2656
  "type": "null"
2565
2657
  }
2566
2658
  ]
2567
- }
2568
- },
2569
- "required": [
2570
- "type",
2571
- "width",
2572
- "height",
2573
- "cornerRadius"
2574
- ]
2575
- },
2576
- "SvgCircleShape": {
2577
- "type": "object",
2578
- "additionalProperties": false,
2579
- "properties": {
2580
- "type": {
2581
- "type": "string",
2582
- "enum": [
2583
- "circle"
2659
+ },
2660
+ "newscaster": {
2661
+ "anyOf": [
2662
+ {
2663
+ "type": "boolean"
2664
+ },
2665
+ {
2666
+ "type": "null"
2667
+ }
2584
2668
  ]
2585
2669
  },
2586
- "radius": {
2587
- "type": "number",
2588
- "minimum": 1,
2589
- "maximum": 2048
2590
- }
2591
- },
2592
- "required": [
2593
- "type",
2594
- "radius"
2595
- ]
2596
- },
2597
- "SvgEllipseShape": {
2598
- "type": "object",
2599
- "additionalProperties": false,
2600
- "properties": {
2601
- "type": {
2602
- "type": "string",
2603
- "enum": [
2604
- "ellipse"
2605
- ]
2606
- },
2607
- "radiusX": {
2608
- "type": "number",
2609
- "minimum": 1,
2610
- "maximum": 2048
2611
- },
2612
- "radiusY": {
2613
- "type": "number",
2614
- "minimum": 1,
2615
- "maximum": 2048
2616
- }
2617
- },
2618
- "required": [
2619
- "type",
2620
- "radiusX",
2621
- "radiusY"
2622
- ]
2623
- },
2624
- "SvgLineShape": {
2625
- "type": "object",
2626
- "additionalProperties": false,
2627
- "properties": {
2628
- "type": {
2629
- "type": "string",
2630
- "enum": [
2631
- "line"
2632
- ]
2633
- },
2634
- "length": {
2635
- "type": "number",
2636
- "minimum": 1,
2637
- "maximum": 4096
2638
- },
2639
- "thickness": {
2640
- "type": "number",
2641
- "minimum": 1,
2642
- "maximum": 500
2643
- }
2644
- },
2645
- "required": [
2646
- "type",
2647
- "length",
2648
- "thickness"
2649
- ]
2650
- },
2651
- "SvgPolygonShape": {
2652
- "type": "object",
2653
- "additionalProperties": false,
2654
- "properties": {
2655
- "type": {
2656
- "type": "string",
2657
- "enum": [
2658
- "polygon"
2659
- ]
2660
- },
2661
- "sides": {
2662
- "type": "integer",
2663
- "minimum": 3,
2664
- "maximum": 100
2665
- },
2666
- "radius": {
2667
- "type": "number",
2668
- "minimum": 1,
2669
- "maximum": 2048
2670
- }
2671
- },
2672
- "required": [
2673
- "type",
2674
- "sides",
2675
- "radius"
2676
- ]
2677
- },
2678
- "SvgStarShape": {
2679
- "type": "object",
2680
- "additionalProperties": false,
2681
- "properties": {
2682
- "type": {
2683
- "type": "string",
2684
- "enum": [
2685
- "star"
2686
- ]
2687
- },
2688
- "points": {
2689
- "type": "integer",
2690
- "minimum": 3,
2691
- "maximum": 100
2692
- },
2693
- "outerRadius": {
2694
- "type": "number",
2695
- "minimum": 1,
2696
- "maximum": 2048
2697
- },
2698
- "innerRadius": {
2699
- "type": "number",
2700
- "minimum": 1,
2701
- "maximum": 2048
2702
- }
2703
- },
2704
- "required": [
2705
- "type",
2706
- "points",
2707
- "outerRadius",
2708
- "innerRadius"
2709
- ]
2710
- },
2711
- "SvgArrowShape": {
2712
- "type": "object",
2713
- "additionalProperties": false,
2714
- "properties": {
2715
- "type": {
2716
- "type": "string",
2717
- "enum": [
2718
- "arrow"
2719
- ]
2720
- },
2721
- "length": {
2722
- "type": "number",
2723
- "minimum": 1,
2724
- "maximum": 4096
2725
- },
2726
- "headWidth": {
2727
- "type": "number",
2728
- "minimum": 1,
2729
- "maximum": 1000
2730
- },
2731
- "headLength": {
2732
- "type": "number",
2733
- "minimum": 1,
2734
- "maximum": 1000
2735
- },
2736
- "shaftWidth": {
2737
- "type": "number",
2738
- "minimum": 1,
2739
- "maximum": 1000
2740
- }
2741
- },
2742
- "required": [
2743
- "type",
2744
- "length",
2745
- "headWidth",
2746
- "headLength",
2747
- "shaftWidth"
2748
- ]
2749
- },
2750
- "SvgHeartShape": {
2751
- "type": "object",
2752
- "additionalProperties": false,
2753
- "properties": {
2754
- "type": {
2755
- "type": "string",
2756
- "enum": [
2757
- "heart"
2758
- ]
2759
- },
2760
- "size": {
2761
- "type": "number",
2762
- "minimum": 1,
2763
- "maximum": 4096
2764
- }
2765
- },
2766
- "required": [
2767
- "type",
2768
- "size"
2769
- ]
2770
- },
2771
- "SvgCrossShape": {
2772
- "type": "object",
2773
- "additionalProperties": false,
2774
- "properties": {
2775
- "type": {
2776
- "type": "string",
2777
- "enum": [
2778
- "cross"
2779
- ]
2780
- },
2781
- "width": {
2782
- "type": "number",
2783
- "minimum": 1,
2784
- "maximum": 4096
2785
- },
2786
- "height": {
2787
- "type": "number",
2788
- "minimum": 1,
2789
- "maximum": 4096
2790
- },
2791
- "thickness": {
2792
- "type": "number",
2793
- "minimum": 1,
2794
- "maximum": 500
2795
- }
2796
- },
2797
- "required": [
2798
- "type",
2799
- "width",
2800
- "height",
2801
- "thickness"
2802
- ]
2803
- },
2804
- "SvgRingShape": {
2805
- "type": "object",
2806
- "additionalProperties": false,
2807
- "properties": {
2808
- "type": {
2809
- "type": "string",
2810
- "enum": [
2811
- "ring"
2812
- ]
2813
- },
2814
- "outerRadius": {
2815
- "type": "number",
2816
- "minimum": 1,
2817
- "maximum": 2048
2818
- },
2819
- "innerRadius": {
2820
- "type": "number",
2821
- "minimum": 0,
2822
- "maximum": 2048
2823
- }
2824
- },
2825
- "required": [
2826
- "type",
2827
- "outerRadius",
2828
- "innerRadius"
2829
- ]
2830
- },
2831
- "SvgPathShape": {
2832
- "type": "object",
2833
- "additionalProperties": false,
2834
- "properties": {
2835
- "type": {
2836
- "type": "string",
2837
- "enum": [
2838
- "path"
2839
- ]
2840
- },
2841
- "d": {
2842
- "type": "string"
2843
- }
2844
- },
2845
- "required": [
2846
- "type",
2847
- "d"
2848
- ]
2849
- },
2850
- "SvgFill": {
2851
- "anyOf": [
2852
- {
2853
- "$ref": "#/$defs/SvgSolidFill"
2854
- },
2855
- {
2856
- "$ref": "#/$defs/SvgLinearGradientFill"
2857
- },
2858
- {
2859
- "$ref": "#/$defs/SvgRadialGradientFill"
2860
- }
2861
- ]
2862
- },
2863
- "SvgSolidFill": {
2864
- "type": "object",
2865
- "additionalProperties": false,
2866
- "properties": {
2867
- "type": {
2868
- "type": "string",
2869
- "enum": [
2870
- "solid"
2871
- ]
2872
- },
2873
- "color": {
2874
- "type": "string"
2875
- },
2876
- "opacity": {
2877
- "anyOf": [
2878
- {
2879
- "type": "number",
2880
- "minimum": 0,
2881
- "maximum": 1
2882
- },
2883
- {
2884
- "type": "null"
2885
- }
2886
- ]
2887
- }
2888
- },
2889
- "required": [
2890
- "type",
2891
- "color",
2892
- "opacity"
2893
- ]
2894
- },
2895
- "SvgLinearGradientFill": {
2896
- "type": "object",
2897
- "additionalProperties": false,
2898
- "properties": {
2899
- "type": {
2900
- "type": "string",
2901
- "enum": [
2902
- "linear"
2903
- ]
2904
- },
2905
- "angle": {
2906
- "anyOf": [
2907
- {
2908
- "type": "number",
2909
- "minimum": 0,
2910
- "maximum": 360
2911
- },
2912
- {
2913
- "type": "null"
2914
- }
2915
- ]
2916
- },
2917
- "stops": {
2918
- "type": "array",
2919
- "items": {
2920
- "$ref": "#/$defs/SvgGradientStop"
2921
- }
2922
- },
2923
- "opacity": {
2924
- "anyOf": [
2925
- {
2926
- "type": "number",
2927
- "minimum": 0,
2928
- "maximum": 1
2929
- },
2930
- {
2931
- "type": "null"
2932
- }
2933
- ]
2934
- }
2935
- },
2936
- "required": [
2937
- "type",
2938
- "angle",
2939
- "stops",
2940
- "opacity"
2941
- ]
2942
- },
2943
- "SvgGradientStop": {
2944
- "type": "object",
2945
- "additionalProperties": false,
2946
- "properties": {
2947
- "offset": {
2948
- "type": "number",
2949
- "minimum": 0,
2950
- "maximum": 1
2951
- },
2952
- "color": {
2953
- "type": "string"
2954
- }
2955
- },
2956
- "required": [
2957
- "offset",
2958
- "color"
2959
- ]
2960
- },
2961
- "SvgRadialGradientFill": {
2962
- "type": "object",
2963
- "additionalProperties": false,
2964
- "properties": {
2965
- "type": {
2966
- "type": "string",
2967
- "enum": [
2968
- "radial"
2969
- ]
2970
- },
2971
- "stops": {
2972
- "type": "array",
2973
- "items": {
2974
- "$ref": "#/$defs/SvgGradientStop"
2975
- }
2976
- },
2977
- "opacity": {
2978
- "anyOf": [
2979
- {
2980
- "type": "number",
2981
- "minimum": 0,
2982
- "maximum": 1
2983
- },
2984
- {
2985
- "type": "null"
2986
- }
2987
- ]
2988
- }
2989
- },
2990
- "required": [
2991
- "type",
2992
- "stops",
2993
- "opacity"
2994
- ]
2995
- },
2996
- "SvgStroke": {
2997
- "type": "object",
2998
- "additionalProperties": false,
2999
- "properties": {
3000
- "color": {
3001
- "anyOf": [
3002
- {
3003
- "type": "string"
3004
- },
3005
- {
3006
- "type": "null"
3007
- }
3008
- ]
3009
- },
3010
- "width": {
3011
- "anyOf": [
3012
- {
3013
- "type": "number",
3014
- "minimum": 0,
3015
- "maximum": 100
3016
- },
3017
- {
3018
- "type": "null"
3019
- }
3020
- ]
3021
- },
3022
- "opacity": {
3023
- "anyOf": [
3024
- {
3025
- "type": "number",
3026
- "minimum": 0,
3027
- "maximum": 1
3028
- },
3029
- {
3030
- "type": "null"
3031
- }
3032
- ]
3033
- },
3034
- "lineCap": {
3035
- "anyOf": [
3036
- {
3037
- "type": "string",
3038
- "enum": [
3039
- "butt",
3040
- "round",
3041
- "square"
3042
- ]
3043
- },
3044
- {
3045
- "type": "null"
3046
- }
3047
- ]
3048
- },
3049
- "lineJoin": {
3050
- "anyOf": [
3051
- {
3052
- "type": "string",
3053
- "enum": [
3054
- "miter",
3055
- "round",
3056
- "bevel"
3057
- ]
3058
- },
3059
- {
3060
- "type": "null"
3061
- }
3062
- ]
3063
- },
3064
- "dashArray": {
3065
- "anyOf": [
3066
- {
3067
- "type": "array",
3068
- "items": {
3069
- "type": "number",
3070
- "minimum": 0
3071
- }
3072
- },
3073
- {
3074
- "type": "null"
3075
- }
3076
- ]
3077
- },
3078
- "dashOffset": {
3079
- "anyOf": [
3080
- {
3081
- "type": "number"
3082
- },
3083
- {
3084
- "type": "null"
3085
- }
3086
- ]
3087
- }
3088
- },
3089
- "required": [
3090
- "color",
3091
- "width",
3092
- "opacity",
3093
- "lineCap",
3094
- "lineJoin",
3095
- "dashArray",
3096
- "dashOffset"
3097
- ]
3098
- },
3099
- "SvgShadow": {
3100
- "type": "object",
3101
- "additionalProperties": false,
3102
- "properties": {
3103
- "offsetX": {
3104
- "anyOf": [
3105
- {
3106
- "type": "number"
3107
- },
3108
- {
3109
- "type": "null"
3110
- }
3111
- ]
3112
- },
3113
- "offsetY": {
3114
- "anyOf": [
3115
- {
3116
- "type": "number"
3117
- },
3118
- {
3119
- "type": "null"
3120
- }
3121
- ]
3122
- },
3123
- "blur": {
3124
- "anyOf": [
3125
- {
3126
- "type": "number",
3127
- "minimum": 0
3128
- },
3129
- {
3130
- "type": "null"
3131
- }
3132
- ]
3133
- },
3134
- "color": {
3135
- "anyOf": [
3136
- {
3137
- "type": "string",
3138
- "enum": [
3139
- "#000000"
3140
- ]
3141
- },
3142
- {
3143
- "type": "null"
3144
- }
3145
- ]
3146
- },
3147
- "opacity": {
3148
- "anyOf": [
3149
- {
3150
- "type": "number",
3151
- "minimum": 0,
3152
- "maximum": 1
3153
- },
3154
- {
3155
- "type": "null"
3156
- }
3157
- ]
3158
- }
3159
- },
3160
- "required": [
3161
- "offsetX",
3162
- "offsetY",
3163
- "blur",
3164
- "color",
3165
- "opacity"
3166
- ]
3167
- },
3168
- "SvgTransform": {
3169
- "type": "object",
3170
- "additionalProperties": false,
3171
- "properties": {
3172
- "x": {
3173
- "anyOf": [
3174
- {
3175
- "type": "number"
3176
- },
3177
- {
3178
- "type": "null"
3179
- }
3180
- ]
3181
- },
3182
- "y": {
3183
- "anyOf": [
3184
- {
3185
- "type": "number"
3186
- },
3187
- {
3188
- "type": "null"
3189
- }
3190
- ]
3191
- },
3192
- "rotation": {
3193
- "anyOf": [
3194
- {
3195
- "type": "number",
3196
- "minimum": -360,
3197
- "maximum": 360
3198
- },
3199
- {
3200
- "type": "null"
3201
- }
3202
- ]
3203
- },
3204
- "scale": {
3205
- "anyOf": [
3206
- {
3207
- "type": "number",
3208
- "minimum": 0.01,
3209
- "maximum": 100
3210
- },
3211
- {
3212
- "type": "null"
3213
- }
3214
- ]
3215
- },
3216
- "originX": {
3217
- "anyOf": [
3218
- {
3219
- "type": "number",
3220
- "minimum": 0,
3221
- "maximum": 1
3222
- },
3223
- {
3224
- "type": "null"
3225
- }
3226
- ]
3227
- },
3228
- "originY": {
3229
- "anyOf": [
3230
- {
3231
- "type": "number",
3232
- "minimum": 0,
3233
- "maximum": 1
3234
- },
3235
- {
3236
- "type": "null"
3237
- }
3238
- ]
3239
- }
3240
- },
3241
- "required": [
3242
- "x",
3243
- "y",
3244
- "rotation",
3245
- "scale",
3246
- "originX",
3247
- "originY"
3248
- ]
3249
- },
3250
- "TextToImageAsset": {
3251
- "properties": {
3252
- "type": {
3253
- "type": "string",
3254
- "enum": [
3255
- "text-to-image"
3256
- ]
3257
- },
3258
- "prompt": {
3259
- "type": "string"
3260
- },
3261
- "width": {
3262
- "anyOf": [
3263
- {
3264
- "type": "integer"
3265
- },
3266
- {
3267
- "type": "null"
3268
- }
3269
- ]
3270
- },
3271
- "height": {
3272
- "anyOf": [
3273
- {
3274
- "type": "integer"
3275
- },
3276
- {
3277
- "type": "null"
3278
- }
3279
- ]
3280
- },
3281
- "crop": {
3282
- "anyOf": [
3283
- {
3284
- "$ref": "#/$defs/Crop"
3285
- },
3286
- {
3287
- "type": "null"
3288
- }
3289
- ]
3290
- }
3291
- },
3292
- "additionalProperties": false,
3293
- "type": "object",
3294
- "required": [
3295
- "type",
3296
- "prompt",
3297
- "width",
3298
- "height",
3299
- "crop"
3300
- ]
3301
- },
3302
- "ImageToVideoAsset": {
3303
- "properties": {
3304
- "type": {
3305
- "type": "string",
3306
- "enum": [
3307
- "image-to-video"
3308
- ]
3309
- },
3310
- "src": {
3311
- "type": "string"
3312
- },
3313
- "prompt": {
3314
- "anyOf": [
3315
- {
3316
- "type": "string"
3317
- },
3318
- {
3319
- "type": "null"
3320
- }
3321
- ]
3322
- },
3323
- "aspectRatio": {
3324
- "anyOf": [
3325
- {
3326
- "type": "string",
3327
- "enum": [
3328
- "1:1",
3329
- "4:3",
3330
- "16:9",
3331
- "9:16",
3332
- "3:4",
3333
- "21:9",
3334
- "9:21"
3335
- ]
3336
- },
3337
- {
3338
- "type": "null"
3339
- }
3340
- ]
3341
- },
3342
- "speed": {
3343
- "anyOf": [
3344
- {
3345
- "type": "number",
3346
- "minimum": 0,
3347
- "maximum": 10
3348
- },
3349
- {
3350
- "type": "null"
3351
- }
3352
- ]
3353
- },
3354
- "crop": {
3355
- "anyOf": [
3356
- {
3357
- "$ref": "#/$defs/Crop"
3358
- },
3359
- {
3360
- "type": "null"
3361
- }
3362
- ]
3363
- }
3364
- },
3365
- "additionalProperties": false,
3366
- "type": "object",
3367
- "required": [
3368
- "type",
3369
- "src",
3370
- "prompt",
3371
- "aspectRatio",
3372
- "speed",
3373
- "crop"
3374
- ]
3375
- },
3376
- "TextToSpeechAsset": {
3377
- "type": "object",
3378
- "properties": {
3379
- "type": {
3380
- "type": "string",
3381
- "enum": [
3382
- "text-to-speech"
3383
- ]
3384
- },
3385
- "text": {
3386
- "type": "string"
3387
- },
3388
- "voice": {
3389
- "type": "string"
3390
- },
3391
- "language": {
3392
- "anyOf": [
3393
- {
3394
- "type": "string"
3395
- },
3396
- {
3397
- "type": "null"
3398
- }
3399
- ]
3400
- },
3401
- "newscaster": {
3402
- "anyOf": [
3403
- {
3404
- "type": "boolean"
3405
- },
3406
- {
3407
- "type": "null"
3408
- }
3409
- ]
3410
- },
3411
- "trim": {
3412
- "anyOf": [
3413
- {
3414
- "type": "number"
3415
- },
3416
- {
3417
- "type": "null"
3418
- }
2670
+ "trim": {
2671
+ "anyOf": [
2672
+ {
2673
+ "type": "number"
2674
+ },
2675
+ {
2676
+ "type": "null"
2677
+ }
3419
2678
  ]
3420
2679
  },
3421
2680
  "volume": {
@@ -3529,7 +2788,31 @@
3529
2788
  "in": {
3530
2789
  "anyOf": [
3531
2790
  {
3532
- "type": "string"
2791
+ "type": "string",
2792
+ "enum": [
2793
+ "none",
2794
+ "fade",
2795
+ "reveal",
2796
+ "wipeLeft",
2797
+ "wipeRight",
2798
+ "slideLeft",
2799
+ "slideRight",
2800
+ "slideUp",
2801
+ "slideDown",
2802
+ "carouselLeft",
2803
+ "carouselRight",
2804
+ "carouselUp",
2805
+ "carouselDown",
2806
+ "shuffleTopRight",
2807
+ "shuffleRightTop",
2808
+ "shuffleRightBottom",
2809
+ "shuffleBottomRight",
2810
+ "shuffleBottomLeft",
2811
+ "shuffleLeftBottom",
2812
+ "shuffleLeftTop",
2813
+ "shuffleTopLeft",
2814
+ "zoom"
2815
+ ]
3533
2816
  },
3534
2817
  {
3535
2818
  "type": "null"
@@ -3539,7 +2822,31 @@
3539
2822
  "out": {
3540
2823
  "anyOf": [
3541
2824
  {
3542
- "type": "string"
2825
+ "type": "string",
2826
+ "enum": [
2827
+ "none",
2828
+ "fade",
2829
+ "reveal",
2830
+ "wipeLeft",
2831
+ "wipeRight",
2832
+ "slideLeft",
2833
+ "slideRight",
2834
+ "slideUp",
2835
+ "slideDown",
2836
+ "carouselLeft",
2837
+ "carouselRight",
2838
+ "carouselUp",
2839
+ "carouselDown",
2840
+ "shuffleTopRight",
2841
+ "shuffleRightTop",
2842
+ "shuffleRightBottom",
2843
+ "shuffleBottomRight",
2844
+ "shuffleBottomLeft",
2845
+ "shuffleLeftBottom",
2846
+ "shuffleLeftTop",
2847
+ "shuffleTopLeft",
2848
+ "zoom"
2849
+ ]
3543
2850
  },
3544
2851
  {
3545
2852
  "type": "null"