@shotstack/schemas 1.9.6 → 1.9.7

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 (34) hide show
  1. package/dist/api.bundled.json +82 -1261
  2. package/dist/json-schema/asset.json +1 -853
  3. package/dist/json-schema/clip.json +1 -853
  4. package/dist/json-schema/edit.json +2 -854
  5. package/dist/json-schema/schemas.json +5 -950
  6. package/dist/json-schema/svg-asset.json +6 -857
  7. package/dist/json-schema/timeline.json +2 -854
  8. package/dist/json-schema/track.json +2 -854
  9. package/dist/schema.d.ts +14 -1038
  10. package/dist/zod/zod.gen.cjs +35 -725
  11. package/dist/zod/zod.gen.d.ts +469 -11518
  12. package/dist/zod/zod.gen.js +28 -717
  13. package/dist/zod/zod.gen.ts +30 -710
  14. package/package.json +1 -1
  15. package/dist/json-schema/svg-arrow-shape.json +0 -49
  16. package/dist/json-schema/svg-circle-shape.json +0 -28
  17. package/dist/json-schema/svg-cross-shape.json +0 -42
  18. package/dist/json-schema/svg-ellipse-shape.json +0 -35
  19. package/dist/json-schema/svg-fill.json +0 -169
  20. package/dist/json-schema/svg-gradient-stop.json +0 -25
  21. package/dist/json-schema/svg-heart-shape.json +0 -28
  22. package/dist/json-schema/svg-line-shape.json +0 -35
  23. package/dist/json-schema/svg-linear-gradient-fill.json +0 -80
  24. package/dist/json-schema/svg-path-shape.json +0 -26
  25. package/dist/json-schema/svg-polygon-shape.json +0 -35
  26. package/dist/json-schema/svg-radial-gradient-fill.json +0 -66
  27. package/dist/json-schema/svg-rectangle-shape.json +0 -49
  28. package/dist/json-schema/svg-ring-shape.json +0 -35
  29. package/dist/json-schema/svg-shadow.json +0 -79
  30. package/dist/json-schema/svg-shape.json +0 -404
  31. package/dist/json-schema/svg-solid-fill.json +0 -40
  32. package/dist/json-schema/svg-star-shape.json +0 -42
  33. package/dist/json-schema/svg-stroke.json +0 -115
  34. package/dist/json-schema/svg-transform.json +0 -93
@@ -2532,865 +2532,13 @@
2532
2532
  ]
2533
2533
  },
2534
2534
  "src": {
2535
- "anyOf": [
2536
- {
2537
- "type": "string"
2538
- },
2539
- {
2540
- "type": "null"
2541
- }
2542
- ]
2543
- },
2544
- "shape": {
2545
- "anyOf": [
2546
- {
2547
- "$ref": "#/$defs/SvgShape"
2548
- },
2549
- {
2550
- "type": "null"
2551
- }
2552
- ]
2553
- },
2554
- "fill": {
2555
- "anyOf": [
2556
- {
2557
- "$ref": "#/$defs/SvgFill"
2558
- },
2559
- {
2560
- "type": "null"
2561
- }
2562
- ]
2563
- },
2564
- "stroke": {
2565
- "anyOf": [
2566
- {
2567
- "$ref": "#/$defs/SvgStroke"
2568
- },
2569
- {
2570
- "type": "null"
2571
- }
2572
- ]
2573
- },
2574
- "shadow": {
2575
- "anyOf": [
2576
- {
2577
- "$ref": "#/$defs/SvgShadow"
2578
- },
2579
- {
2580
- "type": "null"
2581
- }
2582
- ]
2583
- },
2584
- "transform": {
2585
- "anyOf": [
2586
- {
2587
- "$ref": "#/$defs/SvgTransform"
2588
- },
2589
- {
2590
- "type": "null"
2591
- }
2592
- ]
2593
- },
2594
- "opacity": {
2595
- "anyOf": [
2596
- {
2597
- "type": "number",
2598
- "minimum": 0,
2599
- "maximum": 1
2600
- },
2601
- {
2602
- "type": "null"
2603
- }
2604
- ]
2605
- },
2606
- "width": {
2607
- "anyOf": [
2608
- {
2609
- "type": "integer",
2610
- "minimum": 1,
2611
- "maximum": 4096
2612
- },
2613
- {
2614
- "type": "null"
2615
- }
2616
- ]
2617
- },
2618
- "height": {
2619
- "anyOf": [
2620
- {
2621
- "type": "integer",
2622
- "minimum": 1,
2623
- "maximum": 4096
2624
- },
2625
- {
2626
- "type": "null"
2627
- }
2628
- ]
2629
- }
2630
- },
2631
- "additionalProperties": false,
2632
- "required": [
2633
- "type",
2634
- "src",
2635
- "shape",
2636
- "fill",
2637
- "stroke",
2638
- "shadow",
2639
- "transform",
2640
- "opacity",
2641
- "width",
2642
- "height"
2643
- ]
2644
- },
2645
- "SvgShape": {
2646
- "anyOf": [
2647
- {
2648
- "$ref": "#/$defs/SvgRectangleShape"
2649
- },
2650
- {
2651
- "$ref": "#/$defs/SvgCircleShape"
2652
- },
2653
- {
2654
- "$ref": "#/$defs/SvgEllipseShape"
2655
- },
2656
- {
2657
- "$ref": "#/$defs/SvgLineShape"
2658
- },
2659
- {
2660
- "$ref": "#/$defs/SvgPolygonShape"
2661
- },
2662
- {
2663
- "$ref": "#/$defs/SvgStarShape"
2664
- },
2665
- {
2666
- "$ref": "#/$defs/SvgArrowShape"
2667
- },
2668
- {
2669
- "$ref": "#/$defs/SvgHeartShape"
2670
- },
2671
- {
2672
- "$ref": "#/$defs/SvgCrossShape"
2673
- },
2674
- {
2675
- "$ref": "#/$defs/SvgRingShape"
2676
- },
2677
- {
2678
- "$ref": "#/$defs/SvgPathShape"
2679
- }
2680
- ]
2681
- },
2682
- "SvgRectangleShape": {
2683
- "type": "object",
2684
- "additionalProperties": false,
2685
- "properties": {
2686
- "type": {
2687
- "type": "string",
2688
- "enum": [
2689
- "rectangle"
2690
- ]
2691
- },
2692
- "width": {
2693
- "type": "number",
2694
- "minimum": 1,
2695
- "maximum": 4096
2696
- },
2697
- "height": {
2698
- "type": "number",
2699
- "minimum": 1,
2700
- "maximum": 4096
2701
- },
2702
- "cornerRadius": {
2703
- "anyOf": [
2704
- {
2705
- "type": "number",
2706
- "minimum": 0,
2707
- "maximum": 2048
2708
- },
2709
- {
2710
- "type": "null"
2711
- }
2712
- ]
2713
- }
2714
- },
2715
- "required": [
2716
- "type",
2717
- "width",
2718
- "height",
2719
- "cornerRadius"
2720
- ]
2721
- },
2722
- "SvgCircleShape": {
2723
- "type": "object",
2724
- "additionalProperties": false,
2725
- "properties": {
2726
- "type": {
2727
- "type": "string",
2728
- "enum": [
2729
- "circle"
2730
- ]
2731
- },
2732
- "radius": {
2733
- "type": "number",
2734
- "minimum": 1,
2735
- "maximum": 2048
2736
- }
2737
- },
2738
- "required": [
2739
- "type",
2740
- "radius"
2741
- ]
2742
- },
2743
- "SvgEllipseShape": {
2744
- "type": "object",
2745
- "additionalProperties": false,
2746
- "properties": {
2747
- "type": {
2748
- "type": "string",
2749
- "enum": [
2750
- "ellipse"
2751
- ]
2752
- },
2753
- "radiusX": {
2754
- "type": "number",
2755
- "minimum": 1,
2756
- "maximum": 2048
2757
- },
2758
- "radiusY": {
2759
- "type": "number",
2760
- "minimum": 1,
2761
- "maximum": 2048
2762
- }
2763
- },
2764
- "required": [
2765
- "type",
2766
- "radiusX",
2767
- "radiusY"
2768
- ]
2769
- },
2770
- "SvgLineShape": {
2771
- "type": "object",
2772
- "additionalProperties": false,
2773
- "properties": {
2774
- "type": {
2775
- "type": "string",
2776
- "enum": [
2777
- "line"
2778
- ]
2779
- },
2780
- "length": {
2781
- "type": "number",
2782
- "minimum": 1,
2783
- "maximum": 4096
2784
- },
2785
- "thickness": {
2786
- "type": "number",
2787
- "minimum": 1,
2788
- "maximum": 500
2789
- }
2790
- },
2791
- "required": [
2792
- "type",
2793
- "length",
2794
- "thickness"
2795
- ]
2796
- },
2797
- "SvgPolygonShape": {
2798
- "type": "object",
2799
- "additionalProperties": false,
2800
- "properties": {
2801
- "type": {
2802
- "type": "string",
2803
- "enum": [
2804
- "polygon"
2805
- ]
2806
- },
2807
- "sides": {
2808
- "type": "integer",
2809
- "minimum": 3,
2810
- "maximum": 100
2811
- },
2812
- "radius": {
2813
- "type": "number",
2814
- "minimum": 1,
2815
- "maximum": 2048
2816
- }
2817
- },
2818
- "required": [
2819
- "type",
2820
- "sides",
2821
- "radius"
2822
- ]
2823
- },
2824
- "SvgStarShape": {
2825
- "type": "object",
2826
- "additionalProperties": false,
2827
- "properties": {
2828
- "type": {
2829
- "type": "string",
2830
- "enum": [
2831
- "star"
2832
- ]
2833
- },
2834
- "points": {
2835
- "type": "integer",
2836
- "minimum": 3,
2837
- "maximum": 100
2838
- },
2839
- "outerRadius": {
2840
- "type": "number",
2841
- "minimum": 1,
2842
- "maximum": 2048
2843
- },
2844
- "innerRadius": {
2845
- "type": "number",
2846
- "minimum": 1,
2847
- "maximum": 2048
2535
+ "type": "string"
2848
2536
  }
2849
2537
  },
2850
- "required": [
2851
- "type",
2852
- "points",
2853
- "outerRadius",
2854
- "innerRadius"
2855
- ]
2856
- },
2857
- "SvgArrowShape": {
2858
- "type": "object",
2859
2538
  "additionalProperties": false,
2860
- "properties": {
2861
- "type": {
2862
- "type": "string",
2863
- "enum": [
2864
- "arrow"
2865
- ]
2866
- },
2867
- "length": {
2868
- "type": "number",
2869
- "minimum": 1,
2870
- "maximum": 4096
2871
- },
2872
- "headWidth": {
2873
- "type": "number",
2874
- "minimum": 1,
2875
- "maximum": 1000
2876
- },
2877
- "headLength": {
2878
- "type": "number",
2879
- "minimum": 1,
2880
- "maximum": 1000
2881
- },
2882
- "shaftWidth": {
2883
- "type": "number",
2884
- "minimum": 1,
2885
- "maximum": 1000
2886
- }
2887
- },
2888
2539
  "required": [
2889
2540
  "type",
2890
- "length",
2891
- "headWidth",
2892
- "headLength",
2893
- "shaftWidth"
2894
- ]
2895
- },
2896
- "SvgHeartShape": {
2897
- "type": "object",
2898
- "additionalProperties": false,
2899
- "properties": {
2900
- "type": {
2901
- "type": "string",
2902
- "enum": [
2903
- "heart"
2904
- ]
2905
- },
2906
- "size": {
2907
- "type": "number",
2908
- "minimum": 1,
2909
- "maximum": 4096
2910
- }
2911
- },
2912
- "required": [
2913
- "type",
2914
- "size"
2915
- ]
2916
- },
2917
- "SvgCrossShape": {
2918
- "type": "object",
2919
- "additionalProperties": false,
2920
- "properties": {
2921
- "type": {
2922
- "type": "string",
2923
- "enum": [
2924
- "cross"
2925
- ]
2926
- },
2927
- "width": {
2928
- "type": "number",
2929
- "minimum": 1,
2930
- "maximum": 4096
2931
- },
2932
- "height": {
2933
- "type": "number",
2934
- "minimum": 1,
2935
- "maximum": 4096
2936
- },
2937
- "thickness": {
2938
- "type": "number",
2939
- "minimum": 1,
2940
- "maximum": 500
2941
- }
2942
- },
2943
- "required": [
2944
- "type",
2945
- "width",
2946
- "height",
2947
- "thickness"
2948
- ]
2949
- },
2950
- "SvgRingShape": {
2951
- "type": "object",
2952
- "additionalProperties": false,
2953
- "properties": {
2954
- "type": {
2955
- "type": "string",
2956
- "enum": [
2957
- "ring"
2958
- ]
2959
- },
2960
- "outerRadius": {
2961
- "type": "number",
2962
- "minimum": 1,
2963
- "maximum": 2048
2964
- },
2965
- "innerRadius": {
2966
- "type": "number",
2967
- "minimum": 0,
2968
- "maximum": 2048
2969
- }
2970
- },
2971
- "required": [
2972
- "type",
2973
- "outerRadius",
2974
- "innerRadius"
2975
- ]
2976
- },
2977
- "SvgPathShape": {
2978
- "type": "object",
2979
- "additionalProperties": false,
2980
- "properties": {
2981
- "type": {
2982
- "type": "string",
2983
- "enum": [
2984
- "path"
2985
- ]
2986
- },
2987
- "d": {
2988
- "type": "string"
2989
- }
2990
- },
2991
- "required": [
2992
- "type",
2993
- "d"
2994
- ]
2995
- },
2996
- "SvgFill": {
2997
- "anyOf": [
2998
- {
2999
- "$ref": "#/$defs/SvgSolidFill"
3000
- },
3001
- {
3002
- "$ref": "#/$defs/SvgLinearGradientFill"
3003
- },
3004
- {
3005
- "$ref": "#/$defs/SvgRadialGradientFill"
3006
- }
3007
- ]
3008
- },
3009
- "SvgSolidFill": {
3010
- "type": "object",
3011
- "additionalProperties": false,
3012
- "properties": {
3013
- "type": {
3014
- "type": "string",
3015
- "enum": [
3016
- "solid"
3017
- ]
3018
- },
3019
- "color": {
3020
- "type": "string"
3021
- },
3022
- "opacity": {
3023
- "anyOf": [
3024
- {
3025
- "type": "number",
3026
- "minimum": 0,
3027
- "maximum": 1
3028
- },
3029
- {
3030
- "type": "null"
3031
- }
3032
- ]
3033
- }
3034
- },
3035
- "required": [
3036
- "type",
3037
- "color",
3038
- "opacity"
3039
- ]
3040
- },
3041
- "SvgLinearGradientFill": {
3042
- "type": "object",
3043
- "additionalProperties": false,
3044
- "properties": {
3045
- "type": {
3046
- "type": "string",
3047
- "enum": [
3048
- "linear"
3049
- ]
3050
- },
3051
- "angle": {
3052
- "anyOf": [
3053
- {
3054
- "type": "number",
3055
- "minimum": 0,
3056
- "maximum": 360
3057
- },
3058
- {
3059
- "type": "null"
3060
- }
3061
- ]
3062
- },
3063
- "stops": {
3064
- "type": "array",
3065
- "items": {
3066
- "$ref": "#/$defs/SvgGradientStop"
3067
- }
3068
- },
3069
- "opacity": {
3070
- "anyOf": [
3071
- {
3072
- "type": "number",
3073
- "minimum": 0,
3074
- "maximum": 1
3075
- },
3076
- {
3077
- "type": "null"
3078
- }
3079
- ]
3080
- }
3081
- },
3082
- "required": [
3083
- "type",
3084
- "angle",
3085
- "stops",
3086
- "opacity"
3087
- ]
3088
- },
3089
- "SvgGradientStop": {
3090
- "type": "object",
3091
- "additionalProperties": false,
3092
- "properties": {
3093
- "offset": {
3094
- "type": "number",
3095
- "minimum": 0,
3096
- "maximum": 1
3097
- },
3098
- "color": {
3099
- "type": "string"
3100
- }
3101
- },
3102
- "required": [
3103
- "offset",
3104
- "color"
3105
- ]
3106
- },
3107
- "SvgRadialGradientFill": {
3108
- "type": "object",
3109
- "additionalProperties": false,
3110
- "properties": {
3111
- "type": {
3112
- "type": "string",
3113
- "enum": [
3114
- "radial"
3115
- ]
3116
- },
3117
- "stops": {
3118
- "type": "array",
3119
- "items": {
3120
- "$ref": "#/$defs/SvgGradientStop"
3121
- }
3122
- },
3123
- "opacity": {
3124
- "anyOf": [
3125
- {
3126
- "type": "number",
3127
- "minimum": 0,
3128
- "maximum": 1
3129
- },
3130
- {
3131
- "type": "null"
3132
- }
3133
- ]
3134
- }
3135
- },
3136
- "required": [
3137
- "type",
3138
- "stops",
3139
- "opacity"
3140
- ]
3141
- },
3142
- "SvgStroke": {
3143
- "type": "object",
3144
- "additionalProperties": false,
3145
- "properties": {
3146
- "color": {
3147
- "anyOf": [
3148
- {
3149
- "type": "string"
3150
- },
3151
- {
3152
- "type": "null"
3153
- }
3154
- ]
3155
- },
3156
- "width": {
3157
- "anyOf": [
3158
- {
3159
- "type": "number",
3160
- "minimum": 0,
3161
- "maximum": 100
3162
- },
3163
- {
3164
- "type": "null"
3165
- }
3166
- ]
3167
- },
3168
- "opacity": {
3169
- "anyOf": [
3170
- {
3171
- "type": "number",
3172
- "minimum": 0,
3173
- "maximum": 1
3174
- },
3175
- {
3176
- "type": "null"
3177
- }
3178
- ]
3179
- },
3180
- "lineCap": {
3181
- "anyOf": [
3182
- {
3183
- "type": "string",
3184
- "enum": [
3185
- "butt",
3186
- "round",
3187
- "square"
3188
- ]
3189
- },
3190
- {
3191
- "type": "null"
3192
- }
3193
- ]
3194
- },
3195
- "lineJoin": {
3196
- "anyOf": [
3197
- {
3198
- "type": "string",
3199
- "enum": [
3200
- "miter",
3201
- "round",
3202
- "bevel"
3203
- ]
3204
- },
3205
- {
3206
- "type": "null"
3207
- }
3208
- ]
3209
- },
3210
- "dashArray": {
3211
- "anyOf": [
3212
- {
3213
- "type": "array",
3214
- "items": {
3215
- "type": "number",
3216
- "minimum": 0
3217
- }
3218
- },
3219
- {
3220
- "type": "null"
3221
- }
3222
- ]
3223
- },
3224
- "dashOffset": {
3225
- "anyOf": [
3226
- {
3227
- "type": "number"
3228
- },
3229
- {
3230
- "type": "null"
3231
- }
3232
- ]
3233
- }
3234
- },
3235
- "required": [
3236
- "color",
3237
- "width",
3238
- "opacity",
3239
- "lineCap",
3240
- "lineJoin",
3241
- "dashArray",
3242
- "dashOffset"
3243
- ]
3244
- },
3245
- "SvgShadow": {
3246
- "type": "object",
3247
- "additionalProperties": false,
3248
- "properties": {
3249
- "offsetX": {
3250
- "anyOf": [
3251
- {
3252
- "type": "number"
3253
- },
3254
- {
3255
- "type": "null"
3256
- }
3257
- ]
3258
- },
3259
- "offsetY": {
3260
- "anyOf": [
3261
- {
3262
- "type": "number"
3263
- },
3264
- {
3265
- "type": "null"
3266
- }
3267
- ]
3268
- },
3269
- "blur": {
3270
- "anyOf": [
3271
- {
3272
- "type": "number",
3273
- "minimum": 0
3274
- },
3275
- {
3276
- "type": "null"
3277
- }
3278
- ]
3279
- },
3280
- "color": {
3281
- "anyOf": [
3282
- {
3283
- "type": "string",
3284
- "enum": [
3285
- "#000000"
3286
- ]
3287
- },
3288
- {
3289
- "type": "null"
3290
- }
3291
- ]
3292
- },
3293
- "opacity": {
3294
- "anyOf": [
3295
- {
3296
- "type": "number",
3297
- "minimum": 0,
3298
- "maximum": 1
3299
- },
3300
- {
3301
- "type": "null"
3302
- }
3303
- ]
3304
- }
3305
- },
3306
- "required": [
3307
- "offsetX",
3308
- "offsetY",
3309
- "blur",
3310
- "color",
3311
- "opacity"
3312
- ]
3313
- },
3314
- "SvgTransform": {
3315
- "type": "object",
3316
- "additionalProperties": false,
3317
- "properties": {
3318
- "x": {
3319
- "anyOf": [
3320
- {
3321
- "type": "number"
3322
- },
3323
- {
3324
- "type": "null"
3325
- }
3326
- ]
3327
- },
3328
- "y": {
3329
- "anyOf": [
3330
- {
3331
- "type": "number"
3332
- },
3333
- {
3334
- "type": "null"
3335
- }
3336
- ]
3337
- },
3338
- "rotation": {
3339
- "anyOf": [
3340
- {
3341
- "type": "number",
3342
- "minimum": -360,
3343
- "maximum": 360
3344
- },
3345
- {
3346
- "type": "null"
3347
- }
3348
- ]
3349
- },
3350
- "scale": {
3351
- "anyOf": [
3352
- {
3353
- "type": "number",
3354
- "minimum": 0.01,
3355
- "maximum": 100
3356
- },
3357
- {
3358
- "type": "null"
3359
- }
3360
- ]
3361
- },
3362
- "originX": {
3363
- "anyOf": [
3364
- {
3365
- "type": "number",
3366
- "minimum": 0,
3367
- "maximum": 1
3368
- },
3369
- {
3370
- "type": "null"
3371
- }
3372
- ]
3373
- },
3374
- "originY": {
3375
- "anyOf": [
3376
- {
3377
- "type": "number",
3378
- "minimum": 0,
3379
- "maximum": 1
3380
- },
3381
- {
3382
- "type": "null"
3383
- }
3384
- ]
3385
- }
3386
- },
3387
- "required": [
3388
- "x",
3389
- "y",
3390
- "rotation",
3391
- "scale",
3392
- "originX",
3393
- "originY"
2541
+ "src"
3394
2542
  ]
3395
2543
  },
3396
2544
  "TextToImageAsset": {