@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.
- package/README.md +89 -89
- package/dist/api.bundled.json +49 -833
- package/dist/json-schema/asset.json +115 -856
- package/dist/json-schema/audio-asset.json +31 -1
- package/dist/json-schema/blueprint.json +380 -0
- package/dist/json-schema/caption-detailer.json +275 -0
- package/dist/json-schema/clip.json +256 -949
- package/dist/json-schema/edit.json +247 -940
- package/dist/json-schema/index.cjs +5 -0
- package/dist/json-schema/index.d.ts +5 -0
- package/dist/json-schema/index.js +5 -0
- package/dist/json-schema/offset.json +31 -1
- package/dist/json-schema/rich-caption-asset.json +221 -140
- package/dist/json-schema/rich-text-content.json +370 -0
- package/dist/json-schema/rich-text-effects.json +400 -0
- package/dist/json-schema/rotate-transformation.json +31 -1
- package/dist/json-schema/schemas.json +264 -1044
- package/dist/json-schema/skew-transformation.json +31 -1
- package/dist/json-schema/svg-asset.json +6 -857
- package/dist/json-schema/template.json +541 -0
- package/dist/json-schema/text-to-speech-asset.json +31 -1
- package/dist/json-schema/timeline.json +256 -949
- package/dist/json-schema/track.json +256 -949
- package/dist/json-schema/transformation.json +52 -22
- package/dist/json-schema/transition.json +50 -2
- package/dist/json-schema/tween.json +31 -1
- package/dist/json-schema/video-asset.json +56 -26
- package/dist/schema.d.ts +43 -660
- package/dist/zod/zod.gen.cjs +914 -1640
- package/dist/zod/zod.gen.d.ts +306 -8714
- package/dist/zod/zod.gen.js +911 -1636
- package/dist/zod/zod.gen.ts +1593 -1880
- package/package.json +79 -79
- package/dist/json-schema/svg-arrow-shape.json +0 -49
- package/dist/json-schema/svg-circle-shape.json +0 -28
- package/dist/json-schema/svg-cross-shape.json +0 -42
- package/dist/json-schema/svg-ellipse-shape.json +0 -35
- package/dist/json-schema/svg-fill.json +0 -169
- package/dist/json-schema/svg-gradient-stop.json +0 -25
- package/dist/json-schema/svg-heart-shape.json +0 -28
- package/dist/json-schema/svg-line-shape.json +0 -35
- package/dist/json-schema/svg-linear-gradient-fill.json +0 -80
- package/dist/json-schema/svg-path-shape.json +0 -26
- package/dist/json-schema/svg-polygon-shape.json +0 -35
- package/dist/json-schema/svg-radial-gradient-fill.json +0 -66
- package/dist/json-schema/svg-rectangle-shape.json +0 -49
- package/dist/json-schema/svg-ring-shape.json +0 -35
- package/dist/json-schema/svg-shadow.json +0 -79
- package/dist/json-schema/svg-shape.json +0 -404
- package/dist/json-schema/svg-solid-fill.json +0 -40
- package/dist/json-schema/svg-star-shape.json +0 -42
- package/dist/json-schema/svg-stroke.json +0 -115
- package/dist/json-schema/svg-transform.json +0 -93
|
@@ -626,7 +626,37 @@
|
|
|
626
626
|
"anyOf": [
|
|
627
627
|
{
|
|
628
628
|
"type": "string",
|
|
629
|
-
"description": "The easing function to use for the animation. Easing controls the rate of change of the animated value, allowing for more natural motion by speeding up or slowing down the animation at different points. Only applicable if interpolation is set to `bezier`."
|
|
629
|
+
"description": "The easing function to use for the animation. Easing controls the rate of change of the animated value, allowing for more natural motion by speeding up or slowing down the animation at different points. Only applicable if interpolation is set to `bezier`.",
|
|
630
|
+
"enum": [
|
|
631
|
+
"ease",
|
|
632
|
+
"easeIn",
|
|
633
|
+
"easeOut",
|
|
634
|
+
"easeInOut",
|
|
635
|
+
"easeInQuad",
|
|
636
|
+
"easeInCubic",
|
|
637
|
+
"easeInQuart",
|
|
638
|
+
"easeInQuint",
|
|
639
|
+
"easeInSine",
|
|
640
|
+
"easeInExpo",
|
|
641
|
+
"easeInCirc",
|
|
642
|
+
"easeInBack",
|
|
643
|
+
"easeOutQuad",
|
|
644
|
+
"easeOutCubic",
|
|
645
|
+
"easeOutQuart",
|
|
646
|
+
"easeOutQuint",
|
|
647
|
+
"easeOutSine",
|
|
648
|
+
"easeOutExpo",
|
|
649
|
+
"easeOutCirc",
|
|
650
|
+
"easeOutBack",
|
|
651
|
+
"easeInOutQuad",
|
|
652
|
+
"easeInOutCubic",
|
|
653
|
+
"easeInOutQuart",
|
|
654
|
+
"easeInOutQuint",
|
|
655
|
+
"easeInOutSine",
|
|
656
|
+
"easeInOutExpo",
|
|
657
|
+
"easeInOutCirc",
|
|
658
|
+
"easeInOutBack"
|
|
659
|
+
]
|
|
630
660
|
},
|
|
631
661
|
{
|
|
632
662
|
"type": "null"
|
|
@@ -2021,8 +2051,95 @@
|
|
|
2021
2051
|
"font": {
|
|
2022
2052
|
"anyOf": [
|
|
2023
2053
|
{
|
|
2054
|
+
"type": "object",
|
|
2024
2055
|
"description": "Font styling properties for inactive words.",
|
|
2025
|
-
"
|
|
2056
|
+
"properties": {
|
|
2057
|
+
"family": {
|
|
2058
|
+
"anyOf": [
|
|
2059
|
+
{
|
|
2060
|
+
"type": "string",
|
|
2061
|
+
"description": "The font family name. This must be the Family name embedded in the font, i.e. \"Roboto\".",
|
|
2062
|
+
"enum": [
|
|
2063
|
+
"Roboto"
|
|
2064
|
+
]
|
|
2065
|
+
},
|
|
2066
|
+
{
|
|
2067
|
+
"type": "null"
|
|
2068
|
+
}
|
|
2069
|
+
]
|
|
2070
|
+
},
|
|
2071
|
+
"size": {
|
|
2072
|
+
"anyOf": [
|
|
2073
|
+
{
|
|
2074
|
+
"type": "integer",
|
|
2075
|
+
"description": "The size of the font in pixels (px). Must be between 1 and 500.",
|
|
2076
|
+
"minimum": 1,
|
|
2077
|
+
"maximum": 500
|
|
2078
|
+
},
|
|
2079
|
+
{
|
|
2080
|
+
"type": "null"
|
|
2081
|
+
}
|
|
2082
|
+
]
|
|
2083
|
+
},
|
|
2084
|
+
"weight": {
|
|
2085
|
+
"anyOf": [
|
|
2086
|
+
{
|
|
2087
|
+
"type": "string",
|
|
2088
|
+
"description": "The weight of the font. Can be a number (100-900) or a string ('normal', 'bold', etc.). 100 is lightest, 900 is heaviest (boldest)."
|
|
2089
|
+
},
|
|
2090
|
+
{
|
|
2091
|
+
"type": "null"
|
|
2092
|
+
}
|
|
2093
|
+
]
|
|
2094
|
+
},
|
|
2095
|
+
"color": {
|
|
2096
|
+
"anyOf": [
|
|
2097
|
+
{
|
|
2098
|
+
"type": "string",
|
|
2099
|
+
"description": "The text color using hexadecimal color notation.",
|
|
2100
|
+
"enum": [
|
|
2101
|
+
"#ffffff"
|
|
2102
|
+
]
|
|
2103
|
+
},
|
|
2104
|
+
{
|
|
2105
|
+
"type": "null"
|
|
2106
|
+
}
|
|
2107
|
+
]
|
|
2108
|
+
},
|
|
2109
|
+
"opacity": {
|
|
2110
|
+
"anyOf": [
|
|
2111
|
+
{
|
|
2112
|
+
"type": "number",
|
|
2113
|
+
"description": "The opacity of the text where 1 is opaque and 0 is transparent.",
|
|
2114
|
+
"minimum": 0,
|
|
2115
|
+
"maximum": 1
|
|
2116
|
+
},
|
|
2117
|
+
{
|
|
2118
|
+
"type": "null"
|
|
2119
|
+
}
|
|
2120
|
+
]
|
|
2121
|
+
},
|
|
2122
|
+
"background": {
|
|
2123
|
+
"anyOf": [
|
|
2124
|
+
{
|
|
2125
|
+
"type": "string",
|
|
2126
|
+
"description": "The background color behind the text using hexadecimal color notation."
|
|
2127
|
+
},
|
|
2128
|
+
{
|
|
2129
|
+
"type": "null"
|
|
2130
|
+
}
|
|
2131
|
+
]
|
|
2132
|
+
}
|
|
2133
|
+
},
|
|
2134
|
+
"additionalProperties": false,
|
|
2135
|
+
"required": [
|
|
2136
|
+
"family",
|
|
2137
|
+
"size",
|
|
2138
|
+
"weight",
|
|
2139
|
+
"color",
|
|
2140
|
+
"opacity",
|
|
2141
|
+
"background"
|
|
2142
|
+
]
|
|
2026
2143
|
},
|
|
2027
2144
|
{
|
|
2028
2145
|
"type": "null"
|
|
@@ -2599,115 +2716,146 @@
|
|
|
2599
2716
|
]
|
|
2600
2717
|
},
|
|
2601
2718
|
"SvgAsset": {
|
|
2602
|
-
"description": "The SvgAsset is used to
|
|
2719
|
+
"description": "The SvgAsset is used to create scalable vector graphic (SVG) assets using\nraw SVG markup.\n\n```json\n{\n \"type\": \"svg\",\n \"src\": \"<svg width=\\\"100\\\" height=\\\"100\\\"><circle cx=\\\"50\\\" cy=\\\"50\\\" r=\\\"40\\\" fill=\\\"#FF0000\\\"/></svg>\"\n}\n```\n\nSee [W3C SVG 2 Specification](https://www.w3.org/TR/SVG2/) for SVG markup syntax.\n",
|
|
2603
2720
|
"type": "object",
|
|
2604
2721
|
"properties": {
|
|
2605
2722
|
"type": {
|
|
2606
|
-
"description": "The asset type - set to `svg` for SVG
|
|
2723
|
+
"description": "The asset type - set to `svg` for SVG assets.",
|
|
2607
2724
|
"type": "string",
|
|
2608
2725
|
"enum": [
|
|
2609
2726
|
"svg"
|
|
2610
2727
|
]
|
|
2611
2728
|
},
|
|
2612
2729
|
"src": {
|
|
2613
|
-
"
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2730
|
+
"description": "Raw SVG markup string to import.\n\n**Supported elements:** `<path>`, `<rect>`, `<circle>`, `<ellipse>`,\n`<line>`, `<polygon>`, `<polyline>`\n",
|
|
2731
|
+
"type": "string"
|
|
2732
|
+
}
|
|
2733
|
+
},
|
|
2734
|
+
"additionalProperties": false,
|
|
2735
|
+
"required": [
|
|
2736
|
+
"type",
|
|
2737
|
+
"src"
|
|
2738
|
+
]
|
|
2739
|
+
},
|
|
2740
|
+
"TextToImageAsset": {
|
|
2741
|
+
"description": "The TextToImageAsset lets you create a dynamic image from a text prompt.",
|
|
2742
|
+
"properties": {
|
|
2743
|
+
"type": {
|
|
2744
|
+
"type": "string",
|
|
2745
|
+
"description": "The type of asset to generate - set to `text-to-image` for text-to-image.",
|
|
2746
|
+
"enum": [
|
|
2747
|
+
"text-to-image"
|
|
2621
2748
|
]
|
|
2622
2749
|
},
|
|
2623
|
-
"
|
|
2750
|
+
"prompt": {
|
|
2751
|
+
"type": "string",
|
|
2752
|
+
"description": "The text prompt to generate an image from."
|
|
2753
|
+
},
|
|
2754
|
+
"width": {
|
|
2624
2755
|
"anyOf": [
|
|
2625
2756
|
{
|
|
2626
|
-
"
|
|
2627
|
-
"
|
|
2757
|
+
"type": "integer",
|
|
2758
|
+
"description": "The width of the image in pixels."
|
|
2628
2759
|
},
|
|
2629
2760
|
{
|
|
2630
2761
|
"type": "null"
|
|
2631
2762
|
}
|
|
2632
2763
|
]
|
|
2633
2764
|
},
|
|
2634
|
-
"
|
|
2765
|
+
"height": {
|
|
2635
2766
|
"anyOf": [
|
|
2636
2767
|
{
|
|
2637
|
-
"
|
|
2638
|
-
"
|
|
2768
|
+
"type": "integer",
|
|
2769
|
+
"description": "The height of the image in pixels."
|
|
2639
2770
|
},
|
|
2640
2771
|
{
|
|
2641
2772
|
"type": "null"
|
|
2642
2773
|
}
|
|
2643
2774
|
]
|
|
2644
2775
|
},
|
|
2645
|
-
"
|
|
2776
|
+
"crop": {
|
|
2646
2777
|
"anyOf": [
|
|
2647
2778
|
{
|
|
2648
|
-
"
|
|
2649
|
-
"$ref": "#/$defs/SvgStroke"
|
|
2779
|
+
"$ref": "#/$defs/Crop"
|
|
2650
2780
|
},
|
|
2651
2781
|
{
|
|
2652
2782
|
"type": "null"
|
|
2653
2783
|
}
|
|
2654
2784
|
]
|
|
2785
|
+
}
|
|
2786
|
+
},
|
|
2787
|
+
"additionalProperties": false,
|
|
2788
|
+
"type": "object",
|
|
2789
|
+
"required": [
|
|
2790
|
+
"type",
|
|
2791
|
+
"prompt",
|
|
2792
|
+
"width",
|
|
2793
|
+
"height",
|
|
2794
|
+
"crop"
|
|
2795
|
+
]
|
|
2796
|
+
},
|
|
2797
|
+
"ImageToVideoAsset": {
|
|
2798
|
+
"description": "The ImageToVideoAsset lets you create a video from an image and a text prompt.",
|
|
2799
|
+
"properties": {
|
|
2800
|
+
"type": {
|
|
2801
|
+
"type": "string",
|
|
2802
|
+
"description": "The type of asset to generate - set to `image-to-video` for image-to-video.",
|
|
2803
|
+
"enum": [
|
|
2804
|
+
"image-to-video"
|
|
2805
|
+
]
|
|
2655
2806
|
},
|
|
2656
|
-
"
|
|
2807
|
+
"src": {
|
|
2808
|
+
"description": "The image source URL. The URL must be publicly accessible or include credentials.",
|
|
2809
|
+
"type": "string"
|
|
2810
|
+
},
|
|
2811
|
+
"prompt": {
|
|
2657
2812
|
"anyOf": [
|
|
2658
2813
|
{
|
|
2659
|
-
"
|
|
2660
|
-
"
|
|
2814
|
+
"type": "string",
|
|
2815
|
+
"description": "The instructions for modifying the image into a video sequence."
|
|
2661
2816
|
},
|
|
2662
2817
|
{
|
|
2663
2818
|
"type": "null"
|
|
2664
2819
|
}
|
|
2665
2820
|
]
|
|
2666
2821
|
},
|
|
2667
|
-
"
|
|
2822
|
+
"aspectRatio": {
|
|
2668
2823
|
"anyOf": [
|
|
2669
2824
|
{
|
|
2670
|
-
"
|
|
2671
|
-
"
|
|
2825
|
+
"type": "string",
|
|
2826
|
+
"description": "The aspect ratio (shape) of the video output.",
|
|
2827
|
+
"enum": [
|
|
2828
|
+
"1:1",
|
|
2829
|
+
"4:3",
|
|
2830
|
+
"16:9",
|
|
2831
|
+
"9:16",
|
|
2832
|
+
"3:4",
|
|
2833
|
+
"21:9",
|
|
2834
|
+
"9:21"
|
|
2835
|
+
]
|
|
2672
2836
|
},
|
|
2673
2837
|
{
|
|
2674
2838
|
"type": "null"
|
|
2675
2839
|
}
|
|
2676
2840
|
]
|
|
2677
2841
|
},
|
|
2678
|
-
"
|
|
2842
|
+
"speed": {
|
|
2679
2843
|
"anyOf": [
|
|
2680
2844
|
{
|
|
2681
2845
|
"type": "number",
|
|
2682
|
-
"description": "
|
|
2846
|
+
"description": "Adjust the playback speed of the video clip between 0 (paused) and 10 (10x normal speed) where 1 is normal speed (defaults to 1). Adjusting the speed will also adjust the duration of the clip and may require you to adjust the Clip length. For example, if you set speed to 0.5, the clip will need to be 2x as long to play the entire video (i.e. original length / 0.5). If you set speed to 2, the clip will need to be half as long to play the entire video (i.e. original length / 2).",
|
|
2683
2847
|
"minimum": 0,
|
|
2684
|
-
"maximum":
|
|
2685
|
-
},
|
|
2686
|
-
{
|
|
2687
|
-
"type": "null"
|
|
2688
|
-
}
|
|
2689
|
-
]
|
|
2690
|
-
},
|
|
2691
|
-
"width": {
|
|
2692
|
-
"anyOf": [
|
|
2693
|
-
{
|
|
2694
|
-
"type": "integer",
|
|
2695
|
-
"description": "The width of the bounding box in pixels.\nIf specified, the shape may be scaled to fit within this width.\nIf omitted, the shape uses its natural dimensions.\n\n**Note:** Only allowed when using `shape`, not with `src`.\n",
|
|
2696
|
-
"minimum": 1,
|
|
2697
|
-
"maximum": 4096
|
|
2848
|
+
"maximum": 10
|
|
2698
2849
|
},
|
|
2699
2850
|
{
|
|
2700
2851
|
"type": "null"
|
|
2701
2852
|
}
|
|
2702
2853
|
]
|
|
2703
2854
|
},
|
|
2704
|
-
"
|
|
2855
|
+
"crop": {
|
|
2705
2856
|
"anyOf": [
|
|
2706
2857
|
{
|
|
2707
|
-
"
|
|
2708
|
-
"description": "The height of the bounding box in pixels.\nIf specified, the shape may be scaled to fit within this height.\nIf omitted, the shape uses its natural dimensions.\n\n**Note:** Only allowed when using `shape`, not with `src`.\n",
|
|
2709
|
-
"minimum": 1,
|
|
2710
|
-
"maximum": 4096
|
|
2858
|
+
"$ref": "#/$defs/Crop"
|
|
2711
2859
|
},
|
|
2712
2860
|
{
|
|
2713
2861
|
"type": "null"
|
|
@@ -2716,1016 +2864,40 @@
|
|
|
2716
2864
|
}
|
|
2717
2865
|
},
|
|
2718
2866
|
"additionalProperties": false,
|
|
2867
|
+
"type": "object",
|
|
2719
2868
|
"required": [
|
|
2720
2869
|
"type",
|
|
2721
2870
|
"src",
|
|
2722
|
-
"
|
|
2723
|
-
"
|
|
2724
|
-
"
|
|
2725
|
-
"
|
|
2726
|
-
"transform",
|
|
2727
|
-
"opacity",
|
|
2728
|
-
"width",
|
|
2729
|
-
"height"
|
|
2730
|
-
]
|
|
2731
|
-
},
|
|
2732
|
-
"SvgShape": {
|
|
2733
|
-
"description": "The shape definition for an SVG asset. Each shape type has its own specific\nproperties. The `type` field determines which shape is rendered.\n",
|
|
2734
|
-
"anyOf": [
|
|
2735
|
-
{
|
|
2736
|
-
"$ref": "#/$defs/SvgRectangleShape"
|
|
2737
|
-
},
|
|
2738
|
-
{
|
|
2739
|
-
"$ref": "#/$defs/SvgCircleShape"
|
|
2740
|
-
},
|
|
2741
|
-
{
|
|
2742
|
-
"$ref": "#/$defs/SvgEllipseShape"
|
|
2743
|
-
},
|
|
2744
|
-
{
|
|
2745
|
-
"$ref": "#/$defs/SvgLineShape"
|
|
2746
|
-
},
|
|
2747
|
-
{
|
|
2748
|
-
"$ref": "#/$defs/SvgPolygonShape"
|
|
2749
|
-
},
|
|
2750
|
-
{
|
|
2751
|
-
"$ref": "#/$defs/SvgStarShape"
|
|
2752
|
-
},
|
|
2753
|
-
{
|
|
2754
|
-
"$ref": "#/$defs/SvgArrowShape"
|
|
2755
|
-
},
|
|
2756
|
-
{
|
|
2757
|
-
"$ref": "#/$defs/SvgHeartShape"
|
|
2758
|
-
},
|
|
2759
|
-
{
|
|
2760
|
-
"$ref": "#/$defs/SvgCrossShape"
|
|
2761
|
-
},
|
|
2762
|
-
{
|
|
2763
|
-
"$ref": "#/$defs/SvgRingShape"
|
|
2764
|
-
},
|
|
2765
|
-
{
|
|
2766
|
-
"$ref": "#/$defs/SvgPathShape"
|
|
2767
|
-
}
|
|
2871
|
+
"prompt",
|
|
2872
|
+
"aspectRatio",
|
|
2873
|
+
"speed",
|
|
2874
|
+
"crop"
|
|
2768
2875
|
]
|
|
2769
2876
|
},
|
|
2770
|
-
"
|
|
2771
|
-
"description": "
|
|
2877
|
+
"TextToSpeechAsset": {
|
|
2878
|
+
"description": "The TextToSpeechAsset lets you generate a voice over from text using a text-to-speech service. The generated audio can be trimmed, faded and have its volume and speed adjusted using the same properties available on the AudioAsset.",
|
|
2772
2879
|
"type": "object",
|
|
2773
|
-
"additionalProperties": false,
|
|
2774
2880
|
"properties": {
|
|
2775
2881
|
"type": {
|
|
2776
|
-
"description": "The shape type - set to `rectangle`.",
|
|
2777
2882
|
"type": "string",
|
|
2883
|
+
"description": "The type of asset - set to `text-to-speech` for text-to-speech.",
|
|
2778
2884
|
"enum": [
|
|
2779
|
-
"
|
|
2885
|
+
"text-to-speech"
|
|
2780
2886
|
]
|
|
2781
2887
|
},
|
|
2782
|
-
"
|
|
2783
|
-
"
|
|
2784
|
-
"
|
|
2785
|
-
"minimum": 1,
|
|
2786
|
-
"maximum": 4096
|
|
2888
|
+
"text": {
|
|
2889
|
+
"type": "string",
|
|
2890
|
+
"description": "The text to convert to speech."
|
|
2787
2891
|
},
|
|
2788
|
-
"
|
|
2789
|
-
"
|
|
2790
|
-
"
|
|
2791
|
-
"minimum": 1,
|
|
2792
|
-
"maximum": 4096
|
|
2892
|
+
"voice": {
|
|
2893
|
+
"type": "string",
|
|
2894
|
+
"description": "The voice to use for the text-to-speech conversion."
|
|
2793
2895
|
},
|
|
2794
|
-
"
|
|
2896
|
+
"language": {
|
|
2795
2897
|
"anyOf": [
|
|
2796
2898
|
{
|
|
2797
|
-
"type": "
|
|
2798
|
-
"description": "The
|
|
2799
|
-
"minimum": 0,
|
|
2800
|
-
"maximum": 2048
|
|
2801
|
-
},
|
|
2802
|
-
{
|
|
2803
|
-
"type": "null"
|
|
2804
|
-
}
|
|
2805
|
-
]
|
|
2806
|
-
}
|
|
2807
|
-
},
|
|
2808
|
-
"required": [
|
|
2809
|
-
"type",
|
|
2810
|
-
"width",
|
|
2811
|
-
"height",
|
|
2812
|
-
"cornerRadius"
|
|
2813
|
-
]
|
|
2814
|
-
},
|
|
2815
|
-
"SvgCircleShape": {
|
|
2816
|
-
"description": "A perfect circle shape defined by its radius.\nThe circle is centered at the shape's position.\n",
|
|
2817
|
-
"type": "object",
|
|
2818
|
-
"additionalProperties": false,
|
|
2819
|
-
"properties": {
|
|
2820
|
-
"type": {
|
|
2821
|
-
"description": "The shape type - set to `circle`.",
|
|
2822
|
-
"type": "string",
|
|
2823
|
-
"enum": [
|
|
2824
|
-
"circle"
|
|
2825
|
-
]
|
|
2826
|
-
},
|
|
2827
|
-
"radius": {
|
|
2828
|
-
"description": "The radius of the circle in pixels.",
|
|
2829
|
-
"type": "number",
|
|
2830
|
-
"minimum": 1,
|
|
2831
|
-
"maximum": 2048
|
|
2832
|
-
}
|
|
2833
|
-
},
|
|
2834
|
-
"required": [
|
|
2835
|
-
"type",
|
|
2836
|
-
"radius"
|
|
2837
|
-
]
|
|
2838
|
-
},
|
|
2839
|
-
"SvgEllipseShape": {
|
|
2840
|
-
"description": "An ellipse (oval) shape with separate horizontal and vertical radii.\nThe ellipse is centered at the shape's position.\n",
|
|
2841
|
-
"type": "object",
|
|
2842
|
-
"additionalProperties": false,
|
|
2843
|
-
"properties": {
|
|
2844
|
-
"type": {
|
|
2845
|
-
"description": "The shape type - set to `ellipse`.",
|
|
2846
|
-
"type": "string",
|
|
2847
|
-
"enum": [
|
|
2848
|
-
"ellipse"
|
|
2849
|
-
]
|
|
2850
|
-
},
|
|
2851
|
-
"radiusX": {
|
|
2852
|
-
"description": "The horizontal radius (semi-major axis) in pixels.",
|
|
2853
|
-
"type": "number",
|
|
2854
|
-
"minimum": 1,
|
|
2855
|
-
"maximum": 2048
|
|
2856
|
-
},
|
|
2857
|
-
"radiusY": {
|
|
2858
|
-
"description": "The vertical radius (semi-minor axis) in pixels.",
|
|
2859
|
-
"type": "number",
|
|
2860
|
-
"minimum": 1,
|
|
2861
|
-
"maximum": 2048
|
|
2862
|
-
}
|
|
2863
|
-
},
|
|
2864
|
-
"required": [
|
|
2865
|
-
"type",
|
|
2866
|
-
"radiusX",
|
|
2867
|
-
"radiusY"
|
|
2868
|
-
]
|
|
2869
|
-
},
|
|
2870
|
-
"SvgLineShape": {
|
|
2871
|
-
"description": "A straight line shape with a specified length and thickness.\nThe line is drawn horizontally by default and can be rotated using transform.\n",
|
|
2872
|
-
"type": "object",
|
|
2873
|
-
"additionalProperties": false,
|
|
2874
|
-
"properties": {
|
|
2875
|
-
"type": {
|
|
2876
|
-
"description": "The shape type - set to `line`.",
|
|
2877
|
-
"type": "string",
|
|
2878
|
-
"enum": [
|
|
2879
|
-
"line"
|
|
2880
|
-
]
|
|
2881
|
-
},
|
|
2882
|
-
"length": {
|
|
2883
|
-
"description": "The length of the line in pixels.",
|
|
2884
|
-
"type": "number",
|
|
2885
|
-
"minimum": 1,
|
|
2886
|
-
"maximum": 4096
|
|
2887
|
-
},
|
|
2888
|
-
"thickness": {
|
|
2889
|
-
"description": "The thickness of the line in pixels.",
|
|
2890
|
-
"type": "number",
|
|
2891
|
-
"minimum": 1,
|
|
2892
|
-
"maximum": 500
|
|
2893
|
-
}
|
|
2894
|
-
},
|
|
2895
|
-
"required": [
|
|
2896
|
-
"type",
|
|
2897
|
-
"length",
|
|
2898
|
-
"thickness"
|
|
2899
|
-
]
|
|
2900
|
-
},
|
|
2901
|
-
"SvgPolygonShape": {
|
|
2902
|
-
"description": "A regular polygon shape with a specified number of sides.\nExamples: triangle (3), square (4), pentagon (5), hexagon (6), etc.\nThe polygon is inscribed in a circle of the given radius.\n",
|
|
2903
|
-
"type": "object",
|
|
2904
|
-
"additionalProperties": false,
|
|
2905
|
-
"properties": {
|
|
2906
|
-
"type": {
|
|
2907
|
-
"description": "The shape type - set to `polygon`.",
|
|
2908
|
-
"type": "string",
|
|
2909
|
-
"enum": [
|
|
2910
|
-
"polygon"
|
|
2911
|
-
]
|
|
2912
|
-
},
|
|
2913
|
-
"sides": {
|
|
2914
|
-
"description": "The number of sides of the polygon.\nMinimum 3 (triangle), maximum 100 for practical use.\n",
|
|
2915
|
-
"type": "integer",
|
|
2916
|
-
"minimum": 3,
|
|
2917
|
-
"maximum": 100
|
|
2918
|
-
},
|
|
2919
|
-
"radius": {
|
|
2920
|
-
"description": "The radius of the circumscribed circle in pixels.\nThis determines the size of the polygon.\n",
|
|
2921
|
-
"type": "number",
|
|
2922
|
-
"minimum": 1,
|
|
2923
|
-
"maximum": 2048
|
|
2924
|
-
}
|
|
2925
|
-
},
|
|
2926
|
-
"required": [
|
|
2927
|
-
"type",
|
|
2928
|
-
"sides",
|
|
2929
|
-
"radius"
|
|
2930
|
-
]
|
|
2931
|
-
},
|
|
2932
|
-
"SvgStarShape": {
|
|
2933
|
-
"description": "A star shape with a specified number of points.\nThe star is defined by outer and inner radii, creating the characteristic\npointed appearance.\n",
|
|
2934
|
-
"type": "object",
|
|
2935
|
-
"additionalProperties": false,
|
|
2936
|
-
"properties": {
|
|
2937
|
-
"type": {
|
|
2938
|
-
"description": "The shape type - set to `star`.",
|
|
2939
|
-
"type": "string",
|
|
2940
|
-
"enum": [
|
|
2941
|
-
"star"
|
|
2942
|
-
]
|
|
2943
|
-
},
|
|
2944
|
-
"points": {
|
|
2945
|
-
"description": "The number of points on the star.\nMinimum 3 for a triangle-like star, typically 5 for a classic star.\n",
|
|
2946
|
-
"type": "integer",
|
|
2947
|
-
"minimum": 3,
|
|
2948
|
-
"maximum": 100
|
|
2949
|
-
},
|
|
2950
|
-
"outerRadius": {
|
|
2951
|
-
"description": "The outer radius in pixels - the distance from center to the tips of the points.\n",
|
|
2952
|
-
"type": "number",
|
|
2953
|
-
"minimum": 1,
|
|
2954
|
-
"maximum": 2048
|
|
2955
|
-
},
|
|
2956
|
-
"innerRadius": {
|
|
2957
|
-
"description": "The inner radius in pixels - the distance from center to the inner vertices.\nShould be smaller than outerRadius for a star effect.\n",
|
|
2958
|
-
"type": "number",
|
|
2959
|
-
"minimum": 1,
|
|
2960
|
-
"maximum": 2048
|
|
2961
|
-
}
|
|
2962
|
-
},
|
|
2963
|
-
"required": [
|
|
2964
|
-
"type",
|
|
2965
|
-
"points",
|
|
2966
|
-
"outerRadius",
|
|
2967
|
-
"innerRadius"
|
|
2968
|
-
]
|
|
2969
|
-
},
|
|
2970
|
-
"SvgArrowShape": {
|
|
2971
|
-
"description": "An arrow shape pointing to the right by default.\nUse transform rotation to change direction.\n",
|
|
2972
|
-
"type": "object",
|
|
2973
|
-
"additionalProperties": false,
|
|
2974
|
-
"properties": {
|
|
2975
|
-
"type": {
|
|
2976
|
-
"description": "The shape type - set to `arrow`.",
|
|
2977
|
-
"type": "string",
|
|
2978
|
-
"enum": [
|
|
2979
|
-
"arrow"
|
|
2980
|
-
]
|
|
2981
|
-
},
|
|
2982
|
-
"length": {
|
|
2983
|
-
"description": "The total length of the arrow from tail to tip in pixels.",
|
|
2984
|
-
"type": "number",
|
|
2985
|
-
"minimum": 1,
|
|
2986
|
-
"maximum": 4096
|
|
2987
|
-
},
|
|
2988
|
-
"headWidth": {
|
|
2989
|
-
"description": "The width of the arrow head (the widest part) in pixels.",
|
|
2990
|
-
"type": "number",
|
|
2991
|
-
"minimum": 1,
|
|
2992
|
-
"maximum": 1000
|
|
2993
|
-
},
|
|
2994
|
-
"headLength": {
|
|
2995
|
-
"description": "The length of the arrow head portion in pixels.",
|
|
2996
|
-
"type": "number",
|
|
2997
|
-
"minimum": 1,
|
|
2998
|
-
"maximum": 1000
|
|
2999
|
-
},
|
|
3000
|
-
"shaftWidth": {
|
|
3001
|
-
"description": "The width of the arrow shaft (body) in pixels.",
|
|
3002
|
-
"type": "number",
|
|
3003
|
-
"minimum": 1,
|
|
3004
|
-
"maximum": 1000
|
|
3005
|
-
}
|
|
3006
|
-
},
|
|
3007
|
-
"required": [
|
|
3008
|
-
"type",
|
|
3009
|
-
"length",
|
|
3010
|
-
"headWidth",
|
|
3011
|
-
"headLength",
|
|
3012
|
-
"shaftWidth"
|
|
3013
|
-
]
|
|
3014
|
-
},
|
|
3015
|
-
"SvgHeartShape": {
|
|
3016
|
-
"description": "A heart shape commonly used for love/like icons.\nThe heart is defined by a single size parameter.\n",
|
|
3017
|
-
"type": "object",
|
|
3018
|
-
"additionalProperties": false,
|
|
3019
|
-
"properties": {
|
|
3020
|
-
"type": {
|
|
3021
|
-
"description": "The shape type - set to `heart`.",
|
|
3022
|
-
"type": "string",
|
|
3023
|
-
"enum": [
|
|
3024
|
-
"heart"
|
|
3025
|
-
]
|
|
3026
|
-
},
|
|
3027
|
-
"size": {
|
|
3028
|
-
"description": "The size of the heart in pixels.\nThis determines both the width and height proportionally.\n",
|
|
3029
|
-
"type": "number",
|
|
3030
|
-
"minimum": 1,
|
|
3031
|
-
"maximum": 4096
|
|
3032
|
-
}
|
|
3033
|
-
},
|
|
3034
|
-
"required": [
|
|
3035
|
-
"type",
|
|
3036
|
-
"size"
|
|
3037
|
-
]
|
|
3038
|
-
},
|
|
3039
|
-
"SvgCrossShape": {
|
|
3040
|
-
"description": "A cross or plus shape with equal or different arm lengths.\nCan be styled as a plus sign (+) or a cross (x with rotation).\n",
|
|
3041
|
-
"type": "object",
|
|
3042
|
-
"additionalProperties": false,
|
|
3043
|
-
"properties": {
|
|
3044
|
-
"type": {
|
|
3045
|
-
"description": "The shape type - set to `cross`.",
|
|
3046
|
-
"type": "string",
|
|
3047
|
-
"enum": [
|
|
3048
|
-
"cross"
|
|
3049
|
-
]
|
|
3050
|
-
},
|
|
3051
|
-
"width": {
|
|
3052
|
-
"description": "The total width of the cross in pixels.",
|
|
3053
|
-
"type": "number",
|
|
3054
|
-
"minimum": 1,
|
|
3055
|
-
"maximum": 4096
|
|
3056
|
-
},
|
|
3057
|
-
"height": {
|
|
3058
|
-
"description": "The total height of the cross in pixels.",
|
|
3059
|
-
"type": "number",
|
|
3060
|
-
"minimum": 1,
|
|
3061
|
-
"maximum": 4096
|
|
3062
|
-
},
|
|
3063
|
-
"thickness": {
|
|
3064
|
-
"description": "The thickness of the cross arms in pixels.",
|
|
3065
|
-
"type": "number",
|
|
3066
|
-
"minimum": 1,
|
|
3067
|
-
"maximum": 500
|
|
3068
|
-
}
|
|
3069
|
-
},
|
|
3070
|
-
"required": [
|
|
3071
|
-
"type",
|
|
3072
|
-
"width",
|
|
3073
|
-
"height",
|
|
3074
|
-
"thickness"
|
|
3075
|
-
]
|
|
3076
|
-
},
|
|
3077
|
-
"SvgRingShape": {
|
|
3078
|
-
"description": "A ring (donut/annulus) shape - a circle with a circular hole in the center.\nThe ring is defined by outer and inner radii.\n",
|
|
3079
|
-
"type": "object",
|
|
3080
|
-
"additionalProperties": false,
|
|
3081
|
-
"properties": {
|
|
3082
|
-
"type": {
|
|
3083
|
-
"description": "The shape type - set to `ring`.",
|
|
3084
|
-
"type": "string",
|
|
3085
|
-
"enum": [
|
|
3086
|
-
"ring"
|
|
3087
|
-
]
|
|
3088
|
-
},
|
|
3089
|
-
"outerRadius": {
|
|
3090
|
-
"description": "The outer radius of the ring in pixels.",
|
|
3091
|
-
"type": "number",
|
|
3092
|
-
"minimum": 1,
|
|
3093
|
-
"maximum": 2048
|
|
3094
|
-
},
|
|
3095
|
-
"innerRadius": {
|
|
3096
|
-
"description": "The inner radius (hole) of the ring in pixels.\nMust be smaller than outerRadius.\n",
|
|
3097
|
-
"type": "number",
|
|
3098
|
-
"minimum": 0,
|
|
3099
|
-
"maximum": 2048
|
|
3100
|
-
}
|
|
3101
|
-
},
|
|
3102
|
-
"required": [
|
|
3103
|
-
"type",
|
|
3104
|
-
"outerRadius",
|
|
3105
|
-
"innerRadius"
|
|
3106
|
-
]
|
|
3107
|
-
},
|
|
3108
|
-
"SvgPathShape": {
|
|
3109
|
-
"description": "A custom shape defined by SVG path data.\nSupports all standard SVG path commands for creating complex shapes.\n\n**Path Commands:**\n- `M x y` / `m dx dy` - Move to (absolute/relative)\n- `L x y` / `l dx dy` - Line to\n- `H x` / `h dx` - Horizontal line to\n- `V y` / `v dy` - Vertical line to\n- `C x1 y1 x2 y2 x y` / `c` - Cubic Bezier curve\n- `S x2 y2 x y` / `s` - Smooth cubic Bezier\n- `Q x1 y1 x y` / `q` - Quadratic Bezier curve\n- `T x y` / `t` - Smooth quadratic Bezier\n- `A rx ry angle large-arc sweep x y` / `a` - Elliptical arc\n- `Z` / `z` - Close path\n",
|
|
3110
|
-
"type": "object",
|
|
3111
|
-
"additionalProperties": false,
|
|
3112
|
-
"properties": {
|
|
3113
|
-
"type": {
|
|
3114
|
-
"description": "The shape type - set to `path`.",
|
|
3115
|
-
"type": "string",
|
|
3116
|
-
"enum": [
|
|
3117
|
-
"path"
|
|
3118
|
-
]
|
|
3119
|
-
},
|
|
3120
|
-
"d": {
|
|
3121
|
-
"description": "The SVG path data string defining the shape.\nUses standard SVG path commands (M, L, C, Q, A, Z, etc.).\nExample: `M 0 0 L 100 0 L 100 100 L 0 100 Z` draws a square.\n",
|
|
3122
|
-
"type": "string"
|
|
3123
|
-
}
|
|
3124
|
-
},
|
|
3125
|
-
"required": [
|
|
3126
|
-
"type",
|
|
3127
|
-
"d"
|
|
3128
|
-
]
|
|
3129
|
-
},
|
|
3130
|
-
"SvgFill": {
|
|
3131
|
-
"description": "Fill properties for SVG shapes. Supports solid colors and gradients.\nThe fill defines how the interior of a shape is painted.\n",
|
|
3132
|
-
"anyOf": [
|
|
3133
|
-
{
|
|
3134
|
-
"$ref": "#/$defs/SvgSolidFill"
|
|
3135
|
-
},
|
|
3136
|
-
{
|
|
3137
|
-
"$ref": "#/$defs/SvgLinearGradientFill"
|
|
3138
|
-
},
|
|
3139
|
-
{
|
|
3140
|
-
"$ref": "#/$defs/SvgRadialGradientFill"
|
|
3141
|
-
}
|
|
3142
|
-
]
|
|
3143
|
-
},
|
|
3144
|
-
"SvgSolidFill": {
|
|
3145
|
-
"description": "A solid color fill for SVG shapes.",
|
|
3146
|
-
"type": "object",
|
|
3147
|
-
"additionalProperties": false,
|
|
3148
|
-
"properties": {
|
|
3149
|
-
"type": {
|
|
3150
|
-
"description": "The fill type - set to `solid` for a single color fill.",
|
|
3151
|
-
"type": "string",
|
|
3152
|
-
"enum": [
|
|
3153
|
-
"solid"
|
|
3154
|
-
]
|
|
3155
|
-
},
|
|
3156
|
-
"color": {
|
|
3157
|
-
"description": "The fill color using hexadecimal color notation (e.g., `#FF0000` for red).\nMust be a 6-digit hex color code prefixed with `#`.\n",
|
|
3158
|
-
"type": "string"
|
|
3159
|
-
},
|
|
3160
|
-
"opacity": {
|
|
3161
|
-
"anyOf": [
|
|
3162
|
-
{
|
|
3163
|
-
"type": "number",
|
|
3164
|
-
"description": "The opacity of the fill where `1` is fully opaque and `0` is fully transparent.\nValues between 0 and 1 create semi-transparent fills.\n",
|
|
3165
|
-
"minimum": 0,
|
|
3166
|
-
"maximum": 1
|
|
3167
|
-
},
|
|
3168
|
-
{
|
|
3169
|
-
"type": "null"
|
|
3170
|
-
}
|
|
3171
|
-
]
|
|
3172
|
-
}
|
|
3173
|
-
},
|
|
3174
|
-
"required": [
|
|
3175
|
-
"type",
|
|
3176
|
-
"color",
|
|
3177
|
-
"opacity"
|
|
3178
|
-
]
|
|
3179
|
-
},
|
|
3180
|
-
"SvgLinearGradientFill": {
|
|
3181
|
-
"description": "A linear gradient fill that transitions colors along a straight line.\nThe gradient direction is controlled by the `angle` property.\n",
|
|
3182
|
-
"type": "object",
|
|
3183
|
-
"additionalProperties": false,
|
|
3184
|
-
"properties": {
|
|
3185
|
-
"type": {
|
|
3186
|
-
"description": "The fill type - set to `linear` for a linear gradient fill.",
|
|
3187
|
-
"type": "string",
|
|
3188
|
-
"enum": [
|
|
3189
|
-
"linear"
|
|
3190
|
-
]
|
|
3191
|
-
},
|
|
3192
|
-
"angle": {
|
|
3193
|
-
"anyOf": [
|
|
3194
|
-
{
|
|
3195
|
-
"type": "number",
|
|
3196
|
-
"description": "The angle of the gradient in degrees. `0` is horizontal (left to right),\n`90` is vertical (bottom to top), `180` is right to left, etc.\n",
|
|
3197
|
-
"minimum": 0,
|
|
3198
|
-
"maximum": 360
|
|
3199
|
-
},
|
|
3200
|
-
{
|
|
3201
|
-
"type": "null"
|
|
3202
|
-
}
|
|
3203
|
-
]
|
|
3204
|
-
},
|
|
3205
|
-
"stops": {
|
|
3206
|
-
"description": "Array of color stops that define the gradient colors and their positions.\nMust have at least 2 stops. Offsets should increase from 0 to 1.\n",
|
|
3207
|
-
"type": "array",
|
|
3208
|
-
"items": {
|
|
3209
|
-
"$ref": "#/$defs/SvgGradientStop"
|
|
3210
|
-
}
|
|
3211
|
-
},
|
|
3212
|
-
"opacity": {
|
|
3213
|
-
"anyOf": [
|
|
3214
|
-
{
|
|
3215
|
-
"type": "number",
|
|
3216
|
-
"description": "The overall opacity of the gradient where `1` is fully opaque and `0` is fully transparent.\n",
|
|
3217
|
-
"minimum": 0,
|
|
3218
|
-
"maximum": 1
|
|
3219
|
-
},
|
|
3220
|
-
{
|
|
3221
|
-
"type": "null"
|
|
3222
|
-
}
|
|
3223
|
-
]
|
|
3224
|
-
}
|
|
3225
|
-
},
|
|
3226
|
-
"required": [
|
|
3227
|
-
"type",
|
|
3228
|
-
"angle",
|
|
3229
|
-
"stops",
|
|
3230
|
-
"opacity"
|
|
3231
|
-
]
|
|
3232
|
-
},
|
|
3233
|
-
"SvgGradientStop": {
|
|
3234
|
-
"description": "A color stop in a gradient. Each stop defines a color at a specific position\nalong the gradient vector. Gradients require at least 2 stops.\n",
|
|
3235
|
-
"type": "object",
|
|
3236
|
-
"additionalProperties": false,
|
|
3237
|
-
"properties": {
|
|
3238
|
-
"offset": {
|
|
3239
|
-
"description": "Position of the color stop along the gradient vector.\n`0` represents the start and `1` represents the end of the gradient.\n",
|
|
3240
|
-
"type": "number",
|
|
3241
|
-
"minimum": 0,
|
|
3242
|
-
"maximum": 1
|
|
3243
|
-
},
|
|
3244
|
-
"color": {
|
|
3245
|
-
"description": "The color at this stop using hexadecimal color notation.",
|
|
3246
|
-
"type": "string"
|
|
3247
|
-
}
|
|
3248
|
-
},
|
|
3249
|
-
"required": [
|
|
3250
|
-
"offset",
|
|
3251
|
-
"color"
|
|
3252
|
-
]
|
|
3253
|
-
},
|
|
3254
|
-
"SvgRadialGradientFill": {
|
|
3255
|
-
"description": "A radial gradient fill that transitions colors radiating outward from a center point.\nThe gradient creates a circular or elliptical color transition.\n",
|
|
3256
|
-
"type": "object",
|
|
3257
|
-
"additionalProperties": false,
|
|
3258
|
-
"properties": {
|
|
3259
|
-
"type": {
|
|
3260
|
-
"description": "The fill type - set to `radial` for a radial gradient fill.",
|
|
3261
|
-
"type": "string",
|
|
3262
|
-
"enum": [
|
|
3263
|
-
"radial"
|
|
3264
|
-
]
|
|
3265
|
-
},
|
|
3266
|
-
"stops": {
|
|
3267
|
-
"description": "Array of color stops that define the gradient colors and their positions.\nMust have at least 2 stops. Offset `0` is the center, `1` is the outer edge.\n",
|
|
3268
|
-
"type": "array",
|
|
3269
|
-
"items": {
|
|
3270
|
-
"$ref": "#/$defs/SvgGradientStop"
|
|
3271
|
-
}
|
|
3272
|
-
},
|
|
3273
|
-
"opacity": {
|
|
3274
|
-
"anyOf": [
|
|
3275
|
-
{
|
|
3276
|
-
"type": "number",
|
|
3277
|
-
"description": "The overall opacity of the gradient where `1` is fully opaque and `0` is fully transparent.\n",
|
|
3278
|
-
"minimum": 0,
|
|
3279
|
-
"maximum": 1
|
|
3280
|
-
},
|
|
3281
|
-
{
|
|
3282
|
-
"type": "null"
|
|
3283
|
-
}
|
|
3284
|
-
]
|
|
3285
|
-
}
|
|
3286
|
-
},
|
|
3287
|
-
"required": [
|
|
3288
|
-
"type",
|
|
3289
|
-
"stops",
|
|
3290
|
-
"opacity"
|
|
3291
|
-
]
|
|
3292
|
-
},
|
|
3293
|
-
"SvgStroke": {
|
|
3294
|
-
"description": "Stroke (outline) properties for SVG shapes. The stroke defines how the outline\nof a shape is painted, including its color, width, and line style.\n",
|
|
3295
|
-
"type": "object",
|
|
3296
|
-
"additionalProperties": false,
|
|
3297
|
-
"properties": {
|
|
3298
|
-
"color": {
|
|
3299
|
-
"anyOf": [
|
|
3300
|
-
{
|
|
3301
|
-
"type": "string",
|
|
3302
|
-
"description": "The stroke color using hexadecimal color notation."
|
|
3303
|
-
},
|
|
3304
|
-
{
|
|
3305
|
-
"type": "null"
|
|
3306
|
-
}
|
|
3307
|
-
]
|
|
3308
|
-
},
|
|
3309
|
-
"width": {
|
|
3310
|
-
"anyOf": [
|
|
3311
|
-
{
|
|
3312
|
-
"type": "number",
|
|
3313
|
-
"description": "The width of the stroke in pixels. Must be greater than 0.\nLarger values create thicker outlines.\n",
|
|
3314
|
-
"minimum": 0,
|
|
3315
|
-
"maximum": 100
|
|
3316
|
-
},
|
|
3317
|
-
{
|
|
3318
|
-
"type": "null"
|
|
3319
|
-
}
|
|
3320
|
-
]
|
|
3321
|
-
},
|
|
3322
|
-
"opacity": {
|
|
3323
|
-
"anyOf": [
|
|
3324
|
-
{
|
|
3325
|
-
"type": "number",
|
|
3326
|
-
"description": "The opacity of the stroke where `1` is opaque and `0` is transparent.",
|
|
3327
|
-
"minimum": 0,
|
|
3328
|
-
"maximum": 1
|
|
3329
|
-
},
|
|
3330
|
-
{
|
|
3331
|
-
"type": "null"
|
|
3332
|
-
}
|
|
3333
|
-
]
|
|
3334
|
-
},
|
|
3335
|
-
"lineCap": {
|
|
3336
|
-
"anyOf": [
|
|
3337
|
-
{
|
|
3338
|
-
"type": "string",
|
|
3339
|
-
"description": "The shape at the end of open paths (lines, polylines, unclosed paths).\n<ul>\n <li>`butt` - flat edge perpendicular to the line (default)</li>\n <li>`round` - semicircular cap extending beyond the endpoint</li>\n <li>`square` - rectangular cap extending beyond the endpoint</li>\n</ul>\n",
|
|
3340
|
-
"enum": [
|
|
3341
|
-
"butt",
|
|
3342
|
-
"round",
|
|
3343
|
-
"square"
|
|
3344
|
-
]
|
|
3345
|
-
},
|
|
3346
|
-
{
|
|
3347
|
-
"type": "null"
|
|
3348
|
-
}
|
|
3349
|
-
]
|
|
3350
|
-
},
|
|
3351
|
-
"lineJoin": {
|
|
3352
|
-
"anyOf": [
|
|
3353
|
-
{
|
|
3354
|
-
"type": "string",
|
|
3355
|
-
"description": "The shape at the corners where two lines meet.\n<ul>\n <li>`miter` - sharp corner (default)</li>\n <li>`round` - rounded corner</li>\n <li>`bevel` - flattened corner</li>\n</ul>\n",
|
|
3356
|
-
"enum": [
|
|
3357
|
-
"miter",
|
|
3358
|
-
"round",
|
|
3359
|
-
"bevel"
|
|
3360
|
-
]
|
|
3361
|
-
},
|
|
3362
|
-
{
|
|
3363
|
-
"type": "null"
|
|
3364
|
-
}
|
|
3365
|
-
]
|
|
3366
|
-
},
|
|
3367
|
-
"dashArray": {
|
|
3368
|
-
"anyOf": [
|
|
3369
|
-
{
|
|
3370
|
-
"type": "array",
|
|
3371
|
-
"description": "Pattern of dashes and gaps for the stroke. An array of numbers where\nodd indices are dash lengths and even indices are gap lengths.\nFor example, `[10, 5]` creates 10px dashes with 5px gaps.\n`[10, 5, 2, 5]` creates alternating 10px and 2px dashes with 5px gaps.\n",
|
|
3372
|
-
"items": {
|
|
3373
|
-
"type": "number",
|
|
3374
|
-
"minimum": 0
|
|
3375
|
-
}
|
|
3376
|
-
},
|
|
3377
|
-
{
|
|
3378
|
-
"type": "null"
|
|
3379
|
-
}
|
|
3380
|
-
]
|
|
3381
|
-
},
|
|
3382
|
-
"dashOffset": {
|
|
3383
|
-
"anyOf": [
|
|
3384
|
-
{
|
|
3385
|
-
"type": "number",
|
|
3386
|
-
"description": "Offset for the dash pattern. Positive values shift the pattern\nforward along the path, negative values shift it backward.\n"
|
|
3387
|
-
},
|
|
3388
|
-
{
|
|
3389
|
-
"type": "null"
|
|
3390
|
-
}
|
|
3391
|
-
]
|
|
3392
|
-
}
|
|
3393
|
-
},
|
|
3394
|
-
"required": [
|
|
3395
|
-
"color",
|
|
3396
|
-
"width",
|
|
3397
|
-
"opacity",
|
|
3398
|
-
"lineCap",
|
|
3399
|
-
"lineJoin",
|
|
3400
|
-
"dashArray",
|
|
3401
|
-
"dashOffset"
|
|
3402
|
-
]
|
|
3403
|
-
},
|
|
3404
|
-
"SvgShadow": {
|
|
3405
|
-
"description": "Drop shadow properties for SVG shapes. Creates a shadow effect behind the shape.\n",
|
|
3406
|
-
"type": "object",
|
|
3407
|
-
"additionalProperties": false,
|
|
3408
|
-
"properties": {
|
|
3409
|
-
"offsetX": {
|
|
3410
|
-
"anyOf": [
|
|
3411
|
-
{
|
|
3412
|
-
"type": "number",
|
|
3413
|
-
"description": "Horizontal offset of the shadow in pixels.\nPositive values move the shadow to the right, negative to the left.\n"
|
|
3414
|
-
},
|
|
3415
|
-
{
|
|
3416
|
-
"type": "null"
|
|
3417
|
-
}
|
|
3418
|
-
]
|
|
3419
|
-
},
|
|
3420
|
-
"offsetY": {
|
|
3421
|
-
"anyOf": [
|
|
3422
|
-
{
|
|
3423
|
-
"type": "number",
|
|
3424
|
-
"description": "Vertical offset of the shadow in pixels.\nPositive values move the shadow down, negative values move it up.\n"
|
|
3425
|
-
},
|
|
3426
|
-
{
|
|
3427
|
-
"type": "null"
|
|
3428
|
-
}
|
|
3429
|
-
]
|
|
3430
|
-
},
|
|
3431
|
-
"blur": {
|
|
3432
|
-
"anyOf": [
|
|
3433
|
-
{
|
|
3434
|
-
"type": "number",
|
|
3435
|
-
"description": "The blur radius of the shadow in pixels. Must be 0 or greater.",
|
|
3436
|
-
"minimum": 0
|
|
3437
|
-
},
|
|
3438
|
-
{
|
|
3439
|
-
"type": "null"
|
|
3440
|
-
}
|
|
3441
|
-
]
|
|
3442
|
-
},
|
|
3443
|
-
"color": {
|
|
3444
|
-
"anyOf": [
|
|
3445
|
-
{
|
|
3446
|
-
"type": "string",
|
|
3447
|
-
"description": "The shadow color using hexadecimal color notation.",
|
|
3448
|
-
"enum": [
|
|
3449
|
-
"#000000"
|
|
3450
|
-
]
|
|
3451
|
-
},
|
|
3452
|
-
{
|
|
3453
|
-
"type": "null"
|
|
3454
|
-
}
|
|
3455
|
-
]
|
|
3456
|
-
},
|
|
3457
|
-
"opacity": {
|
|
3458
|
-
"anyOf": [
|
|
3459
|
-
{
|
|
3460
|
-
"type": "number",
|
|
3461
|
-
"description": "The opacity of the shadow where `1` is opaque and `0` is transparent.",
|
|
3462
|
-
"minimum": 0,
|
|
3463
|
-
"maximum": 1
|
|
3464
|
-
},
|
|
3465
|
-
{
|
|
3466
|
-
"type": "null"
|
|
3467
|
-
}
|
|
3468
|
-
]
|
|
3469
|
-
}
|
|
3470
|
-
},
|
|
3471
|
-
"required": [
|
|
3472
|
-
"offsetX",
|
|
3473
|
-
"offsetY",
|
|
3474
|
-
"blur",
|
|
3475
|
-
"color",
|
|
3476
|
-
"opacity"
|
|
3477
|
-
]
|
|
3478
|
-
},
|
|
3479
|
-
"SvgTransform": {
|
|
3480
|
-
"description": "Transformation properties for positioning, rotating, and scaling SVG shapes.\n",
|
|
3481
|
-
"type": "object",
|
|
3482
|
-
"additionalProperties": false,
|
|
3483
|
-
"properties": {
|
|
3484
|
-
"x": {
|
|
3485
|
-
"anyOf": [
|
|
3486
|
-
{
|
|
3487
|
-
"type": "number",
|
|
3488
|
-
"description": "The x-coordinate position of the shape in pixels.\nRelative to the top-left corner of the viewport.\n"
|
|
3489
|
-
},
|
|
3490
|
-
{
|
|
3491
|
-
"type": "null"
|
|
3492
|
-
}
|
|
3493
|
-
]
|
|
3494
|
-
},
|
|
3495
|
-
"y": {
|
|
3496
|
-
"anyOf": [
|
|
3497
|
-
{
|
|
3498
|
-
"type": "number",
|
|
3499
|
-
"description": "The y-coordinate position of the shape in pixels.\nRelative to the top-left corner of the viewport.\n"
|
|
3500
|
-
},
|
|
3501
|
-
{
|
|
3502
|
-
"type": "null"
|
|
3503
|
-
}
|
|
3504
|
-
]
|
|
3505
|
-
},
|
|
3506
|
-
"rotation": {
|
|
3507
|
-
"anyOf": [
|
|
3508
|
-
{
|
|
3509
|
-
"type": "number",
|
|
3510
|
-
"description": "Rotation angle in degrees. Positive values rotate clockwise,\nnegative values rotate counter-clockwise. Range: -360 to 360.\n",
|
|
3511
|
-
"minimum": -360,
|
|
3512
|
-
"maximum": 360
|
|
3513
|
-
},
|
|
3514
|
-
{
|
|
3515
|
-
"type": "null"
|
|
3516
|
-
}
|
|
3517
|
-
]
|
|
3518
|
-
},
|
|
3519
|
-
"scale": {
|
|
3520
|
-
"anyOf": [
|
|
3521
|
-
{
|
|
3522
|
-
"type": "number",
|
|
3523
|
-
"description": "Scale factor for the shape. `1` is original size, `2` is double size,\n`0.5` is half size. Must be greater than 0.\n",
|
|
3524
|
-
"minimum": 0.01,
|
|
3525
|
-
"maximum": 100
|
|
3526
|
-
},
|
|
3527
|
-
{
|
|
3528
|
-
"type": "null"
|
|
3529
|
-
}
|
|
3530
|
-
]
|
|
3531
|
-
},
|
|
3532
|
-
"originX": {
|
|
3533
|
-
"anyOf": [
|
|
3534
|
-
{
|
|
3535
|
-
"type": "number",
|
|
3536
|
-
"description": "The x-coordinate of the transformation origin as a value from 0 to 1.\n`0` is the left edge, `0.5` is the center, `1` is the right edge.\n",
|
|
3537
|
-
"minimum": 0,
|
|
3538
|
-
"maximum": 1
|
|
3539
|
-
},
|
|
3540
|
-
{
|
|
3541
|
-
"type": "null"
|
|
3542
|
-
}
|
|
3543
|
-
]
|
|
3544
|
-
},
|
|
3545
|
-
"originY": {
|
|
3546
|
-
"anyOf": [
|
|
3547
|
-
{
|
|
3548
|
-
"type": "number",
|
|
3549
|
-
"description": "The y-coordinate of the transformation origin as a value from 0 to 1.\n`0` is the top edge, `0.5` is the center, `1` is the bottom edge.\n",
|
|
3550
|
-
"minimum": 0,
|
|
3551
|
-
"maximum": 1
|
|
3552
|
-
},
|
|
3553
|
-
{
|
|
3554
|
-
"type": "null"
|
|
3555
|
-
}
|
|
3556
|
-
]
|
|
3557
|
-
}
|
|
3558
|
-
},
|
|
3559
|
-
"required": [
|
|
3560
|
-
"x",
|
|
3561
|
-
"y",
|
|
3562
|
-
"rotation",
|
|
3563
|
-
"scale",
|
|
3564
|
-
"originX",
|
|
3565
|
-
"originY"
|
|
3566
|
-
]
|
|
3567
|
-
},
|
|
3568
|
-
"TextToImageAsset": {
|
|
3569
|
-
"description": "The TextToImageAsset lets you create a dynamic image from a text prompt.",
|
|
3570
|
-
"properties": {
|
|
3571
|
-
"type": {
|
|
3572
|
-
"type": "string",
|
|
3573
|
-
"description": "The type of asset to generate - set to `text-to-image` for text-to-image.",
|
|
3574
|
-
"enum": [
|
|
3575
|
-
"text-to-image"
|
|
3576
|
-
]
|
|
3577
|
-
},
|
|
3578
|
-
"prompt": {
|
|
3579
|
-
"type": "string",
|
|
3580
|
-
"description": "The text prompt to generate an image from."
|
|
3581
|
-
},
|
|
3582
|
-
"width": {
|
|
3583
|
-
"anyOf": [
|
|
3584
|
-
{
|
|
3585
|
-
"type": "integer",
|
|
3586
|
-
"description": "The width of the image in pixels."
|
|
3587
|
-
},
|
|
3588
|
-
{
|
|
3589
|
-
"type": "null"
|
|
3590
|
-
}
|
|
3591
|
-
]
|
|
3592
|
-
},
|
|
3593
|
-
"height": {
|
|
3594
|
-
"anyOf": [
|
|
3595
|
-
{
|
|
3596
|
-
"type": "integer",
|
|
3597
|
-
"description": "The height of the image in pixels."
|
|
3598
|
-
},
|
|
3599
|
-
{
|
|
3600
|
-
"type": "null"
|
|
3601
|
-
}
|
|
3602
|
-
]
|
|
3603
|
-
},
|
|
3604
|
-
"crop": {
|
|
3605
|
-
"anyOf": [
|
|
3606
|
-
{
|
|
3607
|
-
"$ref": "#/$defs/Crop"
|
|
3608
|
-
},
|
|
3609
|
-
{
|
|
3610
|
-
"type": "null"
|
|
3611
|
-
}
|
|
3612
|
-
]
|
|
3613
|
-
}
|
|
3614
|
-
},
|
|
3615
|
-
"additionalProperties": false,
|
|
3616
|
-
"type": "object",
|
|
3617
|
-
"required": [
|
|
3618
|
-
"type",
|
|
3619
|
-
"prompt",
|
|
3620
|
-
"width",
|
|
3621
|
-
"height",
|
|
3622
|
-
"crop"
|
|
3623
|
-
]
|
|
3624
|
-
},
|
|
3625
|
-
"ImageToVideoAsset": {
|
|
3626
|
-
"description": "The ImageToVideoAsset lets you create a video from an image and a text prompt.",
|
|
3627
|
-
"properties": {
|
|
3628
|
-
"type": {
|
|
3629
|
-
"type": "string",
|
|
3630
|
-
"description": "The type of asset to generate - set to `image-to-video` for image-to-video.",
|
|
3631
|
-
"enum": [
|
|
3632
|
-
"image-to-video"
|
|
3633
|
-
]
|
|
3634
|
-
},
|
|
3635
|
-
"src": {
|
|
3636
|
-
"description": "The image source URL. The URL must be publicly accessible or include credentials.",
|
|
3637
|
-
"type": "string"
|
|
3638
|
-
},
|
|
3639
|
-
"prompt": {
|
|
3640
|
-
"anyOf": [
|
|
3641
|
-
{
|
|
3642
|
-
"type": "string",
|
|
3643
|
-
"description": "The instructions for modifying the image into a video sequence."
|
|
3644
|
-
},
|
|
3645
|
-
{
|
|
3646
|
-
"type": "null"
|
|
3647
|
-
}
|
|
3648
|
-
]
|
|
3649
|
-
},
|
|
3650
|
-
"aspectRatio": {
|
|
3651
|
-
"anyOf": [
|
|
3652
|
-
{
|
|
3653
|
-
"type": "string",
|
|
3654
|
-
"description": "The aspect ratio (shape) of the video output.",
|
|
3655
|
-
"enum": [
|
|
3656
|
-
"1:1",
|
|
3657
|
-
"4:3",
|
|
3658
|
-
"16:9",
|
|
3659
|
-
"9:16",
|
|
3660
|
-
"3:4",
|
|
3661
|
-
"21:9",
|
|
3662
|
-
"9:21"
|
|
3663
|
-
]
|
|
3664
|
-
},
|
|
3665
|
-
{
|
|
3666
|
-
"type": "null"
|
|
3667
|
-
}
|
|
3668
|
-
]
|
|
3669
|
-
},
|
|
3670
|
-
"speed": {
|
|
3671
|
-
"anyOf": [
|
|
3672
|
-
{
|
|
3673
|
-
"type": "number",
|
|
3674
|
-
"description": "Adjust the playback speed of the video clip between 0 (paused) and 10 (10x normal speed) where 1 is normal speed (defaults to 1). Adjusting the speed will also adjust the duration of the clip and may require you to adjust the Clip length. For example, if you set speed to 0.5, the clip will need to be 2x as long to play the entire video (i.e. original length / 0.5). If you set speed to 2, the clip will need to be half as long to play the entire video (i.e. original length / 2).",
|
|
3675
|
-
"minimum": 0,
|
|
3676
|
-
"maximum": 10
|
|
3677
|
-
},
|
|
3678
|
-
{
|
|
3679
|
-
"type": "null"
|
|
3680
|
-
}
|
|
3681
|
-
]
|
|
3682
|
-
},
|
|
3683
|
-
"crop": {
|
|
3684
|
-
"anyOf": [
|
|
3685
|
-
{
|
|
3686
|
-
"$ref": "#/$defs/Crop"
|
|
3687
|
-
},
|
|
3688
|
-
{
|
|
3689
|
-
"type": "null"
|
|
3690
|
-
}
|
|
3691
|
-
]
|
|
3692
|
-
}
|
|
3693
|
-
},
|
|
3694
|
-
"additionalProperties": false,
|
|
3695
|
-
"type": "object",
|
|
3696
|
-
"required": [
|
|
3697
|
-
"type",
|
|
3698
|
-
"src",
|
|
3699
|
-
"prompt",
|
|
3700
|
-
"aspectRatio",
|
|
3701
|
-
"speed",
|
|
3702
|
-
"crop"
|
|
3703
|
-
]
|
|
3704
|
-
},
|
|
3705
|
-
"TextToSpeechAsset": {
|
|
3706
|
-
"description": "The TextToSpeechAsset lets you generate a voice over from text using a text-to-speech service. The generated audio can be trimmed, faded and have its volume and speed adjusted using the same properties available on the AudioAsset.",
|
|
3707
|
-
"type": "object",
|
|
3708
|
-
"properties": {
|
|
3709
|
-
"type": {
|
|
3710
|
-
"type": "string",
|
|
3711
|
-
"description": "The type of asset - set to `text-to-speech` for text-to-speech.",
|
|
3712
|
-
"enum": [
|
|
3713
|
-
"text-to-speech"
|
|
3714
|
-
]
|
|
3715
|
-
},
|
|
3716
|
-
"text": {
|
|
3717
|
-
"type": "string",
|
|
3718
|
-
"description": "The text to convert to speech."
|
|
3719
|
-
},
|
|
3720
|
-
"voice": {
|
|
3721
|
-
"type": "string",
|
|
3722
|
-
"description": "The voice to use for the text-to-speech conversion."
|
|
3723
|
-
},
|
|
3724
|
-
"language": {
|
|
3725
|
-
"anyOf": [
|
|
3726
|
-
{
|
|
3727
|
-
"type": "string",
|
|
3728
|
-
"description": "The language code for the text-to-speech conversion."
|
|
2899
|
+
"type": "string",
|
|
2900
|
+
"description": "The language code for the text-to-speech conversion."
|
|
3729
2901
|
},
|
|
3730
2902
|
{
|
|
3731
2903
|
"type": "null"
|
|
@@ -3879,7 +3051,31 @@
|
|
|
3879
3051
|
"anyOf": [
|
|
3880
3052
|
{
|
|
3881
3053
|
"type": "string",
|
|
3882
|
-
"description": "The transition in. Available transitions are:\n <ul>\n <li>`fade` - fade in</li>\n <li>`reveal` - reveal from left to right</li>\n <li>`wipeLeft` - fade across screen to the left</li>\n <li>`wipeRight` - fade across screen to the right</li>\n <li>`slideLeft` - move slightly left and fade in</li>\n <li>`slideRight` - move slightly right and fade in</li>\n <li>`slideUp` - move slightly up and fade in</li>\n <li>`slideDown` - move slightly down and fade in</li>\n <li>`carouselLeft` - slide in from right to left</li>\n <li>`carouselRight` - slide in from left to right</li>\n <li>`carouselUp` - slide in from bottom to top</li>\n <li>`carouselDown` - slide in from top to bottom</li>\n <li>`shuffleTopRight` - rotate in from top right</li>\n <li>`shuffleRightTop` - rotate in from right top</li>\n <li>`shuffleRightBottom` - rotate in from right bottom</li>\n <li>`shuffleBottomRight` - rotate in from bottom right</li>\n <li>`shuffleBottomLeft` - rotate in from bottom left</li>\n <li>`shuffleLeftBottom` - rotate in from left bottom</li>\n <li>`shuffleLeftTop` - rotate in from left top</li>\n <li>`shuffleTopLeft` - rotate in from top left</li>\n <li>`zoom` - fast zoom in</li>\n </ul>\nThe transition speed can also be controlled by appending `Fast` or `Slow` to the transition, e.g. `fadeFast` or `CarouselLeftSlow`."
|
|
3054
|
+
"description": "The transition in. Available transitions are:\n <ul>\n <li>`fade` - fade in</li>\n <li>`reveal` - reveal from left to right</li>\n <li>`wipeLeft` - fade across screen to the left</li>\n <li>`wipeRight` - fade across screen to the right</li>\n <li>`slideLeft` - move slightly left and fade in</li>\n <li>`slideRight` - move slightly right and fade in</li>\n <li>`slideUp` - move slightly up and fade in</li>\n <li>`slideDown` - move slightly down and fade in</li>\n <li>`carouselLeft` - slide in from right to left</li>\n <li>`carouselRight` - slide in from left to right</li>\n <li>`carouselUp` - slide in from bottom to top</li>\n <li>`carouselDown` - slide in from top to bottom</li>\n <li>`shuffleTopRight` - rotate in from top right</li>\n <li>`shuffleRightTop` - rotate in from right top</li>\n <li>`shuffleRightBottom` - rotate in from right bottom</li>\n <li>`shuffleBottomRight` - rotate in from bottom right</li>\n <li>`shuffleBottomLeft` - rotate in from bottom left</li>\n <li>`shuffleLeftBottom` - rotate in from left bottom</li>\n <li>`shuffleLeftTop` - rotate in from left top</li>\n <li>`shuffleTopLeft` - rotate in from top left</li>\n <li>`zoom` - fast zoom in</li>\n </ul>\nThe transition speed can also be controlled by appending `Fast` or `Slow` to the transition, e.g. `fadeFast` or `CarouselLeftSlow`.",
|
|
3055
|
+
"enum": [
|
|
3056
|
+
"none",
|
|
3057
|
+
"fade",
|
|
3058
|
+
"reveal",
|
|
3059
|
+
"wipeLeft",
|
|
3060
|
+
"wipeRight",
|
|
3061
|
+
"slideLeft",
|
|
3062
|
+
"slideRight",
|
|
3063
|
+
"slideUp",
|
|
3064
|
+
"slideDown",
|
|
3065
|
+
"carouselLeft",
|
|
3066
|
+
"carouselRight",
|
|
3067
|
+
"carouselUp",
|
|
3068
|
+
"carouselDown",
|
|
3069
|
+
"shuffleTopRight",
|
|
3070
|
+
"shuffleRightTop",
|
|
3071
|
+
"shuffleRightBottom",
|
|
3072
|
+
"shuffleBottomRight",
|
|
3073
|
+
"shuffleBottomLeft",
|
|
3074
|
+
"shuffleLeftBottom",
|
|
3075
|
+
"shuffleLeftTop",
|
|
3076
|
+
"shuffleTopLeft",
|
|
3077
|
+
"zoom"
|
|
3078
|
+
]
|
|
3883
3079
|
},
|
|
3884
3080
|
{
|
|
3885
3081
|
"type": "null"
|
|
@@ -3890,7 +3086,31 @@
|
|
|
3890
3086
|
"anyOf": [
|
|
3891
3087
|
{
|
|
3892
3088
|
"type": "string",
|
|
3893
|
-
"description": "The transition out. Available transitions are:\n <ul>\n <li>`fade` - fade out</li>\n <li>`reveal` - reveal from right to left</li>\n <li>`wipeLeft` - fade across screen to the left</li>\n <li>`wipeRight` - fade across screen to the right</li>\n <li>`slideLeft` - move slightly left and fade out</li>\n <li>`slideRight` - move slightly right and fade out</li>\n <li>`slideUp` - move slightly up and fade out</li>\n <li>`slideDown` - move slightly down and fade out</li>\n <li>`carouselLeft` - slide out from right to left</li>\n <li>`carouselRight` - slide out from left to right</li>\n <li>`carouselUp` - slide out from bottom to top</li>\n <li>`carouselDown` - slide out from top to bottom</li>\n <li>`shuffleTopRight` - rotate out from top right</li>\n <li>`shuffleRightTop` - rotate out from right top</li>\n <li>`shuffleRightBottom` - rotate out from right bottom</li>\n <li>`shuffleBottomRight` - rotate out from bottom right</li>\n <li>`shuffleBottomLeft` - rotate out from bottom left</li>\n <li>`shuffleLeftBottom` - rotate out from left bottom</li>\n <li>`shuffleLeftTop` - rotate out from left top</li>\n <li>`shuffleTopLeft` - rotate out from top left</li>\n <li>`zoom` - fast zoom out</li>\n </ul>\nThe transition speed can also be controlled by appending `Fast` or `Slow` to the transition, e.g. `fadeFast` or `CarouselLeftSlow`."
|
|
3089
|
+
"description": "The transition out. Available transitions are:\n <ul>\n <li>`fade` - fade out</li>\n <li>`reveal` - reveal from right to left</li>\n <li>`wipeLeft` - fade across screen to the left</li>\n <li>`wipeRight` - fade across screen to the right</li>\n <li>`slideLeft` - move slightly left and fade out</li>\n <li>`slideRight` - move slightly right and fade out</li>\n <li>`slideUp` - move slightly up and fade out</li>\n <li>`slideDown` - move slightly down and fade out</li>\n <li>`carouselLeft` - slide out from right to left</li>\n <li>`carouselRight` - slide out from left to right</li>\n <li>`carouselUp` - slide out from bottom to top</li>\n <li>`carouselDown` - slide out from top to bottom</li>\n <li>`shuffleTopRight` - rotate out from top right</li>\n <li>`shuffleRightTop` - rotate out from right top</li>\n <li>`shuffleRightBottom` - rotate out from right bottom</li>\n <li>`shuffleBottomRight` - rotate out from bottom right</li>\n <li>`shuffleBottomLeft` - rotate out from bottom left</li>\n <li>`shuffleLeftBottom` - rotate out from left bottom</li>\n <li>`shuffleLeftTop` - rotate out from left top</li>\n <li>`shuffleTopLeft` - rotate out from top left</li>\n <li>`zoom` - fast zoom out</li>\n </ul>\nThe transition speed can also be controlled by appending `Fast` or `Slow` to the transition, e.g. `fadeFast` or `CarouselLeftSlow`.",
|
|
3090
|
+
"enum": [
|
|
3091
|
+
"none",
|
|
3092
|
+
"fade",
|
|
3093
|
+
"reveal",
|
|
3094
|
+
"wipeLeft",
|
|
3095
|
+
"wipeRight",
|
|
3096
|
+
"slideLeft",
|
|
3097
|
+
"slideRight",
|
|
3098
|
+
"slideUp",
|
|
3099
|
+
"slideDown",
|
|
3100
|
+
"carouselLeft",
|
|
3101
|
+
"carouselRight",
|
|
3102
|
+
"carouselUp",
|
|
3103
|
+
"carouselDown",
|
|
3104
|
+
"shuffleTopRight",
|
|
3105
|
+
"shuffleRightTop",
|
|
3106
|
+
"shuffleRightBottom",
|
|
3107
|
+
"shuffleBottomRight",
|
|
3108
|
+
"shuffleBottomLeft",
|
|
3109
|
+
"shuffleLeftBottom",
|
|
3110
|
+
"shuffleLeftTop",
|
|
3111
|
+
"shuffleTopLeft",
|
|
3112
|
+
"zoom"
|
|
3113
|
+
]
|
|
3894
3114
|
},
|
|
3895
3115
|
{
|
|
3896
3116
|
"type": "null"
|