@shotstack/schemas 1.9.6 → 1.9.8

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 (36) hide show
  1. package/dist/api.bundled.json +1492 -3430
  2. package/dist/json-schema/asset.json +1 -853
  3. package/dist/json-schema/clip.json +1 -853
  4. package/dist/json-schema/destinations.json +28 -12
  5. package/dist/json-schema/edit.json +31 -867
  6. package/dist/json-schema/output.json +28 -12
  7. package/dist/json-schema/schemas.json +38 -967
  8. package/dist/json-schema/svg-asset.json +6 -857
  9. package/dist/json-schema/timeline.json +2 -854
  10. package/dist/json-schema/track.json +2 -854
  11. package/dist/schema.d.ts +914 -2451
  12. package/dist/zod/zod.gen.cjs +97 -1285
  13. package/dist/zod/zod.gen.d.ts +613 -12248
  14. package/dist/zod/zod.gen.js +91 -1277
  15. package/dist/zod/zod.gen.ts +27 -992
  16. package/package.json +1 -1
  17. package/dist/json-schema/svg-arrow-shape.json +0 -49
  18. package/dist/json-schema/svg-circle-shape.json +0 -28
  19. package/dist/json-schema/svg-cross-shape.json +0 -42
  20. package/dist/json-schema/svg-ellipse-shape.json +0 -35
  21. package/dist/json-schema/svg-fill.json +0 -169
  22. package/dist/json-schema/svg-gradient-stop.json +0 -25
  23. package/dist/json-schema/svg-heart-shape.json +0 -28
  24. package/dist/json-schema/svg-line-shape.json +0 -35
  25. package/dist/json-schema/svg-linear-gradient-fill.json +0 -80
  26. package/dist/json-schema/svg-path-shape.json +0 -26
  27. package/dist/json-schema/svg-polygon-shape.json +0 -35
  28. package/dist/json-schema/svg-radial-gradient-fill.json +0 -66
  29. package/dist/json-schema/svg-rectangle-shape.json +0 -49
  30. package/dist/json-schema/svg-ring-shape.json +0 -35
  31. package/dist/json-schema/svg-shadow.json +0 -79
  32. package/dist/json-schema/svg-shape.json +0 -404
  33. package/dist/json-schema/svg-solid-fill.json +0 -40
  34. package/dist/json-schema/svg-star-shape.json +0 -42
  35. package/dist/json-schema/svg-stroke.json +0 -115
  36. package/dist/json-schema/svg-transform.json +0 -93
@@ -2419,865 +2419,13 @@
2419
2419
  ]
2420
2420
  },
2421
2421
  "src": {
2422
- "anyOf": [
2423
- {
2424
- "type": "string"
2425
- },
2426
- {
2427
- "type": "null"
2428
- }
2429
- ]
2430
- },
2431
- "shape": {
2432
- "anyOf": [
2433
- {
2434
- "$ref": "#/$defs/SvgShape"
2435
- },
2436
- {
2437
- "type": "null"
2438
- }
2439
- ]
2440
- },
2441
- "fill": {
2442
- "anyOf": [
2443
- {
2444
- "$ref": "#/$defs/SvgFill"
2445
- },
2446
- {
2447
- "type": "null"
2448
- }
2449
- ]
2450
- },
2451
- "stroke": {
2452
- "anyOf": [
2453
- {
2454
- "$ref": "#/$defs/SvgStroke"
2455
- },
2456
- {
2457
- "type": "null"
2458
- }
2459
- ]
2460
- },
2461
- "shadow": {
2462
- "anyOf": [
2463
- {
2464
- "$ref": "#/$defs/SvgShadow"
2465
- },
2466
- {
2467
- "type": "null"
2468
- }
2469
- ]
2470
- },
2471
- "transform": {
2472
- "anyOf": [
2473
- {
2474
- "$ref": "#/$defs/SvgTransform"
2475
- },
2476
- {
2477
- "type": "null"
2478
- }
2479
- ]
2480
- },
2481
- "opacity": {
2482
- "anyOf": [
2483
- {
2484
- "type": "number",
2485
- "minimum": 0,
2486
- "maximum": 1
2487
- },
2488
- {
2489
- "type": "null"
2490
- }
2491
- ]
2492
- },
2493
- "width": {
2494
- "anyOf": [
2495
- {
2496
- "type": "integer",
2497
- "minimum": 1,
2498
- "maximum": 4096
2499
- },
2500
- {
2501
- "type": "null"
2502
- }
2503
- ]
2504
- },
2505
- "height": {
2506
- "anyOf": [
2507
- {
2508
- "type": "integer",
2509
- "minimum": 1,
2510
- "maximum": 4096
2511
- },
2512
- {
2513
- "type": "null"
2514
- }
2515
- ]
2516
- }
2517
- },
2518
- "additionalProperties": false,
2519
- "required": [
2520
- "type",
2521
- "src",
2522
- "shape",
2523
- "fill",
2524
- "stroke",
2525
- "shadow",
2526
- "transform",
2527
- "opacity",
2528
- "width",
2529
- "height"
2530
- ]
2531
- },
2532
- "SvgShape": {
2533
- "anyOf": [
2534
- {
2535
- "$ref": "#/$defs/SvgRectangleShape"
2536
- },
2537
- {
2538
- "$ref": "#/$defs/SvgCircleShape"
2539
- },
2540
- {
2541
- "$ref": "#/$defs/SvgEllipseShape"
2542
- },
2543
- {
2544
- "$ref": "#/$defs/SvgLineShape"
2545
- },
2546
- {
2547
- "$ref": "#/$defs/SvgPolygonShape"
2548
- },
2549
- {
2550
- "$ref": "#/$defs/SvgStarShape"
2551
- },
2552
- {
2553
- "$ref": "#/$defs/SvgArrowShape"
2554
- },
2555
- {
2556
- "$ref": "#/$defs/SvgHeartShape"
2557
- },
2558
- {
2559
- "$ref": "#/$defs/SvgCrossShape"
2560
- },
2561
- {
2562
- "$ref": "#/$defs/SvgRingShape"
2563
- },
2564
- {
2565
- "$ref": "#/$defs/SvgPathShape"
2566
- }
2567
- ]
2568
- },
2569
- "SvgRectangleShape": {
2570
- "type": "object",
2571
- "additionalProperties": false,
2572
- "properties": {
2573
- "type": {
2574
- "type": "string",
2575
- "enum": [
2576
- "rectangle"
2577
- ]
2578
- },
2579
- "width": {
2580
- "type": "number",
2581
- "minimum": 1,
2582
- "maximum": 4096
2583
- },
2584
- "height": {
2585
- "type": "number",
2586
- "minimum": 1,
2587
- "maximum": 4096
2588
- },
2589
- "cornerRadius": {
2590
- "anyOf": [
2591
- {
2592
- "type": "number",
2593
- "minimum": 0,
2594
- "maximum": 2048
2595
- },
2596
- {
2597
- "type": "null"
2598
- }
2599
- ]
2600
- }
2601
- },
2602
- "required": [
2603
- "type",
2604
- "width",
2605
- "height",
2606
- "cornerRadius"
2607
- ]
2608
- },
2609
- "SvgCircleShape": {
2610
- "type": "object",
2611
- "additionalProperties": false,
2612
- "properties": {
2613
- "type": {
2614
- "type": "string",
2615
- "enum": [
2616
- "circle"
2617
- ]
2618
- },
2619
- "radius": {
2620
- "type": "number",
2621
- "minimum": 1,
2622
- "maximum": 2048
2623
- }
2624
- },
2625
- "required": [
2626
- "type",
2627
- "radius"
2628
- ]
2629
- },
2630
- "SvgEllipseShape": {
2631
- "type": "object",
2632
- "additionalProperties": false,
2633
- "properties": {
2634
- "type": {
2635
- "type": "string",
2636
- "enum": [
2637
- "ellipse"
2638
- ]
2639
- },
2640
- "radiusX": {
2641
- "type": "number",
2642
- "minimum": 1,
2643
- "maximum": 2048
2644
- },
2645
- "radiusY": {
2646
- "type": "number",
2647
- "minimum": 1,
2648
- "maximum": 2048
2649
- }
2650
- },
2651
- "required": [
2652
- "type",
2653
- "radiusX",
2654
- "radiusY"
2655
- ]
2656
- },
2657
- "SvgLineShape": {
2658
- "type": "object",
2659
- "additionalProperties": false,
2660
- "properties": {
2661
- "type": {
2662
- "type": "string",
2663
- "enum": [
2664
- "line"
2665
- ]
2666
- },
2667
- "length": {
2668
- "type": "number",
2669
- "minimum": 1,
2670
- "maximum": 4096
2671
- },
2672
- "thickness": {
2673
- "type": "number",
2674
- "minimum": 1,
2675
- "maximum": 500
2676
- }
2677
- },
2678
- "required": [
2679
- "type",
2680
- "length",
2681
- "thickness"
2682
- ]
2683
- },
2684
- "SvgPolygonShape": {
2685
- "type": "object",
2686
- "additionalProperties": false,
2687
- "properties": {
2688
- "type": {
2689
- "type": "string",
2690
- "enum": [
2691
- "polygon"
2692
- ]
2693
- },
2694
- "sides": {
2695
- "type": "integer",
2696
- "minimum": 3,
2697
- "maximum": 100
2698
- },
2699
- "radius": {
2700
- "type": "number",
2701
- "minimum": 1,
2702
- "maximum": 2048
2703
- }
2704
- },
2705
- "required": [
2706
- "type",
2707
- "sides",
2708
- "radius"
2709
- ]
2710
- },
2711
- "SvgStarShape": {
2712
- "type": "object",
2713
- "additionalProperties": false,
2714
- "properties": {
2715
- "type": {
2716
- "type": "string",
2717
- "enum": [
2718
- "star"
2719
- ]
2720
- },
2721
- "points": {
2722
- "type": "integer",
2723
- "minimum": 3,
2724
- "maximum": 100
2725
- },
2726
- "outerRadius": {
2727
- "type": "number",
2728
- "minimum": 1,
2729
- "maximum": 2048
2730
- },
2731
- "innerRadius": {
2732
- "type": "number",
2733
- "minimum": 1,
2734
- "maximum": 2048
2422
+ "type": "string"
2735
2423
  }
2736
2424
  },
2737
- "required": [
2738
- "type",
2739
- "points",
2740
- "outerRadius",
2741
- "innerRadius"
2742
- ]
2743
- },
2744
- "SvgArrowShape": {
2745
- "type": "object",
2746
2425
  "additionalProperties": false,
2747
- "properties": {
2748
- "type": {
2749
- "type": "string",
2750
- "enum": [
2751
- "arrow"
2752
- ]
2753
- },
2754
- "length": {
2755
- "type": "number",
2756
- "minimum": 1,
2757
- "maximum": 4096
2758
- },
2759
- "headWidth": {
2760
- "type": "number",
2761
- "minimum": 1,
2762
- "maximum": 1000
2763
- },
2764
- "headLength": {
2765
- "type": "number",
2766
- "minimum": 1,
2767
- "maximum": 1000
2768
- },
2769
- "shaftWidth": {
2770
- "type": "number",
2771
- "minimum": 1,
2772
- "maximum": 1000
2773
- }
2774
- },
2775
2426
  "required": [
2776
2427
  "type",
2777
- "length",
2778
- "headWidth",
2779
- "headLength",
2780
- "shaftWidth"
2781
- ]
2782
- },
2783
- "SvgHeartShape": {
2784
- "type": "object",
2785
- "additionalProperties": false,
2786
- "properties": {
2787
- "type": {
2788
- "type": "string",
2789
- "enum": [
2790
- "heart"
2791
- ]
2792
- },
2793
- "size": {
2794
- "type": "number",
2795
- "minimum": 1,
2796
- "maximum": 4096
2797
- }
2798
- },
2799
- "required": [
2800
- "type",
2801
- "size"
2802
- ]
2803
- },
2804
- "SvgCrossShape": {
2805
- "type": "object",
2806
- "additionalProperties": false,
2807
- "properties": {
2808
- "type": {
2809
- "type": "string",
2810
- "enum": [
2811
- "cross"
2812
- ]
2813
- },
2814
- "width": {
2815
- "type": "number",
2816
- "minimum": 1,
2817
- "maximum": 4096
2818
- },
2819
- "height": {
2820
- "type": "number",
2821
- "minimum": 1,
2822
- "maximum": 4096
2823
- },
2824
- "thickness": {
2825
- "type": "number",
2826
- "minimum": 1,
2827
- "maximum": 500
2828
- }
2829
- },
2830
- "required": [
2831
- "type",
2832
- "width",
2833
- "height",
2834
- "thickness"
2835
- ]
2836
- },
2837
- "SvgRingShape": {
2838
- "type": "object",
2839
- "additionalProperties": false,
2840
- "properties": {
2841
- "type": {
2842
- "type": "string",
2843
- "enum": [
2844
- "ring"
2845
- ]
2846
- },
2847
- "outerRadius": {
2848
- "type": "number",
2849
- "minimum": 1,
2850
- "maximum": 2048
2851
- },
2852
- "innerRadius": {
2853
- "type": "number",
2854
- "minimum": 0,
2855
- "maximum": 2048
2856
- }
2857
- },
2858
- "required": [
2859
- "type",
2860
- "outerRadius",
2861
- "innerRadius"
2862
- ]
2863
- },
2864
- "SvgPathShape": {
2865
- "type": "object",
2866
- "additionalProperties": false,
2867
- "properties": {
2868
- "type": {
2869
- "type": "string",
2870
- "enum": [
2871
- "path"
2872
- ]
2873
- },
2874
- "d": {
2875
- "type": "string"
2876
- }
2877
- },
2878
- "required": [
2879
- "type",
2880
- "d"
2881
- ]
2882
- },
2883
- "SvgFill": {
2884
- "anyOf": [
2885
- {
2886
- "$ref": "#/$defs/SvgSolidFill"
2887
- },
2888
- {
2889
- "$ref": "#/$defs/SvgLinearGradientFill"
2890
- },
2891
- {
2892
- "$ref": "#/$defs/SvgRadialGradientFill"
2893
- }
2894
- ]
2895
- },
2896
- "SvgSolidFill": {
2897
- "type": "object",
2898
- "additionalProperties": false,
2899
- "properties": {
2900
- "type": {
2901
- "type": "string",
2902
- "enum": [
2903
- "solid"
2904
- ]
2905
- },
2906
- "color": {
2907
- "type": "string"
2908
- },
2909
- "opacity": {
2910
- "anyOf": [
2911
- {
2912
- "type": "number",
2913
- "minimum": 0,
2914
- "maximum": 1
2915
- },
2916
- {
2917
- "type": "null"
2918
- }
2919
- ]
2920
- }
2921
- },
2922
- "required": [
2923
- "type",
2924
- "color",
2925
- "opacity"
2926
- ]
2927
- },
2928
- "SvgLinearGradientFill": {
2929
- "type": "object",
2930
- "additionalProperties": false,
2931
- "properties": {
2932
- "type": {
2933
- "type": "string",
2934
- "enum": [
2935
- "linear"
2936
- ]
2937
- },
2938
- "angle": {
2939
- "anyOf": [
2940
- {
2941
- "type": "number",
2942
- "minimum": 0,
2943
- "maximum": 360
2944
- },
2945
- {
2946
- "type": "null"
2947
- }
2948
- ]
2949
- },
2950
- "stops": {
2951
- "type": "array",
2952
- "items": {
2953
- "$ref": "#/$defs/SvgGradientStop"
2954
- }
2955
- },
2956
- "opacity": {
2957
- "anyOf": [
2958
- {
2959
- "type": "number",
2960
- "minimum": 0,
2961
- "maximum": 1
2962
- },
2963
- {
2964
- "type": "null"
2965
- }
2966
- ]
2967
- }
2968
- },
2969
- "required": [
2970
- "type",
2971
- "angle",
2972
- "stops",
2973
- "opacity"
2974
- ]
2975
- },
2976
- "SvgGradientStop": {
2977
- "type": "object",
2978
- "additionalProperties": false,
2979
- "properties": {
2980
- "offset": {
2981
- "type": "number",
2982
- "minimum": 0,
2983
- "maximum": 1
2984
- },
2985
- "color": {
2986
- "type": "string"
2987
- }
2988
- },
2989
- "required": [
2990
- "offset",
2991
- "color"
2992
- ]
2993
- },
2994
- "SvgRadialGradientFill": {
2995
- "type": "object",
2996
- "additionalProperties": false,
2997
- "properties": {
2998
- "type": {
2999
- "type": "string",
3000
- "enum": [
3001
- "radial"
3002
- ]
3003
- },
3004
- "stops": {
3005
- "type": "array",
3006
- "items": {
3007
- "$ref": "#/$defs/SvgGradientStop"
3008
- }
3009
- },
3010
- "opacity": {
3011
- "anyOf": [
3012
- {
3013
- "type": "number",
3014
- "minimum": 0,
3015
- "maximum": 1
3016
- },
3017
- {
3018
- "type": "null"
3019
- }
3020
- ]
3021
- }
3022
- },
3023
- "required": [
3024
- "type",
3025
- "stops",
3026
- "opacity"
3027
- ]
3028
- },
3029
- "SvgStroke": {
3030
- "type": "object",
3031
- "additionalProperties": false,
3032
- "properties": {
3033
- "color": {
3034
- "anyOf": [
3035
- {
3036
- "type": "string"
3037
- },
3038
- {
3039
- "type": "null"
3040
- }
3041
- ]
3042
- },
3043
- "width": {
3044
- "anyOf": [
3045
- {
3046
- "type": "number",
3047
- "minimum": 0,
3048
- "maximum": 100
3049
- },
3050
- {
3051
- "type": "null"
3052
- }
3053
- ]
3054
- },
3055
- "opacity": {
3056
- "anyOf": [
3057
- {
3058
- "type": "number",
3059
- "minimum": 0,
3060
- "maximum": 1
3061
- },
3062
- {
3063
- "type": "null"
3064
- }
3065
- ]
3066
- },
3067
- "lineCap": {
3068
- "anyOf": [
3069
- {
3070
- "type": "string",
3071
- "enum": [
3072
- "butt",
3073
- "round",
3074
- "square"
3075
- ]
3076
- },
3077
- {
3078
- "type": "null"
3079
- }
3080
- ]
3081
- },
3082
- "lineJoin": {
3083
- "anyOf": [
3084
- {
3085
- "type": "string",
3086
- "enum": [
3087
- "miter",
3088
- "round",
3089
- "bevel"
3090
- ]
3091
- },
3092
- {
3093
- "type": "null"
3094
- }
3095
- ]
3096
- },
3097
- "dashArray": {
3098
- "anyOf": [
3099
- {
3100
- "type": "array",
3101
- "items": {
3102
- "type": "number",
3103
- "minimum": 0
3104
- }
3105
- },
3106
- {
3107
- "type": "null"
3108
- }
3109
- ]
3110
- },
3111
- "dashOffset": {
3112
- "anyOf": [
3113
- {
3114
- "type": "number"
3115
- },
3116
- {
3117
- "type": "null"
3118
- }
3119
- ]
3120
- }
3121
- },
3122
- "required": [
3123
- "color",
3124
- "width",
3125
- "opacity",
3126
- "lineCap",
3127
- "lineJoin",
3128
- "dashArray",
3129
- "dashOffset"
3130
- ]
3131
- },
3132
- "SvgShadow": {
3133
- "type": "object",
3134
- "additionalProperties": false,
3135
- "properties": {
3136
- "offsetX": {
3137
- "anyOf": [
3138
- {
3139
- "type": "number"
3140
- },
3141
- {
3142
- "type": "null"
3143
- }
3144
- ]
3145
- },
3146
- "offsetY": {
3147
- "anyOf": [
3148
- {
3149
- "type": "number"
3150
- },
3151
- {
3152
- "type": "null"
3153
- }
3154
- ]
3155
- },
3156
- "blur": {
3157
- "anyOf": [
3158
- {
3159
- "type": "number",
3160
- "minimum": 0
3161
- },
3162
- {
3163
- "type": "null"
3164
- }
3165
- ]
3166
- },
3167
- "color": {
3168
- "anyOf": [
3169
- {
3170
- "type": "string",
3171
- "enum": [
3172
- "#000000"
3173
- ]
3174
- },
3175
- {
3176
- "type": "null"
3177
- }
3178
- ]
3179
- },
3180
- "opacity": {
3181
- "anyOf": [
3182
- {
3183
- "type": "number",
3184
- "minimum": 0,
3185
- "maximum": 1
3186
- },
3187
- {
3188
- "type": "null"
3189
- }
3190
- ]
3191
- }
3192
- },
3193
- "required": [
3194
- "offsetX",
3195
- "offsetY",
3196
- "blur",
3197
- "color",
3198
- "opacity"
3199
- ]
3200
- },
3201
- "SvgTransform": {
3202
- "type": "object",
3203
- "additionalProperties": false,
3204
- "properties": {
3205
- "x": {
3206
- "anyOf": [
3207
- {
3208
- "type": "number"
3209
- },
3210
- {
3211
- "type": "null"
3212
- }
3213
- ]
3214
- },
3215
- "y": {
3216
- "anyOf": [
3217
- {
3218
- "type": "number"
3219
- },
3220
- {
3221
- "type": "null"
3222
- }
3223
- ]
3224
- },
3225
- "rotation": {
3226
- "anyOf": [
3227
- {
3228
- "type": "number",
3229
- "minimum": -360,
3230
- "maximum": 360
3231
- },
3232
- {
3233
- "type": "null"
3234
- }
3235
- ]
3236
- },
3237
- "scale": {
3238
- "anyOf": [
3239
- {
3240
- "type": "number",
3241
- "minimum": 0.01,
3242
- "maximum": 100
3243
- },
3244
- {
3245
- "type": "null"
3246
- }
3247
- ]
3248
- },
3249
- "originX": {
3250
- "anyOf": [
3251
- {
3252
- "type": "number",
3253
- "minimum": 0,
3254
- "maximum": 1
3255
- },
3256
- {
3257
- "type": "null"
3258
- }
3259
- ]
3260
- },
3261
- "originY": {
3262
- "anyOf": [
3263
- {
3264
- "type": "number",
3265
- "minimum": 0,
3266
- "maximum": 1
3267
- },
3268
- {
3269
- "type": "null"
3270
- }
3271
- ]
3272
- }
3273
- },
3274
- "required": [
3275
- "x",
3276
- "y",
3277
- "rotation",
3278
- "scale",
3279
- "originX",
3280
- "originY"
2428
+ "src"
3281
2429
  ]
3282
2430
  },
3283
2431
  "TextToImageAsset": {