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