@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
@@ -2172,865 +2172,13 @@
2172
2172
  ]
2173
2173
  },
2174
2174
  "src": {
2175
- "anyOf": [
2176
- {
2177
- "type": "string"
2178
- },
2179
- {
2180
- "type": "null"
2181
- }
2182
- ]
2183
- },
2184
- "shape": {
2185
- "anyOf": [
2186
- {
2187
- "$ref": "#/$defs/SvgShape"
2188
- },
2189
- {
2190
- "type": "null"
2191
- }
2192
- ]
2193
- },
2194
- "fill": {
2195
- "anyOf": [
2196
- {
2197
- "$ref": "#/$defs/SvgFill"
2198
- },
2199
- {
2200
- "type": "null"
2201
- }
2202
- ]
2203
- },
2204
- "stroke": {
2205
- "anyOf": [
2206
- {
2207
- "$ref": "#/$defs/SvgStroke"
2208
- },
2209
- {
2210
- "type": "null"
2211
- }
2212
- ]
2213
- },
2214
- "shadow": {
2215
- "anyOf": [
2216
- {
2217
- "$ref": "#/$defs/SvgShadow"
2218
- },
2219
- {
2220
- "type": "null"
2221
- }
2222
- ]
2223
- },
2224
- "transform": {
2225
- "anyOf": [
2226
- {
2227
- "$ref": "#/$defs/SvgTransform"
2228
- },
2229
- {
2230
- "type": "null"
2231
- }
2232
- ]
2233
- },
2234
- "opacity": {
2235
- "anyOf": [
2236
- {
2237
- "type": "number",
2238
- "minimum": 0,
2239
- "maximum": 1
2240
- },
2241
- {
2242
- "type": "null"
2243
- }
2244
- ]
2245
- },
2246
- "width": {
2247
- "anyOf": [
2248
- {
2249
- "type": "integer",
2250
- "minimum": 1,
2251
- "maximum": 4096
2252
- },
2253
- {
2254
- "type": "null"
2255
- }
2256
- ]
2257
- },
2258
- "height": {
2259
- "anyOf": [
2260
- {
2261
- "type": "integer",
2262
- "minimum": 1,
2263
- "maximum": 4096
2264
- },
2265
- {
2266
- "type": "null"
2267
- }
2268
- ]
2269
- }
2270
- },
2271
- "additionalProperties": false,
2272
- "required": [
2273
- "type",
2274
- "src",
2275
- "shape",
2276
- "fill",
2277
- "stroke",
2278
- "shadow",
2279
- "transform",
2280
- "opacity",
2281
- "width",
2282
- "height"
2283
- ]
2284
- },
2285
- "SvgShape": {
2286
- "anyOf": [
2287
- {
2288
- "$ref": "#/$defs/SvgRectangleShape"
2289
- },
2290
- {
2291
- "$ref": "#/$defs/SvgCircleShape"
2292
- },
2293
- {
2294
- "$ref": "#/$defs/SvgEllipseShape"
2295
- },
2296
- {
2297
- "$ref": "#/$defs/SvgLineShape"
2298
- },
2299
- {
2300
- "$ref": "#/$defs/SvgPolygonShape"
2301
- },
2302
- {
2303
- "$ref": "#/$defs/SvgStarShape"
2304
- },
2305
- {
2306
- "$ref": "#/$defs/SvgArrowShape"
2307
- },
2308
- {
2309
- "$ref": "#/$defs/SvgHeartShape"
2310
- },
2311
- {
2312
- "$ref": "#/$defs/SvgCrossShape"
2313
- },
2314
- {
2315
- "$ref": "#/$defs/SvgRingShape"
2316
- },
2317
- {
2318
- "$ref": "#/$defs/SvgPathShape"
2319
- }
2320
- ]
2321
- },
2322
- "SvgRectangleShape": {
2323
- "type": "object",
2324
- "additionalProperties": false,
2325
- "properties": {
2326
- "type": {
2327
- "type": "string",
2328
- "enum": [
2329
- "rectangle"
2330
- ]
2331
- },
2332
- "width": {
2333
- "type": "number",
2334
- "minimum": 1,
2335
- "maximum": 4096
2336
- },
2337
- "height": {
2338
- "type": "number",
2339
- "minimum": 1,
2340
- "maximum": 4096
2341
- },
2342
- "cornerRadius": {
2343
- "anyOf": [
2344
- {
2345
- "type": "number",
2346
- "minimum": 0,
2347
- "maximum": 2048
2348
- },
2349
- {
2350
- "type": "null"
2351
- }
2352
- ]
2353
- }
2354
- },
2355
- "required": [
2356
- "type",
2357
- "width",
2358
- "height",
2359
- "cornerRadius"
2360
- ]
2361
- },
2362
- "SvgCircleShape": {
2363
- "type": "object",
2364
- "additionalProperties": false,
2365
- "properties": {
2366
- "type": {
2367
- "type": "string",
2368
- "enum": [
2369
- "circle"
2370
- ]
2371
- },
2372
- "radius": {
2373
- "type": "number",
2374
- "minimum": 1,
2375
- "maximum": 2048
2376
- }
2377
- },
2378
- "required": [
2379
- "type",
2380
- "radius"
2381
- ]
2382
- },
2383
- "SvgEllipseShape": {
2384
- "type": "object",
2385
- "additionalProperties": false,
2386
- "properties": {
2387
- "type": {
2388
- "type": "string",
2389
- "enum": [
2390
- "ellipse"
2391
- ]
2392
- },
2393
- "radiusX": {
2394
- "type": "number",
2395
- "minimum": 1,
2396
- "maximum": 2048
2397
- },
2398
- "radiusY": {
2399
- "type": "number",
2400
- "minimum": 1,
2401
- "maximum": 2048
2402
- }
2403
- },
2404
- "required": [
2405
- "type",
2406
- "radiusX",
2407
- "radiusY"
2408
- ]
2409
- },
2410
- "SvgLineShape": {
2411
- "type": "object",
2412
- "additionalProperties": false,
2413
- "properties": {
2414
- "type": {
2415
- "type": "string",
2416
- "enum": [
2417
- "line"
2418
- ]
2419
- },
2420
- "length": {
2421
- "type": "number",
2422
- "minimum": 1,
2423
- "maximum": 4096
2424
- },
2425
- "thickness": {
2426
- "type": "number",
2427
- "minimum": 1,
2428
- "maximum": 500
2429
- }
2430
- },
2431
- "required": [
2432
- "type",
2433
- "length",
2434
- "thickness"
2435
- ]
2436
- },
2437
- "SvgPolygonShape": {
2438
- "type": "object",
2439
- "additionalProperties": false,
2440
- "properties": {
2441
- "type": {
2442
- "type": "string",
2443
- "enum": [
2444
- "polygon"
2445
- ]
2446
- },
2447
- "sides": {
2448
- "type": "integer",
2449
- "minimum": 3,
2450
- "maximum": 100
2451
- },
2452
- "radius": {
2453
- "type": "number",
2454
- "minimum": 1,
2455
- "maximum": 2048
2456
- }
2457
- },
2458
- "required": [
2459
- "type",
2460
- "sides",
2461
- "radius"
2462
- ]
2463
- },
2464
- "SvgStarShape": {
2465
- "type": "object",
2466
- "additionalProperties": false,
2467
- "properties": {
2468
- "type": {
2469
- "type": "string",
2470
- "enum": [
2471
- "star"
2472
- ]
2473
- },
2474
- "points": {
2475
- "type": "integer",
2476
- "minimum": 3,
2477
- "maximum": 100
2478
- },
2479
- "outerRadius": {
2480
- "type": "number",
2481
- "minimum": 1,
2482
- "maximum": 2048
2483
- },
2484
- "innerRadius": {
2485
- "type": "number",
2486
- "minimum": 1,
2487
- "maximum": 2048
2488
- }
2489
- },
2490
- "required": [
2491
- "type",
2492
- "points",
2493
- "outerRadius",
2494
- "innerRadius"
2495
- ]
2496
- },
2497
- "SvgArrowShape": {
2498
- "type": "object",
2499
- "additionalProperties": false,
2500
- "properties": {
2501
- "type": {
2502
- "type": "string",
2503
- "enum": [
2504
- "arrow"
2505
- ]
2506
- },
2507
- "length": {
2508
- "type": "number",
2509
- "minimum": 1,
2510
- "maximum": 4096
2511
- },
2512
- "headWidth": {
2513
- "type": "number",
2514
- "minimum": 1,
2515
- "maximum": 1000
2516
- },
2517
- "headLength": {
2518
- "type": "number",
2519
- "minimum": 1,
2520
- "maximum": 1000
2521
- },
2522
- "shaftWidth": {
2523
- "type": "number",
2524
- "minimum": 1,
2525
- "maximum": 1000
2526
- }
2527
- },
2528
- "required": [
2529
- "type",
2530
- "length",
2531
- "headWidth",
2532
- "headLength",
2533
- "shaftWidth"
2534
- ]
2535
- },
2536
- "SvgHeartShape": {
2537
- "type": "object",
2538
- "additionalProperties": false,
2539
- "properties": {
2540
- "type": {
2541
- "type": "string",
2542
- "enum": [
2543
- "heart"
2544
- ]
2545
- },
2546
- "size": {
2547
- "type": "number",
2548
- "minimum": 1,
2549
- "maximum": 4096
2550
- }
2551
- },
2552
- "required": [
2553
- "type",
2554
- "size"
2555
- ]
2556
- },
2557
- "SvgCrossShape": {
2558
- "type": "object",
2559
- "additionalProperties": false,
2560
- "properties": {
2561
- "type": {
2562
- "type": "string",
2563
- "enum": [
2564
- "cross"
2565
- ]
2566
- },
2567
- "width": {
2568
- "type": "number",
2569
- "minimum": 1,
2570
- "maximum": 4096
2571
- },
2572
- "height": {
2573
- "type": "number",
2574
- "minimum": 1,
2575
- "maximum": 4096
2576
- },
2577
- "thickness": {
2578
- "type": "number",
2579
- "minimum": 1,
2580
- "maximum": 500
2581
- }
2582
- },
2583
- "required": [
2584
- "type",
2585
- "width",
2586
- "height",
2587
- "thickness"
2588
- ]
2589
- },
2590
- "SvgRingShape": {
2591
- "type": "object",
2592
- "additionalProperties": false,
2593
- "properties": {
2594
- "type": {
2595
- "type": "string",
2596
- "enum": [
2597
- "ring"
2598
- ]
2599
- },
2600
- "outerRadius": {
2601
- "type": "number",
2602
- "minimum": 1,
2603
- "maximum": 2048
2604
- },
2605
- "innerRadius": {
2606
- "type": "number",
2607
- "minimum": 0,
2608
- "maximum": 2048
2609
- }
2610
- },
2611
- "required": [
2612
- "type",
2613
- "outerRadius",
2614
- "innerRadius"
2615
- ]
2616
- },
2617
- "SvgPathShape": {
2618
- "type": "object",
2619
- "additionalProperties": false,
2620
- "properties": {
2621
- "type": {
2622
- "type": "string",
2623
- "enum": [
2624
- "path"
2625
- ]
2626
- },
2627
- "d": {
2628
- "type": "string"
2629
- }
2630
- },
2631
- "required": [
2632
- "type",
2633
- "d"
2634
- ]
2635
- },
2636
- "SvgFill": {
2637
- "anyOf": [
2638
- {
2639
- "$ref": "#/$defs/SvgSolidFill"
2640
- },
2641
- {
2642
- "$ref": "#/$defs/SvgLinearGradientFill"
2643
- },
2644
- {
2645
- "$ref": "#/$defs/SvgRadialGradientFill"
2646
- }
2647
- ]
2648
- },
2649
- "SvgSolidFill": {
2650
- "type": "object",
2651
- "additionalProperties": false,
2652
- "properties": {
2653
- "type": {
2654
- "type": "string",
2655
- "enum": [
2656
- "solid"
2657
- ]
2658
- },
2659
- "color": {
2660
- "type": "string"
2661
- },
2662
- "opacity": {
2663
- "anyOf": [
2664
- {
2665
- "type": "number",
2666
- "minimum": 0,
2667
- "maximum": 1
2668
- },
2669
- {
2670
- "type": "null"
2671
- }
2672
- ]
2673
- }
2674
- },
2675
- "required": [
2676
- "type",
2677
- "color",
2678
- "opacity"
2679
- ]
2680
- },
2681
- "SvgLinearGradientFill": {
2682
- "type": "object",
2683
- "additionalProperties": false,
2684
- "properties": {
2685
- "type": {
2686
- "type": "string",
2687
- "enum": [
2688
- "linear"
2689
- ]
2690
- },
2691
- "angle": {
2692
- "anyOf": [
2693
- {
2694
- "type": "number",
2695
- "minimum": 0,
2696
- "maximum": 360
2697
- },
2698
- {
2699
- "type": "null"
2700
- }
2701
- ]
2702
- },
2703
- "stops": {
2704
- "type": "array",
2705
- "items": {
2706
- "$ref": "#/$defs/SvgGradientStop"
2707
- }
2708
- },
2709
- "opacity": {
2710
- "anyOf": [
2711
- {
2712
- "type": "number",
2713
- "minimum": 0,
2714
- "maximum": 1
2715
- },
2716
- {
2717
- "type": "null"
2718
- }
2719
- ]
2720
- }
2721
- },
2722
- "required": [
2723
- "type",
2724
- "angle",
2725
- "stops",
2726
- "opacity"
2727
- ]
2728
- },
2729
- "SvgGradientStop": {
2730
- "type": "object",
2731
- "additionalProperties": false,
2732
- "properties": {
2733
- "offset": {
2734
- "type": "number",
2735
- "minimum": 0,
2736
- "maximum": 1
2737
- },
2738
- "color": {
2739
2175
  "type": "string"
2740
2176
  }
2741
2177
  },
2742
- "required": [
2743
- "offset",
2744
- "color"
2745
- ]
2746
- },
2747
- "SvgRadialGradientFill": {
2748
- "type": "object",
2749
2178
  "additionalProperties": false,
2750
- "properties": {
2751
- "type": {
2752
- "type": "string",
2753
- "enum": [
2754
- "radial"
2755
- ]
2756
- },
2757
- "stops": {
2758
- "type": "array",
2759
- "items": {
2760
- "$ref": "#/$defs/SvgGradientStop"
2761
- }
2762
- },
2763
- "opacity": {
2764
- "anyOf": [
2765
- {
2766
- "type": "number",
2767
- "minimum": 0,
2768
- "maximum": 1
2769
- },
2770
- {
2771
- "type": "null"
2772
- }
2773
- ]
2774
- }
2775
- },
2776
2179
  "required": [
2777
2180
  "type",
2778
- "stops",
2779
- "opacity"
2780
- ]
2781
- },
2782
- "SvgStroke": {
2783
- "type": "object",
2784
- "additionalProperties": false,
2785
- "properties": {
2786
- "color": {
2787
- "anyOf": [
2788
- {
2789
- "type": "string"
2790
- },
2791
- {
2792
- "type": "null"
2793
- }
2794
- ]
2795
- },
2796
- "width": {
2797
- "anyOf": [
2798
- {
2799
- "type": "number",
2800
- "minimum": 0,
2801
- "maximum": 100
2802
- },
2803
- {
2804
- "type": "null"
2805
- }
2806
- ]
2807
- },
2808
- "opacity": {
2809
- "anyOf": [
2810
- {
2811
- "type": "number",
2812
- "minimum": 0,
2813
- "maximum": 1
2814
- },
2815
- {
2816
- "type": "null"
2817
- }
2818
- ]
2819
- },
2820
- "lineCap": {
2821
- "anyOf": [
2822
- {
2823
- "type": "string",
2824
- "enum": [
2825
- "butt",
2826
- "round",
2827
- "square"
2828
- ]
2829
- },
2830
- {
2831
- "type": "null"
2832
- }
2833
- ]
2834
- },
2835
- "lineJoin": {
2836
- "anyOf": [
2837
- {
2838
- "type": "string",
2839
- "enum": [
2840
- "miter",
2841
- "round",
2842
- "bevel"
2843
- ]
2844
- },
2845
- {
2846
- "type": "null"
2847
- }
2848
- ]
2849
- },
2850
- "dashArray": {
2851
- "anyOf": [
2852
- {
2853
- "type": "array",
2854
- "items": {
2855
- "type": "number",
2856
- "minimum": 0
2857
- }
2858
- },
2859
- {
2860
- "type": "null"
2861
- }
2862
- ]
2863
- },
2864
- "dashOffset": {
2865
- "anyOf": [
2866
- {
2867
- "type": "number"
2868
- },
2869
- {
2870
- "type": "null"
2871
- }
2872
- ]
2873
- }
2874
- },
2875
- "required": [
2876
- "color",
2877
- "width",
2878
- "opacity",
2879
- "lineCap",
2880
- "lineJoin",
2881
- "dashArray",
2882
- "dashOffset"
2883
- ]
2884
- },
2885
- "SvgShadow": {
2886
- "type": "object",
2887
- "additionalProperties": false,
2888
- "properties": {
2889
- "offsetX": {
2890
- "anyOf": [
2891
- {
2892
- "type": "number"
2893
- },
2894
- {
2895
- "type": "null"
2896
- }
2897
- ]
2898
- },
2899
- "offsetY": {
2900
- "anyOf": [
2901
- {
2902
- "type": "number"
2903
- },
2904
- {
2905
- "type": "null"
2906
- }
2907
- ]
2908
- },
2909
- "blur": {
2910
- "anyOf": [
2911
- {
2912
- "type": "number",
2913
- "minimum": 0
2914
- },
2915
- {
2916
- "type": "null"
2917
- }
2918
- ]
2919
- },
2920
- "color": {
2921
- "anyOf": [
2922
- {
2923
- "type": "string",
2924
- "enum": [
2925
- "#000000"
2926
- ]
2927
- },
2928
- {
2929
- "type": "null"
2930
- }
2931
- ]
2932
- },
2933
- "opacity": {
2934
- "anyOf": [
2935
- {
2936
- "type": "number",
2937
- "minimum": 0,
2938
- "maximum": 1
2939
- },
2940
- {
2941
- "type": "null"
2942
- }
2943
- ]
2944
- }
2945
- },
2946
- "required": [
2947
- "offsetX",
2948
- "offsetY",
2949
- "blur",
2950
- "color",
2951
- "opacity"
2952
- ]
2953
- },
2954
- "SvgTransform": {
2955
- "type": "object",
2956
- "additionalProperties": false,
2957
- "properties": {
2958
- "x": {
2959
- "anyOf": [
2960
- {
2961
- "type": "number"
2962
- },
2963
- {
2964
- "type": "null"
2965
- }
2966
- ]
2967
- },
2968
- "y": {
2969
- "anyOf": [
2970
- {
2971
- "type": "number"
2972
- },
2973
- {
2974
- "type": "null"
2975
- }
2976
- ]
2977
- },
2978
- "rotation": {
2979
- "anyOf": [
2980
- {
2981
- "type": "number",
2982
- "minimum": -360,
2983
- "maximum": 360
2984
- },
2985
- {
2986
- "type": "null"
2987
- }
2988
- ]
2989
- },
2990
- "scale": {
2991
- "anyOf": [
2992
- {
2993
- "type": "number",
2994
- "minimum": 0.01,
2995
- "maximum": 100
2996
- },
2997
- {
2998
- "type": "null"
2999
- }
3000
- ]
3001
- },
3002
- "originX": {
3003
- "anyOf": [
3004
- {
3005
- "type": "number",
3006
- "minimum": 0,
3007
- "maximum": 1
3008
- },
3009
- {
3010
- "type": "null"
3011
- }
3012
- ]
3013
- },
3014
- "originY": {
3015
- "anyOf": [
3016
- {
3017
- "type": "number",
3018
- "minimum": 0,
3019
- "maximum": 1
3020
- },
3021
- {
3022
- "type": "null"
3023
- }
3024
- ]
3025
- }
3026
- },
3027
- "required": [
3028
- "x",
3029
- "y",
3030
- "rotation",
3031
- "scale",
3032
- "originX",
3033
- "originY"
2181
+ "src"
3034
2182
  ]
3035
2183
  },
3036
2184
  "TextToImageAsset": {