@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.
Files changed (53) hide show
  1. package/README.md +89 -89
  2. package/dist/api.bundled.json +49 -833
  3. package/dist/json-schema/asset.json +115 -856
  4. package/dist/json-schema/audio-asset.json +31 -1
  5. package/dist/json-schema/blueprint.json +380 -0
  6. package/dist/json-schema/caption-detailer.json +275 -0
  7. package/dist/json-schema/clip.json +256 -949
  8. package/dist/json-schema/edit.json +247 -940
  9. package/dist/json-schema/index.cjs +5 -0
  10. package/dist/json-schema/index.d.ts +5 -0
  11. package/dist/json-schema/index.js +5 -0
  12. package/dist/json-schema/offset.json +31 -1
  13. package/dist/json-schema/rich-caption-asset.json +221 -140
  14. package/dist/json-schema/rich-text-content.json +370 -0
  15. package/dist/json-schema/rich-text-effects.json +400 -0
  16. package/dist/json-schema/rotate-transformation.json +31 -1
  17. package/dist/json-schema/schemas.json +264 -1044
  18. package/dist/json-schema/skew-transformation.json +31 -1
  19. package/dist/json-schema/svg-asset.json +6 -857
  20. package/dist/json-schema/template.json +541 -0
  21. package/dist/json-schema/text-to-speech-asset.json +31 -1
  22. package/dist/json-schema/timeline.json +256 -949
  23. package/dist/json-schema/track.json +256 -949
  24. package/dist/json-schema/transformation.json +52 -22
  25. package/dist/json-schema/transition.json +50 -2
  26. package/dist/json-schema/tween.json +31 -1
  27. package/dist/json-schema/video-asset.json +56 -26
  28. package/dist/schema.d.ts +43 -660
  29. package/dist/zod/zod.gen.cjs +914 -1640
  30. package/dist/zod/zod.gen.d.ts +306 -8714
  31. package/dist/zod/zod.gen.js +911 -1636
  32. package/dist/zod/zod.gen.ts +1593 -1880
  33. package/package.json +79 -79
  34. package/dist/json-schema/svg-arrow-shape.json +0 -49
  35. package/dist/json-schema/svg-circle-shape.json +0 -28
  36. package/dist/json-schema/svg-cross-shape.json +0 -42
  37. package/dist/json-schema/svg-ellipse-shape.json +0 -35
  38. package/dist/json-schema/svg-fill.json +0 -169
  39. package/dist/json-schema/svg-gradient-stop.json +0 -25
  40. package/dist/json-schema/svg-heart-shape.json +0 -28
  41. package/dist/json-schema/svg-line-shape.json +0 -35
  42. package/dist/json-schema/svg-linear-gradient-fill.json +0 -80
  43. package/dist/json-schema/svg-path-shape.json +0 -26
  44. package/dist/json-schema/svg-polygon-shape.json +0 -35
  45. package/dist/json-schema/svg-radial-gradient-fill.json +0 -66
  46. package/dist/json-schema/svg-rectangle-shape.json +0 -49
  47. package/dist/json-schema/svg-ring-shape.json +0 -35
  48. package/dist/json-schema/svg-shadow.json +0 -79
  49. package/dist/json-schema/svg-shape.json +0 -404
  50. package/dist/json-schema/svg-solid-fill.json +0 -40
  51. package/dist/json-schema/svg-star-shape.json +0 -42
  52. package/dist/json-schema/svg-stroke.json +0 -115
  53. package/dist/json-schema/svg-transform.json +0 -93
@@ -460,7 +460,37 @@
460
460
  "easing": {
461
461
  "anyOf": [
462
462
  {
463
- "type": "string"
463
+ "type": "string",
464
+ "enum": [
465
+ "ease",
466
+ "easeIn",
467
+ "easeOut",
468
+ "easeInOut",
469
+ "easeInQuad",
470
+ "easeInCubic",
471
+ "easeInQuart",
472
+ "easeInQuint",
473
+ "easeInSine",
474
+ "easeInExpo",
475
+ "easeInCirc",
476
+ "easeInBack",
477
+ "easeOutQuad",
478
+ "easeOutCubic",
479
+ "easeOutQuart",
480
+ "easeOutQuint",
481
+ "easeOutSine",
482
+ "easeOutExpo",
483
+ "easeOutCirc",
484
+ "easeOutBack",
485
+ "easeInOutQuad",
486
+ "easeInOutCubic",
487
+ "easeInOutQuart",
488
+ "easeInOutQuint",
489
+ "easeInOutSine",
490
+ "easeInOutExpo",
491
+ "easeInOutCirc",
492
+ "easeInOutBack"
493
+ ]
464
494
  },
465
495
  {
466
496
  "type": "null"
@@ -1736,7 +1766,88 @@
1736
1766
  "font": {
1737
1767
  "anyOf": [
1738
1768
  {
1739
- "$ref": "#/$defs/RichTextFont"
1769
+ "type": "object",
1770
+ "properties": {
1771
+ "family": {
1772
+ "anyOf": [
1773
+ {
1774
+ "type": "string",
1775
+ "enum": [
1776
+ "Roboto"
1777
+ ]
1778
+ },
1779
+ {
1780
+ "type": "null"
1781
+ }
1782
+ ]
1783
+ },
1784
+ "size": {
1785
+ "anyOf": [
1786
+ {
1787
+ "type": "integer",
1788
+ "minimum": 1,
1789
+ "maximum": 500
1790
+ },
1791
+ {
1792
+ "type": "null"
1793
+ }
1794
+ ]
1795
+ },
1796
+ "weight": {
1797
+ "anyOf": [
1798
+ {
1799
+ "type": "string"
1800
+ },
1801
+ {
1802
+ "type": "null"
1803
+ }
1804
+ ]
1805
+ },
1806
+ "color": {
1807
+ "anyOf": [
1808
+ {
1809
+ "type": "string",
1810
+ "enum": [
1811
+ "#ffffff"
1812
+ ]
1813
+ },
1814
+ {
1815
+ "type": "null"
1816
+ }
1817
+ ]
1818
+ },
1819
+ "opacity": {
1820
+ "anyOf": [
1821
+ {
1822
+ "type": "number",
1823
+ "minimum": 0,
1824
+ "maximum": 1
1825
+ },
1826
+ {
1827
+ "type": "null"
1828
+ }
1829
+ ]
1830
+ },
1831
+ "background": {
1832
+ "anyOf": [
1833
+ {
1834
+ "type": "string"
1835
+ },
1836
+ {
1837
+ "type": "null"
1838
+ }
1839
+ ]
1840
+ }
1841
+ },
1842
+ "additionalProperties": false,
1843
+ "required": [
1844
+ "family",
1845
+ "size",
1846
+ "weight",
1847
+ "color",
1848
+ "opacity",
1849
+ "background"
1850
+ ]
1740
1851
  },
1741
1852
  {
1742
1853
  "type": "null"
@@ -2273,95 +2384,123 @@
2273
2384
  ]
2274
2385
  },
2275
2386
  "src": {
2276
- "anyOf": [
2277
- {
2278
- "type": "string"
2279
- },
2280
- {
2281
- "type": "null"
2282
- }
2387
+ "type": "string"
2388
+ }
2389
+ },
2390
+ "additionalProperties": false,
2391
+ "required": [
2392
+ "type",
2393
+ "src"
2394
+ ]
2395
+ },
2396
+ "TextToImageAsset": {
2397
+ "properties": {
2398
+ "type": {
2399
+ "type": "string",
2400
+ "enum": [
2401
+ "text-to-image"
2283
2402
  ]
2284
2403
  },
2285
- "shape": {
2404
+ "prompt": {
2405
+ "type": "string"
2406
+ },
2407
+ "width": {
2286
2408
  "anyOf": [
2287
2409
  {
2288
- "$ref": "#/$defs/SvgShape"
2410
+ "type": "integer"
2289
2411
  },
2290
2412
  {
2291
2413
  "type": "null"
2292
2414
  }
2293
2415
  ]
2294
2416
  },
2295
- "fill": {
2417
+ "height": {
2296
2418
  "anyOf": [
2297
2419
  {
2298
- "$ref": "#/$defs/SvgFill"
2420
+ "type": "integer"
2299
2421
  },
2300
2422
  {
2301
2423
  "type": "null"
2302
2424
  }
2303
2425
  ]
2304
2426
  },
2305
- "stroke": {
2427
+ "crop": {
2306
2428
  "anyOf": [
2307
2429
  {
2308
- "$ref": "#/$defs/SvgStroke"
2430
+ "$ref": "#/$defs/Crop"
2309
2431
  },
2310
2432
  {
2311
2433
  "type": "null"
2312
2434
  }
2313
2435
  ]
2436
+ }
2437
+ },
2438
+ "additionalProperties": false,
2439
+ "type": "object",
2440
+ "required": [
2441
+ "type",
2442
+ "prompt",
2443
+ "width",
2444
+ "height",
2445
+ "crop"
2446
+ ]
2447
+ },
2448
+ "ImageToVideoAsset": {
2449
+ "properties": {
2450
+ "type": {
2451
+ "type": "string",
2452
+ "enum": [
2453
+ "image-to-video"
2454
+ ]
2314
2455
  },
2315
- "shadow": {
2456
+ "src": {
2457
+ "type": "string"
2458
+ },
2459
+ "prompt": {
2316
2460
  "anyOf": [
2317
2461
  {
2318
- "$ref": "#/$defs/SvgShadow"
2462
+ "type": "string"
2319
2463
  },
2320
2464
  {
2321
2465
  "type": "null"
2322
2466
  }
2323
2467
  ]
2324
2468
  },
2325
- "transform": {
2469
+ "aspectRatio": {
2326
2470
  "anyOf": [
2327
2471
  {
2328
- "$ref": "#/$defs/SvgTransform"
2472
+ "type": "string",
2473
+ "enum": [
2474
+ "1:1",
2475
+ "4:3",
2476
+ "16:9",
2477
+ "9:16",
2478
+ "3:4",
2479
+ "21:9",
2480
+ "9:21"
2481
+ ]
2329
2482
  },
2330
2483
  {
2331
2484
  "type": "null"
2332
2485
  }
2333
2486
  ]
2334
2487
  },
2335
- "opacity": {
2488
+ "speed": {
2336
2489
  "anyOf": [
2337
2490
  {
2338
2491
  "type": "number",
2339
2492
  "minimum": 0,
2340
- "maximum": 1
2341
- },
2342
- {
2343
- "type": "null"
2344
- }
2345
- ]
2346
- },
2347
- "width": {
2348
- "anyOf": [
2349
- {
2350
- "type": "integer",
2351
- "minimum": 1,
2352
- "maximum": 4096
2493
+ "maximum": 10
2353
2494
  },
2354
2495
  {
2355
2496
  "type": "null"
2356
2497
  }
2357
2498
  ]
2358
2499
  },
2359
- "height": {
2500
+ "crop": {
2360
2501
  "anyOf": [
2361
2502
  {
2362
- "type": "integer",
2363
- "minimum": 1,
2364
- "maximum": 4096
2503
+ "$ref": "#/$defs/Crop"
2365
2504
  },
2366
2505
  {
2367
2506
  "type": "null"
@@ -2370,940 +2509,60 @@
2370
2509
  }
2371
2510
  },
2372
2511
  "additionalProperties": false,
2512
+ "type": "object",
2373
2513
  "required": [
2374
2514
  "type",
2375
2515
  "src",
2376
- "shape",
2377
- "fill",
2378
- "stroke",
2379
- "shadow",
2380
- "transform",
2381
- "opacity",
2382
- "width",
2383
- "height"
2384
- ]
2385
- },
2386
- "SvgShape": {
2387
- "anyOf": [
2388
- {
2389
- "$ref": "#/$defs/SvgRectangleShape"
2390
- },
2391
- {
2392
- "$ref": "#/$defs/SvgCircleShape"
2393
- },
2394
- {
2395
- "$ref": "#/$defs/SvgEllipseShape"
2396
- },
2397
- {
2398
- "$ref": "#/$defs/SvgLineShape"
2399
- },
2400
- {
2401
- "$ref": "#/$defs/SvgPolygonShape"
2402
- },
2403
- {
2404
- "$ref": "#/$defs/SvgStarShape"
2405
- },
2406
- {
2407
- "$ref": "#/$defs/SvgArrowShape"
2408
- },
2409
- {
2410
- "$ref": "#/$defs/SvgHeartShape"
2411
- },
2412
- {
2413
- "$ref": "#/$defs/SvgCrossShape"
2414
- },
2415
- {
2416
- "$ref": "#/$defs/SvgRingShape"
2417
- },
2418
- {
2419
- "$ref": "#/$defs/SvgPathShape"
2420
- }
2516
+ "prompt",
2517
+ "aspectRatio",
2518
+ "speed",
2519
+ "crop"
2421
2520
  ]
2422
2521
  },
2423
- "SvgRectangleShape": {
2522
+ "TextToSpeechAsset": {
2424
2523
  "type": "object",
2425
- "additionalProperties": false,
2426
2524
  "properties": {
2427
2525
  "type": {
2428
2526
  "type": "string",
2429
2527
  "enum": [
2430
- "rectangle"
2528
+ "text-to-speech"
2431
2529
  ]
2432
2530
  },
2433
- "width": {
2434
- "type": "number",
2435
- "minimum": 1,
2436
- "maximum": 4096
2531
+ "text": {
2532
+ "type": "string"
2437
2533
  },
2438
- "height": {
2439
- "type": "number",
2440
- "minimum": 1,
2441
- "maximum": 4096
2534
+ "voice": {
2535
+ "type": "string"
2442
2536
  },
2443
- "cornerRadius": {
2537
+ "language": {
2444
2538
  "anyOf": [
2445
2539
  {
2446
- "type": "number",
2447
- "minimum": 0,
2448
- "maximum": 2048
2540
+ "type": "string"
2449
2541
  },
2450
2542
  {
2451
2543
  "type": "null"
2452
2544
  }
2453
2545
  ]
2454
- }
2455
- },
2456
- "required": [
2457
- "type",
2458
- "width",
2459
- "height",
2460
- "cornerRadius"
2461
- ]
2462
- },
2463
- "SvgCircleShape": {
2464
- "type": "object",
2465
- "additionalProperties": false,
2466
- "properties": {
2467
- "type": {
2468
- "type": "string",
2469
- "enum": [
2470
- "circle"
2471
- ]
2472
2546
  },
2473
- "radius": {
2474
- "type": "number",
2475
- "minimum": 1,
2476
- "maximum": 2048
2477
- }
2478
- },
2479
- "required": [
2480
- "type",
2481
- "radius"
2482
- ]
2483
- },
2484
- "SvgEllipseShape": {
2485
- "type": "object",
2486
- "additionalProperties": false,
2487
- "properties": {
2488
- "type": {
2489
- "type": "string",
2490
- "enum": [
2491
- "ellipse"
2547
+ "newscaster": {
2548
+ "anyOf": [
2549
+ {
2550
+ "type": "boolean"
2551
+ },
2552
+ {
2553
+ "type": "null"
2554
+ }
2492
2555
  ]
2493
2556
  },
2494
- "radiusX": {
2495
- "type": "number",
2496
- "minimum": 1,
2497
- "maximum": 2048
2498
- },
2499
- "radiusY": {
2500
- "type": "number",
2501
- "minimum": 1,
2502
- "maximum": 2048
2503
- }
2504
- },
2505
- "required": [
2506
- "type",
2507
- "radiusX",
2508
- "radiusY"
2509
- ]
2510
- },
2511
- "SvgLineShape": {
2512
- "type": "object",
2513
- "additionalProperties": false,
2514
- "properties": {
2515
- "type": {
2516
- "type": "string",
2517
- "enum": [
2518
- "line"
2519
- ]
2520
- },
2521
- "length": {
2522
- "type": "number",
2523
- "minimum": 1,
2524
- "maximum": 4096
2525
- },
2526
- "thickness": {
2527
- "type": "number",
2528
- "minimum": 1,
2529
- "maximum": 500
2530
- }
2531
- },
2532
- "required": [
2533
- "type",
2534
- "length",
2535
- "thickness"
2536
- ]
2537
- },
2538
- "SvgPolygonShape": {
2539
- "type": "object",
2540
- "additionalProperties": false,
2541
- "properties": {
2542
- "type": {
2543
- "type": "string",
2544
- "enum": [
2545
- "polygon"
2546
- ]
2547
- },
2548
- "sides": {
2549
- "type": "integer",
2550
- "minimum": 3,
2551
- "maximum": 100
2552
- },
2553
- "radius": {
2554
- "type": "number",
2555
- "minimum": 1,
2556
- "maximum": 2048
2557
- }
2558
- },
2559
- "required": [
2560
- "type",
2561
- "sides",
2562
- "radius"
2563
- ]
2564
- },
2565
- "SvgStarShape": {
2566
- "type": "object",
2567
- "additionalProperties": false,
2568
- "properties": {
2569
- "type": {
2570
- "type": "string",
2571
- "enum": [
2572
- "star"
2573
- ]
2574
- },
2575
- "points": {
2576
- "type": "integer",
2577
- "minimum": 3,
2578
- "maximum": 100
2579
- },
2580
- "outerRadius": {
2581
- "type": "number",
2582
- "minimum": 1,
2583
- "maximum": 2048
2584
- },
2585
- "innerRadius": {
2586
- "type": "number",
2587
- "minimum": 1,
2588
- "maximum": 2048
2589
- }
2590
- },
2591
- "required": [
2592
- "type",
2593
- "points",
2594
- "outerRadius",
2595
- "innerRadius"
2596
- ]
2597
- },
2598
- "SvgArrowShape": {
2599
- "type": "object",
2600
- "additionalProperties": false,
2601
- "properties": {
2602
- "type": {
2603
- "type": "string",
2604
- "enum": [
2605
- "arrow"
2606
- ]
2607
- },
2608
- "length": {
2609
- "type": "number",
2610
- "minimum": 1,
2611
- "maximum": 4096
2612
- },
2613
- "headWidth": {
2614
- "type": "number",
2615
- "minimum": 1,
2616
- "maximum": 1000
2617
- },
2618
- "headLength": {
2619
- "type": "number",
2620
- "minimum": 1,
2621
- "maximum": 1000
2622
- },
2623
- "shaftWidth": {
2624
- "type": "number",
2625
- "minimum": 1,
2626
- "maximum": 1000
2627
- }
2628
- },
2629
- "required": [
2630
- "type",
2631
- "length",
2632
- "headWidth",
2633
- "headLength",
2634
- "shaftWidth"
2635
- ]
2636
- },
2637
- "SvgHeartShape": {
2638
- "type": "object",
2639
- "additionalProperties": false,
2640
- "properties": {
2641
- "type": {
2642
- "type": "string",
2643
- "enum": [
2644
- "heart"
2645
- ]
2646
- },
2647
- "size": {
2648
- "type": "number",
2649
- "minimum": 1,
2650
- "maximum": 4096
2651
- }
2652
- },
2653
- "required": [
2654
- "type",
2655
- "size"
2656
- ]
2657
- },
2658
- "SvgCrossShape": {
2659
- "type": "object",
2660
- "additionalProperties": false,
2661
- "properties": {
2662
- "type": {
2663
- "type": "string",
2664
- "enum": [
2665
- "cross"
2666
- ]
2667
- },
2668
- "width": {
2669
- "type": "number",
2670
- "minimum": 1,
2671
- "maximum": 4096
2672
- },
2673
- "height": {
2674
- "type": "number",
2675
- "minimum": 1,
2676
- "maximum": 4096
2677
- },
2678
- "thickness": {
2679
- "type": "number",
2680
- "minimum": 1,
2681
- "maximum": 500
2682
- }
2683
- },
2684
- "required": [
2685
- "type",
2686
- "width",
2687
- "height",
2688
- "thickness"
2689
- ]
2690
- },
2691
- "SvgRingShape": {
2692
- "type": "object",
2693
- "additionalProperties": false,
2694
- "properties": {
2695
- "type": {
2696
- "type": "string",
2697
- "enum": [
2698
- "ring"
2699
- ]
2700
- },
2701
- "outerRadius": {
2702
- "type": "number",
2703
- "minimum": 1,
2704
- "maximum": 2048
2705
- },
2706
- "innerRadius": {
2707
- "type": "number",
2708
- "minimum": 0,
2709
- "maximum": 2048
2710
- }
2711
- },
2712
- "required": [
2713
- "type",
2714
- "outerRadius",
2715
- "innerRadius"
2716
- ]
2717
- },
2718
- "SvgPathShape": {
2719
- "type": "object",
2720
- "additionalProperties": false,
2721
- "properties": {
2722
- "type": {
2723
- "type": "string",
2724
- "enum": [
2725
- "path"
2726
- ]
2727
- },
2728
- "d": {
2729
- "type": "string"
2730
- }
2731
- },
2732
- "required": [
2733
- "type",
2734
- "d"
2735
- ]
2736
- },
2737
- "SvgFill": {
2738
- "anyOf": [
2739
- {
2740
- "$ref": "#/$defs/SvgSolidFill"
2741
- },
2742
- {
2743
- "$ref": "#/$defs/SvgLinearGradientFill"
2744
- },
2745
- {
2746
- "$ref": "#/$defs/SvgRadialGradientFill"
2747
- }
2748
- ]
2749
- },
2750
- "SvgSolidFill": {
2751
- "type": "object",
2752
- "additionalProperties": false,
2753
- "properties": {
2754
- "type": {
2755
- "type": "string",
2756
- "enum": [
2757
- "solid"
2758
- ]
2759
- },
2760
- "color": {
2761
- "type": "string"
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
- "required": [
2777
- "type",
2778
- "color",
2779
- "opacity"
2780
- ]
2781
- },
2782
- "SvgLinearGradientFill": {
2783
- "type": "object",
2784
- "additionalProperties": false,
2785
- "properties": {
2786
- "type": {
2787
- "type": "string",
2788
- "enum": [
2789
- "linear"
2790
- ]
2791
- },
2792
- "angle": {
2793
- "anyOf": [
2794
- {
2795
- "type": "number",
2796
- "minimum": 0,
2797
- "maximum": 360
2798
- },
2799
- {
2800
- "type": "null"
2801
- }
2802
- ]
2803
- },
2804
- "stops": {
2805
- "type": "array",
2806
- "items": {
2807
- "$ref": "#/$defs/SvgGradientStop"
2808
- }
2809
- },
2810
- "opacity": {
2811
- "anyOf": [
2812
- {
2813
- "type": "number",
2814
- "minimum": 0,
2815
- "maximum": 1
2816
- },
2817
- {
2818
- "type": "null"
2819
- }
2820
- ]
2821
- }
2822
- },
2823
- "required": [
2824
- "type",
2825
- "angle",
2826
- "stops",
2827
- "opacity"
2828
- ]
2829
- },
2830
- "SvgGradientStop": {
2831
- "type": "object",
2832
- "additionalProperties": false,
2833
- "properties": {
2834
- "offset": {
2835
- "type": "number",
2836
- "minimum": 0,
2837
- "maximum": 1
2838
- },
2839
- "color": {
2840
- "type": "string"
2841
- }
2842
- },
2843
- "required": [
2844
- "offset",
2845
- "color"
2846
- ]
2847
- },
2848
- "SvgRadialGradientFill": {
2849
- "type": "object",
2850
- "additionalProperties": false,
2851
- "properties": {
2852
- "type": {
2853
- "type": "string",
2854
- "enum": [
2855
- "radial"
2856
- ]
2857
- },
2858
- "stops": {
2859
- "type": "array",
2860
- "items": {
2861
- "$ref": "#/$defs/SvgGradientStop"
2862
- }
2863
- },
2864
- "opacity": {
2865
- "anyOf": [
2866
- {
2867
- "type": "number",
2868
- "minimum": 0,
2869
- "maximum": 1
2870
- },
2871
- {
2872
- "type": "null"
2873
- }
2874
- ]
2875
- }
2876
- },
2877
- "required": [
2878
- "type",
2879
- "stops",
2880
- "opacity"
2881
- ]
2882
- },
2883
- "SvgStroke": {
2884
- "type": "object",
2885
- "additionalProperties": false,
2886
- "properties": {
2887
- "color": {
2888
- "anyOf": [
2889
- {
2890
- "type": "string"
2891
- },
2892
- {
2893
- "type": "null"
2894
- }
2895
- ]
2896
- },
2897
- "width": {
2898
- "anyOf": [
2899
- {
2900
- "type": "number",
2901
- "minimum": 0,
2902
- "maximum": 100
2903
- },
2904
- {
2905
- "type": "null"
2906
- }
2907
- ]
2908
- },
2909
- "opacity": {
2910
- "anyOf": [
2911
- {
2912
- "type": "number",
2913
- "minimum": 0,
2914
- "maximum": 1
2915
- },
2916
- {
2917
- "type": "null"
2918
- }
2919
- ]
2920
- },
2921
- "lineCap": {
2922
- "anyOf": [
2923
- {
2924
- "type": "string",
2925
- "enum": [
2926
- "butt",
2927
- "round",
2928
- "square"
2929
- ]
2930
- },
2931
- {
2932
- "type": "null"
2933
- }
2934
- ]
2935
- },
2936
- "lineJoin": {
2937
- "anyOf": [
2938
- {
2939
- "type": "string",
2940
- "enum": [
2941
- "miter",
2942
- "round",
2943
- "bevel"
2944
- ]
2945
- },
2946
- {
2947
- "type": "null"
2948
- }
2949
- ]
2950
- },
2951
- "dashArray": {
2952
- "anyOf": [
2953
- {
2954
- "type": "array",
2955
- "items": {
2956
- "type": "number",
2957
- "minimum": 0
2958
- }
2959
- },
2960
- {
2961
- "type": "null"
2962
- }
2963
- ]
2964
- },
2965
- "dashOffset": {
2966
- "anyOf": [
2967
- {
2968
- "type": "number"
2969
- },
2970
- {
2971
- "type": "null"
2972
- }
2973
- ]
2974
- }
2975
- },
2976
- "required": [
2977
- "color",
2978
- "width",
2979
- "opacity",
2980
- "lineCap",
2981
- "lineJoin",
2982
- "dashArray",
2983
- "dashOffset"
2984
- ]
2985
- },
2986
- "SvgShadow": {
2987
- "type": "object",
2988
- "additionalProperties": false,
2989
- "properties": {
2990
- "offsetX": {
2991
- "anyOf": [
2992
- {
2993
- "type": "number"
2994
- },
2995
- {
2996
- "type": "null"
2997
- }
2998
- ]
2999
- },
3000
- "offsetY": {
3001
- "anyOf": [
3002
- {
3003
- "type": "number"
3004
- },
3005
- {
3006
- "type": "null"
3007
- }
3008
- ]
3009
- },
3010
- "blur": {
3011
- "anyOf": [
3012
- {
3013
- "type": "number",
3014
- "minimum": 0
3015
- },
3016
- {
3017
- "type": "null"
3018
- }
3019
- ]
3020
- },
3021
- "color": {
3022
- "anyOf": [
3023
- {
3024
- "type": "string",
3025
- "enum": [
3026
- "#000000"
3027
- ]
3028
- },
3029
- {
3030
- "type": "null"
3031
- }
3032
- ]
3033
- },
3034
- "opacity": {
3035
- "anyOf": [
3036
- {
3037
- "type": "number",
3038
- "minimum": 0,
3039
- "maximum": 1
3040
- },
3041
- {
3042
- "type": "null"
3043
- }
3044
- ]
3045
- }
3046
- },
3047
- "required": [
3048
- "offsetX",
3049
- "offsetY",
3050
- "blur",
3051
- "color",
3052
- "opacity"
3053
- ]
3054
- },
3055
- "SvgTransform": {
3056
- "type": "object",
3057
- "additionalProperties": false,
3058
- "properties": {
3059
- "x": {
3060
- "anyOf": [
3061
- {
3062
- "type": "number"
3063
- },
3064
- {
3065
- "type": "null"
3066
- }
3067
- ]
3068
- },
3069
- "y": {
3070
- "anyOf": [
3071
- {
3072
- "type": "number"
3073
- },
3074
- {
3075
- "type": "null"
3076
- }
3077
- ]
3078
- },
3079
- "rotation": {
3080
- "anyOf": [
3081
- {
3082
- "type": "number",
3083
- "minimum": -360,
3084
- "maximum": 360
3085
- },
3086
- {
3087
- "type": "null"
3088
- }
3089
- ]
3090
- },
3091
- "scale": {
3092
- "anyOf": [
3093
- {
3094
- "type": "number",
3095
- "minimum": 0.01,
3096
- "maximum": 100
3097
- },
3098
- {
3099
- "type": "null"
3100
- }
3101
- ]
3102
- },
3103
- "originX": {
3104
- "anyOf": [
3105
- {
3106
- "type": "number",
3107
- "minimum": 0,
3108
- "maximum": 1
3109
- },
3110
- {
3111
- "type": "null"
3112
- }
3113
- ]
3114
- },
3115
- "originY": {
3116
- "anyOf": [
3117
- {
3118
- "type": "number",
3119
- "minimum": 0,
3120
- "maximum": 1
3121
- },
3122
- {
3123
- "type": "null"
3124
- }
3125
- ]
3126
- }
3127
- },
3128
- "required": [
3129
- "x",
3130
- "y",
3131
- "rotation",
3132
- "scale",
3133
- "originX",
3134
- "originY"
3135
- ]
3136
- },
3137
- "TextToImageAsset": {
3138
- "properties": {
3139
- "type": {
3140
- "type": "string",
3141
- "enum": [
3142
- "text-to-image"
3143
- ]
3144
- },
3145
- "prompt": {
3146
- "type": "string"
3147
- },
3148
- "width": {
3149
- "anyOf": [
3150
- {
3151
- "type": "integer"
3152
- },
3153
- {
3154
- "type": "null"
3155
- }
3156
- ]
3157
- },
3158
- "height": {
3159
- "anyOf": [
3160
- {
3161
- "type": "integer"
3162
- },
3163
- {
3164
- "type": "null"
3165
- }
3166
- ]
3167
- },
3168
- "crop": {
3169
- "anyOf": [
3170
- {
3171
- "$ref": "#/$defs/Crop"
3172
- },
3173
- {
3174
- "type": "null"
3175
- }
3176
- ]
3177
- }
3178
- },
3179
- "additionalProperties": false,
3180
- "type": "object",
3181
- "required": [
3182
- "type",
3183
- "prompt",
3184
- "width",
3185
- "height",
3186
- "crop"
3187
- ]
3188
- },
3189
- "ImageToVideoAsset": {
3190
- "properties": {
3191
- "type": {
3192
- "type": "string",
3193
- "enum": [
3194
- "image-to-video"
3195
- ]
3196
- },
3197
- "src": {
3198
- "type": "string"
3199
- },
3200
- "prompt": {
3201
- "anyOf": [
3202
- {
3203
- "type": "string"
3204
- },
3205
- {
3206
- "type": "null"
3207
- }
3208
- ]
3209
- },
3210
- "aspectRatio": {
3211
- "anyOf": [
3212
- {
3213
- "type": "string",
3214
- "enum": [
3215
- "1:1",
3216
- "4:3",
3217
- "16:9",
3218
- "9:16",
3219
- "3:4",
3220
- "21:9",
3221
- "9:21"
3222
- ]
3223
- },
3224
- {
3225
- "type": "null"
3226
- }
3227
- ]
3228
- },
3229
- "speed": {
3230
- "anyOf": [
3231
- {
3232
- "type": "number",
3233
- "minimum": 0,
3234
- "maximum": 10
3235
- },
3236
- {
3237
- "type": "null"
3238
- }
3239
- ]
3240
- },
3241
- "crop": {
3242
- "anyOf": [
3243
- {
3244
- "$ref": "#/$defs/Crop"
3245
- },
3246
- {
3247
- "type": "null"
3248
- }
3249
- ]
3250
- }
3251
- },
3252
- "additionalProperties": false,
3253
- "type": "object",
3254
- "required": [
3255
- "type",
3256
- "src",
3257
- "prompt",
3258
- "aspectRatio",
3259
- "speed",
3260
- "crop"
3261
- ]
3262
- },
3263
- "TextToSpeechAsset": {
3264
- "type": "object",
3265
- "properties": {
3266
- "type": {
3267
- "type": "string",
3268
- "enum": [
3269
- "text-to-speech"
3270
- ]
3271
- },
3272
- "text": {
3273
- "type": "string"
3274
- },
3275
- "voice": {
3276
- "type": "string"
3277
- },
3278
- "language": {
3279
- "anyOf": [
3280
- {
3281
- "type": "string"
3282
- },
3283
- {
3284
- "type": "null"
3285
- }
3286
- ]
3287
- },
3288
- "newscaster": {
3289
- "anyOf": [
3290
- {
3291
- "type": "boolean"
3292
- },
3293
- {
3294
- "type": "null"
3295
- }
3296
- ]
3297
- },
3298
- "trim": {
3299
- "anyOf": [
3300
- {
3301
- "type": "number"
3302
- },
3303
- {
3304
- "type": "null"
3305
- }
3306
- ]
2557
+ "trim": {
2558
+ "anyOf": [
2559
+ {
2560
+ "type": "number"
2561
+ },
2562
+ {
2563
+ "type": "null"
2564
+ }
2565
+ ]
3307
2566
  },
3308
2567
  "volume": {
3309
2568
  "anyOf": [
@@ -3416,7 +2675,31 @@
3416
2675
  "in": {
3417
2676
  "anyOf": [
3418
2677
  {
3419
- "type": "string"
2678
+ "type": "string",
2679
+ "enum": [
2680
+ "none",
2681
+ "fade",
2682
+ "reveal",
2683
+ "wipeLeft",
2684
+ "wipeRight",
2685
+ "slideLeft",
2686
+ "slideRight",
2687
+ "slideUp",
2688
+ "slideDown",
2689
+ "carouselLeft",
2690
+ "carouselRight",
2691
+ "carouselUp",
2692
+ "carouselDown",
2693
+ "shuffleTopRight",
2694
+ "shuffleRightTop",
2695
+ "shuffleRightBottom",
2696
+ "shuffleBottomRight",
2697
+ "shuffleBottomLeft",
2698
+ "shuffleLeftBottom",
2699
+ "shuffleLeftTop",
2700
+ "shuffleTopLeft",
2701
+ "zoom"
2702
+ ]
3420
2703
  },
3421
2704
  {
3422
2705
  "type": "null"
@@ -3426,7 +2709,31 @@
3426
2709
  "out": {
3427
2710
  "anyOf": [
3428
2711
  {
3429
- "type": "string"
2712
+ "type": "string",
2713
+ "enum": [
2714
+ "none",
2715
+ "fade",
2716
+ "reveal",
2717
+ "wipeLeft",
2718
+ "wipeRight",
2719
+ "slideLeft",
2720
+ "slideRight",
2721
+ "slideUp",
2722
+ "slideDown",
2723
+ "carouselLeft",
2724
+ "carouselRight",
2725
+ "carouselUp",
2726
+ "carouselDown",
2727
+ "shuffleTopRight",
2728
+ "shuffleRightTop",
2729
+ "shuffleRightBottom",
2730
+ "shuffleBottomRight",
2731
+ "shuffleBottomLeft",
2732
+ "shuffleLeftBottom",
2733
+ "shuffleLeftTop",
2734
+ "shuffleTopLeft",
2735
+ "zoom"
2736
+ ]
3430
2737
  },
3431
2738
  {
3432
2739
  "type": "null"