@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
@@ -629,7 +629,37 @@
629
629
  "easing": {
630
630
  "anyOf": [
631
631
  {
632
- "type": "string"
632
+ "type": "string",
633
+ "enum": [
634
+ "ease",
635
+ "easeIn",
636
+ "easeOut",
637
+ "easeInOut",
638
+ "easeInQuad",
639
+ "easeInCubic",
640
+ "easeInQuart",
641
+ "easeInQuint",
642
+ "easeInSine",
643
+ "easeInExpo",
644
+ "easeInCirc",
645
+ "easeInBack",
646
+ "easeOutQuad",
647
+ "easeOutCubic",
648
+ "easeOutQuart",
649
+ "easeOutQuint",
650
+ "easeOutSine",
651
+ "easeOutExpo",
652
+ "easeOutCirc",
653
+ "easeOutBack",
654
+ "easeInOutQuad",
655
+ "easeInOutCubic",
656
+ "easeInOutQuart",
657
+ "easeInOutQuint",
658
+ "easeInOutSine",
659
+ "easeInOutExpo",
660
+ "easeInOutCirc",
661
+ "easeInOutBack"
662
+ ]
633
663
  },
634
664
  {
635
665
  "type": "null"
@@ -1905,7 +1935,88 @@
1905
1935
  "font": {
1906
1936
  "anyOf": [
1907
1937
  {
1908
- "$ref": "#/$defs/RichTextFont"
1938
+ "type": "object",
1939
+ "properties": {
1940
+ "family": {
1941
+ "anyOf": [
1942
+ {
1943
+ "type": "string",
1944
+ "enum": [
1945
+ "Roboto"
1946
+ ]
1947
+ },
1948
+ {
1949
+ "type": "null"
1950
+ }
1951
+ ]
1952
+ },
1953
+ "size": {
1954
+ "anyOf": [
1955
+ {
1956
+ "type": "integer",
1957
+ "minimum": 1,
1958
+ "maximum": 500
1959
+ },
1960
+ {
1961
+ "type": "null"
1962
+ }
1963
+ ]
1964
+ },
1965
+ "weight": {
1966
+ "anyOf": [
1967
+ {
1968
+ "type": "string"
1969
+ },
1970
+ {
1971
+ "type": "null"
1972
+ }
1973
+ ]
1974
+ },
1975
+ "color": {
1976
+ "anyOf": [
1977
+ {
1978
+ "type": "string",
1979
+ "enum": [
1980
+ "#ffffff"
1981
+ ]
1982
+ },
1983
+ {
1984
+ "type": "null"
1985
+ }
1986
+ ]
1987
+ },
1988
+ "opacity": {
1989
+ "anyOf": [
1990
+ {
1991
+ "type": "number",
1992
+ "minimum": 0,
1993
+ "maximum": 1
1994
+ },
1995
+ {
1996
+ "type": "null"
1997
+ }
1998
+ ]
1999
+ },
2000
+ "background": {
2001
+ "anyOf": [
2002
+ {
2003
+ "type": "string"
2004
+ },
2005
+ {
2006
+ "type": "null"
2007
+ }
2008
+ ]
2009
+ }
2010
+ },
2011
+ "additionalProperties": false,
2012
+ "required": [
2013
+ "family",
2014
+ "size",
2015
+ "weight",
2016
+ "color",
2017
+ "opacity",
2018
+ "background"
2019
+ ]
1909
2020
  },
1910
2021
  {
1911
2022
  "type": "null"
@@ -2442,95 +2553,123 @@
2442
2553
  ]
2443
2554
  },
2444
2555
  "src": {
2445
- "anyOf": [
2446
- {
2447
- "type": "string"
2448
- },
2449
- {
2450
- "type": "null"
2451
- }
2556
+ "type": "string"
2557
+ }
2558
+ },
2559
+ "additionalProperties": false,
2560
+ "required": [
2561
+ "type",
2562
+ "src"
2563
+ ]
2564
+ },
2565
+ "TextToImageAsset": {
2566
+ "properties": {
2567
+ "type": {
2568
+ "type": "string",
2569
+ "enum": [
2570
+ "text-to-image"
2452
2571
  ]
2453
2572
  },
2454
- "shape": {
2573
+ "prompt": {
2574
+ "type": "string"
2575
+ },
2576
+ "width": {
2455
2577
  "anyOf": [
2456
2578
  {
2457
- "$ref": "#/$defs/SvgShape"
2579
+ "type": "integer"
2458
2580
  },
2459
2581
  {
2460
2582
  "type": "null"
2461
2583
  }
2462
2584
  ]
2463
2585
  },
2464
- "fill": {
2586
+ "height": {
2465
2587
  "anyOf": [
2466
2588
  {
2467
- "$ref": "#/$defs/SvgFill"
2589
+ "type": "integer"
2468
2590
  },
2469
2591
  {
2470
2592
  "type": "null"
2471
2593
  }
2472
2594
  ]
2473
2595
  },
2474
- "stroke": {
2596
+ "crop": {
2475
2597
  "anyOf": [
2476
2598
  {
2477
- "$ref": "#/$defs/SvgStroke"
2599
+ "$ref": "#/$defs/Crop"
2478
2600
  },
2479
2601
  {
2480
2602
  "type": "null"
2481
2603
  }
2482
2604
  ]
2605
+ }
2606
+ },
2607
+ "additionalProperties": false,
2608
+ "type": "object",
2609
+ "required": [
2610
+ "type",
2611
+ "prompt",
2612
+ "width",
2613
+ "height",
2614
+ "crop"
2615
+ ]
2616
+ },
2617
+ "ImageToVideoAsset": {
2618
+ "properties": {
2619
+ "type": {
2620
+ "type": "string",
2621
+ "enum": [
2622
+ "image-to-video"
2623
+ ]
2483
2624
  },
2484
- "shadow": {
2625
+ "src": {
2626
+ "type": "string"
2627
+ },
2628
+ "prompt": {
2485
2629
  "anyOf": [
2486
2630
  {
2487
- "$ref": "#/$defs/SvgShadow"
2631
+ "type": "string"
2488
2632
  },
2489
2633
  {
2490
2634
  "type": "null"
2491
2635
  }
2492
2636
  ]
2493
2637
  },
2494
- "transform": {
2638
+ "aspectRatio": {
2495
2639
  "anyOf": [
2496
2640
  {
2497
- "$ref": "#/$defs/SvgTransform"
2641
+ "type": "string",
2642
+ "enum": [
2643
+ "1:1",
2644
+ "4:3",
2645
+ "16:9",
2646
+ "9:16",
2647
+ "3:4",
2648
+ "21:9",
2649
+ "9:21"
2650
+ ]
2498
2651
  },
2499
2652
  {
2500
2653
  "type": "null"
2501
2654
  }
2502
2655
  ]
2503
2656
  },
2504
- "opacity": {
2657
+ "speed": {
2505
2658
  "anyOf": [
2506
2659
  {
2507
2660
  "type": "number",
2508
2661
  "minimum": 0,
2509
- "maximum": 1
2510
- },
2511
- {
2512
- "type": "null"
2513
- }
2514
- ]
2515
- },
2516
- "width": {
2517
- "anyOf": [
2518
- {
2519
- "type": "integer",
2520
- "minimum": 1,
2521
- "maximum": 4096
2662
+ "maximum": 10
2522
2663
  },
2523
2664
  {
2524
2665
  "type": "null"
2525
2666
  }
2526
2667
  ]
2527
2668
  },
2528
- "height": {
2669
+ "crop": {
2529
2670
  "anyOf": [
2530
2671
  {
2531
- "type": "integer",
2532
- "minimum": 1,
2533
- "maximum": 4096
2672
+ "$ref": "#/$defs/Crop"
2534
2673
  },
2535
2674
  {
2536
2675
  "type": "null"
@@ -2539,929 +2678,49 @@
2539
2678
  }
2540
2679
  },
2541
2680
  "additionalProperties": false,
2681
+ "type": "object",
2542
2682
  "required": [
2543
2683
  "type",
2544
2684
  "src",
2545
- "shape",
2546
- "fill",
2547
- "stroke",
2548
- "shadow",
2549
- "transform",
2550
- "opacity",
2551
- "width",
2552
- "height"
2553
- ]
2554
- },
2555
- "SvgShape": {
2556
- "anyOf": [
2557
- {
2558
- "$ref": "#/$defs/SvgRectangleShape"
2559
- },
2560
- {
2561
- "$ref": "#/$defs/SvgCircleShape"
2562
- },
2563
- {
2564
- "$ref": "#/$defs/SvgEllipseShape"
2565
- },
2566
- {
2567
- "$ref": "#/$defs/SvgLineShape"
2568
- },
2569
- {
2570
- "$ref": "#/$defs/SvgPolygonShape"
2571
- },
2572
- {
2573
- "$ref": "#/$defs/SvgStarShape"
2574
- },
2575
- {
2576
- "$ref": "#/$defs/SvgArrowShape"
2577
- },
2578
- {
2579
- "$ref": "#/$defs/SvgHeartShape"
2580
- },
2581
- {
2582
- "$ref": "#/$defs/SvgCrossShape"
2583
- },
2584
- {
2585
- "$ref": "#/$defs/SvgRingShape"
2586
- },
2587
- {
2588
- "$ref": "#/$defs/SvgPathShape"
2589
- }
2685
+ "prompt",
2686
+ "aspectRatio",
2687
+ "speed",
2688
+ "crop"
2590
2689
  ]
2591
2690
  },
2592
- "SvgRectangleShape": {
2691
+ "TextToSpeechAsset": {
2593
2692
  "type": "object",
2594
- "additionalProperties": false,
2595
2693
  "properties": {
2596
2694
  "type": {
2597
2695
  "type": "string",
2598
2696
  "enum": [
2599
- "rectangle"
2697
+ "text-to-speech"
2600
2698
  ]
2601
2699
  },
2602
- "width": {
2603
- "type": "number",
2604
- "minimum": 1,
2605
- "maximum": 4096
2700
+ "text": {
2701
+ "type": "string"
2606
2702
  },
2607
- "height": {
2608
- "type": "number",
2609
- "minimum": 1,
2610
- "maximum": 4096
2703
+ "voice": {
2704
+ "type": "string"
2611
2705
  },
2612
- "cornerRadius": {
2706
+ "language": {
2613
2707
  "anyOf": [
2614
2708
  {
2615
- "type": "number",
2616
- "minimum": 0,
2617
- "maximum": 2048
2709
+ "type": "string"
2618
2710
  },
2619
2711
  {
2620
2712
  "type": "null"
2621
2713
  }
2622
2714
  ]
2623
- }
2624
- },
2625
- "required": [
2626
- "type",
2627
- "width",
2628
- "height",
2629
- "cornerRadius"
2630
- ]
2631
- },
2632
- "SvgCircleShape": {
2633
- "type": "object",
2634
- "additionalProperties": false,
2635
- "properties": {
2636
- "type": {
2637
- "type": "string",
2638
- "enum": [
2639
- "circle"
2640
- ]
2641
2715
  },
2642
- "radius": {
2643
- "type": "number",
2644
- "minimum": 1,
2645
- "maximum": 2048
2646
- }
2647
- },
2648
- "required": [
2649
- "type",
2650
- "radius"
2651
- ]
2652
- },
2653
- "SvgEllipseShape": {
2654
- "type": "object",
2655
- "additionalProperties": false,
2656
- "properties": {
2657
- "type": {
2658
- "type": "string",
2659
- "enum": [
2660
- "ellipse"
2661
- ]
2662
- },
2663
- "radiusX": {
2664
- "type": "number",
2665
- "minimum": 1,
2666
- "maximum": 2048
2667
- },
2668
- "radiusY": {
2669
- "type": "number",
2670
- "minimum": 1,
2671
- "maximum": 2048
2672
- }
2673
- },
2674
- "required": [
2675
- "type",
2676
- "radiusX",
2677
- "radiusY"
2678
- ]
2679
- },
2680
- "SvgLineShape": {
2681
- "type": "object",
2682
- "additionalProperties": false,
2683
- "properties": {
2684
- "type": {
2685
- "type": "string",
2686
- "enum": [
2687
- "line"
2688
- ]
2689
- },
2690
- "length": {
2691
- "type": "number",
2692
- "minimum": 1,
2693
- "maximum": 4096
2694
- },
2695
- "thickness": {
2696
- "type": "number",
2697
- "minimum": 1,
2698
- "maximum": 500
2699
- }
2700
- },
2701
- "required": [
2702
- "type",
2703
- "length",
2704
- "thickness"
2705
- ]
2706
- },
2707
- "SvgPolygonShape": {
2708
- "type": "object",
2709
- "additionalProperties": false,
2710
- "properties": {
2711
- "type": {
2712
- "type": "string",
2713
- "enum": [
2714
- "polygon"
2715
- ]
2716
- },
2717
- "sides": {
2718
- "type": "integer",
2719
- "minimum": 3,
2720
- "maximum": 100
2721
- },
2722
- "radius": {
2723
- "type": "number",
2724
- "minimum": 1,
2725
- "maximum": 2048
2726
- }
2727
- },
2728
- "required": [
2729
- "type",
2730
- "sides",
2731
- "radius"
2732
- ]
2733
- },
2734
- "SvgStarShape": {
2735
- "type": "object",
2736
- "additionalProperties": false,
2737
- "properties": {
2738
- "type": {
2739
- "type": "string",
2740
- "enum": [
2741
- "star"
2742
- ]
2743
- },
2744
- "points": {
2745
- "type": "integer",
2746
- "minimum": 3,
2747
- "maximum": 100
2748
- },
2749
- "outerRadius": {
2750
- "type": "number",
2751
- "minimum": 1,
2752
- "maximum": 2048
2753
- },
2754
- "innerRadius": {
2755
- "type": "number",
2756
- "minimum": 1,
2757
- "maximum": 2048
2758
- }
2759
- },
2760
- "required": [
2761
- "type",
2762
- "points",
2763
- "outerRadius",
2764
- "innerRadius"
2765
- ]
2766
- },
2767
- "SvgArrowShape": {
2768
- "type": "object",
2769
- "additionalProperties": false,
2770
- "properties": {
2771
- "type": {
2772
- "type": "string",
2773
- "enum": [
2774
- "arrow"
2775
- ]
2776
- },
2777
- "length": {
2778
- "type": "number",
2779
- "minimum": 1,
2780
- "maximum": 4096
2781
- },
2782
- "headWidth": {
2783
- "type": "number",
2784
- "minimum": 1,
2785
- "maximum": 1000
2786
- },
2787
- "headLength": {
2788
- "type": "number",
2789
- "minimum": 1,
2790
- "maximum": 1000
2791
- },
2792
- "shaftWidth": {
2793
- "type": "number",
2794
- "minimum": 1,
2795
- "maximum": 1000
2796
- }
2797
- },
2798
- "required": [
2799
- "type",
2800
- "length",
2801
- "headWidth",
2802
- "headLength",
2803
- "shaftWidth"
2804
- ]
2805
- },
2806
- "SvgHeartShape": {
2807
- "type": "object",
2808
- "additionalProperties": false,
2809
- "properties": {
2810
- "type": {
2811
- "type": "string",
2812
- "enum": [
2813
- "heart"
2814
- ]
2815
- },
2816
- "size": {
2817
- "type": "number",
2818
- "minimum": 1,
2819
- "maximum": 4096
2820
- }
2821
- },
2822
- "required": [
2823
- "type",
2824
- "size"
2825
- ]
2826
- },
2827
- "SvgCrossShape": {
2828
- "type": "object",
2829
- "additionalProperties": false,
2830
- "properties": {
2831
- "type": {
2832
- "type": "string",
2833
- "enum": [
2834
- "cross"
2835
- ]
2836
- },
2837
- "width": {
2838
- "type": "number",
2839
- "minimum": 1,
2840
- "maximum": 4096
2841
- },
2842
- "height": {
2843
- "type": "number",
2844
- "minimum": 1,
2845
- "maximum": 4096
2846
- },
2847
- "thickness": {
2848
- "type": "number",
2849
- "minimum": 1,
2850
- "maximum": 500
2851
- }
2852
- },
2853
- "required": [
2854
- "type",
2855
- "width",
2856
- "height",
2857
- "thickness"
2858
- ]
2859
- },
2860
- "SvgRingShape": {
2861
- "type": "object",
2862
- "additionalProperties": false,
2863
- "properties": {
2864
- "type": {
2865
- "type": "string",
2866
- "enum": [
2867
- "ring"
2868
- ]
2869
- },
2870
- "outerRadius": {
2871
- "type": "number",
2872
- "minimum": 1,
2873
- "maximum": 2048
2874
- },
2875
- "innerRadius": {
2876
- "type": "number",
2877
- "minimum": 0,
2878
- "maximum": 2048
2879
- }
2880
- },
2881
- "required": [
2882
- "type",
2883
- "outerRadius",
2884
- "innerRadius"
2885
- ]
2886
- },
2887
- "SvgPathShape": {
2888
- "type": "object",
2889
- "additionalProperties": false,
2890
- "properties": {
2891
- "type": {
2892
- "type": "string",
2893
- "enum": [
2894
- "path"
2895
- ]
2896
- },
2897
- "d": {
2898
- "type": "string"
2899
- }
2900
- },
2901
- "required": [
2902
- "type",
2903
- "d"
2904
- ]
2905
- },
2906
- "SvgFill": {
2907
- "anyOf": [
2908
- {
2909
- "$ref": "#/$defs/SvgSolidFill"
2910
- },
2911
- {
2912
- "$ref": "#/$defs/SvgLinearGradientFill"
2913
- },
2914
- {
2915
- "$ref": "#/$defs/SvgRadialGradientFill"
2916
- }
2917
- ]
2918
- },
2919
- "SvgSolidFill": {
2920
- "type": "object",
2921
- "additionalProperties": false,
2922
- "properties": {
2923
- "type": {
2924
- "type": "string",
2925
- "enum": [
2926
- "solid"
2927
- ]
2928
- },
2929
- "color": {
2930
- "type": "string"
2931
- },
2932
- "opacity": {
2933
- "anyOf": [
2934
- {
2935
- "type": "number",
2936
- "minimum": 0,
2937
- "maximum": 1
2938
- },
2939
- {
2940
- "type": "null"
2941
- }
2942
- ]
2943
- }
2944
- },
2945
- "required": [
2946
- "type",
2947
- "color",
2948
- "opacity"
2949
- ]
2950
- },
2951
- "SvgLinearGradientFill": {
2952
- "type": "object",
2953
- "additionalProperties": false,
2954
- "properties": {
2955
- "type": {
2956
- "type": "string",
2957
- "enum": [
2958
- "linear"
2959
- ]
2960
- },
2961
- "angle": {
2962
- "anyOf": [
2963
- {
2964
- "type": "number",
2965
- "minimum": 0,
2966
- "maximum": 360
2967
- },
2968
- {
2969
- "type": "null"
2970
- }
2971
- ]
2972
- },
2973
- "stops": {
2974
- "type": "array",
2975
- "items": {
2976
- "$ref": "#/$defs/SvgGradientStop"
2977
- }
2978
- },
2979
- "opacity": {
2980
- "anyOf": [
2981
- {
2982
- "type": "number",
2983
- "minimum": 0,
2984
- "maximum": 1
2985
- },
2986
- {
2987
- "type": "null"
2988
- }
2989
- ]
2990
- }
2991
- },
2992
- "required": [
2993
- "type",
2994
- "angle",
2995
- "stops",
2996
- "opacity"
2997
- ]
2998
- },
2999
- "SvgGradientStop": {
3000
- "type": "object",
3001
- "additionalProperties": false,
3002
- "properties": {
3003
- "offset": {
3004
- "type": "number",
3005
- "minimum": 0,
3006
- "maximum": 1
3007
- },
3008
- "color": {
3009
- "type": "string"
3010
- }
3011
- },
3012
- "required": [
3013
- "offset",
3014
- "color"
3015
- ]
3016
- },
3017
- "SvgRadialGradientFill": {
3018
- "type": "object",
3019
- "additionalProperties": false,
3020
- "properties": {
3021
- "type": {
3022
- "type": "string",
3023
- "enum": [
3024
- "radial"
3025
- ]
3026
- },
3027
- "stops": {
3028
- "type": "array",
3029
- "items": {
3030
- "$ref": "#/$defs/SvgGradientStop"
3031
- }
3032
- },
3033
- "opacity": {
3034
- "anyOf": [
3035
- {
3036
- "type": "number",
3037
- "minimum": 0,
3038
- "maximum": 1
3039
- },
3040
- {
3041
- "type": "null"
3042
- }
3043
- ]
3044
- }
3045
- },
3046
- "required": [
3047
- "type",
3048
- "stops",
3049
- "opacity"
3050
- ]
3051
- },
3052
- "SvgStroke": {
3053
- "type": "object",
3054
- "additionalProperties": false,
3055
- "properties": {
3056
- "color": {
3057
- "anyOf": [
3058
- {
3059
- "type": "string"
3060
- },
3061
- {
3062
- "type": "null"
3063
- }
3064
- ]
3065
- },
3066
- "width": {
3067
- "anyOf": [
3068
- {
3069
- "type": "number",
3070
- "minimum": 0,
3071
- "maximum": 100
3072
- },
3073
- {
3074
- "type": "null"
3075
- }
3076
- ]
3077
- },
3078
- "opacity": {
3079
- "anyOf": [
3080
- {
3081
- "type": "number",
3082
- "minimum": 0,
3083
- "maximum": 1
3084
- },
3085
- {
3086
- "type": "null"
3087
- }
3088
- ]
3089
- },
3090
- "lineCap": {
3091
- "anyOf": [
3092
- {
3093
- "type": "string",
3094
- "enum": [
3095
- "butt",
3096
- "round",
3097
- "square"
3098
- ]
3099
- },
3100
- {
3101
- "type": "null"
3102
- }
3103
- ]
3104
- },
3105
- "lineJoin": {
3106
- "anyOf": [
3107
- {
3108
- "type": "string",
3109
- "enum": [
3110
- "miter",
3111
- "round",
3112
- "bevel"
3113
- ]
3114
- },
3115
- {
3116
- "type": "null"
3117
- }
3118
- ]
3119
- },
3120
- "dashArray": {
3121
- "anyOf": [
3122
- {
3123
- "type": "array",
3124
- "items": {
3125
- "type": "number",
3126
- "minimum": 0
3127
- }
3128
- },
3129
- {
3130
- "type": "null"
3131
- }
3132
- ]
3133
- },
3134
- "dashOffset": {
3135
- "anyOf": [
3136
- {
3137
- "type": "number"
3138
- },
3139
- {
3140
- "type": "null"
3141
- }
3142
- ]
3143
- }
3144
- },
3145
- "required": [
3146
- "color",
3147
- "width",
3148
- "opacity",
3149
- "lineCap",
3150
- "lineJoin",
3151
- "dashArray",
3152
- "dashOffset"
3153
- ]
3154
- },
3155
- "SvgShadow": {
3156
- "type": "object",
3157
- "additionalProperties": false,
3158
- "properties": {
3159
- "offsetX": {
3160
- "anyOf": [
3161
- {
3162
- "type": "number"
3163
- },
3164
- {
3165
- "type": "null"
3166
- }
3167
- ]
3168
- },
3169
- "offsetY": {
3170
- "anyOf": [
3171
- {
3172
- "type": "number"
3173
- },
3174
- {
3175
- "type": "null"
3176
- }
3177
- ]
3178
- },
3179
- "blur": {
3180
- "anyOf": [
3181
- {
3182
- "type": "number",
3183
- "minimum": 0
3184
- },
3185
- {
3186
- "type": "null"
3187
- }
3188
- ]
3189
- },
3190
- "color": {
3191
- "anyOf": [
3192
- {
3193
- "type": "string",
3194
- "enum": [
3195
- "#000000"
3196
- ]
3197
- },
3198
- {
3199
- "type": "null"
3200
- }
3201
- ]
3202
- },
3203
- "opacity": {
3204
- "anyOf": [
3205
- {
3206
- "type": "number",
3207
- "minimum": 0,
3208
- "maximum": 1
3209
- },
3210
- {
3211
- "type": "null"
3212
- }
3213
- ]
3214
- }
3215
- },
3216
- "required": [
3217
- "offsetX",
3218
- "offsetY",
3219
- "blur",
3220
- "color",
3221
- "opacity"
3222
- ]
3223
- },
3224
- "SvgTransform": {
3225
- "type": "object",
3226
- "additionalProperties": false,
3227
- "properties": {
3228
- "x": {
3229
- "anyOf": [
3230
- {
3231
- "type": "number"
3232
- },
3233
- {
3234
- "type": "null"
3235
- }
3236
- ]
3237
- },
3238
- "y": {
3239
- "anyOf": [
3240
- {
3241
- "type": "number"
3242
- },
3243
- {
3244
- "type": "null"
3245
- }
3246
- ]
3247
- },
3248
- "rotation": {
3249
- "anyOf": [
3250
- {
3251
- "type": "number",
3252
- "minimum": -360,
3253
- "maximum": 360
3254
- },
3255
- {
3256
- "type": "null"
3257
- }
3258
- ]
3259
- },
3260
- "scale": {
3261
- "anyOf": [
3262
- {
3263
- "type": "number",
3264
- "minimum": 0.01,
3265
- "maximum": 100
3266
- },
3267
- {
3268
- "type": "null"
3269
- }
3270
- ]
3271
- },
3272
- "originX": {
3273
- "anyOf": [
3274
- {
3275
- "type": "number",
3276
- "minimum": 0,
3277
- "maximum": 1
3278
- },
3279
- {
3280
- "type": "null"
3281
- }
3282
- ]
3283
- },
3284
- "originY": {
3285
- "anyOf": [
3286
- {
3287
- "type": "number",
3288
- "minimum": 0,
3289
- "maximum": 1
3290
- },
3291
- {
3292
- "type": "null"
3293
- }
3294
- ]
3295
- }
3296
- },
3297
- "required": [
3298
- "x",
3299
- "y",
3300
- "rotation",
3301
- "scale",
3302
- "originX",
3303
- "originY"
3304
- ]
3305
- },
3306
- "TextToImageAsset": {
3307
- "properties": {
3308
- "type": {
3309
- "type": "string",
3310
- "enum": [
3311
- "text-to-image"
3312
- ]
3313
- },
3314
- "prompt": {
3315
- "type": "string"
3316
- },
3317
- "width": {
3318
- "anyOf": [
3319
- {
3320
- "type": "integer"
3321
- },
3322
- {
3323
- "type": "null"
3324
- }
3325
- ]
3326
- },
3327
- "height": {
3328
- "anyOf": [
3329
- {
3330
- "type": "integer"
3331
- },
3332
- {
3333
- "type": "null"
3334
- }
3335
- ]
3336
- },
3337
- "crop": {
3338
- "anyOf": [
3339
- {
3340
- "$ref": "#/$defs/Crop"
3341
- },
3342
- {
3343
- "type": "null"
3344
- }
3345
- ]
3346
- }
3347
- },
3348
- "additionalProperties": false,
3349
- "type": "object",
3350
- "required": [
3351
- "type",
3352
- "prompt",
3353
- "width",
3354
- "height",
3355
- "crop"
3356
- ]
3357
- },
3358
- "ImageToVideoAsset": {
3359
- "properties": {
3360
- "type": {
3361
- "type": "string",
3362
- "enum": [
3363
- "image-to-video"
3364
- ]
3365
- },
3366
- "src": {
3367
- "type": "string"
3368
- },
3369
- "prompt": {
3370
- "anyOf": [
3371
- {
3372
- "type": "string"
3373
- },
3374
- {
3375
- "type": "null"
3376
- }
3377
- ]
3378
- },
3379
- "aspectRatio": {
3380
- "anyOf": [
3381
- {
3382
- "type": "string",
3383
- "enum": [
3384
- "1:1",
3385
- "4:3",
3386
- "16:9",
3387
- "9:16",
3388
- "3:4",
3389
- "21:9",
3390
- "9:21"
3391
- ]
3392
- },
3393
- {
3394
- "type": "null"
3395
- }
3396
- ]
3397
- },
3398
- "speed": {
3399
- "anyOf": [
3400
- {
3401
- "type": "number",
3402
- "minimum": 0,
3403
- "maximum": 10
3404
- },
3405
- {
3406
- "type": "null"
3407
- }
3408
- ]
3409
- },
3410
- "crop": {
3411
- "anyOf": [
3412
- {
3413
- "$ref": "#/$defs/Crop"
3414
- },
3415
- {
3416
- "type": "null"
3417
- }
3418
- ]
3419
- }
3420
- },
3421
- "additionalProperties": false,
3422
- "type": "object",
3423
- "required": [
3424
- "type",
3425
- "src",
3426
- "prompt",
3427
- "aspectRatio",
3428
- "speed",
3429
- "crop"
3430
- ]
3431
- },
3432
- "TextToSpeechAsset": {
3433
- "type": "object",
3434
- "properties": {
3435
- "type": {
3436
- "type": "string",
3437
- "enum": [
3438
- "text-to-speech"
3439
- ]
3440
- },
3441
- "text": {
3442
- "type": "string"
3443
- },
3444
- "voice": {
3445
- "type": "string"
3446
- },
3447
- "language": {
3448
- "anyOf": [
3449
- {
3450
- "type": "string"
3451
- },
3452
- {
3453
- "type": "null"
3454
- }
3455
- ]
3456
- },
3457
- "newscaster": {
3458
- "anyOf": [
3459
- {
3460
- "type": "boolean"
3461
- },
3462
- {
3463
- "type": "null"
3464
- }
2716
+ "newscaster": {
2717
+ "anyOf": [
2718
+ {
2719
+ "type": "boolean"
2720
+ },
2721
+ {
2722
+ "type": "null"
2723
+ }
3465
2724
  ]
3466
2725
  },
3467
2726
  "trim": {
@@ -3585,7 +2844,31 @@
3585
2844
  "in": {
3586
2845
  "anyOf": [
3587
2846
  {
3588
- "type": "string"
2847
+ "type": "string",
2848
+ "enum": [
2849
+ "none",
2850
+ "fade",
2851
+ "reveal",
2852
+ "wipeLeft",
2853
+ "wipeRight",
2854
+ "slideLeft",
2855
+ "slideRight",
2856
+ "slideUp",
2857
+ "slideDown",
2858
+ "carouselLeft",
2859
+ "carouselRight",
2860
+ "carouselUp",
2861
+ "carouselDown",
2862
+ "shuffleTopRight",
2863
+ "shuffleRightTop",
2864
+ "shuffleRightBottom",
2865
+ "shuffleBottomRight",
2866
+ "shuffleBottomLeft",
2867
+ "shuffleLeftBottom",
2868
+ "shuffleLeftTop",
2869
+ "shuffleTopLeft",
2870
+ "zoom"
2871
+ ]
3589
2872
  },
3590
2873
  {
3591
2874
  "type": "null"
@@ -3595,7 +2878,31 @@
3595
2878
  "out": {
3596
2879
  "anyOf": [
3597
2880
  {
3598
- "type": "string"
2881
+ "type": "string",
2882
+ "enum": [
2883
+ "none",
2884
+ "fade",
2885
+ "reveal",
2886
+ "wipeLeft",
2887
+ "wipeRight",
2888
+ "slideLeft",
2889
+ "slideRight",
2890
+ "slideUp",
2891
+ "slideDown",
2892
+ "carouselLeft",
2893
+ "carouselRight",
2894
+ "carouselUp",
2895
+ "carouselDown",
2896
+ "shuffleTopRight",
2897
+ "shuffleRightTop",
2898
+ "shuffleRightBottom",
2899
+ "shuffleBottomRight",
2900
+ "shuffleBottomLeft",
2901
+ "shuffleLeftBottom",
2902
+ "shuffleLeftTop",
2903
+ "shuffleTopLeft",
2904
+ "zoom"
2905
+ ]
3599
2906
  },
3600
2907
  {
3601
2908
  "type": "null"