@shotstack/schemas 1.9.2 → 1.9.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.
- package/dist/api.bundled.json +48 -4
- package/dist/json-schema/asset.json +78 -5
- package/dist/json-schema/clip.json +78 -5
- package/dist/json-schema/edit.json +78 -5
- package/dist/json-schema/{rich-caption-word-animation.json → rich-caption-animation.json} +1 -1
- package/dist/json-schema/rich-caption-asset.json +166 -93
- package/dist/json-schema/schemas.json +83 -5
- package/dist/json-schema/timeline.json +78 -5
- package/dist/json-schema/track.json +78 -5
- package/dist/schema.d.ts +32 -3
- package/dist/zod/zod.gen.cjs +88 -57
- package/dist/zod/zod.gen.d.ts +197 -237
- package/dist/zod/zod.gen.js +83 -52
- package/dist/zod/zod.gen.ts +60 -40
- package/package.json +1 -1
package/dist/api.bundled.json
CHANGED
|
@@ -1972,7 +1972,51 @@
|
|
|
1972
1972
|
},
|
|
1973
1973
|
"style": {
|
|
1974
1974
|
"description": "Text style properties including spacing, line height, and transformations.",
|
|
1975
|
-
"
|
|
1975
|
+
"properties": {
|
|
1976
|
+
"letterSpacing": {
|
|
1977
|
+
"description": "Additional spacing between letters in pixels. Can be negative for tighter spacing.",
|
|
1978
|
+
"type": "number",
|
|
1979
|
+
"default": 0,
|
|
1980
|
+
"example": 2
|
|
1981
|
+
},
|
|
1982
|
+
"lineHeight": {
|
|
1983
|
+
"description": "The line height as a multiplier of the font size. Must be between 0 and 10.",
|
|
1984
|
+
"type": "number",
|
|
1985
|
+
"minimum": 0,
|
|
1986
|
+
"maximum": 10,
|
|
1987
|
+
"default": 1.2,
|
|
1988
|
+
"example": 1.5
|
|
1989
|
+
},
|
|
1990
|
+
"textTransform": {
|
|
1991
|
+
"description": "Text transformation to apply.",
|
|
1992
|
+
"type": "string",
|
|
1993
|
+
"enum": [
|
|
1994
|
+
"none",
|
|
1995
|
+
"uppercase",
|
|
1996
|
+
"lowercase",
|
|
1997
|
+
"capitalize"
|
|
1998
|
+
],
|
|
1999
|
+
"default": "none",
|
|
2000
|
+
"example": "uppercase"
|
|
2001
|
+
},
|
|
2002
|
+
"textDecoration": {
|
|
2003
|
+
"description": "Text decoration to apply.",
|
|
2004
|
+
"type": "string",
|
|
2005
|
+
"enum": [
|
|
2006
|
+
"none",
|
|
2007
|
+
"underline",
|
|
2008
|
+
"line-through"
|
|
2009
|
+
],
|
|
2010
|
+
"default": "none",
|
|
2011
|
+
"example": "underline"
|
|
2012
|
+
},
|
|
2013
|
+
"gradient": {
|
|
2014
|
+
"description": "Gradient fill for text instead of solid color.",
|
|
2015
|
+
"$ref": "#/components/schemas/RichTextGradient"
|
|
2016
|
+
}
|
|
2017
|
+
},
|
|
2018
|
+
"additionalProperties": false,
|
|
2019
|
+
"type": "object"
|
|
1976
2020
|
},
|
|
1977
2021
|
"stroke": {
|
|
1978
2022
|
"description": "Text stroke (outline) properties for inactive words.",
|
|
@@ -2012,9 +2056,9 @@
|
|
|
2012
2056
|
"description": "Styling properties for the active/highlighted word. These override the base styling when a word is being spoken.",
|
|
2013
2057
|
"$ref": "#/components/schemas/RichCaptionActive"
|
|
2014
2058
|
},
|
|
2015
|
-
"
|
|
2059
|
+
"animation": {
|
|
2016
2060
|
"description": "Word-level animation properties controlling how words are highlighted or revealed.",
|
|
2017
|
-
"$ref": "#/components/schemas/
|
|
2061
|
+
"$ref": "#/components/schemas/RichCaptionAnimation"
|
|
2018
2062
|
}
|
|
2019
2063
|
},
|
|
2020
2064
|
"additionalProperties": false,
|
|
@@ -2109,7 +2153,7 @@
|
|
|
2109
2153
|
},
|
|
2110
2154
|
"additionalProperties": false
|
|
2111
2155
|
},
|
|
2112
|
-
"
|
|
2156
|
+
"RichCaptionAnimation": {
|
|
2113
2157
|
"description": "Word-level animation properties for caption effects.",
|
|
2114
2158
|
"type": "object",
|
|
2115
2159
|
"properties": {
|
|
@@ -1590,7 +1590,80 @@
|
|
|
1590
1590
|
"style": {
|
|
1591
1591
|
"anyOf": [
|
|
1592
1592
|
{
|
|
1593
|
-
"
|
|
1593
|
+
"type": "object",
|
|
1594
|
+
"properties": {
|
|
1595
|
+
"letterSpacing": {
|
|
1596
|
+
"anyOf": [
|
|
1597
|
+
{
|
|
1598
|
+
"type": "number"
|
|
1599
|
+
},
|
|
1600
|
+
{
|
|
1601
|
+
"type": "null"
|
|
1602
|
+
}
|
|
1603
|
+
]
|
|
1604
|
+
},
|
|
1605
|
+
"lineHeight": {
|
|
1606
|
+
"anyOf": [
|
|
1607
|
+
{
|
|
1608
|
+
"type": "number",
|
|
1609
|
+
"minimum": 0,
|
|
1610
|
+
"maximum": 10
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
"type": "null"
|
|
1614
|
+
}
|
|
1615
|
+
]
|
|
1616
|
+
},
|
|
1617
|
+
"textTransform": {
|
|
1618
|
+
"anyOf": [
|
|
1619
|
+
{
|
|
1620
|
+
"type": "string",
|
|
1621
|
+
"enum": [
|
|
1622
|
+
"none",
|
|
1623
|
+
"uppercase",
|
|
1624
|
+
"lowercase",
|
|
1625
|
+
"capitalize"
|
|
1626
|
+
]
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
"type": "null"
|
|
1630
|
+
}
|
|
1631
|
+
]
|
|
1632
|
+
},
|
|
1633
|
+
"textDecoration": {
|
|
1634
|
+
"anyOf": [
|
|
1635
|
+
{
|
|
1636
|
+
"type": "string",
|
|
1637
|
+
"enum": [
|
|
1638
|
+
"none",
|
|
1639
|
+
"underline",
|
|
1640
|
+
"line-through"
|
|
1641
|
+
]
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
"type": "null"
|
|
1645
|
+
}
|
|
1646
|
+
]
|
|
1647
|
+
},
|
|
1648
|
+
"gradient": {
|
|
1649
|
+
"anyOf": [
|
|
1650
|
+
{
|
|
1651
|
+
"$ref": "#/$defs/RichTextGradient"
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
"type": "null"
|
|
1655
|
+
}
|
|
1656
|
+
]
|
|
1657
|
+
}
|
|
1658
|
+
},
|
|
1659
|
+
"additionalProperties": false,
|
|
1660
|
+
"required": [
|
|
1661
|
+
"letterSpacing",
|
|
1662
|
+
"lineHeight",
|
|
1663
|
+
"textTransform",
|
|
1664
|
+
"textDecoration",
|
|
1665
|
+
"gradient"
|
|
1666
|
+
]
|
|
1594
1667
|
},
|
|
1595
1668
|
{
|
|
1596
1669
|
"type": "null"
|
|
@@ -1671,10 +1744,10 @@
|
|
|
1671
1744
|
}
|
|
1672
1745
|
]
|
|
1673
1746
|
},
|
|
1674
|
-
"
|
|
1747
|
+
"animation": {
|
|
1675
1748
|
"anyOf": [
|
|
1676
1749
|
{
|
|
1677
|
-
"$ref": "#/$defs/
|
|
1750
|
+
"$ref": "#/$defs/RichCaptionAnimation"
|
|
1678
1751
|
},
|
|
1679
1752
|
{
|
|
1680
1753
|
"type": "null"
|
|
@@ -1695,7 +1768,7 @@
|
|
|
1695
1768
|
"padding",
|
|
1696
1769
|
"align",
|
|
1697
1770
|
"active",
|
|
1698
|
-
"
|
|
1771
|
+
"animation"
|
|
1699
1772
|
]
|
|
1700
1773
|
},
|
|
1701
1774
|
"RichCaptionActive": {
|
|
@@ -1826,7 +1899,7 @@
|
|
|
1826
1899
|
"textDecoration"
|
|
1827
1900
|
]
|
|
1828
1901
|
},
|
|
1829
|
-
"
|
|
1902
|
+
"RichCaptionAnimation": {
|
|
1830
1903
|
"type": "object",
|
|
1831
1904
|
"properties": {
|
|
1832
1905
|
"style": {
|
|
@@ -1822,7 +1822,80 @@
|
|
|
1822
1822
|
"style": {
|
|
1823
1823
|
"anyOf": [
|
|
1824
1824
|
{
|
|
1825
|
-
"
|
|
1825
|
+
"type": "object",
|
|
1826
|
+
"properties": {
|
|
1827
|
+
"letterSpacing": {
|
|
1828
|
+
"anyOf": [
|
|
1829
|
+
{
|
|
1830
|
+
"type": "number"
|
|
1831
|
+
},
|
|
1832
|
+
{
|
|
1833
|
+
"type": "null"
|
|
1834
|
+
}
|
|
1835
|
+
]
|
|
1836
|
+
},
|
|
1837
|
+
"lineHeight": {
|
|
1838
|
+
"anyOf": [
|
|
1839
|
+
{
|
|
1840
|
+
"type": "number",
|
|
1841
|
+
"minimum": 0,
|
|
1842
|
+
"maximum": 10
|
|
1843
|
+
},
|
|
1844
|
+
{
|
|
1845
|
+
"type": "null"
|
|
1846
|
+
}
|
|
1847
|
+
]
|
|
1848
|
+
},
|
|
1849
|
+
"textTransform": {
|
|
1850
|
+
"anyOf": [
|
|
1851
|
+
{
|
|
1852
|
+
"type": "string",
|
|
1853
|
+
"enum": [
|
|
1854
|
+
"none",
|
|
1855
|
+
"uppercase",
|
|
1856
|
+
"lowercase",
|
|
1857
|
+
"capitalize"
|
|
1858
|
+
]
|
|
1859
|
+
},
|
|
1860
|
+
{
|
|
1861
|
+
"type": "null"
|
|
1862
|
+
}
|
|
1863
|
+
]
|
|
1864
|
+
},
|
|
1865
|
+
"textDecoration": {
|
|
1866
|
+
"anyOf": [
|
|
1867
|
+
{
|
|
1868
|
+
"type": "string",
|
|
1869
|
+
"enum": [
|
|
1870
|
+
"none",
|
|
1871
|
+
"underline",
|
|
1872
|
+
"line-through"
|
|
1873
|
+
]
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
"type": "null"
|
|
1877
|
+
}
|
|
1878
|
+
]
|
|
1879
|
+
},
|
|
1880
|
+
"gradient": {
|
|
1881
|
+
"anyOf": [
|
|
1882
|
+
{
|
|
1883
|
+
"$ref": "#/$defs/RichTextGradient"
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
"type": "null"
|
|
1887
|
+
}
|
|
1888
|
+
]
|
|
1889
|
+
}
|
|
1890
|
+
},
|
|
1891
|
+
"additionalProperties": false,
|
|
1892
|
+
"required": [
|
|
1893
|
+
"letterSpacing",
|
|
1894
|
+
"lineHeight",
|
|
1895
|
+
"textTransform",
|
|
1896
|
+
"textDecoration",
|
|
1897
|
+
"gradient"
|
|
1898
|
+
]
|
|
1826
1899
|
},
|
|
1827
1900
|
{
|
|
1828
1901
|
"type": "null"
|
|
@@ -1903,10 +1976,10 @@
|
|
|
1903
1976
|
}
|
|
1904
1977
|
]
|
|
1905
1978
|
},
|
|
1906
|
-
"
|
|
1979
|
+
"animation": {
|
|
1907
1980
|
"anyOf": [
|
|
1908
1981
|
{
|
|
1909
|
-
"$ref": "#/$defs/
|
|
1982
|
+
"$ref": "#/$defs/RichCaptionAnimation"
|
|
1910
1983
|
},
|
|
1911
1984
|
{
|
|
1912
1985
|
"type": "null"
|
|
@@ -1927,7 +2000,7 @@
|
|
|
1927
2000
|
"padding",
|
|
1928
2001
|
"align",
|
|
1929
2002
|
"active",
|
|
1930
|
-
"
|
|
2003
|
+
"animation"
|
|
1931
2004
|
]
|
|
1932
2005
|
},
|
|
1933
2006
|
"RichCaptionActive": {
|
|
@@ -2058,7 +2131,7 @@
|
|
|
2058
2131
|
"textDecoration"
|
|
2059
2132
|
]
|
|
2060
2133
|
},
|
|
2061
|
-
"
|
|
2134
|
+
"RichCaptionAnimation": {
|
|
2062
2135
|
"type": "object",
|
|
2063
2136
|
"properties": {
|
|
2064
2137
|
"style": {
|
|
@@ -2006,7 +2006,80 @@
|
|
|
2006
2006
|
"style": {
|
|
2007
2007
|
"anyOf": [
|
|
2008
2008
|
{
|
|
2009
|
-
"
|
|
2009
|
+
"type": "object",
|
|
2010
|
+
"properties": {
|
|
2011
|
+
"letterSpacing": {
|
|
2012
|
+
"anyOf": [
|
|
2013
|
+
{
|
|
2014
|
+
"type": "number"
|
|
2015
|
+
},
|
|
2016
|
+
{
|
|
2017
|
+
"type": "null"
|
|
2018
|
+
}
|
|
2019
|
+
]
|
|
2020
|
+
},
|
|
2021
|
+
"lineHeight": {
|
|
2022
|
+
"anyOf": [
|
|
2023
|
+
{
|
|
2024
|
+
"type": "number",
|
|
2025
|
+
"minimum": 0,
|
|
2026
|
+
"maximum": 10
|
|
2027
|
+
},
|
|
2028
|
+
{
|
|
2029
|
+
"type": "null"
|
|
2030
|
+
}
|
|
2031
|
+
]
|
|
2032
|
+
},
|
|
2033
|
+
"textTransform": {
|
|
2034
|
+
"anyOf": [
|
|
2035
|
+
{
|
|
2036
|
+
"type": "string",
|
|
2037
|
+
"enum": [
|
|
2038
|
+
"none",
|
|
2039
|
+
"uppercase",
|
|
2040
|
+
"lowercase",
|
|
2041
|
+
"capitalize"
|
|
2042
|
+
]
|
|
2043
|
+
},
|
|
2044
|
+
{
|
|
2045
|
+
"type": "null"
|
|
2046
|
+
}
|
|
2047
|
+
]
|
|
2048
|
+
},
|
|
2049
|
+
"textDecoration": {
|
|
2050
|
+
"anyOf": [
|
|
2051
|
+
{
|
|
2052
|
+
"type": "string",
|
|
2053
|
+
"enum": [
|
|
2054
|
+
"none",
|
|
2055
|
+
"underline",
|
|
2056
|
+
"line-through"
|
|
2057
|
+
]
|
|
2058
|
+
},
|
|
2059
|
+
{
|
|
2060
|
+
"type": "null"
|
|
2061
|
+
}
|
|
2062
|
+
]
|
|
2063
|
+
},
|
|
2064
|
+
"gradient": {
|
|
2065
|
+
"anyOf": [
|
|
2066
|
+
{
|
|
2067
|
+
"$ref": "#/$defs/RichTextGradient"
|
|
2068
|
+
},
|
|
2069
|
+
{
|
|
2070
|
+
"type": "null"
|
|
2071
|
+
}
|
|
2072
|
+
]
|
|
2073
|
+
}
|
|
2074
|
+
},
|
|
2075
|
+
"additionalProperties": false,
|
|
2076
|
+
"required": [
|
|
2077
|
+
"letterSpacing",
|
|
2078
|
+
"lineHeight",
|
|
2079
|
+
"textTransform",
|
|
2080
|
+
"textDecoration",
|
|
2081
|
+
"gradient"
|
|
2082
|
+
]
|
|
2010
2083
|
},
|
|
2011
2084
|
{
|
|
2012
2085
|
"type": "null"
|
|
@@ -2087,10 +2160,10 @@
|
|
|
2087
2160
|
}
|
|
2088
2161
|
]
|
|
2089
2162
|
},
|
|
2090
|
-
"
|
|
2163
|
+
"animation": {
|
|
2091
2164
|
"anyOf": [
|
|
2092
2165
|
{
|
|
2093
|
-
"$ref": "#/$defs/
|
|
2166
|
+
"$ref": "#/$defs/RichCaptionAnimation"
|
|
2094
2167
|
},
|
|
2095
2168
|
{
|
|
2096
2169
|
"type": "null"
|
|
@@ -2111,7 +2184,7 @@
|
|
|
2111
2184
|
"padding",
|
|
2112
2185
|
"align",
|
|
2113
2186
|
"active",
|
|
2114
|
-
"
|
|
2187
|
+
"animation"
|
|
2115
2188
|
]
|
|
2116
2189
|
},
|
|
2117
2190
|
"RichCaptionActive": {
|
|
@@ -2242,7 +2315,7 @@
|
|
|
2242
2315
|
"textDecoration"
|
|
2243
2316
|
]
|
|
2244
2317
|
},
|
|
2245
|
-
"
|
|
2318
|
+
"RichCaptionAnimation": {
|
|
2246
2319
|
"type": "object",
|
|
2247
2320
|
"properties": {
|
|
2248
2321
|
"style": {
|