@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
@@ -213,7 +213,37 @@
213
213
  "easing": {
214
214
  "anyOf": [
215
215
  {
216
- "type": "string"
216
+ "type": "string",
217
+ "enum": [
218
+ "ease",
219
+ "easeIn",
220
+ "easeOut",
221
+ "easeInOut",
222
+ "easeInQuad",
223
+ "easeInCubic",
224
+ "easeInQuart",
225
+ "easeInQuint",
226
+ "easeInSine",
227
+ "easeInExpo",
228
+ "easeInCirc",
229
+ "easeInBack",
230
+ "easeOutQuad",
231
+ "easeOutCubic",
232
+ "easeOutQuart",
233
+ "easeOutQuint",
234
+ "easeOutSine",
235
+ "easeOutExpo",
236
+ "easeOutCirc",
237
+ "easeOutBack",
238
+ "easeInOutQuad",
239
+ "easeInOutCubic",
240
+ "easeInOutQuart",
241
+ "easeInOutQuint",
242
+ "easeInOutSine",
243
+ "easeInOutExpo",
244
+ "easeInOutCirc",
245
+ "easeInOutBack"
246
+ ]
217
247
  },
218
248
  {
219
249
  "type": "null"
@@ -1489,7 +1519,88 @@
1489
1519
  "font": {
1490
1520
  "anyOf": [
1491
1521
  {
1492
- "$ref": "#/$defs/RichTextFont"
1522
+ "type": "object",
1523
+ "properties": {
1524
+ "family": {
1525
+ "anyOf": [
1526
+ {
1527
+ "type": "string",
1528
+ "enum": [
1529
+ "Roboto"
1530
+ ]
1531
+ },
1532
+ {
1533
+ "type": "null"
1534
+ }
1535
+ ]
1536
+ },
1537
+ "size": {
1538
+ "anyOf": [
1539
+ {
1540
+ "type": "integer",
1541
+ "minimum": 1,
1542
+ "maximum": 500
1543
+ },
1544
+ {
1545
+ "type": "null"
1546
+ }
1547
+ ]
1548
+ },
1549
+ "weight": {
1550
+ "anyOf": [
1551
+ {
1552
+ "type": "string"
1553
+ },
1554
+ {
1555
+ "type": "null"
1556
+ }
1557
+ ]
1558
+ },
1559
+ "color": {
1560
+ "anyOf": [
1561
+ {
1562
+ "type": "string",
1563
+ "enum": [
1564
+ "#ffffff"
1565
+ ]
1566
+ },
1567
+ {
1568
+ "type": "null"
1569
+ }
1570
+ ]
1571
+ },
1572
+ "opacity": {
1573
+ "anyOf": [
1574
+ {
1575
+ "type": "number",
1576
+ "minimum": 0,
1577
+ "maximum": 1
1578
+ },
1579
+ {
1580
+ "type": "null"
1581
+ }
1582
+ ]
1583
+ },
1584
+ "background": {
1585
+ "anyOf": [
1586
+ {
1587
+ "type": "string"
1588
+ },
1589
+ {
1590
+ "type": "null"
1591
+ }
1592
+ ]
1593
+ }
1594
+ },
1595
+ "additionalProperties": false,
1596
+ "required": [
1597
+ "family",
1598
+ "size",
1599
+ "weight",
1600
+ "color",
1601
+ "opacity",
1602
+ "background"
1603
+ ]
1493
1604
  },
1494
1605
  {
1495
1606
  "type": "null"
@@ -2026,865 +2137,13 @@
2026
2137
  ]
2027
2138
  },
2028
2139
  "src": {
2029
- "anyOf": [
2030
- {
2031
- "type": "string"
2032
- },
2033
- {
2034
- "type": "null"
2035
- }
2036
- ]
2037
- },
2038
- "shape": {
2039
- "anyOf": [
2040
- {
2041
- "$ref": "#/$defs/SvgShape"
2042
- },
2043
- {
2044
- "type": "null"
2045
- }
2046
- ]
2047
- },
2048
- "fill": {
2049
- "anyOf": [
2050
- {
2051
- "$ref": "#/$defs/SvgFill"
2052
- },
2053
- {
2054
- "type": "null"
2055
- }
2056
- ]
2057
- },
2058
- "stroke": {
2059
- "anyOf": [
2060
- {
2061
- "$ref": "#/$defs/SvgStroke"
2062
- },
2063
- {
2064
- "type": "null"
2065
- }
2066
- ]
2067
- },
2068
- "shadow": {
2069
- "anyOf": [
2070
- {
2071
- "$ref": "#/$defs/SvgShadow"
2072
- },
2073
- {
2074
- "type": "null"
2075
- }
2076
- ]
2077
- },
2078
- "transform": {
2079
- "anyOf": [
2080
- {
2081
- "$ref": "#/$defs/SvgTransform"
2082
- },
2083
- {
2084
- "type": "null"
2085
- }
2086
- ]
2087
- },
2088
- "opacity": {
2089
- "anyOf": [
2090
- {
2091
- "type": "number",
2092
- "minimum": 0,
2093
- "maximum": 1
2094
- },
2095
- {
2096
- "type": "null"
2097
- }
2098
- ]
2099
- },
2100
- "width": {
2101
- "anyOf": [
2102
- {
2103
- "type": "integer",
2104
- "minimum": 1,
2105
- "maximum": 4096
2106
- },
2107
- {
2108
- "type": "null"
2109
- }
2110
- ]
2111
- },
2112
- "height": {
2113
- "anyOf": [
2114
- {
2115
- "type": "integer",
2116
- "minimum": 1,
2117
- "maximum": 4096
2118
- },
2119
- {
2120
- "type": "null"
2121
- }
2122
- ]
2123
- }
2124
- },
2125
- "additionalProperties": false,
2126
- "required": [
2127
- "type",
2128
- "src",
2129
- "shape",
2130
- "fill",
2131
- "stroke",
2132
- "shadow",
2133
- "transform",
2134
- "opacity",
2135
- "width",
2136
- "height"
2137
- ]
2138
- },
2139
- "SvgShape": {
2140
- "anyOf": [
2141
- {
2142
- "$ref": "#/$defs/SvgRectangleShape"
2143
- },
2144
- {
2145
- "$ref": "#/$defs/SvgCircleShape"
2146
- },
2147
- {
2148
- "$ref": "#/$defs/SvgEllipseShape"
2149
- },
2150
- {
2151
- "$ref": "#/$defs/SvgLineShape"
2152
- },
2153
- {
2154
- "$ref": "#/$defs/SvgPolygonShape"
2155
- },
2156
- {
2157
- "$ref": "#/$defs/SvgStarShape"
2158
- },
2159
- {
2160
- "$ref": "#/$defs/SvgArrowShape"
2161
- },
2162
- {
2163
- "$ref": "#/$defs/SvgHeartShape"
2164
- },
2165
- {
2166
- "$ref": "#/$defs/SvgCrossShape"
2167
- },
2168
- {
2169
- "$ref": "#/$defs/SvgRingShape"
2170
- },
2171
- {
2172
- "$ref": "#/$defs/SvgPathShape"
2173
- }
2174
- ]
2175
- },
2176
- "SvgRectangleShape": {
2177
- "type": "object",
2178
- "additionalProperties": false,
2179
- "properties": {
2180
- "type": {
2181
- "type": "string",
2182
- "enum": [
2183
- "rectangle"
2184
- ]
2185
- },
2186
- "width": {
2187
- "type": "number",
2188
- "minimum": 1,
2189
- "maximum": 4096
2190
- },
2191
- "height": {
2192
- "type": "number",
2193
- "minimum": 1,
2194
- "maximum": 4096
2195
- },
2196
- "cornerRadius": {
2197
- "anyOf": [
2198
- {
2199
- "type": "number",
2200
- "minimum": 0,
2201
- "maximum": 2048
2202
- },
2203
- {
2204
- "type": "null"
2205
- }
2206
- ]
2207
- }
2208
- },
2209
- "required": [
2210
- "type",
2211
- "width",
2212
- "height",
2213
- "cornerRadius"
2214
- ]
2215
- },
2216
- "SvgCircleShape": {
2217
- "type": "object",
2218
- "additionalProperties": false,
2219
- "properties": {
2220
- "type": {
2221
- "type": "string",
2222
- "enum": [
2223
- "circle"
2224
- ]
2225
- },
2226
- "radius": {
2227
- "type": "number",
2228
- "minimum": 1,
2229
- "maximum": 2048
2140
+ "type": "string"
2230
2141
  }
2231
2142
  },
2232
- "required": [
2233
- "type",
2234
- "radius"
2235
- ]
2236
- },
2237
- "SvgEllipseShape": {
2238
- "type": "object",
2239
2143
  "additionalProperties": false,
2240
- "properties": {
2241
- "type": {
2242
- "type": "string",
2243
- "enum": [
2244
- "ellipse"
2245
- ]
2246
- },
2247
- "radiusX": {
2248
- "type": "number",
2249
- "minimum": 1,
2250
- "maximum": 2048
2251
- },
2252
- "radiusY": {
2253
- "type": "number",
2254
- "minimum": 1,
2255
- "maximum": 2048
2256
- }
2257
- },
2258
2144
  "required": [
2259
2145
  "type",
2260
- "radiusX",
2261
- "radiusY"
2262
- ]
2263
- },
2264
- "SvgLineShape": {
2265
- "type": "object",
2266
- "additionalProperties": false,
2267
- "properties": {
2268
- "type": {
2269
- "type": "string",
2270
- "enum": [
2271
- "line"
2272
- ]
2273
- },
2274
- "length": {
2275
- "type": "number",
2276
- "minimum": 1,
2277
- "maximum": 4096
2278
- },
2279
- "thickness": {
2280
- "type": "number",
2281
- "minimum": 1,
2282
- "maximum": 500
2283
- }
2284
- },
2285
- "required": [
2286
- "type",
2287
- "length",
2288
- "thickness"
2289
- ]
2290
- },
2291
- "SvgPolygonShape": {
2292
- "type": "object",
2293
- "additionalProperties": false,
2294
- "properties": {
2295
- "type": {
2296
- "type": "string",
2297
- "enum": [
2298
- "polygon"
2299
- ]
2300
- },
2301
- "sides": {
2302
- "type": "integer",
2303
- "minimum": 3,
2304
- "maximum": 100
2305
- },
2306
- "radius": {
2307
- "type": "number",
2308
- "minimum": 1,
2309
- "maximum": 2048
2310
- }
2311
- },
2312
- "required": [
2313
- "type",
2314
- "sides",
2315
- "radius"
2316
- ]
2317
- },
2318
- "SvgStarShape": {
2319
- "type": "object",
2320
- "additionalProperties": false,
2321
- "properties": {
2322
- "type": {
2323
- "type": "string",
2324
- "enum": [
2325
- "star"
2326
- ]
2327
- },
2328
- "points": {
2329
- "type": "integer",
2330
- "minimum": 3,
2331
- "maximum": 100
2332
- },
2333
- "outerRadius": {
2334
- "type": "number",
2335
- "minimum": 1,
2336
- "maximum": 2048
2337
- },
2338
- "innerRadius": {
2339
- "type": "number",
2340
- "minimum": 1,
2341
- "maximum": 2048
2342
- }
2343
- },
2344
- "required": [
2345
- "type",
2346
- "points",
2347
- "outerRadius",
2348
- "innerRadius"
2349
- ]
2350
- },
2351
- "SvgArrowShape": {
2352
- "type": "object",
2353
- "additionalProperties": false,
2354
- "properties": {
2355
- "type": {
2356
- "type": "string",
2357
- "enum": [
2358
- "arrow"
2359
- ]
2360
- },
2361
- "length": {
2362
- "type": "number",
2363
- "minimum": 1,
2364
- "maximum": 4096
2365
- },
2366
- "headWidth": {
2367
- "type": "number",
2368
- "minimum": 1,
2369
- "maximum": 1000
2370
- },
2371
- "headLength": {
2372
- "type": "number",
2373
- "minimum": 1,
2374
- "maximum": 1000
2375
- },
2376
- "shaftWidth": {
2377
- "type": "number",
2378
- "minimum": 1,
2379
- "maximum": 1000
2380
- }
2381
- },
2382
- "required": [
2383
- "type",
2384
- "length",
2385
- "headWidth",
2386
- "headLength",
2387
- "shaftWidth"
2388
- ]
2389
- },
2390
- "SvgHeartShape": {
2391
- "type": "object",
2392
- "additionalProperties": false,
2393
- "properties": {
2394
- "type": {
2395
- "type": "string",
2396
- "enum": [
2397
- "heart"
2398
- ]
2399
- },
2400
- "size": {
2401
- "type": "number",
2402
- "minimum": 1,
2403
- "maximum": 4096
2404
- }
2405
- },
2406
- "required": [
2407
- "type",
2408
- "size"
2409
- ]
2410
- },
2411
- "SvgCrossShape": {
2412
- "type": "object",
2413
- "additionalProperties": false,
2414
- "properties": {
2415
- "type": {
2416
- "type": "string",
2417
- "enum": [
2418
- "cross"
2419
- ]
2420
- },
2421
- "width": {
2422
- "type": "number",
2423
- "minimum": 1,
2424
- "maximum": 4096
2425
- },
2426
- "height": {
2427
- "type": "number",
2428
- "minimum": 1,
2429
- "maximum": 4096
2430
- },
2431
- "thickness": {
2432
- "type": "number",
2433
- "minimum": 1,
2434
- "maximum": 500
2435
- }
2436
- },
2437
- "required": [
2438
- "type",
2439
- "width",
2440
- "height",
2441
- "thickness"
2442
- ]
2443
- },
2444
- "SvgRingShape": {
2445
- "type": "object",
2446
- "additionalProperties": false,
2447
- "properties": {
2448
- "type": {
2449
- "type": "string",
2450
- "enum": [
2451
- "ring"
2452
- ]
2453
- },
2454
- "outerRadius": {
2455
- "type": "number",
2456
- "minimum": 1,
2457
- "maximum": 2048
2458
- },
2459
- "innerRadius": {
2460
- "type": "number",
2461
- "minimum": 0,
2462
- "maximum": 2048
2463
- }
2464
- },
2465
- "required": [
2466
- "type",
2467
- "outerRadius",
2468
- "innerRadius"
2469
- ]
2470
- },
2471
- "SvgPathShape": {
2472
- "type": "object",
2473
- "additionalProperties": false,
2474
- "properties": {
2475
- "type": {
2476
- "type": "string",
2477
- "enum": [
2478
- "path"
2479
- ]
2480
- },
2481
- "d": {
2482
- "type": "string"
2483
- }
2484
- },
2485
- "required": [
2486
- "type",
2487
- "d"
2488
- ]
2489
- },
2490
- "SvgFill": {
2491
- "anyOf": [
2492
- {
2493
- "$ref": "#/$defs/SvgSolidFill"
2494
- },
2495
- {
2496
- "$ref": "#/$defs/SvgLinearGradientFill"
2497
- },
2498
- {
2499
- "$ref": "#/$defs/SvgRadialGradientFill"
2500
- }
2501
- ]
2502
- },
2503
- "SvgSolidFill": {
2504
- "type": "object",
2505
- "additionalProperties": false,
2506
- "properties": {
2507
- "type": {
2508
- "type": "string",
2509
- "enum": [
2510
- "solid"
2511
- ]
2512
- },
2513
- "color": {
2514
- "type": "string"
2515
- },
2516
- "opacity": {
2517
- "anyOf": [
2518
- {
2519
- "type": "number",
2520
- "minimum": 0,
2521
- "maximum": 1
2522
- },
2523
- {
2524
- "type": "null"
2525
- }
2526
- ]
2527
- }
2528
- },
2529
- "required": [
2530
- "type",
2531
- "color",
2532
- "opacity"
2533
- ]
2534
- },
2535
- "SvgLinearGradientFill": {
2536
- "type": "object",
2537
- "additionalProperties": false,
2538
- "properties": {
2539
- "type": {
2540
- "type": "string",
2541
- "enum": [
2542
- "linear"
2543
- ]
2544
- },
2545
- "angle": {
2546
- "anyOf": [
2547
- {
2548
- "type": "number",
2549
- "minimum": 0,
2550
- "maximum": 360
2551
- },
2552
- {
2553
- "type": "null"
2554
- }
2555
- ]
2556
- },
2557
- "stops": {
2558
- "type": "array",
2559
- "items": {
2560
- "$ref": "#/$defs/SvgGradientStop"
2561
- }
2562
- },
2563
- "opacity": {
2564
- "anyOf": [
2565
- {
2566
- "type": "number",
2567
- "minimum": 0,
2568
- "maximum": 1
2569
- },
2570
- {
2571
- "type": "null"
2572
- }
2573
- ]
2574
- }
2575
- },
2576
- "required": [
2577
- "type",
2578
- "angle",
2579
- "stops",
2580
- "opacity"
2581
- ]
2582
- },
2583
- "SvgGradientStop": {
2584
- "type": "object",
2585
- "additionalProperties": false,
2586
- "properties": {
2587
- "offset": {
2588
- "type": "number",
2589
- "minimum": 0,
2590
- "maximum": 1
2591
- },
2592
- "color": {
2593
- "type": "string"
2594
- }
2595
- },
2596
- "required": [
2597
- "offset",
2598
- "color"
2599
- ]
2600
- },
2601
- "SvgRadialGradientFill": {
2602
- "type": "object",
2603
- "additionalProperties": false,
2604
- "properties": {
2605
- "type": {
2606
- "type": "string",
2607
- "enum": [
2608
- "radial"
2609
- ]
2610
- },
2611
- "stops": {
2612
- "type": "array",
2613
- "items": {
2614
- "$ref": "#/$defs/SvgGradientStop"
2615
- }
2616
- },
2617
- "opacity": {
2618
- "anyOf": [
2619
- {
2620
- "type": "number",
2621
- "minimum": 0,
2622
- "maximum": 1
2623
- },
2624
- {
2625
- "type": "null"
2626
- }
2627
- ]
2628
- }
2629
- },
2630
- "required": [
2631
- "type",
2632
- "stops",
2633
- "opacity"
2634
- ]
2635
- },
2636
- "SvgStroke": {
2637
- "type": "object",
2638
- "additionalProperties": false,
2639
- "properties": {
2640
- "color": {
2641
- "anyOf": [
2642
- {
2643
- "type": "string"
2644
- },
2645
- {
2646
- "type": "null"
2647
- }
2648
- ]
2649
- },
2650
- "width": {
2651
- "anyOf": [
2652
- {
2653
- "type": "number",
2654
- "minimum": 0,
2655
- "maximum": 100
2656
- },
2657
- {
2658
- "type": "null"
2659
- }
2660
- ]
2661
- },
2662
- "opacity": {
2663
- "anyOf": [
2664
- {
2665
- "type": "number",
2666
- "minimum": 0,
2667
- "maximum": 1
2668
- },
2669
- {
2670
- "type": "null"
2671
- }
2672
- ]
2673
- },
2674
- "lineCap": {
2675
- "anyOf": [
2676
- {
2677
- "type": "string",
2678
- "enum": [
2679
- "butt",
2680
- "round",
2681
- "square"
2682
- ]
2683
- },
2684
- {
2685
- "type": "null"
2686
- }
2687
- ]
2688
- },
2689
- "lineJoin": {
2690
- "anyOf": [
2691
- {
2692
- "type": "string",
2693
- "enum": [
2694
- "miter",
2695
- "round",
2696
- "bevel"
2697
- ]
2698
- },
2699
- {
2700
- "type": "null"
2701
- }
2702
- ]
2703
- },
2704
- "dashArray": {
2705
- "anyOf": [
2706
- {
2707
- "type": "array",
2708
- "items": {
2709
- "type": "number",
2710
- "minimum": 0
2711
- }
2712
- },
2713
- {
2714
- "type": "null"
2715
- }
2716
- ]
2717
- },
2718
- "dashOffset": {
2719
- "anyOf": [
2720
- {
2721
- "type": "number"
2722
- },
2723
- {
2724
- "type": "null"
2725
- }
2726
- ]
2727
- }
2728
- },
2729
- "required": [
2730
- "color",
2731
- "width",
2732
- "opacity",
2733
- "lineCap",
2734
- "lineJoin",
2735
- "dashArray",
2736
- "dashOffset"
2737
- ]
2738
- },
2739
- "SvgShadow": {
2740
- "type": "object",
2741
- "additionalProperties": false,
2742
- "properties": {
2743
- "offsetX": {
2744
- "anyOf": [
2745
- {
2746
- "type": "number"
2747
- },
2748
- {
2749
- "type": "null"
2750
- }
2751
- ]
2752
- },
2753
- "offsetY": {
2754
- "anyOf": [
2755
- {
2756
- "type": "number"
2757
- },
2758
- {
2759
- "type": "null"
2760
- }
2761
- ]
2762
- },
2763
- "blur": {
2764
- "anyOf": [
2765
- {
2766
- "type": "number",
2767
- "minimum": 0
2768
- },
2769
- {
2770
- "type": "null"
2771
- }
2772
- ]
2773
- },
2774
- "color": {
2775
- "anyOf": [
2776
- {
2777
- "type": "string",
2778
- "enum": [
2779
- "#000000"
2780
- ]
2781
- },
2782
- {
2783
- "type": "null"
2784
- }
2785
- ]
2786
- },
2787
- "opacity": {
2788
- "anyOf": [
2789
- {
2790
- "type": "number",
2791
- "minimum": 0,
2792
- "maximum": 1
2793
- },
2794
- {
2795
- "type": "null"
2796
- }
2797
- ]
2798
- }
2799
- },
2800
- "required": [
2801
- "offsetX",
2802
- "offsetY",
2803
- "blur",
2804
- "color",
2805
- "opacity"
2806
- ]
2807
- },
2808
- "SvgTransform": {
2809
- "type": "object",
2810
- "additionalProperties": false,
2811
- "properties": {
2812
- "x": {
2813
- "anyOf": [
2814
- {
2815
- "type": "number"
2816
- },
2817
- {
2818
- "type": "null"
2819
- }
2820
- ]
2821
- },
2822
- "y": {
2823
- "anyOf": [
2824
- {
2825
- "type": "number"
2826
- },
2827
- {
2828
- "type": "null"
2829
- }
2830
- ]
2831
- },
2832
- "rotation": {
2833
- "anyOf": [
2834
- {
2835
- "type": "number",
2836
- "minimum": -360,
2837
- "maximum": 360
2838
- },
2839
- {
2840
- "type": "null"
2841
- }
2842
- ]
2843
- },
2844
- "scale": {
2845
- "anyOf": [
2846
- {
2847
- "type": "number",
2848
- "minimum": 0.01,
2849
- "maximum": 100
2850
- },
2851
- {
2852
- "type": "null"
2853
- }
2854
- ]
2855
- },
2856
- "originX": {
2857
- "anyOf": [
2858
- {
2859
- "type": "number",
2860
- "minimum": 0,
2861
- "maximum": 1
2862
- },
2863
- {
2864
- "type": "null"
2865
- }
2866
- ]
2867
- },
2868
- "originY": {
2869
- "anyOf": [
2870
- {
2871
- "type": "number",
2872
- "minimum": 0,
2873
- "maximum": 1
2874
- },
2875
- {
2876
- "type": "null"
2877
- }
2878
- ]
2879
- }
2880
- },
2881
- "required": [
2882
- "x",
2883
- "y",
2884
- "rotation",
2885
- "scale",
2886
- "originX",
2887
- "originY"
2146
+ "src"
2888
2147
  ]
2889
2148
  },
2890
2149
  "TextToImageAsset": {