@shotstack/schemas 1.8.6 → 1.8.7
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 +50 -75
- package/dist/json-schema/asset.json +95 -101
- package/dist/json-schema/clip.json +95 -101
- package/dist/json-schema/edit.json +95 -101
- package/dist/json-schema/rich-caption-asset.json +234 -240
- package/dist/json-schema/schemas.json +103 -111
- package/dist/json-schema/timeline.json +95 -101
- package/dist/json-schema/track.json +95 -101
- package/dist/schema.d.ts +40 -47
- package/dist/zod/zod.gen.cjs +31 -51
- package/dist/zod/zod.gen.d.ts +494 -1158
- package/dist/zod/zod.gen.js +26 -46
- package/dist/zod/zod.gen.ts +15 -18
- package/package.json +1 -1
- package/dist/json-schema/word-timing.json +0 -44
|
@@ -1910,32 +1910,93 @@
|
|
|
1910
1910
|
"type": "string"
|
|
1911
1911
|
},
|
|
1912
1912
|
"src": {
|
|
1913
|
-
"
|
|
1914
|
-
{
|
|
1915
|
-
"type": "string"
|
|
1916
|
-
},
|
|
1917
|
-
{
|
|
1918
|
-
"type": "null"
|
|
1919
|
-
}
|
|
1920
|
-
]
|
|
1921
|
-
},
|
|
1922
|
-
"words": {
|
|
1923
|
-
"anyOf": [
|
|
1924
|
-
{
|
|
1925
|
-
"type": "array",
|
|
1926
|
-
"items": {
|
|
1927
|
-
"$ref": "#/$defs/WordTiming"
|
|
1928
|
-
}
|
|
1929
|
-
},
|
|
1930
|
-
{
|
|
1931
|
-
"type": "null"
|
|
1932
|
-
}
|
|
1933
|
-
]
|
|
1913
|
+
"type": "string"
|
|
1934
1914
|
},
|
|
1935
1915
|
"font": {
|
|
1936
1916
|
"anyOf": [
|
|
1937
1917
|
{
|
|
1938
|
-
"
|
|
1918
|
+
"type": "object",
|
|
1919
|
+
"properties": {
|
|
1920
|
+
"family": {
|
|
1921
|
+
"anyOf": [
|
|
1922
|
+
{
|
|
1923
|
+
"type": "string",
|
|
1924
|
+
"enum": [
|
|
1925
|
+
"Roboto"
|
|
1926
|
+
]
|
|
1927
|
+
},
|
|
1928
|
+
{
|
|
1929
|
+
"type": "null"
|
|
1930
|
+
}
|
|
1931
|
+
]
|
|
1932
|
+
},
|
|
1933
|
+
"size": {
|
|
1934
|
+
"anyOf": [
|
|
1935
|
+
{
|
|
1936
|
+
"type": "integer",
|
|
1937
|
+
"minimum": 1,
|
|
1938
|
+
"maximum": 500
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
"type": "null"
|
|
1942
|
+
}
|
|
1943
|
+
]
|
|
1944
|
+
},
|
|
1945
|
+
"weight": {
|
|
1946
|
+
"anyOf": [
|
|
1947
|
+
{
|
|
1948
|
+
"type": "string"
|
|
1949
|
+
},
|
|
1950
|
+
{
|
|
1951
|
+
"type": "null"
|
|
1952
|
+
}
|
|
1953
|
+
]
|
|
1954
|
+
},
|
|
1955
|
+
"color": {
|
|
1956
|
+
"anyOf": [
|
|
1957
|
+
{
|
|
1958
|
+
"type": "string",
|
|
1959
|
+
"enum": [
|
|
1960
|
+
"#ffffff"
|
|
1961
|
+
]
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
"type": "null"
|
|
1965
|
+
}
|
|
1966
|
+
]
|
|
1967
|
+
},
|
|
1968
|
+
"opacity": {
|
|
1969
|
+
"anyOf": [
|
|
1970
|
+
{
|
|
1971
|
+
"type": "number",
|
|
1972
|
+
"minimum": 0,
|
|
1973
|
+
"maximum": 1
|
|
1974
|
+
},
|
|
1975
|
+
{
|
|
1976
|
+
"type": "null"
|
|
1977
|
+
}
|
|
1978
|
+
]
|
|
1979
|
+
},
|
|
1980
|
+
"background": {
|
|
1981
|
+
"anyOf": [
|
|
1982
|
+
{
|
|
1983
|
+
"type": "string"
|
|
1984
|
+
},
|
|
1985
|
+
{
|
|
1986
|
+
"type": "null"
|
|
1987
|
+
}
|
|
1988
|
+
]
|
|
1989
|
+
}
|
|
1990
|
+
},
|
|
1991
|
+
"additionalProperties": false,
|
|
1992
|
+
"required": [
|
|
1993
|
+
"family",
|
|
1994
|
+
"size",
|
|
1995
|
+
"weight",
|
|
1996
|
+
"color",
|
|
1997
|
+
"opacity",
|
|
1998
|
+
"background"
|
|
1999
|
+
]
|
|
1939
2000
|
},
|
|
1940
2001
|
{
|
|
1941
2002
|
"type": "null"
|
|
@@ -1982,6 +2043,16 @@
|
|
|
1982
2043
|
}
|
|
1983
2044
|
]
|
|
1984
2045
|
},
|
|
2046
|
+
"border": {
|
|
2047
|
+
"anyOf": [
|
|
2048
|
+
{
|
|
2049
|
+
"$ref": "#/$defs/RichTextAsset/properties/border"
|
|
2050
|
+
},
|
|
2051
|
+
{
|
|
2052
|
+
"type": "null"
|
|
2053
|
+
}
|
|
2054
|
+
]
|
|
2055
|
+
},
|
|
1985
2056
|
"padding": {
|
|
1986
2057
|
"anyOf": [
|
|
1987
2058
|
{
|
|
@@ -2025,99 +2096,22 @@
|
|
|
2025
2096
|
"type": "null"
|
|
2026
2097
|
}
|
|
2027
2098
|
]
|
|
2028
|
-
},
|
|
2029
|
-
"position": {
|
|
2030
|
-
"anyOf": [
|
|
2031
|
-
{
|
|
2032
|
-
"type": "string",
|
|
2033
|
-
"enum": [
|
|
2034
|
-
"top",
|
|
2035
|
-
"center",
|
|
2036
|
-
"bottom"
|
|
2037
|
-
]
|
|
2038
|
-
},
|
|
2039
|
-
{
|
|
2040
|
-
"type": "null"
|
|
2041
|
-
}
|
|
2042
|
-
]
|
|
2043
|
-
},
|
|
2044
|
-
"maxWidth": {
|
|
2045
|
-
"anyOf": [
|
|
2046
|
-
{
|
|
2047
|
-
"type": "number",
|
|
2048
|
-
"minimum": 0.1,
|
|
2049
|
-
"maximum": 1
|
|
2050
|
-
},
|
|
2051
|
-
{
|
|
2052
|
-
"type": "null"
|
|
2053
|
-
}
|
|
2054
|
-
]
|
|
2055
|
-
},
|
|
2056
|
-
"maxLines": {
|
|
2057
|
-
"anyOf": [
|
|
2058
|
-
{
|
|
2059
|
-
"type": "integer",
|
|
2060
|
-
"minimum": 1,
|
|
2061
|
-
"maximum": 10
|
|
2062
|
-
},
|
|
2063
|
-
{
|
|
2064
|
-
"type": "null"
|
|
2065
|
-
}
|
|
2066
|
-
]
|
|
2067
2099
|
}
|
|
2068
2100
|
},
|
|
2069
2101
|
"additionalProperties": false,
|
|
2070
2102
|
"required": [
|
|
2071
2103
|
"type",
|
|
2072
2104
|
"src",
|
|
2073
|
-
"words",
|
|
2074
2105
|
"font",
|
|
2075
2106
|
"style",
|
|
2076
2107
|
"stroke",
|
|
2077
2108
|
"shadow",
|
|
2078
2109
|
"background",
|
|
2110
|
+
"border",
|
|
2079
2111
|
"padding",
|
|
2080
2112
|
"align",
|
|
2081
2113
|
"active",
|
|
2082
|
-
"wordAnimation"
|
|
2083
|
-
"position",
|
|
2084
|
-
"maxWidth",
|
|
2085
|
-
"maxLines"
|
|
2086
|
-
]
|
|
2087
|
-
},
|
|
2088
|
-
"WordTiming": {
|
|
2089
|
-
"type": "object",
|
|
2090
|
-
"properties": {
|
|
2091
|
-
"text": {
|
|
2092
|
-
"type": "string"
|
|
2093
|
-
},
|
|
2094
|
-
"start": {
|
|
2095
|
-
"type": "number",
|
|
2096
|
-
"minimum": 0
|
|
2097
|
-
},
|
|
2098
|
-
"end": {
|
|
2099
|
-
"type": "number",
|
|
2100
|
-
"minimum": 0
|
|
2101
|
-
},
|
|
2102
|
-
"confidence": {
|
|
2103
|
-
"anyOf": [
|
|
2104
|
-
{
|
|
2105
|
-
"type": "number",
|
|
2106
|
-
"minimum": 0,
|
|
2107
|
-
"maximum": 1
|
|
2108
|
-
},
|
|
2109
|
-
{
|
|
2110
|
-
"type": "null"
|
|
2111
|
-
}
|
|
2112
|
-
]
|
|
2113
|
-
}
|
|
2114
|
-
},
|
|
2115
|
-
"additionalProperties": false,
|
|
2116
|
-
"required": [
|
|
2117
|
-
"text",
|
|
2118
|
-
"start",
|
|
2119
|
-
"end",
|
|
2120
|
-
"confidence"
|
|
2114
|
+
"wordAnimation"
|
|
2121
2115
|
]
|
|
2122
2116
|
},
|
|
2123
2117
|
"RichCaptionActive": {
|