@shotstack/schemas 1.8.3 → 1.8.4

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 (37) hide show
  1. package/dist/api.bundled.json +204 -972
  2. package/dist/json-schema/asset.json +3 -936
  3. package/dist/json-schema/clip.json +3 -936
  4. package/dist/json-schema/destinations.json +111 -23
  5. package/dist/json-schema/edit.json +256 -1083
  6. package/dist/json-schema/output.json +106 -0
  7. package/dist/json-schema/rich-caption-asset.json +140 -221
  8. package/dist/json-schema/schemas.json +295 -1207
  9. package/dist/json-schema/svg-asset.json +6 -857
  10. package/dist/json-schema/timeline.json +3 -936
  11. package/dist/json-schema/track.json +3 -936
  12. package/dist/schema.d.ts +68 -695
  13. package/dist/zod/zod.gen.cjs +44 -625
  14. package/dist/zod/zod.gen.d.ts +543 -8241
  15. package/dist/zod/zod.gen.js +38 -618
  16. package/dist/zod/zod.gen.ts +50 -382
  17. package/package.json +1 -1
  18. package/dist/json-schema/svg-arrow-shape.json +0 -49
  19. package/dist/json-schema/svg-circle-shape.json +0 -28
  20. package/dist/json-schema/svg-cross-shape.json +0 -42
  21. package/dist/json-schema/svg-ellipse-shape.json +0 -35
  22. package/dist/json-schema/svg-fill.json +0 -169
  23. package/dist/json-schema/svg-gradient-stop.json +0 -25
  24. package/dist/json-schema/svg-heart-shape.json +0 -28
  25. package/dist/json-schema/svg-line-shape.json +0 -35
  26. package/dist/json-schema/svg-linear-gradient-fill.json +0 -80
  27. package/dist/json-schema/svg-path-shape.json +0 -26
  28. package/dist/json-schema/svg-polygon-shape.json +0 -35
  29. package/dist/json-schema/svg-radial-gradient-fill.json +0 -66
  30. package/dist/json-schema/svg-rectangle-shape.json +0 -49
  31. package/dist/json-schema/svg-ring-shape.json +0 -35
  32. package/dist/json-schema/svg-shadow.json +0 -79
  33. package/dist/json-schema/svg-shape.json +0 -404
  34. package/dist/json-schema/svg-solid-fill.json +0 -40
  35. package/dist/json-schema/svg-star-shape.json +0 -42
  36. package/dist/json-schema/svg-stroke.json +0 -115
  37. package/dist/json-schema/svg-transform.json +0 -93
@@ -1935,88 +1935,7 @@
1935
1935
  "font": {
1936
1936
  "anyOf": [
1937
1937
  {
1938
- "type": "object",
1939
- "properties": {
1940
- "family": {
1941
- "anyOf": [
1942
- {
1943
- "type": "string",
1944
- "enum": [
1945
- "Roboto"
1946
- ]
1947
- },
1948
- {
1949
- "type": "null"
1950
- }
1951
- ]
1952
- },
1953
- "size": {
1954
- "anyOf": [
1955
- {
1956
- "type": "integer",
1957
- "minimum": 1,
1958
- "maximum": 500
1959
- },
1960
- {
1961
- "type": "null"
1962
- }
1963
- ]
1964
- },
1965
- "weight": {
1966
- "anyOf": [
1967
- {
1968
- "type": "string"
1969
- },
1970
- {
1971
- "type": "null"
1972
- }
1973
- ]
1974
- },
1975
- "color": {
1976
- "anyOf": [
1977
- {
1978
- "type": "string",
1979
- "enum": [
1980
- "#ffffff"
1981
- ]
1982
- },
1983
- {
1984
- "type": "null"
1985
- }
1986
- ]
1987
- },
1988
- "opacity": {
1989
- "anyOf": [
1990
- {
1991
- "type": "number",
1992
- "minimum": 0,
1993
- "maximum": 1
1994
- },
1995
- {
1996
- "type": "null"
1997
- }
1998
- ]
1999
- },
2000
- "background": {
2001
- "anyOf": [
2002
- {
2003
- "type": "string"
2004
- },
2005
- {
2006
- "type": "null"
2007
- }
2008
- ]
2009
- }
2010
- },
2011
- "additionalProperties": false,
2012
- "required": [
2013
- "family",
2014
- "size",
2015
- "weight",
2016
- "color",
2017
- "opacity",
2018
- "background"
2019
- ]
1938
+ "$ref": "#/$defs/RichTextFont"
2020
1939
  },
2021
1940
  {
2022
1941
  "type": "null"
@@ -2352,1052 +2271,177 @@
2352
2271
  "type": "string"
2353
2272
  },
2354
2273
  "shape": {
2355
- "type": "string",
2356
- "enum": [
2357
- "rectangle",
2358
- "circle",
2359
- "line"
2360
- ]
2361
- },
2362
- "width": {
2363
- "anyOf": [
2364
- {
2365
- "type": "integer"
2366
- },
2367
- {
2368
- "type": "null"
2369
- }
2370
- ]
2371
- },
2372
- "height": {
2373
- "anyOf": [
2374
- {
2375
- "type": "integer"
2376
- },
2377
- {
2378
- "type": "null"
2379
- }
2380
- ]
2381
- },
2382
- "fill": {
2383
- "anyOf": [
2384
- {
2385
- "type": "object",
2386
- "properties": {
2387
- "color": {
2388
- "anyOf": [
2389
- {
2390
- "type": "string"
2391
- },
2392
- {
2393
- "type": "null"
2394
- }
2395
- ]
2396
- },
2397
- "opacity": {
2398
- "anyOf": [
2399
- {
2400
- "type": "number"
2401
- },
2402
- {
2403
- "type": "null"
2404
- }
2405
- ]
2406
- }
2407
- },
2408
- "additionalProperties": false,
2409
- "required": [
2410
- "color",
2411
- "opacity"
2412
- ]
2413
- },
2414
- {
2415
- "type": "null"
2416
- }
2417
- ]
2418
- },
2419
- "stroke": {
2420
- "anyOf": [
2421
- {
2422
- "type": "object",
2423
- "properties": {
2424
- "color": {
2425
- "anyOf": [
2426
- {
2427
- "type": "string"
2428
- },
2429
- {
2430
- "type": "null"
2431
- }
2432
- ]
2433
- },
2434
- "width": {
2435
- "anyOf": [
2436
- {
2437
- "type": "number"
2438
- },
2439
- {
2440
- "type": "null"
2441
- }
2442
- ]
2443
- }
2444
- },
2445
- "additionalProperties": false,
2446
- "required": [
2447
- "color",
2448
- "width"
2449
- ]
2450
- },
2451
- {
2452
- "type": "null"
2453
- }
2454
- ]
2455
- },
2456
- "rectangle": {
2457
- "anyOf": [
2458
- {
2459
- "type": "object",
2460
- "properties": {
2461
- "width": {
2462
- "type": "integer"
2463
- },
2464
- "height": {
2465
- "type": "integer"
2466
- },
2467
- "cornerRadius": {
2468
- "anyOf": [
2469
- {
2470
- "type": "integer"
2471
- },
2472
- {
2473
- "type": "null"
2474
- }
2475
- ]
2476
- }
2477
- },
2478
- "additionalProperties": false,
2479
- "required": [
2480
- "width",
2481
- "height",
2482
- "cornerRadius"
2483
- ]
2484
- },
2485
- {
2486
- "type": "null"
2487
- }
2488
- ]
2489
- },
2490
- "circle": {
2491
- "anyOf": [
2492
- {
2493
- "type": "object",
2494
- "properties": {
2495
- "radius": {
2496
- "type": "integer"
2497
- }
2498
- },
2499
- "additionalProperties": false,
2500
- "required": [
2501
- "radius"
2502
- ]
2503
- },
2504
- {
2505
- "type": "null"
2506
- }
2507
- ]
2508
- },
2509
- "line": {
2510
- "anyOf": [
2511
- {
2512
- "type": "object",
2513
- "properties": {
2514
- "length": {
2515
- "type": "integer"
2516
- },
2517
- "thickness": {
2518
- "type": "integer"
2519
- }
2520
- },
2521
- "additionalProperties": false,
2522
- "required": [
2523
- "length",
2524
- "thickness"
2525
- ]
2526
- },
2527
- {
2528
- "type": "null"
2529
- }
2530
- ]
2531
- }
2532
- },
2533
- "additionalProperties": false,
2534
- "required": [
2535
- "type",
2536
- "shape",
2537
- "width",
2538
- "height",
2539
- "fill",
2540
- "stroke",
2541
- "rectangle",
2542
- "circle",
2543
- "line"
2544
- ]
2545
- },
2546
- "SvgAsset": {
2547
- "type": "object",
2548
- "properties": {
2549
- "type": {
2550
- "type": "string",
2551
- "enum": [
2552
- "svg"
2553
- ]
2554
- },
2555
- "src": {
2556
- "anyOf": [
2557
- {
2558
- "type": "string"
2559
- },
2560
- {
2561
- "type": "null"
2562
- }
2563
- ]
2564
- },
2565
- "shape": {
2566
- "anyOf": [
2567
- {
2568
- "$ref": "#/$defs/SvgShape"
2569
- },
2570
- {
2571
- "type": "null"
2572
- }
2573
- ]
2574
- },
2575
- "fill": {
2576
- "anyOf": [
2577
- {
2578
- "$ref": "#/$defs/SvgFill"
2579
- },
2580
- {
2581
- "type": "null"
2582
- }
2583
- ]
2584
- },
2585
- "stroke": {
2586
- "anyOf": [
2587
- {
2588
- "$ref": "#/$defs/SvgStroke"
2589
- },
2590
- {
2591
- "type": "null"
2592
- }
2593
- ]
2594
- },
2595
- "shadow": {
2596
- "anyOf": [
2597
- {
2598
- "$ref": "#/$defs/SvgShadow"
2599
- },
2600
- {
2601
- "type": "null"
2602
- }
2603
- ]
2604
- },
2605
- "transform": {
2606
- "anyOf": [
2607
- {
2608
- "$ref": "#/$defs/SvgTransform"
2609
- },
2610
- {
2611
- "type": "null"
2612
- }
2613
- ]
2614
- },
2615
- "opacity": {
2616
- "anyOf": [
2617
- {
2618
- "type": "number",
2619
- "minimum": 0,
2620
- "maximum": 1
2621
- },
2622
- {
2623
- "type": "null"
2624
- }
2625
- ]
2626
- },
2627
- "width": {
2628
- "anyOf": [
2629
- {
2630
- "type": "integer",
2631
- "minimum": 1,
2632
- "maximum": 4096
2633
- },
2634
- {
2635
- "type": "null"
2636
- }
2637
- ]
2638
- },
2639
- "height": {
2640
- "anyOf": [
2641
- {
2642
- "type": "integer",
2643
- "minimum": 1,
2644
- "maximum": 4096
2645
- },
2646
- {
2647
- "type": "null"
2648
- }
2649
- ]
2650
- }
2651
- },
2652
- "additionalProperties": false,
2653
- "required": [
2654
- "type",
2655
- "src",
2656
- "shape",
2657
- "fill",
2658
- "stroke",
2659
- "shadow",
2660
- "transform",
2661
- "opacity",
2662
- "width",
2663
- "height"
2664
- ]
2665
- },
2666
- "SvgShape": {
2667
- "anyOf": [
2668
- {
2669
- "$ref": "#/$defs/SvgRectangleShape"
2670
- },
2671
- {
2672
- "$ref": "#/$defs/SvgCircleShape"
2673
- },
2674
- {
2675
- "$ref": "#/$defs/SvgEllipseShape"
2676
- },
2677
- {
2678
- "$ref": "#/$defs/SvgLineShape"
2679
- },
2680
- {
2681
- "$ref": "#/$defs/SvgPolygonShape"
2682
- },
2683
- {
2684
- "$ref": "#/$defs/SvgStarShape"
2685
- },
2686
- {
2687
- "$ref": "#/$defs/SvgArrowShape"
2688
- },
2689
- {
2690
- "$ref": "#/$defs/SvgHeartShape"
2691
- },
2692
- {
2693
- "$ref": "#/$defs/SvgCrossShape"
2694
- },
2695
- {
2696
- "$ref": "#/$defs/SvgRingShape"
2697
- },
2698
- {
2699
- "$ref": "#/$defs/SvgPathShape"
2700
- }
2701
- ]
2702
- },
2703
- "SvgRectangleShape": {
2704
- "type": "object",
2705
- "additionalProperties": false,
2706
- "properties": {
2707
- "type": {
2708
- "type": "string",
2709
- "enum": [
2710
- "rectangle"
2711
- ]
2712
- },
2713
- "width": {
2714
- "type": "number",
2715
- "minimum": 1,
2716
- "maximum": 4096
2717
- },
2718
- "height": {
2719
- "type": "number",
2720
- "minimum": 1,
2721
- "maximum": 4096
2722
- },
2723
- "cornerRadius": {
2724
- "anyOf": [
2725
- {
2726
- "type": "number",
2727
- "minimum": 0,
2728
- "maximum": 2048
2729
- },
2730
- {
2731
- "type": "null"
2732
- }
2733
- ]
2734
- }
2735
- },
2736
- "required": [
2737
- "type",
2738
- "width",
2739
- "height",
2740
- "cornerRadius"
2741
- ]
2742
- },
2743
- "SvgCircleShape": {
2744
- "type": "object",
2745
- "additionalProperties": false,
2746
- "properties": {
2747
- "type": {
2748
- "type": "string",
2749
- "enum": [
2750
- "circle"
2751
- ]
2752
- },
2753
- "radius": {
2754
- "type": "number",
2755
- "minimum": 1,
2756
- "maximum": 2048
2757
- }
2758
- },
2759
- "required": [
2760
- "type",
2761
- "radius"
2762
- ]
2763
- },
2764
- "SvgEllipseShape": {
2765
- "type": "object",
2766
- "additionalProperties": false,
2767
- "properties": {
2768
- "type": {
2769
- "type": "string",
2770
- "enum": [
2771
- "ellipse"
2772
- ]
2773
- },
2774
- "radiusX": {
2775
- "type": "number",
2776
- "minimum": 1,
2777
- "maximum": 2048
2778
- },
2779
- "radiusY": {
2780
- "type": "number",
2781
- "minimum": 1,
2782
- "maximum": 2048
2783
- }
2784
- },
2785
- "required": [
2786
- "type",
2787
- "radiusX",
2788
- "radiusY"
2789
- ]
2790
- },
2791
- "SvgLineShape": {
2792
- "type": "object",
2793
- "additionalProperties": false,
2794
- "properties": {
2795
- "type": {
2796
- "type": "string",
2797
- "enum": [
2798
- "line"
2799
- ]
2800
- },
2801
- "length": {
2802
- "type": "number",
2803
- "minimum": 1,
2804
- "maximum": 4096
2805
- },
2806
- "thickness": {
2807
- "type": "number",
2808
- "minimum": 1,
2809
- "maximum": 500
2810
- }
2811
- },
2812
- "required": [
2813
- "type",
2814
- "length",
2815
- "thickness"
2816
- ]
2817
- },
2818
- "SvgPolygonShape": {
2819
- "type": "object",
2820
- "additionalProperties": false,
2821
- "properties": {
2822
- "type": {
2823
- "type": "string",
2824
- "enum": [
2825
- "polygon"
2826
- ]
2827
- },
2828
- "sides": {
2829
- "type": "integer",
2830
- "minimum": 3,
2831
- "maximum": 100
2832
- },
2833
- "radius": {
2834
- "type": "number",
2835
- "minimum": 1,
2836
- "maximum": 2048
2837
- }
2838
- },
2839
- "required": [
2840
- "type",
2841
- "sides",
2842
- "radius"
2843
- ]
2844
- },
2845
- "SvgStarShape": {
2846
- "type": "object",
2847
- "additionalProperties": false,
2848
- "properties": {
2849
- "type": {
2850
- "type": "string",
2851
- "enum": [
2852
- "star"
2853
- ]
2854
- },
2855
- "points": {
2856
- "type": "integer",
2857
- "minimum": 3,
2858
- "maximum": 100
2859
- },
2860
- "outerRadius": {
2861
- "type": "number",
2862
- "minimum": 1,
2863
- "maximum": 2048
2864
- },
2865
- "innerRadius": {
2866
- "type": "number",
2867
- "minimum": 1,
2868
- "maximum": 2048
2869
- }
2870
- },
2871
- "required": [
2872
- "type",
2873
- "points",
2874
- "outerRadius",
2875
- "innerRadius"
2876
- ]
2877
- },
2878
- "SvgArrowShape": {
2879
- "type": "object",
2880
- "additionalProperties": false,
2881
- "properties": {
2882
- "type": {
2883
- "type": "string",
2884
- "enum": [
2885
- "arrow"
2886
- ]
2887
- },
2888
- "length": {
2889
- "type": "number",
2890
- "minimum": 1,
2891
- "maximum": 4096
2892
- },
2893
- "headWidth": {
2894
- "type": "number",
2895
- "minimum": 1,
2896
- "maximum": 1000
2897
- },
2898
- "headLength": {
2899
- "type": "number",
2900
- "minimum": 1,
2901
- "maximum": 1000
2902
- },
2903
- "shaftWidth": {
2904
- "type": "number",
2905
- "minimum": 1,
2906
- "maximum": 1000
2907
- }
2908
- },
2909
- "required": [
2910
- "type",
2911
- "length",
2912
- "headWidth",
2913
- "headLength",
2914
- "shaftWidth"
2915
- ]
2916
- },
2917
- "SvgHeartShape": {
2918
- "type": "object",
2919
- "additionalProperties": false,
2920
- "properties": {
2921
- "type": {
2922
- "type": "string",
2923
- "enum": [
2924
- "heart"
2925
- ]
2926
- },
2927
- "size": {
2928
- "type": "number",
2929
- "minimum": 1,
2930
- "maximum": 4096
2931
- }
2932
- },
2933
- "required": [
2934
- "type",
2935
- "size"
2936
- ]
2937
- },
2938
- "SvgCrossShape": {
2939
- "type": "object",
2940
- "additionalProperties": false,
2941
- "properties": {
2942
- "type": {
2943
- "type": "string",
2944
- "enum": [
2945
- "cross"
2946
- ]
2947
- },
2948
- "width": {
2949
- "type": "number",
2950
- "minimum": 1,
2951
- "maximum": 4096
2952
- },
2953
- "height": {
2954
- "type": "number",
2955
- "minimum": 1,
2956
- "maximum": 4096
2957
- },
2958
- "thickness": {
2959
- "type": "number",
2960
- "minimum": 1,
2961
- "maximum": 500
2962
- }
2963
- },
2964
- "required": [
2965
- "type",
2966
- "width",
2967
- "height",
2968
- "thickness"
2969
- ]
2970
- },
2971
- "SvgRingShape": {
2972
- "type": "object",
2973
- "additionalProperties": false,
2974
- "properties": {
2975
- "type": {
2976
- "type": "string",
2977
- "enum": [
2978
- "ring"
2979
- ]
2980
- },
2981
- "outerRadius": {
2982
- "type": "number",
2983
- "minimum": 1,
2984
- "maximum": 2048
2985
- },
2986
- "innerRadius": {
2987
- "type": "number",
2988
- "minimum": 0,
2989
- "maximum": 2048
2990
- }
2991
- },
2992
- "required": [
2993
- "type",
2994
- "outerRadius",
2995
- "innerRadius"
2996
- ]
2997
- },
2998
- "SvgPathShape": {
2999
- "type": "object",
3000
- "additionalProperties": false,
3001
- "properties": {
3002
- "type": {
3003
- "type": "string",
3004
- "enum": [
3005
- "path"
3006
- ]
3007
- },
3008
- "d": {
3009
- "type": "string"
3010
- }
3011
- },
3012
- "required": [
3013
- "type",
3014
- "d"
3015
- ]
3016
- },
3017
- "SvgFill": {
3018
- "anyOf": [
3019
- {
3020
- "$ref": "#/$defs/SvgSolidFill"
3021
- },
3022
- {
3023
- "$ref": "#/$defs/SvgLinearGradientFill"
3024
- },
3025
- {
3026
- "$ref": "#/$defs/SvgRadialGradientFill"
3027
- }
3028
- ]
3029
- },
3030
- "SvgSolidFill": {
3031
- "type": "object",
3032
- "additionalProperties": false,
3033
- "properties": {
3034
- "type": {
3035
- "type": "string",
3036
- "enum": [
3037
- "solid"
3038
- ]
3039
- },
3040
- "color": {
3041
- "type": "string"
3042
- },
3043
- "opacity": {
3044
- "anyOf": [
3045
- {
3046
- "type": "number",
3047
- "minimum": 0,
3048
- "maximum": 1
3049
- },
3050
- {
3051
- "type": "null"
3052
- }
3053
- ]
3054
- }
3055
- },
3056
- "required": [
3057
- "type",
3058
- "color",
3059
- "opacity"
3060
- ]
3061
- },
3062
- "SvgLinearGradientFill": {
3063
- "type": "object",
3064
- "additionalProperties": false,
3065
- "properties": {
3066
- "type": {
3067
- "type": "string",
3068
- "enum": [
3069
- "linear"
3070
- ]
3071
- },
3072
- "angle": {
3073
- "anyOf": [
3074
- {
3075
- "type": "number",
3076
- "minimum": 0,
3077
- "maximum": 360
3078
- },
3079
- {
3080
- "type": "null"
3081
- }
3082
- ]
3083
- },
3084
- "stops": {
3085
- "type": "array",
3086
- "items": {
3087
- "$ref": "#/$defs/SvgGradientStop"
3088
- }
3089
- },
3090
- "opacity": {
3091
- "anyOf": [
3092
- {
3093
- "type": "number",
3094
- "minimum": 0,
3095
- "maximum": 1
3096
- },
3097
- {
3098
- "type": "null"
3099
- }
3100
- ]
3101
- }
3102
- },
3103
- "required": [
3104
- "type",
3105
- "angle",
3106
- "stops",
3107
- "opacity"
3108
- ]
3109
- },
3110
- "SvgGradientStop": {
3111
- "type": "object",
3112
- "additionalProperties": false,
3113
- "properties": {
3114
- "offset": {
3115
- "type": "number",
3116
- "minimum": 0,
3117
- "maximum": 1
3118
- },
3119
- "color": {
3120
- "type": "string"
3121
- }
3122
- },
3123
- "required": [
3124
- "offset",
3125
- "color"
3126
- ]
3127
- },
3128
- "SvgRadialGradientFill": {
3129
- "type": "object",
3130
- "additionalProperties": false,
3131
- "properties": {
3132
- "type": {
3133
- "type": "string",
3134
- "enum": [
3135
- "radial"
3136
- ]
3137
- },
3138
- "stops": {
3139
- "type": "array",
3140
- "items": {
3141
- "$ref": "#/$defs/SvgGradientStop"
3142
- }
3143
- },
3144
- "opacity": {
3145
- "anyOf": [
3146
- {
3147
- "type": "number",
3148
- "minimum": 0,
3149
- "maximum": 1
3150
- },
3151
- {
3152
- "type": "null"
3153
- }
3154
- ]
3155
- }
3156
- },
3157
- "required": [
3158
- "type",
3159
- "stops",
3160
- "opacity"
3161
- ]
3162
- },
3163
- "SvgStroke": {
3164
- "type": "object",
3165
- "additionalProperties": false,
3166
- "properties": {
3167
- "color": {
3168
- "anyOf": [
3169
- {
3170
- "type": "string"
3171
- },
3172
- {
3173
- "type": "null"
3174
- }
3175
- ]
3176
- },
3177
- "width": {
3178
- "anyOf": [
3179
- {
3180
- "type": "number",
3181
- "minimum": 0,
3182
- "maximum": 100
3183
- },
3184
- {
3185
- "type": "null"
3186
- }
3187
- ]
3188
- },
3189
- "opacity": {
3190
- "anyOf": [
3191
- {
3192
- "type": "number",
3193
- "minimum": 0,
3194
- "maximum": 1
3195
- },
3196
- {
3197
- "type": "null"
3198
- }
3199
- ]
3200
- },
3201
- "lineCap": {
3202
- "anyOf": [
3203
- {
3204
- "type": "string",
3205
- "enum": [
3206
- "butt",
3207
- "round",
3208
- "square"
3209
- ]
3210
- },
3211
- {
3212
- "type": "null"
3213
- }
3214
- ]
3215
- },
3216
- "lineJoin": {
3217
- "anyOf": [
3218
- {
3219
- "type": "string",
3220
- "enum": [
3221
- "miter",
3222
- "round",
3223
- "bevel"
3224
- ]
3225
- },
3226
- {
3227
- "type": "null"
3228
- }
3229
- ]
3230
- },
3231
- "dashArray": {
3232
- "anyOf": [
3233
- {
3234
- "type": "array",
3235
- "items": {
3236
- "type": "number",
3237
- "minimum": 0
3238
- }
3239
- },
3240
- {
3241
- "type": "null"
3242
- }
3243
- ]
3244
- },
3245
- "dashOffset": {
3246
- "anyOf": [
3247
- {
3248
- "type": "number"
3249
- },
3250
- {
3251
- "type": "null"
3252
- }
3253
- ]
3254
- }
3255
- },
3256
- "required": [
3257
- "color",
3258
- "width",
3259
- "opacity",
3260
- "lineCap",
3261
- "lineJoin",
3262
- "dashArray",
3263
- "dashOffset"
3264
- ]
3265
- },
3266
- "SvgShadow": {
3267
- "type": "object",
3268
- "additionalProperties": false,
3269
- "properties": {
3270
- "offsetX": {
3271
- "anyOf": [
3272
- {
3273
- "type": "number"
3274
- },
3275
- {
3276
- "type": "null"
3277
- }
3278
- ]
3279
- },
3280
- "offsetY": {
3281
- "anyOf": [
3282
- {
3283
- "type": "number"
3284
- },
3285
- {
3286
- "type": "null"
3287
- }
3288
- ]
3289
- },
3290
- "blur": {
3291
- "anyOf": [
3292
- {
3293
- "type": "number",
3294
- "minimum": 0
3295
- },
3296
- {
3297
- "type": "null"
3298
- }
3299
- ]
3300
- },
3301
- "color": {
3302
- "anyOf": [
3303
- {
3304
- "type": "string",
3305
- "enum": [
3306
- "#000000"
3307
- ]
3308
- },
3309
- {
3310
- "type": "null"
3311
- }
2274
+ "type": "string",
2275
+ "enum": [
2276
+ "rectangle",
2277
+ "circle",
2278
+ "line"
3312
2279
  ]
3313
2280
  },
3314
- "opacity": {
2281
+ "width": {
3315
2282
  "anyOf": [
3316
2283
  {
3317
- "type": "number",
3318
- "minimum": 0,
3319
- "maximum": 1
2284
+ "type": "integer"
3320
2285
  },
3321
2286
  {
3322
2287
  "type": "null"
3323
2288
  }
3324
2289
  ]
3325
- }
3326
- },
3327
- "required": [
3328
- "offsetX",
3329
- "offsetY",
3330
- "blur",
3331
- "color",
3332
- "opacity"
3333
- ]
3334
- },
3335
- "SvgTransform": {
3336
- "type": "object",
3337
- "additionalProperties": false,
3338
- "properties": {
3339
- "x": {
2290
+ },
2291
+ "height": {
3340
2292
  "anyOf": [
3341
2293
  {
3342
- "type": "number"
2294
+ "type": "integer"
3343
2295
  },
3344
2296
  {
3345
2297
  "type": "null"
3346
2298
  }
3347
2299
  ]
3348
2300
  },
3349
- "y": {
2301
+ "fill": {
3350
2302
  "anyOf": [
3351
2303
  {
3352
- "type": "number"
2304
+ "type": "object",
2305
+ "properties": {
2306
+ "color": {
2307
+ "anyOf": [
2308
+ {
2309
+ "type": "string"
2310
+ },
2311
+ {
2312
+ "type": "null"
2313
+ }
2314
+ ]
2315
+ },
2316
+ "opacity": {
2317
+ "anyOf": [
2318
+ {
2319
+ "type": "number"
2320
+ },
2321
+ {
2322
+ "type": "null"
2323
+ }
2324
+ ]
2325
+ }
2326
+ },
2327
+ "additionalProperties": false,
2328
+ "required": [
2329
+ "color",
2330
+ "opacity"
2331
+ ]
3353
2332
  },
3354
2333
  {
3355
2334
  "type": "null"
3356
2335
  }
3357
2336
  ]
3358
2337
  },
3359
- "rotation": {
2338
+ "stroke": {
3360
2339
  "anyOf": [
3361
2340
  {
3362
- "type": "number",
3363
- "minimum": -360,
3364
- "maximum": 360
2341
+ "type": "object",
2342
+ "properties": {
2343
+ "color": {
2344
+ "anyOf": [
2345
+ {
2346
+ "type": "string"
2347
+ },
2348
+ {
2349
+ "type": "null"
2350
+ }
2351
+ ]
2352
+ },
2353
+ "width": {
2354
+ "anyOf": [
2355
+ {
2356
+ "type": "number"
2357
+ },
2358
+ {
2359
+ "type": "null"
2360
+ }
2361
+ ]
2362
+ }
2363
+ },
2364
+ "additionalProperties": false,
2365
+ "required": [
2366
+ "color",
2367
+ "width"
2368
+ ]
3365
2369
  },
3366
2370
  {
3367
2371
  "type": "null"
3368
2372
  }
3369
2373
  ]
3370
2374
  },
3371
- "scale": {
2375
+ "rectangle": {
3372
2376
  "anyOf": [
3373
2377
  {
3374
- "type": "number",
3375
- "minimum": 0.01,
3376
- "maximum": 100
2378
+ "type": "object",
2379
+ "properties": {
2380
+ "width": {
2381
+ "type": "integer"
2382
+ },
2383
+ "height": {
2384
+ "type": "integer"
2385
+ },
2386
+ "cornerRadius": {
2387
+ "anyOf": [
2388
+ {
2389
+ "type": "integer"
2390
+ },
2391
+ {
2392
+ "type": "null"
2393
+ }
2394
+ ]
2395
+ }
2396
+ },
2397
+ "additionalProperties": false,
2398
+ "required": [
2399
+ "width",
2400
+ "height",
2401
+ "cornerRadius"
2402
+ ]
3377
2403
  },
3378
2404
  {
3379
2405
  "type": "null"
3380
2406
  }
3381
2407
  ]
3382
2408
  },
3383
- "originX": {
2409
+ "circle": {
3384
2410
  "anyOf": [
3385
2411
  {
3386
- "type": "number",
3387
- "minimum": 0,
3388
- "maximum": 1
2412
+ "type": "object",
2413
+ "properties": {
2414
+ "radius": {
2415
+ "type": "integer"
2416
+ }
2417
+ },
2418
+ "additionalProperties": false,
2419
+ "required": [
2420
+ "radius"
2421
+ ]
3389
2422
  },
3390
2423
  {
3391
2424
  "type": "null"
3392
2425
  }
3393
2426
  ]
3394
2427
  },
3395
- "originY": {
2428
+ "line": {
3396
2429
  "anyOf": [
3397
2430
  {
3398
- "type": "number",
3399
- "minimum": 0,
3400
- "maximum": 1
2431
+ "type": "object",
2432
+ "properties": {
2433
+ "length": {
2434
+ "type": "integer"
2435
+ },
2436
+ "thickness": {
2437
+ "type": "integer"
2438
+ }
2439
+ },
2440
+ "additionalProperties": false,
2441
+ "required": [
2442
+ "length",
2443
+ "thickness"
2444
+ ]
3401
2445
  },
3402
2446
  {
3403
2447
  "type": "null"
@@ -3405,13 +2449,36 @@
3405
2449
  ]
3406
2450
  }
3407
2451
  },
2452
+ "additionalProperties": false,
3408
2453
  "required": [
3409
- "x",
3410
- "y",
3411
- "rotation",
3412
- "scale",
3413
- "originX",
3414
- "originY"
2454
+ "type",
2455
+ "shape",
2456
+ "width",
2457
+ "height",
2458
+ "fill",
2459
+ "stroke",
2460
+ "rectangle",
2461
+ "circle",
2462
+ "line"
2463
+ ]
2464
+ },
2465
+ "SvgAsset": {
2466
+ "type": "object",
2467
+ "properties": {
2468
+ "type": {
2469
+ "type": "string",
2470
+ "enum": [
2471
+ "svg"
2472
+ ]
2473
+ },
2474
+ "src": {
2475
+ "type": "string"
2476
+ }
2477
+ },
2478
+ "additionalProperties": false,
2479
+ "required": [
2480
+ "type",
2481
+ "src"
3415
2482
  ]
3416
2483
  },
3417
2484
  "TextToImageAsset": {
@@ -4314,6 +3381,112 @@
4314
3381
  "options"
4315
3382
  ],
4316
3383
  "additionalProperties": false
3384
+ },
3385
+ {
3386
+ "properties": {
3387
+ "provider": {
3388
+ "type": "string",
3389
+ "enum": [
3390
+ "akamai-netstorage"
3391
+ ]
3392
+ },
3393
+ "options": {
3394
+ "anyOf": [
3395
+ {
3396
+ "type": "object",
3397
+ "properties": {
3398
+ "host": {
3399
+ "type": "string"
3400
+ },
3401
+ "cpCode": {
3402
+ "type": "string"
3403
+ },
3404
+ "path": {
3405
+ "type": [
3406
+ "string",
3407
+ "null"
3408
+ ]
3409
+ },
3410
+ "filename": {
3411
+ "type": [
3412
+ "string",
3413
+ "null"
3414
+ ]
3415
+ }
3416
+ },
3417
+ "required": [
3418
+ "host",
3419
+ "cpCode",
3420
+ "path",
3421
+ "filename"
3422
+ ],
3423
+ "additionalProperties": false
3424
+ },
3425
+ {
3426
+ "type": "null"
3427
+ }
3428
+ ]
3429
+ }
3430
+ },
3431
+ "type": "object",
3432
+ "required": [
3433
+ "provider",
3434
+ "options"
3435
+ ],
3436
+ "additionalProperties": false
3437
+ },
3438
+ {
3439
+ "properties": {
3440
+ "provider": {
3441
+ "type": "string",
3442
+ "enum": [
3443
+ "azure-blob-storage"
3444
+ ]
3445
+ },
3446
+ "options": {
3447
+ "anyOf": [
3448
+ {
3449
+ "type": "object",
3450
+ "properties": {
3451
+ "accountName": {
3452
+ "type": "string"
3453
+ },
3454
+ "container": {
3455
+ "type": "string"
3456
+ },
3457
+ "prefix": {
3458
+ "type": [
3459
+ "string",
3460
+ "null"
3461
+ ]
3462
+ },
3463
+ "filename": {
3464
+ "type": [
3465
+ "string",
3466
+ "null"
3467
+ ]
3468
+ }
3469
+ },
3470
+ "required": [
3471
+ "accountName",
3472
+ "container",
3473
+ "prefix",
3474
+ "filename"
3475
+ ],
3476
+ "additionalProperties": false
3477
+ },
3478
+ {
3479
+ "type": "null"
3480
+ }
3481
+ ]
3482
+ }
3483
+ },
3484
+ "type": "object",
3485
+ "required": [
3486
+ "provider",
3487
+ "options"
3488
+ ],
3489
+ "additionalProperties": false
4317
3490
  }
4318
3491
  ]
4319
3492
  },