@shotstack/schemas 1.9.0 → 1.9.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.
@@ -1965,17 +1965,6 @@
1965
1965
  "type": "string",
1966
1966
  "pattern": "^#[A-Fa-f0-9]{6}$",
1967
1967
  "example": "#000000"
1968
- },
1969
- "textDecoration": {
1970
- "description": "Text decoration to apply to all words.",
1971
- "type": "string",
1972
- "enum": [
1973
- "none",
1974
- "underline",
1975
- "line-through"
1976
- ],
1977
- "default": "none",
1978
- "example": "underline"
1979
1968
  }
1980
1969
  },
1981
1970
  "additionalProperties": false,
@@ -2082,12 +2071,32 @@
2082
2071
  "$ref": "#/components/schemas/RichCaptionActiveFont"
2083
2072
  },
2084
2073
  "stroke": {
2085
- "description": "Stroke properties for the active word.",
2086
- "$ref": "#/components/schemas/RichTextStroke"
2074
+ "description": "Stroke properties for the active word. Set to \"none\" to explicitly remove the base stroke on the active word.",
2075
+ "oneOf": [
2076
+ {
2077
+ "$ref": "#/components/schemas/RichTextStroke"
2078
+ },
2079
+ {
2080
+ "type": "string",
2081
+ "enum": [
2082
+ "none"
2083
+ ]
2084
+ }
2085
+ ]
2087
2086
  },
2088
2087
  "shadow": {
2089
- "description": "Shadow properties for the active word. Overrides the base shadow when a word is active.",
2090
- "$ref": "#/components/schemas/RichTextShadow"
2088
+ "description": "Shadow properties for the active word. Set to \"none\" to explicitly remove the base shadow on the active word.",
2089
+ "oneOf": [
2090
+ {
2091
+ "$ref": "#/components/schemas/RichTextShadow"
2092
+ },
2093
+ {
2094
+ "type": "string",
2095
+ "enum": [
2096
+ "none"
2097
+ ]
2098
+ }
2099
+ ]
2091
2100
  },
2092
2101
  "scale": {
2093
2102
  "description": "Scale multiplier for the active word. 1.0 is normal size, 1.2 is 20% larger.",
@@ -2117,16 +2126,8 @@
2117
2126
  "typewriter",
2118
2127
  "none"
2119
2128
  ],
2120
- "default": "karaoke",
2121
- "example": "karaoke"
2122
- },
2123
- "speed": {
2124
- "description": "Animation speed multiplier. 1.0 is normal speed, 0.5 is half speed, 2.0 is double speed.",
2125
- "type": "number",
2126
- "minimum": 0.5,
2127
- "maximum": 2,
2128
- "default": 1,
2129
- "example": 1
2129
+ "default": "highlight",
2130
+ "example": "highlight"
2130
2131
  },
2131
2132
  "direction": {
2132
2133
  "description": "Direction for directional animations (slide). Only applicable when style is `slide`.",
@@ -1570,21 +1570,6 @@
1570
1570
  "type": "null"
1571
1571
  }
1572
1572
  ]
1573
- },
1574
- "textDecoration": {
1575
- "anyOf": [
1576
- {
1577
- "type": "string",
1578
- "enum": [
1579
- "none",
1580
- "underline",
1581
- "line-through"
1582
- ]
1583
- },
1584
- {
1585
- "type": "null"
1586
- }
1587
- ]
1588
1573
  }
1589
1574
  },
1590
1575
  "additionalProperties": false,
@@ -1594,8 +1579,7 @@
1594
1579
  "weight",
1595
1580
  "color",
1596
1581
  "opacity",
1597
- "background",
1598
- "textDecoration"
1582
+ "background"
1599
1583
  ]
1600
1584
  },
1601
1585
  {
@@ -1732,6 +1716,12 @@
1732
1716
  {
1733
1717
  "$ref": "#/$defs/RichTextStroke"
1734
1718
  },
1719
+ {
1720
+ "type": "string",
1721
+ "enum": [
1722
+ "none"
1723
+ ]
1724
+ },
1735
1725
  {
1736
1726
  "type": "null"
1737
1727
  }
@@ -1742,6 +1732,12 @@
1742
1732
  {
1743
1733
  "$ref": "#/$defs/RichTextShadow"
1744
1734
  },
1735
+ {
1736
+ "type": "string",
1737
+ "enum": [
1738
+ "none"
1739
+ ]
1740
+ },
1745
1741
  {
1746
1742
  "type": "null"
1747
1743
  }
@@ -1846,18 +1842,6 @@
1846
1842
  "none"
1847
1843
  ]
1848
1844
  },
1849
- "speed": {
1850
- "anyOf": [
1851
- {
1852
- "type": "number",
1853
- "minimum": 0.5,
1854
- "maximum": 2
1855
- },
1856
- {
1857
- "type": "null"
1858
- }
1859
- ]
1860
- },
1861
1845
  "direction": {
1862
1846
  "anyOf": [
1863
1847
  {
@@ -1878,7 +1862,6 @@
1878
1862
  "additionalProperties": false,
1879
1863
  "required": [
1880
1864
  "style",
1881
- "speed",
1882
1865
  "direction"
1883
1866
  ]
1884
1867
  },
@@ -1802,21 +1802,6 @@
1802
1802
  "type": "null"
1803
1803
  }
1804
1804
  ]
1805
- },
1806
- "textDecoration": {
1807
- "anyOf": [
1808
- {
1809
- "type": "string",
1810
- "enum": [
1811
- "none",
1812
- "underline",
1813
- "line-through"
1814
- ]
1815
- },
1816
- {
1817
- "type": "null"
1818
- }
1819
- ]
1820
1805
  }
1821
1806
  },
1822
1807
  "additionalProperties": false,
@@ -1826,8 +1811,7 @@
1826
1811
  "weight",
1827
1812
  "color",
1828
1813
  "opacity",
1829
- "background",
1830
- "textDecoration"
1814
+ "background"
1831
1815
  ]
1832
1816
  },
1833
1817
  {
@@ -1964,6 +1948,12 @@
1964
1948
  {
1965
1949
  "$ref": "#/$defs/RichTextStroke"
1966
1950
  },
1951
+ {
1952
+ "type": "string",
1953
+ "enum": [
1954
+ "none"
1955
+ ]
1956
+ },
1967
1957
  {
1968
1958
  "type": "null"
1969
1959
  }
@@ -1974,6 +1964,12 @@
1974
1964
  {
1975
1965
  "$ref": "#/$defs/RichTextShadow"
1976
1966
  },
1967
+ {
1968
+ "type": "string",
1969
+ "enum": [
1970
+ "none"
1971
+ ]
1972
+ },
1977
1973
  {
1978
1974
  "type": "null"
1979
1975
  }
@@ -2078,18 +2074,6 @@
2078
2074
  "none"
2079
2075
  ]
2080
2076
  },
2081
- "speed": {
2082
- "anyOf": [
2083
- {
2084
- "type": "number",
2085
- "minimum": 0.5,
2086
- "maximum": 2
2087
- },
2088
- {
2089
- "type": "null"
2090
- }
2091
- ]
2092
- },
2093
2077
  "direction": {
2094
2078
  "anyOf": [
2095
2079
  {
@@ -2110,7 +2094,6 @@
2110
2094
  "additionalProperties": false,
2111
2095
  "required": [
2112
2096
  "style",
2113
- "speed",
2114
2097
  "direction"
2115
2098
  ]
2116
2099
  },
@@ -1986,21 +1986,6 @@
1986
1986
  "type": "null"
1987
1987
  }
1988
1988
  ]
1989
- },
1990
- "textDecoration": {
1991
- "anyOf": [
1992
- {
1993
- "type": "string",
1994
- "enum": [
1995
- "none",
1996
- "underline",
1997
- "line-through"
1998
- ]
1999
- },
2000
- {
2001
- "type": "null"
2002
- }
2003
- ]
2004
1989
  }
2005
1990
  },
2006
1991
  "additionalProperties": false,
@@ -2010,8 +1995,7 @@
2010
1995
  "weight",
2011
1996
  "color",
2012
1997
  "opacity",
2013
- "background",
2014
- "textDecoration"
1998
+ "background"
2015
1999
  ]
2016
2000
  },
2017
2001
  {
@@ -2148,6 +2132,12 @@
2148
2132
  {
2149
2133
  "$ref": "#/$defs/RichTextStroke"
2150
2134
  },
2135
+ {
2136
+ "type": "string",
2137
+ "enum": [
2138
+ "none"
2139
+ ]
2140
+ },
2151
2141
  {
2152
2142
  "type": "null"
2153
2143
  }
@@ -2158,6 +2148,12 @@
2158
2148
  {
2159
2149
  "$ref": "#/$defs/RichTextShadow"
2160
2150
  },
2151
+ {
2152
+ "type": "string",
2153
+ "enum": [
2154
+ "none"
2155
+ ]
2156
+ },
2161
2157
  {
2162
2158
  "type": "null"
2163
2159
  }
@@ -2262,18 +2258,6 @@
2262
2258
  "none"
2263
2259
  ]
2264
2260
  },
2265
- "speed": {
2266
- "anyOf": [
2267
- {
2268
- "type": "number",
2269
- "minimum": 0.5,
2270
- "maximum": 2
2271
- },
2272
- {
2273
- "type": "null"
2274
- }
2275
- ]
2276
- },
2277
2261
  "direction": {
2278
2262
  "anyOf": [
2279
2263
  {
@@ -2294,7 +2278,6 @@
2294
2278
  "additionalProperties": false,
2295
2279
  "required": [
2296
2280
  "style",
2297
- "speed",
2298
2281
  "direction"
2299
2282
  ]
2300
2283
  },
@@ -17,22 +17,34 @@
17
17
  ]
18
18
  },
19
19
  "stroke": {
20
+ "description": "Stroke properties for the active word. Set to \"none\" to explicitly remove the base stroke on the active word.",
20
21
  "anyOf": [
21
22
  {
22
- "description": "Stroke properties for the active word.",
23
23
  "$ref": "#/$defs/RichTextStroke"
24
24
  },
25
+ {
26
+ "type": "string",
27
+ "enum": [
28
+ "none"
29
+ ]
30
+ },
25
31
  {
26
32
  "type": "null"
27
33
  }
28
34
  ]
29
35
  },
30
36
  "shadow": {
37
+ "description": "Shadow properties for the active word. Set to \"none\" to explicitly remove the base shadow on the active word.",
31
38
  "anyOf": [
32
39
  {
33
- "description": "Shadow properties for the active word. Overrides the base shadow when a word is active.",
34
40
  "$ref": "#/$defs/RichTextShadow"
35
41
  },
42
+ {
43
+ "type": "string",
44
+ "enum": [
45
+ "none"
46
+ ]
47
+ },
36
48
  {
37
49
  "type": "null"
38
50
  }
@@ -87,21 +87,6 @@
87
87
  "type": "null"
88
88
  }
89
89
  ]
90
- },
91
- "textDecoration": {
92
- "anyOf": [
93
- {
94
- "type": "string",
95
- "enum": [
96
- "none",
97
- "underline",
98
- "line-through"
99
- ]
100
- },
101
- {
102
- "type": "null"
103
- }
104
- ]
105
90
  }
106
91
  },
107
92
  "additionalProperties": false,
@@ -111,8 +96,7 @@
111
96
  "weight",
112
97
  "color",
113
98
  "opacity",
114
- "background",
115
- "textDecoration"
99
+ "background"
116
100
  ]
117
101
  },
118
102
  {
@@ -980,6 +964,12 @@
980
964
  {
981
965
  "$ref": "#/$defs/RichTextStroke"
982
966
  },
967
+ {
968
+ "type": "string",
969
+ "enum": [
970
+ "none"
971
+ ]
972
+ },
983
973
  {
984
974
  "type": "null"
985
975
  }
@@ -990,6 +980,12 @@
990
980
  {
991
981
  "$ref": "#/$defs/RichTextShadow"
992
982
  },
983
+ {
984
+ "type": "string",
985
+ "enum": [
986
+ "none"
987
+ ]
988
+ },
993
989
  {
994
990
  "type": "null"
995
991
  }
@@ -1094,18 +1090,6 @@
1094
1090
  "none"
1095
1091
  ]
1096
1092
  },
1097
- "speed": {
1098
- "anyOf": [
1099
- {
1100
- "type": "number",
1101
- "minimum": 0.5,
1102
- "maximum": 2
1103
- },
1104
- {
1105
- "type": "null"
1106
- }
1107
- ]
1108
- },
1109
1093
  "direction": {
1110
1094
  "anyOf": [
1111
1095
  {
@@ -1126,7 +1110,6 @@
1126
1110
  "additionalProperties": false,
1127
1111
  "required": [
1128
1112
  "style",
1129
- "speed",
1130
1113
  "direction"
1131
1114
  ]
1132
1115
  }
@@ -19,19 +19,6 @@
19
19
  "none"
20
20
  ]
21
21
  },
22
- "speed": {
23
- "anyOf": [
24
- {
25
- "type": "number",
26
- "description": "Animation speed multiplier. 1.0 is normal speed, 0.5 is half speed, 2.0 is double speed.",
27
- "minimum": 0.5,
28
- "maximum": 2
29
- },
30
- {
31
- "type": "null"
32
- }
33
- ]
34
- },
35
22
  "direction": {
36
23
  "anyOf": [
37
24
  {
@@ -53,7 +40,6 @@
53
40
  "additionalProperties": false,
54
41
  "required": [
55
42
  "style",
56
- "speed",
57
43
  "direction"
58
44
  ]
59
45
  }
@@ -2108,22 +2108,6 @@
2108
2108
  "type": "null"
2109
2109
  }
2110
2110
  ]
2111
- },
2112
- "textDecoration": {
2113
- "anyOf": [
2114
- {
2115
- "type": "string",
2116
- "description": "Text decoration to apply to all words.",
2117
- "enum": [
2118
- "none",
2119
- "underline",
2120
- "line-through"
2121
- ]
2122
- },
2123
- {
2124
- "type": "null"
2125
- }
2126
- ]
2127
2111
  }
2128
2112
  },
2129
2113
  "additionalProperties": false,
@@ -2133,8 +2117,7 @@
2133
2117
  "weight",
2134
2118
  "color",
2135
2119
  "opacity",
2136
- "background",
2137
- "textDecoration"
2120
+ "background"
2138
2121
  ]
2139
2122
  },
2140
2123
  {
@@ -2279,22 +2262,34 @@
2279
2262
  ]
2280
2263
  },
2281
2264
  "stroke": {
2265
+ "description": "Stroke properties for the active word. Set to \"none\" to explicitly remove the base stroke on the active word.",
2282
2266
  "anyOf": [
2283
2267
  {
2284
- "description": "Stroke properties for the active word.",
2285
2268
  "$ref": "#/$defs/RichTextStroke"
2286
2269
  },
2270
+ {
2271
+ "type": "string",
2272
+ "enum": [
2273
+ "none"
2274
+ ]
2275
+ },
2287
2276
  {
2288
2277
  "type": "null"
2289
2278
  }
2290
2279
  ]
2291
2280
  },
2292
2281
  "shadow": {
2282
+ "description": "Shadow properties for the active word. Set to \"none\" to explicitly remove the base shadow on the active word.",
2293
2283
  "anyOf": [
2294
2284
  {
2295
- "description": "Shadow properties for the active word. Overrides the base shadow when a word is active.",
2296
2285
  "$ref": "#/$defs/RichTextShadow"
2297
2286
  },
2287
+ {
2288
+ "type": "string",
2289
+ "enum": [
2290
+ "none"
2291
+ ]
2292
+ },
2298
2293
  {
2299
2294
  "type": "null"
2300
2295
  }
@@ -2407,19 +2402,6 @@
2407
2402
  "none"
2408
2403
  ]
2409
2404
  },
2410
- "speed": {
2411
- "anyOf": [
2412
- {
2413
- "type": "number",
2414
- "description": "Animation speed multiplier. 1.0 is normal speed, 0.5 is half speed, 2.0 is double speed.",
2415
- "minimum": 0.5,
2416
- "maximum": 2
2417
- },
2418
- {
2419
- "type": "null"
2420
- }
2421
- ]
2422
- },
2423
2405
  "direction": {
2424
2406
  "anyOf": [
2425
2407
  {
@@ -2441,7 +2423,6 @@
2441
2423
  "additionalProperties": false,
2442
2424
  "required": [
2443
2425
  "style",
2444
- "speed",
2445
2426
  "direction"
2446
2427
  ]
2447
2428
  },
@@ -1930,21 +1930,6 @@
1930
1930
  "type": "null"
1931
1931
  }
1932
1932
  ]
1933
- },
1934
- "textDecoration": {
1935
- "anyOf": [
1936
- {
1937
- "type": "string",
1938
- "enum": [
1939
- "none",
1940
- "underline",
1941
- "line-through"
1942
- ]
1943
- },
1944
- {
1945
- "type": "null"
1946
- }
1947
- ]
1948
1933
  }
1949
1934
  },
1950
1935
  "additionalProperties": false,
@@ -1954,8 +1939,7 @@
1954
1939
  "weight",
1955
1940
  "color",
1956
1941
  "opacity",
1957
- "background",
1958
- "textDecoration"
1942
+ "background"
1959
1943
  ]
1960
1944
  },
1961
1945
  {
@@ -2092,6 +2076,12 @@
2092
2076
  {
2093
2077
  "$ref": "#/$defs/RichTextStroke"
2094
2078
  },
2079
+ {
2080
+ "type": "string",
2081
+ "enum": [
2082
+ "none"
2083
+ ]
2084
+ },
2095
2085
  {
2096
2086
  "type": "null"
2097
2087
  }
@@ -2102,6 +2092,12 @@
2102
2092
  {
2103
2093
  "$ref": "#/$defs/RichTextShadow"
2104
2094
  },
2095
+ {
2096
+ "type": "string",
2097
+ "enum": [
2098
+ "none"
2099
+ ]
2100
+ },
2105
2101
  {
2106
2102
  "type": "null"
2107
2103
  }
@@ -2206,18 +2202,6 @@
2206
2202
  "none"
2207
2203
  ]
2208
2204
  },
2209
- "speed": {
2210
- "anyOf": [
2211
- {
2212
- "type": "number",
2213
- "minimum": 0.5,
2214
- "maximum": 2
2215
- },
2216
- {
2217
- "type": "null"
2218
- }
2219
- ]
2220
- },
2221
2205
  "direction": {
2222
2206
  "anyOf": [
2223
2207
  {
@@ -2238,7 +2222,6 @@
2238
2222
  "additionalProperties": false,
2239
2223
  "required": [
2240
2224
  "style",
2241
- "speed",
2242
2225
  "direction"
2243
2226
  ]
2244
2227
  },