@shotstack/schemas 1.8.5 → 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 +36 -54
- package/dist/zod/zod.gen.d.ts +1130 -1362
- package/dist/zod/zod.gen.js +31 -49
- package/dist/zod/zod.gen.ts +20 -21
- package/package.json +1 -1
- package/dist/json-schema/word-timing.json +0 -44
package/dist/api.bundled.json
CHANGED
|
@@ -1919,22 +1919,56 @@
|
|
|
1919
1919
|
"type": "string"
|
|
1920
1920
|
},
|
|
1921
1921
|
"src": {
|
|
1922
|
-
"description": "The URL to an SRT or VTT subtitles file, or an alias reference to auto-generate captions from an audio or video clip. For file URLs, the URL must be publicly accessible or include credentials. For auto-captioning, use the format `alias://clip-name` where clip-name is the alias of an audio, video, or text-to-speech clip.
|
|
1922
|
+
"description": "The URL to an SRT or VTT subtitles file, or an alias reference to auto-generate captions from an audio or video clip. For file URLs, the URL must be publicly accessible or include credentials. For auto-captioning, use the format `alias://clip-name` where clip-name is the alias of an audio, video, or text-to-speech clip.",
|
|
1923
1923
|
"type": "string",
|
|
1924
1924
|
"minLength": 1,
|
|
1925
1925
|
"example": "alias://audio"
|
|
1926
1926
|
},
|
|
1927
|
-
"words": {
|
|
1928
|
-
"description": "Pre-provided word-level timing data. Use this instead of `src` when you have word timestamps from an external source. Mutually exclusive with `src`.",
|
|
1929
|
-
"type": "array",
|
|
1930
|
-
"items": {
|
|
1931
|
-
"$ref": "#/components/schemas/WordTiming"
|
|
1932
|
-
},
|
|
1933
|
-
"maxItems": 100000
|
|
1934
|
-
},
|
|
1935
1927
|
"font": {
|
|
1936
1928
|
"description": "Font styling properties for inactive words.",
|
|
1937
|
-
"
|
|
1929
|
+
"properties": {
|
|
1930
|
+
"family": {
|
|
1931
|
+
"description": "The font family name. This must be the Family name embedded in the font, i.e. \"Roboto\".",
|
|
1932
|
+
"type": "string",
|
|
1933
|
+
"example": "Roboto",
|
|
1934
|
+
"default": "Roboto"
|
|
1935
|
+
},
|
|
1936
|
+
"size": {
|
|
1937
|
+
"description": "The size of the font in pixels (px). Must be between 1 and 500.",
|
|
1938
|
+
"type": "integer",
|
|
1939
|
+
"minimum": 1,
|
|
1940
|
+
"maximum": 500,
|
|
1941
|
+
"default": 24,
|
|
1942
|
+
"example": 48
|
|
1943
|
+
},
|
|
1944
|
+
"weight": {
|
|
1945
|
+
"description": "The weight of the font. Can be a number (100-900) or a string ('normal', 'bold', etc.). 100 is lightest, 900 is heaviest (boldest).",
|
|
1946
|
+
"default": "400"
|
|
1947
|
+
},
|
|
1948
|
+
"color": {
|
|
1949
|
+
"description": "The text color using hexadecimal color notation.",
|
|
1950
|
+
"type": "string",
|
|
1951
|
+
"pattern": "^#[A-Fa-f0-9]{6}$",
|
|
1952
|
+
"default": "#ffffff",
|
|
1953
|
+
"example": "#ffffff"
|
|
1954
|
+
},
|
|
1955
|
+
"opacity": {
|
|
1956
|
+
"description": "The opacity of the text where 1 is opaque and 0 is transparent.",
|
|
1957
|
+
"type": "number",
|
|
1958
|
+
"minimum": 0,
|
|
1959
|
+
"maximum": 1,
|
|
1960
|
+
"default": 1,
|
|
1961
|
+
"example": 0.9
|
|
1962
|
+
},
|
|
1963
|
+
"background": {
|
|
1964
|
+
"description": "The background color behind the text using hexadecimal color notation.",
|
|
1965
|
+
"type": "string",
|
|
1966
|
+
"pattern": "^#[A-Fa-f0-9]{6}$",
|
|
1967
|
+
"example": "#000000"
|
|
1968
|
+
}
|
|
1969
|
+
},
|
|
1970
|
+
"additionalProperties": false,
|
|
1971
|
+
"type": "object"
|
|
1938
1972
|
},
|
|
1939
1973
|
"style": {
|
|
1940
1974
|
"description": "Text style properties including spacing, line height, and transformations.",
|
|
@@ -1952,6 +1986,10 @@
|
|
|
1952
1986
|
"description": "Background styling properties for the caption bounding box.",
|
|
1953
1987
|
"$ref": "#/components/schemas/RichTextBackground"
|
|
1954
1988
|
},
|
|
1989
|
+
"border": {
|
|
1990
|
+
"description": "Border styling properties for the caption bounding box.",
|
|
1991
|
+
"$ref": "#/components/schemas/RichTextAsset/properties/border"
|
|
1992
|
+
},
|
|
1955
1993
|
"padding": {
|
|
1956
1994
|
"description": "Padding inside the caption bounding box. Can be a single number (applied to all sides) or an object with individual sides.",
|
|
1957
1995
|
"oneOf": [
|
|
@@ -1977,75 +2015,12 @@
|
|
|
1977
2015
|
"wordAnimation": {
|
|
1978
2016
|
"description": "Word-level animation properties controlling how words are highlighted or revealed.",
|
|
1979
2017
|
"$ref": "#/components/schemas/RichCaptionWordAnimation"
|
|
1980
|
-
},
|
|
1981
|
-
"position": {
|
|
1982
|
-
"description": "Vertical position of the caption on screen.",
|
|
1983
|
-
"type": "string",
|
|
1984
|
-
"enum": [
|
|
1985
|
-
"top",
|
|
1986
|
-
"center",
|
|
1987
|
-
"bottom"
|
|
1988
|
-
],
|
|
1989
|
-
"default": "bottom",
|
|
1990
|
-
"example": "bottom"
|
|
1991
|
-
},
|
|
1992
|
-
"maxWidth": {
|
|
1993
|
-
"description": "Maximum width of the caption as a ratio of the frame width. Must be between 0.1 and 1.",
|
|
1994
|
-
"type": "number",
|
|
1995
|
-
"minimum": 0.1,
|
|
1996
|
-
"maximum": 1,
|
|
1997
|
-
"default": 0.9,
|
|
1998
|
-
"example": 0.85
|
|
1999
|
-
},
|
|
2000
|
-
"maxLines": {
|
|
2001
|
-
"description": "Maximum number of lines to display at once. Must be between 1 and 10.",
|
|
2002
|
-
"type": "integer",
|
|
2003
|
-
"minimum": 1,
|
|
2004
|
-
"maximum": 10,
|
|
2005
|
-
"default": 2,
|
|
2006
|
-
"example": 2
|
|
2007
2018
|
}
|
|
2008
2019
|
},
|
|
2009
2020
|
"additionalProperties": false,
|
|
2010
2021
|
"required": [
|
|
2011
|
-
"type"
|
|
2012
|
-
|
|
2013
|
-
},
|
|
2014
|
-
"WordTiming": {
|
|
2015
|
-
"description": "Word-level timing information for caption animation.",
|
|
2016
|
-
"type": "object",
|
|
2017
|
-
"properties": {
|
|
2018
|
-
"text": {
|
|
2019
|
-
"description": "The word text to display.",
|
|
2020
|
-
"type": "string",
|
|
2021
|
-
"minLength": 1,
|
|
2022
|
-
"example": "Hello"
|
|
2023
|
-
},
|
|
2024
|
-
"start": {
|
|
2025
|
-
"description": "Start time of the word in milliseconds.",
|
|
2026
|
-
"type": "number",
|
|
2027
|
-
"minimum": 0,
|
|
2028
|
-
"example": 0
|
|
2029
|
-
},
|
|
2030
|
-
"end": {
|
|
2031
|
-
"description": "End time of the word in milliseconds.",
|
|
2032
|
-
"type": "number",
|
|
2033
|
-
"minimum": 0,
|
|
2034
|
-
"example": 400
|
|
2035
|
-
},
|
|
2036
|
-
"confidence": {
|
|
2037
|
-
"description": "Speech-to-text confidence score between 0 and 1.",
|
|
2038
|
-
"type": "number",
|
|
2039
|
-
"minimum": 0,
|
|
2040
|
-
"maximum": 1,
|
|
2041
|
-
"example": 0.98
|
|
2042
|
-
}
|
|
2043
|
-
},
|
|
2044
|
-
"additionalProperties": false,
|
|
2045
|
-
"required": [
|
|
2046
|
-
"text",
|
|
2047
|
-
"start",
|
|
2048
|
-
"end"
|
|
2022
|
+
"type",
|
|
2023
|
+
"src"
|
|
2049
2024
|
]
|
|
2050
2025
|
},
|
|
2051
2026
|
"RichCaptionActiveFont": {
|
|
@@ -1494,32 +1494,93 @@
|
|
|
1494
1494
|
"type": "string"
|
|
1495
1495
|
},
|
|
1496
1496
|
"src": {
|
|
1497
|
-
"
|
|
1498
|
-
{
|
|
1499
|
-
"type": "string"
|
|
1500
|
-
},
|
|
1501
|
-
{
|
|
1502
|
-
"type": "null"
|
|
1503
|
-
}
|
|
1504
|
-
]
|
|
1505
|
-
},
|
|
1506
|
-
"words": {
|
|
1507
|
-
"anyOf": [
|
|
1508
|
-
{
|
|
1509
|
-
"type": "array",
|
|
1510
|
-
"items": {
|
|
1511
|
-
"$ref": "#/$defs/WordTiming"
|
|
1512
|
-
}
|
|
1513
|
-
},
|
|
1514
|
-
{
|
|
1515
|
-
"type": "null"
|
|
1516
|
-
}
|
|
1517
|
-
]
|
|
1497
|
+
"type": "string"
|
|
1518
1498
|
},
|
|
1519
1499
|
"font": {
|
|
1520
1500
|
"anyOf": [
|
|
1521
1501
|
{
|
|
1522
|
-
"
|
|
1502
|
+
"type": "object",
|
|
1503
|
+
"properties": {
|
|
1504
|
+
"family": {
|
|
1505
|
+
"anyOf": [
|
|
1506
|
+
{
|
|
1507
|
+
"type": "string",
|
|
1508
|
+
"enum": [
|
|
1509
|
+
"Roboto"
|
|
1510
|
+
]
|
|
1511
|
+
},
|
|
1512
|
+
{
|
|
1513
|
+
"type": "null"
|
|
1514
|
+
}
|
|
1515
|
+
]
|
|
1516
|
+
},
|
|
1517
|
+
"size": {
|
|
1518
|
+
"anyOf": [
|
|
1519
|
+
{
|
|
1520
|
+
"type": "integer",
|
|
1521
|
+
"minimum": 1,
|
|
1522
|
+
"maximum": 500
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
"type": "null"
|
|
1526
|
+
}
|
|
1527
|
+
]
|
|
1528
|
+
},
|
|
1529
|
+
"weight": {
|
|
1530
|
+
"anyOf": [
|
|
1531
|
+
{
|
|
1532
|
+
"type": "string"
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
"type": "null"
|
|
1536
|
+
}
|
|
1537
|
+
]
|
|
1538
|
+
},
|
|
1539
|
+
"color": {
|
|
1540
|
+
"anyOf": [
|
|
1541
|
+
{
|
|
1542
|
+
"type": "string",
|
|
1543
|
+
"enum": [
|
|
1544
|
+
"#ffffff"
|
|
1545
|
+
]
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
"type": "null"
|
|
1549
|
+
}
|
|
1550
|
+
]
|
|
1551
|
+
},
|
|
1552
|
+
"opacity": {
|
|
1553
|
+
"anyOf": [
|
|
1554
|
+
{
|
|
1555
|
+
"type": "number",
|
|
1556
|
+
"minimum": 0,
|
|
1557
|
+
"maximum": 1
|
|
1558
|
+
},
|
|
1559
|
+
{
|
|
1560
|
+
"type": "null"
|
|
1561
|
+
}
|
|
1562
|
+
]
|
|
1563
|
+
},
|
|
1564
|
+
"background": {
|
|
1565
|
+
"anyOf": [
|
|
1566
|
+
{
|
|
1567
|
+
"type": "string"
|
|
1568
|
+
},
|
|
1569
|
+
{
|
|
1570
|
+
"type": "null"
|
|
1571
|
+
}
|
|
1572
|
+
]
|
|
1573
|
+
}
|
|
1574
|
+
},
|
|
1575
|
+
"additionalProperties": false,
|
|
1576
|
+
"required": [
|
|
1577
|
+
"family",
|
|
1578
|
+
"size",
|
|
1579
|
+
"weight",
|
|
1580
|
+
"color",
|
|
1581
|
+
"opacity",
|
|
1582
|
+
"background"
|
|
1583
|
+
]
|
|
1523
1584
|
},
|
|
1524
1585
|
{
|
|
1525
1586
|
"type": "null"
|
|
@@ -1566,6 +1627,16 @@
|
|
|
1566
1627
|
}
|
|
1567
1628
|
]
|
|
1568
1629
|
},
|
|
1630
|
+
"border": {
|
|
1631
|
+
"anyOf": [
|
|
1632
|
+
{
|
|
1633
|
+
"$ref": "#/$defs/RichTextAsset/properties/border"
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
"type": "null"
|
|
1637
|
+
}
|
|
1638
|
+
]
|
|
1639
|
+
},
|
|
1569
1640
|
"padding": {
|
|
1570
1641
|
"anyOf": [
|
|
1571
1642
|
{
|
|
@@ -1609,99 +1680,22 @@
|
|
|
1609
1680
|
"type": "null"
|
|
1610
1681
|
}
|
|
1611
1682
|
]
|
|
1612
|
-
},
|
|
1613
|
-
"position": {
|
|
1614
|
-
"anyOf": [
|
|
1615
|
-
{
|
|
1616
|
-
"type": "string",
|
|
1617
|
-
"enum": [
|
|
1618
|
-
"top",
|
|
1619
|
-
"center",
|
|
1620
|
-
"bottom"
|
|
1621
|
-
]
|
|
1622
|
-
},
|
|
1623
|
-
{
|
|
1624
|
-
"type": "null"
|
|
1625
|
-
}
|
|
1626
|
-
]
|
|
1627
|
-
},
|
|
1628
|
-
"maxWidth": {
|
|
1629
|
-
"anyOf": [
|
|
1630
|
-
{
|
|
1631
|
-
"type": "number",
|
|
1632
|
-
"minimum": 0.1,
|
|
1633
|
-
"maximum": 1
|
|
1634
|
-
},
|
|
1635
|
-
{
|
|
1636
|
-
"type": "null"
|
|
1637
|
-
}
|
|
1638
|
-
]
|
|
1639
|
-
},
|
|
1640
|
-
"maxLines": {
|
|
1641
|
-
"anyOf": [
|
|
1642
|
-
{
|
|
1643
|
-
"type": "integer",
|
|
1644
|
-
"minimum": 1,
|
|
1645
|
-
"maximum": 10
|
|
1646
|
-
},
|
|
1647
|
-
{
|
|
1648
|
-
"type": "null"
|
|
1649
|
-
}
|
|
1650
|
-
]
|
|
1651
1683
|
}
|
|
1652
1684
|
},
|
|
1653
1685
|
"additionalProperties": false,
|
|
1654
1686
|
"required": [
|
|
1655
1687
|
"type",
|
|
1656
1688
|
"src",
|
|
1657
|
-
"words",
|
|
1658
1689
|
"font",
|
|
1659
1690
|
"style",
|
|
1660
1691
|
"stroke",
|
|
1661
1692
|
"shadow",
|
|
1662
1693
|
"background",
|
|
1694
|
+
"border",
|
|
1663
1695
|
"padding",
|
|
1664
1696
|
"align",
|
|
1665
1697
|
"active",
|
|
1666
|
-
"wordAnimation"
|
|
1667
|
-
"position",
|
|
1668
|
-
"maxWidth",
|
|
1669
|
-
"maxLines"
|
|
1670
|
-
]
|
|
1671
|
-
},
|
|
1672
|
-
"WordTiming": {
|
|
1673
|
-
"type": "object",
|
|
1674
|
-
"properties": {
|
|
1675
|
-
"text": {
|
|
1676
|
-
"type": "string"
|
|
1677
|
-
},
|
|
1678
|
-
"start": {
|
|
1679
|
-
"type": "number",
|
|
1680
|
-
"minimum": 0
|
|
1681
|
-
},
|
|
1682
|
-
"end": {
|
|
1683
|
-
"type": "number",
|
|
1684
|
-
"minimum": 0
|
|
1685
|
-
},
|
|
1686
|
-
"confidence": {
|
|
1687
|
-
"anyOf": [
|
|
1688
|
-
{
|
|
1689
|
-
"type": "number",
|
|
1690
|
-
"minimum": 0,
|
|
1691
|
-
"maximum": 1
|
|
1692
|
-
},
|
|
1693
|
-
{
|
|
1694
|
-
"type": "null"
|
|
1695
|
-
}
|
|
1696
|
-
]
|
|
1697
|
-
}
|
|
1698
|
-
},
|
|
1699
|
-
"additionalProperties": false,
|
|
1700
|
-
"required": [
|
|
1701
|
-
"text",
|
|
1702
|
-
"start",
|
|
1703
|
-
"end",
|
|
1704
|
-
"confidence"
|
|
1698
|
+
"wordAnimation"
|
|
1705
1699
|
]
|
|
1706
1700
|
},
|
|
1707
1701
|
"RichCaptionActive": {
|
|
@@ -1726,32 +1726,93 @@
|
|
|
1726
1726
|
"type": "string"
|
|
1727
1727
|
},
|
|
1728
1728
|
"src": {
|
|
1729
|
-
"
|
|
1730
|
-
{
|
|
1731
|
-
"type": "string"
|
|
1732
|
-
},
|
|
1733
|
-
{
|
|
1734
|
-
"type": "null"
|
|
1735
|
-
}
|
|
1736
|
-
]
|
|
1737
|
-
},
|
|
1738
|
-
"words": {
|
|
1739
|
-
"anyOf": [
|
|
1740
|
-
{
|
|
1741
|
-
"type": "array",
|
|
1742
|
-
"items": {
|
|
1743
|
-
"$ref": "#/$defs/WordTiming"
|
|
1744
|
-
}
|
|
1745
|
-
},
|
|
1746
|
-
{
|
|
1747
|
-
"type": "null"
|
|
1748
|
-
}
|
|
1749
|
-
]
|
|
1729
|
+
"type": "string"
|
|
1750
1730
|
},
|
|
1751
1731
|
"font": {
|
|
1752
1732
|
"anyOf": [
|
|
1753
1733
|
{
|
|
1754
|
-
"
|
|
1734
|
+
"type": "object",
|
|
1735
|
+
"properties": {
|
|
1736
|
+
"family": {
|
|
1737
|
+
"anyOf": [
|
|
1738
|
+
{
|
|
1739
|
+
"type": "string",
|
|
1740
|
+
"enum": [
|
|
1741
|
+
"Roboto"
|
|
1742
|
+
]
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
"type": "null"
|
|
1746
|
+
}
|
|
1747
|
+
]
|
|
1748
|
+
},
|
|
1749
|
+
"size": {
|
|
1750
|
+
"anyOf": [
|
|
1751
|
+
{
|
|
1752
|
+
"type": "integer",
|
|
1753
|
+
"minimum": 1,
|
|
1754
|
+
"maximum": 500
|
|
1755
|
+
},
|
|
1756
|
+
{
|
|
1757
|
+
"type": "null"
|
|
1758
|
+
}
|
|
1759
|
+
]
|
|
1760
|
+
},
|
|
1761
|
+
"weight": {
|
|
1762
|
+
"anyOf": [
|
|
1763
|
+
{
|
|
1764
|
+
"type": "string"
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
"type": "null"
|
|
1768
|
+
}
|
|
1769
|
+
]
|
|
1770
|
+
},
|
|
1771
|
+
"color": {
|
|
1772
|
+
"anyOf": [
|
|
1773
|
+
{
|
|
1774
|
+
"type": "string",
|
|
1775
|
+
"enum": [
|
|
1776
|
+
"#ffffff"
|
|
1777
|
+
]
|
|
1778
|
+
},
|
|
1779
|
+
{
|
|
1780
|
+
"type": "null"
|
|
1781
|
+
}
|
|
1782
|
+
]
|
|
1783
|
+
},
|
|
1784
|
+
"opacity": {
|
|
1785
|
+
"anyOf": [
|
|
1786
|
+
{
|
|
1787
|
+
"type": "number",
|
|
1788
|
+
"minimum": 0,
|
|
1789
|
+
"maximum": 1
|
|
1790
|
+
},
|
|
1791
|
+
{
|
|
1792
|
+
"type": "null"
|
|
1793
|
+
}
|
|
1794
|
+
]
|
|
1795
|
+
},
|
|
1796
|
+
"background": {
|
|
1797
|
+
"anyOf": [
|
|
1798
|
+
{
|
|
1799
|
+
"type": "string"
|
|
1800
|
+
},
|
|
1801
|
+
{
|
|
1802
|
+
"type": "null"
|
|
1803
|
+
}
|
|
1804
|
+
]
|
|
1805
|
+
}
|
|
1806
|
+
},
|
|
1807
|
+
"additionalProperties": false,
|
|
1808
|
+
"required": [
|
|
1809
|
+
"family",
|
|
1810
|
+
"size",
|
|
1811
|
+
"weight",
|
|
1812
|
+
"color",
|
|
1813
|
+
"opacity",
|
|
1814
|
+
"background"
|
|
1815
|
+
]
|
|
1755
1816
|
},
|
|
1756
1817
|
{
|
|
1757
1818
|
"type": "null"
|
|
@@ -1798,6 +1859,16 @@
|
|
|
1798
1859
|
}
|
|
1799
1860
|
]
|
|
1800
1861
|
},
|
|
1862
|
+
"border": {
|
|
1863
|
+
"anyOf": [
|
|
1864
|
+
{
|
|
1865
|
+
"$ref": "#/$defs/RichTextAsset/properties/border"
|
|
1866
|
+
},
|
|
1867
|
+
{
|
|
1868
|
+
"type": "null"
|
|
1869
|
+
}
|
|
1870
|
+
]
|
|
1871
|
+
},
|
|
1801
1872
|
"padding": {
|
|
1802
1873
|
"anyOf": [
|
|
1803
1874
|
{
|
|
@@ -1841,99 +1912,22 @@
|
|
|
1841
1912
|
"type": "null"
|
|
1842
1913
|
}
|
|
1843
1914
|
]
|
|
1844
|
-
},
|
|
1845
|
-
"position": {
|
|
1846
|
-
"anyOf": [
|
|
1847
|
-
{
|
|
1848
|
-
"type": "string",
|
|
1849
|
-
"enum": [
|
|
1850
|
-
"top",
|
|
1851
|
-
"center",
|
|
1852
|
-
"bottom"
|
|
1853
|
-
]
|
|
1854
|
-
},
|
|
1855
|
-
{
|
|
1856
|
-
"type": "null"
|
|
1857
|
-
}
|
|
1858
|
-
]
|
|
1859
|
-
},
|
|
1860
|
-
"maxWidth": {
|
|
1861
|
-
"anyOf": [
|
|
1862
|
-
{
|
|
1863
|
-
"type": "number",
|
|
1864
|
-
"minimum": 0.1,
|
|
1865
|
-
"maximum": 1
|
|
1866
|
-
},
|
|
1867
|
-
{
|
|
1868
|
-
"type": "null"
|
|
1869
|
-
}
|
|
1870
|
-
]
|
|
1871
|
-
},
|
|
1872
|
-
"maxLines": {
|
|
1873
|
-
"anyOf": [
|
|
1874
|
-
{
|
|
1875
|
-
"type": "integer",
|
|
1876
|
-
"minimum": 1,
|
|
1877
|
-
"maximum": 10
|
|
1878
|
-
},
|
|
1879
|
-
{
|
|
1880
|
-
"type": "null"
|
|
1881
|
-
}
|
|
1882
|
-
]
|
|
1883
1915
|
}
|
|
1884
1916
|
},
|
|
1885
1917
|
"additionalProperties": false,
|
|
1886
1918
|
"required": [
|
|
1887
1919
|
"type",
|
|
1888
1920
|
"src",
|
|
1889
|
-
"words",
|
|
1890
1921
|
"font",
|
|
1891
1922
|
"style",
|
|
1892
1923
|
"stroke",
|
|
1893
1924
|
"shadow",
|
|
1894
1925
|
"background",
|
|
1926
|
+
"border",
|
|
1895
1927
|
"padding",
|
|
1896
1928
|
"align",
|
|
1897
1929
|
"active",
|
|
1898
|
-
"wordAnimation"
|
|
1899
|
-
"position",
|
|
1900
|
-
"maxWidth",
|
|
1901
|
-
"maxLines"
|
|
1902
|
-
]
|
|
1903
|
-
},
|
|
1904
|
-
"WordTiming": {
|
|
1905
|
-
"type": "object",
|
|
1906
|
-
"properties": {
|
|
1907
|
-
"text": {
|
|
1908
|
-
"type": "string"
|
|
1909
|
-
},
|
|
1910
|
-
"start": {
|
|
1911
|
-
"type": "number",
|
|
1912
|
-
"minimum": 0
|
|
1913
|
-
},
|
|
1914
|
-
"end": {
|
|
1915
|
-
"type": "number",
|
|
1916
|
-
"minimum": 0
|
|
1917
|
-
},
|
|
1918
|
-
"confidence": {
|
|
1919
|
-
"anyOf": [
|
|
1920
|
-
{
|
|
1921
|
-
"type": "number",
|
|
1922
|
-
"minimum": 0,
|
|
1923
|
-
"maximum": 1
|
|
1924
|
-
},
|
|
1925
|
-
{
|
|
1926
|
-
"type": "null"
|
|
1927
|
-
}
|
|
1928
|
-
]
|
|
1929
|
-
}
|
|
1930
|
-
},
|
|
1931
|
-
"additionalProperties": false,
|
|
1932
|
-
"required": [
|
|
1933
|
-
"text",
|
|
1934
|
-
"start",
|
|
1935
|
-
"end",
|
|
1936
|
-
"confidence"
|
|
1930
|
+
"wordAnimation"
|
|
1937
1931
|
]
|
|
1938
1932
|
},
|
|
1939
1933
|
"RichCaptionActive": {
|