@nxtedition/types 23.0.61 → 23.0.63

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.
@@ -7,7 +7,7 @@ export function getSchemaByRecordName(name) {
7
7
  version: "3.1",
8
8
  components: {
9
9
  schemas: {
10
- "DomainRows.o1": {
10
+ DomainRows: {
11
11
  type: "object",
12
12
  properties: {
13
13
  rows: {
@@ -24,27 +24,22 @@ export function getSchemaByRecordName(name) {
24
24
  }
25
25
  },
26
26
  schema: {
27
- type: "array",
28
- prefixItems: [
29
- {
30
- $ref: "#/components/schemas/DomainRows.o1"
31
- }
32
- ],
33
- additionalItems: false
27
+ $ref: "#/components/schemas/DomainRows"
34
28
  }
35
29
  };
36
30
  }
37
31
  else if (parsed.type === "domain") {
38
- return _schemasDomainRecord(parsed.domain);
32
+ return _schemaDomainRecord(parsed.domain);
39
33
  }
40
34
  else {
41
- return _schemasExactRecord(parsed.exact);
35
+ return _schemaExactRecord(parsed.exact);
42
36
  }
43
37
  }
44
38
  export function getSchemaByDomain(domain) {
45
- return _schemasDomainRecord(domain);
39
+ return _schemaDomainRecord(domain);
46
40
  }
47
- function _schemasExactRecord(name) {
41
+ // Implemented by the ts-patch transform
42
+ function _schemaExactRecord(name) {
48
43
  {
49
44
  switch (name) {
50
45
  case "asset.assignees": {
@@ -114,11 +109,9 @@ function _schemasExactRecord(name) {
114
109
  }
115
110
  }
116
111
  },
117
- schemas: [
118
- {
119
- $ref: "#/components/schemas/AssetAssigneesRecord"
120
- }
121
- ]
112
+ schema: {
113
+ $ref: "#/components/schemas/AssetAssigneesRecord"
114
+ }
122
115
  };
123
116
  }
124
117
  case "asset.clone": {
@@ -173,11 +166,9 @@ function _schemasExactRecord(name) {
173
166
  }
174
167
  }
175
168
  },
176
- schemas: [
177
- {
178
- $ref: "#/components/schemas/AssetCloneRecord"
179
- }
180
- ]
169
+ schema: {
170
+ $ref: "#/components/schemas/AssetCloneRecord"
171
+ }
181
172
  };
182
173
  }
183
174
  case "asset.deadlines": {
@@ -238,11 +229,9 @@ function _schemasExactRecord(name) {
238
229
  }
239
230
  }
240
231
  },
241
- schemas: [
242
- {
243
- $ref: "#/components/schemas/AssetDeadlinesRecord"
244
- }
245
- ]
232
+ schema: {
233
+ $ref: "#/components/schemas/AssetDeadlinesRecord"
234
+ }
246
235
  };
247
236
  }
248
237
  case "asset.duration": {
@@ -306,11 +295,9 @@ function _schemasExactRecord(name) {
306
295
  }
307
296
  }
308
297
  },
309
- schemas: [
310
- {
311
- $ref: "#/components/schemas/AssetDurationRecord"
312
- }
313
- ]
298
+ schema: {
299
+ $ref: "#/components/schemas/AssetDurationRecord"
300
+ }
314
301
  };
315
302
  }
316
303
  case "asset.dynamicProperties?": {
@@ -516,11 +503,9 @@ function _schemasExactRecord(name) {
516
503
  }
517
504
  }
518
505
  },
519
- schemas: [
520
- {
521
- $ref: "#/components/schemas/AssetDynamicPropertiesProvidedRecord"
522
- }
523
- ]
506
+ schema: {
507
+ $ref: "#/components/schemas/AssetDynamicPropertiesProvidedRecord"
508
+ }
524
509
  };
525
510
  }
526
511
  case "asset.embedding": {
@@ -581,11 +566,9 @@ function _schemasExactRecord(name) {
581
566
  }
582
567
  }
583
568
  },
584
- schemas: [
585
- {
586
- $ref: "#/components/schemas/AssetEmbeddingRecord"
587
- }
588
- ]
569
+ schema: {
570
+ $ref: "#/components/schemas/AssetEmbeddingRecord"
571
+ }
589
572
  };
590
573
  }
591
574
  case "asset.icon": {
@@ -646,11 +629,9 @@ function _schemasExactRecord(name) {
646
629
  }
647
630
  }
648
631
  },
649
- schemas: [
650
- {
651
- $ref: "#/components/schemas/AssetIconRecord"
652
- }
653
- ]
632
+ schema: {
633
+ $ref: "#/components/schemas/AssetIconRecord"
634
+ }
654
635
  };
655
636
  }
656
637
  case "asset.locations": {
@@ -744,11 +725,9 @@ function _schemasExactRecord(name) {
744
725
  }
745
726
  }
746
727
  },
747
- schemas: [
748
- {
749
- $ref: "#/components/schemas/AssetLocationsRecord"
750
- }
751
- ]
728
+ schema: {
729
+ $ref: "#/components/schemas/AssetLocationsRecord"
730
+ }
752
731
  };
753
732
  }
754
733
  case "asset.media": {
@@ -819,11 +798,9 @@ function _schemasExactRecord(name) {
819
798
  }
820
799
  }
821
800
  },
822
- schemas: [
823
- {
824
- $ref: "#/components/schemas/AssetMediaRecord"
825
- }
826
- ]
801
+ schema: {
802
+ $ref: "#/components/schemas/AssetMediaRecord"
803
+ }
827
804
  };
828
805
  }
829
806
  case "asset.tags": {
@@ -893,11 +870,9 @@ function _schemasExactRecord(name) {
893
870
  }
894
871
  }
895
872
  },
896
- schemas: [
897
- {
898
- $ref: "#/components/schemas/AssetTagsRecord"
899
- }
900
- ]
873
+ schema: {
874
+ $ref: "#/components/schemas/AssetTagsRecord"
875
+ }
901
876
  };
902
877
  }
903
878
  case "asset.title": {
@@ -958,11 +933,9 @@ function _schemasExactRecord(name) {
958
933
  }
959
934
  }
960
935
  },
961
- schemas: [
962
- {
963
- $ref: "#/components/schemas/AssetTitleRecord"
964
- }
965
- ]
936
+ schema: {
937
+ $ref: "#/components/schemas/AssetTitleRecord"
938
+ }
966
939
  };
967
940
  }
968
941
  case "asset.types": {
@@ -1004,11 +977,9 @@ function _schemasExactRecord(name) {
1004
977
  }
1005
978
  }
1006
979
  },
1007
- schemas: [
1008
- {
1009
- $ref: "#/components/schemas/AssetTypesRecord"
1010
- }
1011
- ]
980
+ schema: {
981
+ $ref: "#/components/schemas/AssetTypesRecord"
982
+ }
1012
983
  };
1013
984
  }
1014
985
  case "storage.locations?": {
@@ -1148,11 +1119,9 @@ function _schemasExactRecord(name) {
1148
1119
  }
1149
1120
  }
1150
1121
  },
1151
- schemas: [
1152
- {
1153
- $ref: "#/components/schemas/StorageLocationsRecord"
1154
- }
1155
- ]
1122
+ schema: {
1123
+ $ref: "#/components/schemas/StorageLocationsRecord"
1124
+ }
1156
1125
  };
1157
1126
  }
1158
1127
  case "storage.zones?": {
@@ -1185,11 +1154,9 @@ function _schemasExactRecord(name) {
1185
1154
  }
1186
1155
  }
1187
1156
  },
1188
- schemas: [
1189
- {
1190
- $ref: "#/components/schemas/StorageZonesRecord"
1191
- }
1192
- ]
1157
+ schema: {
1158
+ $ref: "#/components/schemas/StorageZonesRecord"
1159
+ }
1193
1160
  };
1194
1161
  }
1195
1162
  case "nxt.status?": {
@@ -1380,11 +1347,9 @@ function _schemasExactRecord(name) {
1380
1347
  }
1381
1348
  }
1382
1349
  },
1383
- schemas: [
1384
- {
1385
- $ref: "#/components/schemas/NxtStatusRecord"
1386
- }
1387
- ]
1350
+ schema: {
1351
+ $ref: "#/components/schemas/NxtStatusRecord"
1352
+ }
1388
1353
  };
1389
1354
  }
1390
1355
  case "media.subtitles": {
@@ -1452,11 +1417,9 @@ function _schemasExactRecord(name) {
1452
1417
  }
1453
1418
  }
1454
1419
  },
1455
- schemas: [
1456
- {
1457
- $ref: "#/components/schemas/MediaSubtitlesRecord"
1458
- }
1459
- ]
1420
+ schema: {
1421
+ $ref: "#/components/schemas/MediaSubtitlesRecord"
1422
+ }
1460
1423
  };
1461
1424
  }
1462
1425
  case "media.subtitles?": {
@@ -1524,11 +1487,225 @@ function _schemasExactRecord(name) {
1524
1487
  }
1525
1488
  }
1526
1489
  },
1527
- schemas: [
1528
- {
1529
- $ref: "#/components/schemas/MediaSubtitlesProvidedRecord"
1490
+ schema: {
1491
+ $ref: "#/components/schemas/MediaSubtitlesProvidedRecord"
1492
+ }
1493
+ };
1494
+ }
1495
+ case "media.transcribe": {
1496
+ return {
1497
+ version: "3.1",
1498
+ components: {
1499
+ schemas: {
1500
+ MediaTranscribeRecord: {
1501
+ type: "object",
1502
+ properties: {
1503
+ engines: {
1504
+ $ref: "#/components/schemas/Recordstringstring"
1505
+ },
1506
+ languages: {
1507
+ $ref: "#/components/schemas/Recordstringstring"
1508
+ },
1509
+ translate: {
1510
+ type: "object",
1511
+ properties: {
1512
+ languages: {
1513
+ $ref: "#/components/schemas/Recordstringstring"
1514
+ }
1515
+ },
1516
+ required: [
1517
+ "languages"
1518
+ ]
1519
+ },
1520
+ replacers: {
1521
+ $ref: "#/components/schemas/RecordstringTranscribeReplacerTranscribeReplacer"
1522
+ }
1523
+ },
1524
+ required: [
1525
+ "engines",
1526
+ "languages"
1527
+ ]
1528
+ },
1529
+ Recordstringstring: {
1530
+ type: "object",
1531
+ properties: {},
1532
+ required: [],
1533
+ description: "Construct a type with a set of properties K of type T",
1534
+ additionalProperties: {
1535
+ type: "string"
1536
+ }
1537
+ },
1538
+ RecordstringTranscribeReplacerTranscribeReplacer: {
1539
+ type: "object",
1540
+ properties: {},
1541
+ required: [],
1542
+ description: "Construct a type with a set of properties K of type T",
1543
+ additionalProperties: {
1544
+ oneOf: [
1545
+ {
1546
+ type: "array",
1547
+ items: {
1548
+ $ref: "#/components/schemas/TranscribeReplacer"
1549
+ }
1550
+ },
1551
+ {
1552
+ $ref: "#/components/schemas/TranscribeReplaceReplacer"
1553
+ },
1554
+ {
1555
+ $ref: "#/components/schemas/TranscribeForEachWordReplacer"
1556
+ }
1557
+ ]
1558
+ }
1559
+ },
1560
+ TranscribeReplacer: {
1561
+ oneOf: [
1562
+ {
1563
+ $ref: "#/components/schemas/TranscribeReplaceReplacer"
1564
+ },
1565
+ {
1566
+ $ref: "#/components/schemas/TranscribeForEachWordReplacer"
1567
+ }
1568
+ ]
1569
+ },
1570
+ TranscribeReplaceReplacer: {
1571
+ type: "object",
1572
+ properties: {
1573
+ type: {
1574
+ "const": "replace"
1575
+ },
1576
+ pattern: {
1577
+ description: "Expression that should return RegExp or string arg to new RegExp"
1578
+ },
1579
+ replacement: {
1580
+ $ref: "#/components/schemas/Nxtpressionstring((...argsunknown)=string)__type"
1581
+ },
1582
+ flags: {
1583
+ type: "string"
1584
+ },
1585
+ _comment: {
1586
+ type: "string"
1587
+ }
1588
+ },
1589
+ required: [
1590
+ "pattern",
1591
+ "replacement"
1592
+ ]
1593
+ },
1594
+ "Nxtpressionstring((...argsunknown)=string)__type": {
1595
+ oneOf: [
1596
+ {
1597
+ type: "string"
1598
+ },
1599
+ {
1600
+ type: "object",
1601
+ properties: {
1602
+ __context: {
1603
+ type: "object",
1604
+ properties: {
1605
+ item: {
1606
+ type: "string"
1607
+ }
1608
+ },
1609
+ required: [
1610
+ "item"
1611
+ ],
1612
+ description: "TS-HACK: this property doesn't really exist on the nxtpression string,\nit is only here to make sure the generic Context won't get stripped."
1613
+ },
1614
+ __returnValue: {
1615
+ type: "string",
1616
+ description: "TS-HACK: this property doesn't really exist on the nxtpression string,\nit is only here to make sure the generic Context won't get stripped."
1617
+ }
1618
+ },
1619
+ required: [
1620
+ "__context",
1621
+ "__returnValue"
1622
+ ]
1623
+ }
1624
+ ]
1625
+ },
1626
+ TranscribeForEachWordReplacer: {
1627
+ type: "object",
1628
+ properties: {
1629
+ type: {
1630
+ "const": "items"
1631
+ },
1632
+ items: {
1633
+ type: "array",
1634
+ items: {
1635
+ type: "string"
1636
+ }
1637
+ },
1638
+ _comment: {
1639
+ type: "string"
1640
+ },
1641
+ replacers: {
1642
+ type: "array",
1643
+ items: {
1644
+ type: "object",
1645
+ properties: {
1646
+ pattern: {
1647
+ description: "Expression that should return RegExp or string arg to new RegExp"
1648
+ },
1649
+ replacement: {
1650
+ $ref: "#/components/schemas/Nxtpressionstring((...argsunknown)=string)__type.o1"
1651
+ },
1652
+ flags: {
1653
+ type: "string"
1654
+ },
1655
+ _comment: {
1656
+ type: "string"
1657
+ }
1658
+ },
1659
+ required: [
1660
+ "pattern",
1661
+ "replacement"
1662
+ ]
1663
+ }
1664
+ }
1665
+ },
1666
+ required: [
1667
+ "type",
1668
+ "items",
1669
+ "replacers"
1670
+ ]
1671
+ },
1672
+ "Nxtpressionstring((...argsunknown)=string)__type.o1": {
1673
+ oneOf: [
1674
+ {
1675
+ type: "string"
1676
+ },
1677
+ {
1678
+ type: "object",
1679
+ properties: {
1680
+ __context: {
1681
+ type: "object",
1682
+ properties: {
1683
+ item: {
1684
+ type: "string"
1685
+ }
1686
+ },
1687
+ required: [
1688
+ "item"
1689
+ ],
1690
+ description: "TS-HACK: this property doesn't really exist on the nxtpression string,\nit is only here to make sure the generic Context won't get stripped."
1691
+ },
1692
+ __returnValue: {
1693
+ type: "string",
1694
+ description: "TS-HACK: this property doesn't really exist on the nxtpression string,\nit is only here to make sure the generic Context won't get stripped."
1695
+ }
1696
+ },
1697
+ required: [
1698
+ "__context",
1699
+ "__returnValue"
1700
+ ]
1701
+ }
1702
+ ]
1703
+ }
1530
1704
  }
1531
- ]
1705
+ },
1706
+ schema: {
1707
+ $ref: "#/components/schemas/MediaTranscribeRecord"
1708
+ }
1532
1709
  };
1533
1710
  }
1534
1711
  case "media.transcribe?": {
@@ -1555,6 +1732,9 @@ function _schemasExactRecord(name) {
1555
1732
  required: [
1556
1733
  "languages"
1557
1734
  ]
1735
+ },
1736
+ replacers: {
1737
+ $ref: "#/components/schemas/RecordstringTranscribeReplacerTranscribeReplacer"
1558
1738
  }
1559
1739
  },
1560
1740
  required: [
@@ -1570,14 +1750,178 @@ function _schemasExactRecord(name) {
1570
1750
  additionalProperties: {
1571
1751
  type: "string"
1572
1752
  }
1753
+ },
1754
+ RecordstringTranscribeReplacerTranscribeReplacer: {
1755
+ type: "object",
1756
+ properties: {},
1757
+ required: [],
1758
+ description: "Construct a type with a set of properties K of type T",
1759
+ additionalProperties: {
1760
+ oneOf: [
1761
+ {
1762
+ type: "array",
1763
+ items: {
1764
+ $ref: "#/components/schemas/TranscribeReplacer"
1765
+ }
1766
+ },
1767
+ {
1768
+ $ref: "#/components/schemas/TranscribeReplaceReplacer"
1769
+ },
1770
+ {
1771
+ $ref: "#/components/schemas/TranscribeForEachWordReplacer"
1772
+ }
1773
+ ]
1774
+ }
1775
+ },
1776
+ TranscribeReplacer: {
1777
+ oneOf: [
1778
+ {
1779
+ $ref: "#/components/schemas/TranscribeReplaceReplacer"
1780
+ },
1781
+ {
1782
+ $ref: "#/components/schemas/TranscribeForEachWordReplacer"
1783
+ }
1784
+ ]
1785
+ },
1786
+ TranscribeReplaceReplacer: {
1787
+ type: "object",
1788
+ properties: {
1789
+ type: {
1790
+ "const": "replace"
1791
+ },
1792
+ pattern: {
1793
+ description: "Expression that should return RegExp or string arg to new RegExp"
1794
+ },
1795
+ replacement: {
1796
+ $ref: "#/components/schemas/Nxtpressionstring((...argsunknown)=string)__type"
1797
+ },
1798
+ flags: {
1799
+ type: "string"
1800
+ },
1801
+ _comment: {
1802
+ type: "string"
1803
+ }
1804
+ },
1805
+ required: [
1806
+ "pattern",
1807
+ "replacement"
1808
+ ]
1809
+ },
1810
+ "Nxtpressionstring((...argsunknown)=string)__type": {
1811
+ oneOf: [
1812
+ {
1813
+ type: "string"
1814
+ },
1815
+ {
1816
+ type: "object",
1817
+ properties: {
1818
+ __context: {
1819
+ type: "object",
1820
+ properties: {
1821
+ item: {
1822
+ type: "string"
1823
+ }
1824
+ },
1825
+ required: [
1826
+ "item"
1827
+ ],
1828
+ description: "TS-HACK: this property doesn't really exist on the nxtpression string,\nit is only here to make sure the generic Context won't get stripped."
1829
+ },
1830
+ __returnValue: {
1831
+ type: "string",
1832
+ description: "TS-HACK: this property doesn't really exist on the nxtpression string,\nit is only here to make sure the generic Context won't get stripped."
1833
+ }
1834
+ },
1835
+ required: [
1836
+ "__context",
1837
+ "__returnValue"
1838
+ ]
1839
+ }
1840
+ ]
1841
+ },
1842
+ TranscribeForEachWordReplacer: {
1843
+ type: "object",
1844
+ properties: {
1845
+ type: {
1846
+ "const": "items"
1847
+ },
1848
+ items: {
1849
+ type: "array",
1850
+ items: {
1851
+ type: "string"
1852
+ }
1853
+ },
1854
+ _comment: {
1855
+ type: "string"
1856
+ },
1857
+ replacers: {
1858
+ type: "array",
1859
+ items: {
1860
+ type: "object",
1861
+ properties: {
1862
+ pattern: {
1863
+ description: "Expression that should return RegExp or string arg to new RegExp"
1864
+ },
1865
+ replacement: {
1866
+ $ref: "#/components/schemas/Nxtpressionstring((...argsunknown)=string)__type.o1"
1867
+ },
1868
+ flags: {
1869
+ type: "string"
1870
+ },
1871
+ _comment: {
1872
+ type: "string"
1873
+ }
1874
+ },
1875
+ required: [
1876
+ "pattern",
1877
+ "replacement"
1878
+ ]
1879
+ }
1880
+ }
1881
+ },
1882
+ required: [
1883
+ "type",
1884
+ "items",
1885
+ "replacers"
1886
+ ]
1887
+ },
1888
+ "Nxtpressionstring((...argsunknown)=string)__type.o1": {
1889
+ oneOf: [
1890
+ {
1891
+ type: "string"
1892
+ },
1893
+ {
1894
+ type: "object",
1895
+ properties: {
1896
+ __context: {
1897
+ type: "object",
1898
+ properties: {
1899
+ item: {
1900
+ type: "string"
1901
+ }
1902
+ },
1903
+ required: [
1904
+ "item"
1905
+ ],
1906
+ description: "TS-HACK: this property doesn't really exist on the nxtpression string,\nit is only here to make sure the generic Context won't get stripped."
1907
+ },
1908
+ __returnValue: {
1909
+ type: "string",
1910
+ description: "TS-HACK: this property doesn't really exist on the nxtpression string,\nit is only here to make sure the generic Context won't get stripped."
1911
+ }
1912
+ },
1913
+ required: [
1914
+ "__context",
1915
+ "__returnValue"
1916
+ ]
1917
+ }
1918
+ ]
1573
1919
  }
1574
1920
  }
1575
1921
  },
1576
- schemas: [
1577
- {
1578
- $ref: "#/components/schemas/MediaTranscribeProvidedRecord"
1579
- }
1580
- ]
1922
+ schema: {
1923
+ $ref: "#/components/schemas/MediaTranscribeProvidedRecord"
1924
+ }
1581
1925
  };
1582
1926
  }
1583
1927
  case "media.fonts?": {
@@ -1662,11 +2006,9 @@ function _schemasExactRecord(name) {
1662
2006
  }
1663
2007
  }
1664
2008
  },
1665
- schemas: [
1666
- {
1667
- $ref: "#/components/schemas/MediaFonts"
1668
- }
1669
- ]
2009
+ schema: {
2010
+ $ref: "#/components/schemas/MediaFonts"
2011
+ }
1670
2012
  };
1671
2013
  }
1672
2014
  case "media.consolidate": {
@@ -1826,17 +2168,41 @@ function _schemasExactRecord(name) {
1826
2168
  style: {
1827
2169
  type: "string",
1828
2170
  description: "Will pick styling from the corresponding `${style}:subtitle-style` asset."
2171
+ },
2172
+ ccconverter: {
2173
+ type: "object",
2174
+ properties: {
2175
+ preset: {
2176
+ type: "string",
2177
+ description: "This is an ID, which will be used to find a matching `${preset}:ccconverter-preset` record,\nwith settings to pass to ccconverter. If not set, `lang` will be used as a preset ID."
2178
+ }
2179
+ },
2180
+ required: []
2181
+ },
2182
+ ass: {
2183
+ type: "object",
2184
+ properties: {
2185
+ futureWordWrapping: {
2186
+ type: "boolean"
2187
+ },
2188
+ scaledBorderAndShadow: {
2189
+ type: "boolean"
2190
+ },
2191
+ enableUnsafeLineSpacingHack: {
2192
+ type: "boolean"
2193
+ }
2194
+ },
2195
+ required: [],
2196
+ description: "Options to pass to encodeASS when generating subtitles for burn-in."
1829
2197
  }
1830
2198
  },
1831
2199
  required: []
1832
2200
  }
1833
2201
  }
1834
2202
  },
1835
- schemas: [
1836
- {
1837
- $ref: "#/components/schemas/MediaConsolidateRecord"
1838
- }
1839
- ]
2203
+ schema: {
2204
+ $ref: "#/components/schemas/MediaConsolidateRecord"
2205
+ }
1840
2206
  };
1841
2207
  }
1842
2208
  case "asset-daemon": {
@@ -1855,11 +2221,9 @@ function _schemasExactRecord(name) {
1855
2221
  }
1856
2222
  }
1857
2223
  },
1858
- schemas: [
1859
- {
1860
- $ref: "#/components/schemas/AssetDaemonRecord"
1861
- }
1862
- ]
2224
+ schema: {
2225
+ $ref: "#/components/schemas/AssetDaemonRecord"
2226
+ }
1863
2227
  };
1864
2228
  }
1865
2229
  case "asset-daemon:user-notify.state": {
@@ -1891,11 +2255,9 @@ function _schemasExactRecord(name) {
1891
2255
  }
1892
2256
  }
1893
2257
  },
1894
- schemas: [
1895
- {
1896
- $ref: "#/components/schemas/AssetDaemonUserNotifyStateRecord"
1897
- }
1898
- ]
2258
+ schema: {
2259
+ $ref: "#/components/schemas/AssetDaemonUserNotifyStateRecord"
2260
+ }
1899
2261
  };
1900
2262
  }
1901
2263
  case "deepstream-replicator.stats?": {
@@ -1973,18 +2335,17 @@ function _schemasExactRecord(name) {
1973
2335
  }
1974
2336
  }
1975
2337
  },
1976
- schemas: [
1977
- {
1978
- $ref: "#/components/schemas/DeepstreamReplicatorStatsRecord"
1979
- }
1980
- ]
2338
+ schema: {
2339
+ $ref: "#/components/schemas/DeepstreamReplicatorStatsRecord"
2340
+ }
1981
2341
  };
1982
2342
  }
1983
2343
  default: throw new Error("Unrecognized name \"" + name + "\"");
1984
2344
  }
1985
2345
  }
1986
2346
  }
1987
- function _schemasDomainRecord(domain) {
2347
+ // Implemented by the ts-patch transform
2348
+ function _schemaDomainRecord(domain) {
1988
2349
  {
1989
2350
  switch (domain) {
1990
2351
  case ":asset.title?": {
@@ -1996,18 +2357,23 @@ function _schemasDomainRecord(domain) {
1996
2357
  type: "object",
1997
2358
  properties: {
1998
2359
  value: {
1999
- type: "string"
2360
+ oneOf: [
2361
+ {
2362
+ type: "null"
2363
+ },
2364
+ {
2365
+ type: "string"
2366
+ }
2367
+ ]
2000
2368
  }
2001
2369
  },
2002
2370
  required: []
2003
2371
  }
2004
2372
  }
2005
2373
  },
2006
- schemas: [
2007
- {
2008
- $ref: "#/components/schemas/AssetTitleProvidedRecord"
2009
- }
2010
- ]
2374
+ schema: {
2375
+ $ref: "#/components/schemas/AssetTitleProvidedRecord"
2376
+ }
2011
2377
  };
2012
2378
  }
2013
2379
  case ":asset.rawTypes?": {
@@ -2029,11 +2395,9 @@ function _schemasDomainRecord(domain) {
2029
2395
  }
2030
2396
  }
2031
2397
  },
2032
- schemas: [
2033
- {
2034
- $ref: "#/components/schemas/AssetRawTypesProvidedRecord"
2035
- }
2036
- ]
2398
+ schema: {
2399
+ $ref: "#/components/schemas/AssetRawTypesProvidedRecord"
2400
+ }
2037
2401
  };
2038
2402
  }
2039
2403
  case ":asset.types?": {
@@ -2055,11 +2419,9 @@ function _schemasDomainRecord(domain) {
2055
2419
  }
2056
2420
  }
2057
2421
  },
2058
- schemas: [
2059
- {
2060
- $ref: "#/components/schemas/AssetTypesProvidedRecord"
2061
- }
2062
- ]
2422
+ schema: {
2423
+ $ref: "#/components/schemas/AssetTypesProvidedRecord"
2424
+ }
2063
2425
  };
2064
2426
  }
2065
2427
  case ":asset.assignees?": {
@@ -2081,11 +2443,9 @@ function _schemasDomainRecord(domain) {
2081
2443
  }
2082
2444
  }
2083
2445
  },
2084
- schemas: [
2085
- {
2086
- $ref: "#/components/schemas/AssetAssigneesProvidedRecord"
2087
- }
2088
- ]
2446
+ schema: {
2447
+ $ref: "#/components/schemas/AssetAssigneesProvidedRecord"
2448
+ }
2089
2449
  };
2090
2450
  }
2091
2451
  case ":asset.refs?": {
@@ -2126,11 +2486,9 @@ function _schemasDomainRecord(domain) {
2126
2486
  }
2127
2487
  }
2128
2488
  },
2129
- schemas: [
2130
- {
2131
- $ref: "#/components/schemas/AssetRefsProvidedRecord"
2132
- }
2133
- ]
2489
+ schema: {
2490
+ $ref: "#/components/schemas/AssetRefsProvidedRecord"
2491
+ }
2134
2492
  };
2135
2493
  }
2136
2494
  case ":asset.tags?": {
@@ -2152,11 +2510,9 @@ function _schemasDomainRecord(domain) {
2152
2510
  }
2153
2511
  }
2154
2512
  },
2155
- schemas: [
2156
- {
2157
- $ref: "#/components/schemas/AssetTagsProvidedRecord"
2158
- }
2159
- ]
2513
+ schema: {
2514
+ $ref: "#/components/schemas/AssetTagsProvidedRecord"
2515
+ }
2160
2516
  };
2161
2517
  }
2162
2518
  case ":asset.fileRefs?": {
@@ -2178,11 +2534,9 @@ function _schemasDomainRecord(domain) {
2178
2534
  }
2179
2535
  }
2180
2536
  },
2181
- schemas: [
2182
- {
2183
- $ref: "#/components/schemas/AssetFileRefsProvidedRecord"
2184
- }
2185
- ]
2537
+ schema: {
2538
+ $ref: "#/components/schemas/AssetFileRefsProvidedRecord"
2539
+ }
2186
2540
  };
2187
2541
  }
2188
2542
  case ":asset.created?": {
@@ -2207,11 +2561,9 @@ function _schemasDomainRecord(domain) {
2207
2561
  }
2208
2562
  }
2209
2563
  },
2210
- schemas: [
2211
- {
2212
- $ref: "#/components/schemas/AssetCreatedProvidedRecord"
2213
- }
2214
- ]
2564
+ schema: {
2565
+ $ref: "#/components/schemas/AssetCreatedProvidedRecord"
2566
+ }
2215
2567
  };
2216
2568
  }
2217
2569
  case ":asset.modified?": {
@@ -2239,11 +2591,9 @@ function _schemasDomainRecord(domain) {
2239
2591
  }
2240
2592
  }
2241
2593
  },
2242
- schemas: [
2243
- {
2244
- $ref: "#/components/schemas/AssetModifiedProvidedRecord"
2245
- }
2246
- ]
2594
+ schema: {
2595
+ $ref: "#/components/schemas/AssetModifiedProvidedRecord"
2596
+ }
2247
2597
  };
2248
2598
  }
2249
2599
  case ":asset.status?": {
@@ -2304,11 +2654,9 @@ function _schemasDomainRecord(domain) {
2304
2654
  }
2305
2655
  }
2306
2656
  },
2307
- schemas: [
2308
- {
2309
- $ref: "#/components/schemas/AssetDomainStatusProvidedRecord"
2310
- }
2311
- ]
2657
+ schema: {
2658
+ $ref: "#/components/schemas/AssetDomainStatusProvidedRecord"
2659
+ }
2312
2660
  };
2313
2661
  }
2314
2662
  case ":asset.icon?": {
@@ -2334,11 +2682,9 @@ function _schemasDomainRecord(domain) {
2334
2682
  }
2335
2683
  }
2336
2684
  },
2337
- schemas: [
2338
- {
2339
- $ref: "#/components/schemas/AssetDomainIconProvidedRecord"
2340
- }
2341
- ]
2685
+ schema: {
2686
+ $ref: "#/components/schemas/AssetDomainIconProvidedRecord"
2687
+ }
2342
2688
  };
2343
2689
  }
2344
2690
  case ":asset.deadlines?": {
@@ -2360,11 +2706,9 @@ function _schemasDomainRecord(domain) {
2360
2706
  }
2361
2707
  }
2362
2708
  },
2363
- schemas: [
2364
- {
2365
- $ref: "#/components/schemas/AssetDomainDeadlinesProvidedRecord"
2366
- }
2367
- ]
2709
+ schema: {
2710
+ $ref: "#/components/schemas/AssetDomainDeadlinesProvidedRecord"
2711
+ }
2368
2712
  };
2369
2713
  }
2370
2714
  case ":asset.publish?": {
@@ -2386,11 +2730,9 @@ function _schemasDomainRecord(domain) {
2386
2730
  }
2387
2731
  }
2388
2732
  },
2389
- schemas: [
2390
- {
2391
- $ref: "#/components/schemas/AssetDomainPublishProvidedRecord"
2392
- }
2393
- ]
2733
+ schema: {
2734
+ $ref: "#/components/schemas/AssetDomainPublishProvidedRecord"
2735
+ }
2394
2736
  };
2395
2737
  }
2396
2738
  case ":asset.published?": {
@@ -2408,11 +2750,9 @@ function _schemasDomainRecord(domain) {
2408
2750
  }
2409
2751
  }
2410
2752
  },
2411
- schemas: [
2412
- {
2413
- $ref: "#/components/schemas/AssetDomainPublishedProvidedRecord"
2414
- }
2415
- ]
2753
+ schema: {
2754
+ $ref: "#/components/schemas/AssetDomainPublishedProvidedRecord"
2755
+ }
2416
2756
  };
2417
2757
  }
2418
2758
  case ":asset.duration?": {
@@ -2438,11 +2778,9 @@ function _schemasDomainRecord(domain) {
2438
2778
  }
2439
2779
  }
2440
2780
  },
2441
- schemas: [
2442
- {
2443
- $ref: "#/components/schemas/AssetDomainDurationProvidedRecord"
2444
- }
2445
- ]
2781
+ schema: {
2782
+ $ref: "#/components/schemas/AssetDomainDurationProvidedRecord"
2783
+ }
2446
2784
  };
2447
2785
  }
2448
2786
  case ":asset.locations?": {
@@ -2476,11 +2814,9 @@ function _schemasDomainRecord(domain) {
2476
2814
  }
2477
2815
  }
2478
2816
  },
2479
- schemas: [
2480
- {
2481
- $ref: "#/components/schemas/AssetDomainLocationsProvidedRecord"
2482
- }
2483
- ]
2817
+ schema: {
2818
+ $ref: "#/components/schemas/AssetDomainLocationsProvidedRecord"
2819
+ }
2484
2820
  };
2485
2821
  }
2486
2822
  case ":asset.controllers?": {
@@ -2502,11 +2838,9 @@ function _schemasDomainRecord(domain) {
2502
2838
  }
2503
2839
  }
2504
2840
  },
2505
- schemas: [
2506
- {
2507
- $ref: "#/components/schemas/AssetDomainControllersProvidedRecord"
2508
- }
2509
- ]
2841
+ schema: {
2842
+ $ref: "#/components/schemas/AssetDomainControllersProvidedRecord"
2843
+ }
2510
2844
  };
2511
2845
  }
2512
2846
  case ":asset.embedding?": {
@@ -2528,11 +2862,9 @@ function _schemasDomainRecord(domain) {
2528
2862
  }
2529
2863
  }
2530
2864
  },
2531
- schemas: [
2532
- {
2533
- $ref: "#/components/schemas/AssetDomainEmbeddingProvidedRecord"
2534
- }
2535
- ]
2865
+ schema: {
2866
+ $ref: "#/components/schemas/AssetDomainEmbeddingProvidedRecord"
2867
+ }
2536
2868
  };
2537
2869
  }
2538
2870
  case ":asset.media?": {
@@ -2548,11 +2880,9 @@ function _schemasDomainRecord(domain) {
2548
2880
  }
2549
2881
  }
2550
2882
  },
2551
- schemas: [
2552
- {
2553
- $ref: "#/components/schemas/AssetDomainMediaProvidedRecord"
2554
- }
2555
- ]
2883
+ schema: {
2884
+ $ref: "#/components/schemas/AssetDomainMediaProvidedRecord"
2885
+ }
2556
2886
  };
2557
2887
  }
2558
2888
  case ":asset.presence?": {
@@ -2574,11 +2904,9 @@ function _schemasDomainRecord(domain) {
2574
2904
  }
2575
2905
  }
2576
2906
  },
2577
- schemas: [
2578
- {
2579
- $ref: "#/components/schemas/AssetDomainPresenceProvidedRecord"
2580
- }
2581
- ]
2907
+ schema: {
2908
+ $ref: "#/components/schemas/AssetDomainPresenceProvidedRecord"
2909
+ }
2582
2910
  };
2583
2911
  }
2584
2912
  case ":asset.comments?": {
@@ -2601,11 +2929,9 @@ function _schemasDomainRecord(domain) {
2601
2929
  }
2602
2930
  }
2603
2931
  },
2604
- schemas: [
2605
- {
2606
- $ref: "#/components/schemas/AssetCommentsRecord"
2607
- }
2608
- ]
2932
+ schema: {
2933
+ $ref: "#/components/schemas/AssetCommentsRecord"
2934
+ }
2609
2935
  };
2610
2936
  }
2611
2937
  case ":asset.record?": {
@@ -2981,11 +3307,9 @@ function _schemasDomainRecord(domain) {
2981
3307
  }
2982
3308
  }
2983
3309
  },
2984
- schemas: [
2985
- {
2986
- $ref: "#/components/schemas/AssetRecordProvidedRecord"
2987
- }
2988
- ]
3310
+ schema: {
3311
+ $ref: "#/components/schemas/AssetRecordProvidedRecord"
3312
+ }
2989
3313
  };
2990
3314
  }
2991
3315
  case ":auth": {
@@ -3012,11 +3336,9 @@ function _schemasDomainRecord(domain) {
3012
3336
  }
3013
3337
  }
3014
3338
  },
3015
- schemas: [
3016
- {
3017
- $ref: "#/components/schemas/AuthDomainRecord"
3018
- }
3019
- ]
3339
+ schema: {
3340
+ $ref: "#/components/schemas/AuthDomainRecord"
3341
+ }
3020
3342
  };
3021
3343
  }
3022
3344
  case ":bundle": {
@@ -3052,11 +3374,9 @@ function _schemasDomainRecord(domain) {
3052
3374
  }
3053
3375
  }
3054
3376
  },
3055
- schemas: [
3056
- {
3057
- $ref: "#/components/schemas/BundleRecord"
3058
- }
3059
- ]
3377
+ schema: {
3378
+ $ref: "#/components/schemas/BundleRecord"
3379
+ }
3060
3380
  };
3061
3381
  }
3062
3382
  case ":bundle.revisions": {
@@ -3100,11 +3420,9 @@ function _schemasDomainRecord(domain) {
3100
3420
  }
3101
3421
  }
3102
3422
  },
3103
- schemas: [
3104
- {
3105
- $ref: "#/components/schemas/BundleRevisionsRecord"
3106
- }
3107
- ]
3423
+ schema: {
3424
+ $ref: "#/components/schemas/BundleRevisionsRecord"
3425
+ }
3108
3426
  };
3109
3427
  }
3110
3428
  case ":calendarevent": {
@@ -3215,11 +3533,9 @@ function _schemasDomainRecord(domain) {
3215
3533
  }
3216
3534
  }
3217
3535
  },
3218
- schemas: [
3219
- {
3220
- $ref: "#/components/schemas/CalendarEventDomainRecord"
3221
- }
3222
- ]
3536
+ schema: {
3537
+ $ref: "#/components/schemas/CalendarEventDomainRecord"
3538
+ }
3223
3539
  };
3224
3540
  }
3225
3541
  case ":clone": {
@@ -3274,11 +3590,9 @@ function _schemasDomainRecord(domain) {
3274
3590
  }
3275
3591
  }
3276
3592
  },
3277
- schemas: [
3278
- {
3279
- $ref: "#/components/schemas/CloneDomainCloneRecord"
3280
- }
3281
- ]
3593
+ schema: {
3594
+ $ref: "#/components/schemas/CloneDomainCloneRecord"
3595
+ }
3282
3596
  };
3283
3597
  }
3284
3598
  case ":comment-reaction": {
@@ -3307,11 +3621,9 @@ function _schemasDomainRecord(domain) {
3307
3621
  }
3308
3622
  }
3309
3623
  },
3310
- schemas: [
3311
- {
3312
- $ref: "#/components/schemas/CommentReactionDomainRecord"
3313
- }
3314
- ]
3624
+ schema: {
3625
+ $ref: "#/components/schemas/CommentReactionDomainRecord"
3626
+ }
3315
3627
  };
3316
3628
  }
3317
3629
  case ":comment-read-mark": {
@@ -3340,11 +3652,9 @@ function _schemasDomainRecord(domain) {
3340
3652
  }
3341
3653
  }
3342
3654
  },
3343
- schemas: [
3344
- {
3345
- $ref: "#/components/schemas/CommentReadMarkDomainRecord"
3346
- }
3347
- ]
3655
+ schema: {
3656
+ $ref: "#/components/schemas/CommentReadMarkDomainRecord"
3657
+ }
3348
3658
  };
3349
3659
  }
3350
3660
  case ":comment": {
@@ -3666,11 +3976,9 @@ function _schemasDomainRecord(domain) {
3666
3976
  }
3667
3977
  }
3668
3978
  },
3669
- schemas: [
3670
- {
3671
- $ref: "#/components/schemas/CommentDomainCommentRecord"
3672
- }
3673
- ]
3979
+ schema: {
3980
+ $ref: "#/components/schemas/CommentDomainCommentRecord"
3981
+ }
3674
3982
  };
3675
3983
  }
3676
3984
  case ":comment.reactions?": {
@@ -3703,11 +4011,9 @@ function _schemasDomainRecord(domain) {
3703
4011
  }
3704
4012
  }
3705
4013
  },
3706
- schemas: [
3707
- {
3708
- $ref: "#/components/schemas/CommentReactionsProvidedRecord"
3709
- }
3710
- ]
4014
+ schema: {
4015
+ $ref: "#/components/schemas/CommentReactionsProvidedRecord"
4016
+ }
3711
4017
  };
3712
4018
  }
3713
4019
  case ":comment.replies?": {
@@ -3729,11 +4035,9 @@ function _schemasDomainRecord(domain) {
3729
4035
  }
3730
4036
  }
3731
4037
  },
3732
- schemas: [
3733
- {
3734
- $ref: "#/components/schemas/CommentDomainRepliesProvidedRecord"
3735
- }
3736
- ]
4038
+ schema: {
4039
+ $ref: "#/components/schemas/CommentDomainRepliesProvidedRecord"
4040
+ }
3737
4041
  };
3738
4042
  }
3739
4043
  case ":comment.readMarks?": {
@@ -3755,11 +4059,9 @@ function _schemasDomainRecord(domain) {
3755
4059
  }
3756
4060
  }
3757
4061
  },
3758
- schemas: [
3759
- {
3760
- $ref: "#/components/schemas/CommentDomainReadMarksProvidedRecord"
3761
- }
3762
- ]
4062
+ schema: {
4063
+ $ref: "#/components/schemas/CommentDomainReadMarksProvidedRecord"
4064
+ }
3763
4065
  };
3764
4066
  }
3765
4067
  case ":condition": {
@@ -3785,11 +4087,9 @@ function _schemasDomainRecord(domain) {
3785
4087
  }
3786
4088
  }
3787
4089
  },
3788
- schemas: [
3789
- {
3790
- $ref: "#/components/schemas/SearchCondition"
3791
- }
3792
- ]
4090
+ schema: {
4091
+ $ref: "#/components/schemas/SearchCondition"
4092
+ }
3793
4093
  };
3794
4094
  }
3795
4095
  case ":connection": {
@@ -6078,36 +6378,34 @@ function _schemasDomainRecord(domain) {
6078
6378
  }
6079
6379
  }
6080
6380
  },
6081
- schemas: [
6082
- {
6083
- oneOf: [
6084
- {
6085
- $ref: "#/components/schemas/FileConnectionFtpRecord"
6086
- },
6087
- {
6088
- $ref: "#/components/schemas/FileConnectionHttpRecord"
6089
- },
6090
- {
6091
- $ref: "#/components/schemas/FileConnectionS3Record"
6092
- },
6093
- {
6094
- $ref: "#/components/schemas/FileConnectionSmbRecord"
6095
- },
6096
- {
6097
- $ref: "#/components/schemas/FileConnectionSftpRecord"
6098
- },
6099
- {
6100
- $ref: "#/components/schemas/FacebookConnectionRecord"
6101
- },
6102
- {
6103
- $ref: "#/components/schemas/ReutersConnectionRecord"
6104
- },
6105
- {
6106
- $ref: "#/components/schemas/EmptyConnectionRecord"
6107
- }
6108
- ]
6109
- }
6110
- ]
6381
+ schema: {
6382
+ oneOf: [
6383
+ {
6384
+ $ref: "#/components/schemas/FileConnectionFtpRecord"
6385
+ },
6386
+ {
6387
+ $ref: "#/components/schemas/FileConnectionHttpRecord"
6388
+ },
6389
+ {
6390
+ $ref: "#/components/schemas/FileConnectionS3Record"
6391
+ },
6392
+ {
6393
+ $ref: "#/components/schemas/FileConnectionSmbRecord"
6394
+ },
6395
+ {
6396
+ $ref: "#/components/schemas/FileConnectionSftpRecord"
6397
+ },
6398
+ {
6399
+ $ref: "#/components/schemas/FacebookConnectionRecord"
6400
+ },
6401
+ {
6402
+ $ref: "#/components/schemas/ReutersConnectionRecord"
6403
+ },
6404
+ {
6405
+ $ref: "#/components/schemas/EmptyConnectionRecord"
6406
+ }
6407
+ ]
6408
+ }
6111
6409
  };
6112
6410
  }
6113
6411
  case ":connection.methods?": {
@@ -6130,11 +6428,9 @@ function _schemasDomainRecord(domain) {
6130
6428
  }
6131
6429
  }
6132
6430
  },
6133
- schemas: [
6134
- {
6135
- $ref: "#/components/schemas/ConnectionMethodsBase"
6136
- }
6137
- ]
6431
+ schema: {
6432
+ $ref: "#/components/schemas/ConnectionMethodsBase"
6433
+ }
6138
6434
  };
6139
6435
  }
6140
6436
  case ":connection.stats?": {
@@ -6168,11 +6464,9 @@ function _schemasDomainRecord(domain) {
6168
6464
  }
6169
6465
  }
6170
6466
  },
6171
- schemas: [
6172
- {
6173
- $ref: "#/components/schemas/ConnectionStatsBase"
6174
- }
6175
- ]
6467
+ schema: {
6468
+ $ref: "#/components/schemas/ConnectionStatsBase"
6469
+ }
6176
6470
  };
6177
6471
  }
6178
6472
  case ":contact": {
@@ -6212,11 +6506,9 @@ function _schemasDomainRecord(domain) {
6212
6506
  }
6213
6507
  }
6214
6508
  },
6215
- schemas: [
6216
- {
6217
- $ref: "#/components/schemas/ContactRecord"
6218
- }
6219
- ]
6509
+ schema: {
6510
+ $ref: "#/components/schemas/ContactRecord"
6511
+ }
6220
6512
  };
6221
6513
  }
6222
6514
  case ":deepstream.replicate": {
@@ -6251,11 +6543,9 @@ function _schemasDomainRecord(domain) {
6251
6543
  }
6252
6544
  }
6253
6545
  },
6254
- schemas: [
6255
- {
6256
- $ref: "#/components/schemas/DeepstreamDomainReplicateRecord"
6257
- }
6258
- ]
6546
+ schema: {
6547
+ $ref: "#/components/schemas/DeepstreamDomainReplicateRecord"
6548
+ }
6259
6549
  };
6260
6550
  }
6261
6551
  case ":design?": {
@@ -6296,11 +6586,9 @@ function _schemasDomainRecord(domain) {
6296
6586
  }
6297
6587
  }
6298
6588
  },
6299
- schemas: [
6300
- {
6301
- $ref: "#/components/schemas/DesignDomainRecordstringstringunknown"
6302
- }
6303
- ]
6589
+ schema: {
6590
+ $ref: "#/components/schemas/DesignDomainRecordstringstringunknown"
6591
+ }
6304
6592
  };
6305
6593
  }
6306
6594
  case ":device": {
@@ -6331,11 +6619,9 @@ function _schemasDomainRecord(domain) {
6331
6619
  }
6332
6620
  }
6333
6621
  },
6334
- schemas: [
6335
- {
6336
- $ref: "#/components/schemas/DeviceDomainRecord"
6337
- }
6338
- ]
6622
+ schema: {
6623
+ $ref: "#/components/schemas/DeviceDomainRecord"
6624
+ }
6339
6625
  };
6340
6626
  }
6341
6627
  case ":device.status?": {
@@ -6360,11 +6646,9 @@ function _schemasDomainRecord(domain) {
6360
6646
  }
6361
6647
  }
6362
6648
  },
6363
- schemas: [
6364
- {
6365
- $ref: "#/components/schemas/DeviceDomainStatusRecord"
6366
- }
6367
- ]
6649
+ schema: {
6650
+ $ref: "#/components/schemas/DeviceDomainStatusRecord"
6651
+ }
6368
6652
  };
6369
6653
  }
6370
6654
  case ":edit": {
@@ -6407,11 +6691,9 @@ function _schemasDomainRecord(domain) {
6407
6691
  }
6408
6692
  }
6409
6693
  },
6410
- schemas: [
6411
- {
6412
- $ref: "#/components/schemas/EditRecord"
6413
- }
6414
- ]
6694
+ schema: {
6695
+ $ref: "#/components/schemas/EditRecord"
6696
+ }
6415
6697
  };
6416
6698
  }
6417
6699
  case ":event": {
@@ -6496,11 +6778,9 @@ function _schemasDomainRecord(domain) {
6496
6778
  }
6497
6779
  }
6498
6780
  },
6499
- schemas: [
6500
- {
6501
- $ref: "#/components/schemas/EventRecord"
6502
- }
6503
- ]
6781
+ schema: {
6782
+ $ref: "#/components/schemas/EventRecord"
6783
+ }
6504
6784
  };
6505
6785
  }
6506
6786
  case ":event._template?": {
@@ -6539,11 +6819,9 @@ function _schemasDomainRecord(domain) {
6539
6819
  }
6540
6820
  }
6541
6821
  },
6542
- schemas: [
6543
- {
6544
- $ref: "#/components/schemas/EventTemplateRecord"
6545
- }
6546
- ]
6822
+ schema: {
6823
+ $ref: "#/components/schemas/EventTemplateRecord"
6824
+ }
6547
6825
  };
6548
6826
  }
6549
6827
  case ":event.overlay?": {
@@ -6585,6 +6863,22 @@ function _schemasDomainRecord(domain) {
6585
6863
  },
6586
6864
  startTime: {
6587
6865
  type: "number"
6866
+ },
6867
+ shotboxGroup: {
6868
+ oneOf: [
6869
+ {
6870
+ type: "string"
6871
+ },
6872
+ {
6873
+ type: "array",
6874
+ items: {
6875
+ type: "string"
6876
+ }
6877
+ }
6878
+ ]
6879
+ },
6880
+ shotboxVisible: {
6881
+ type: "boolean"
6588
6882
  }
6589
6883
  },
6590
6884
  required: [],
@@ -6630,11 +6924,9 @@ function _schemasDomainRecord(domain) {
6630
6924
  }
6631
6925
  }
6632
6926
  },
6633
- schemas: [
6634
- {
6635
- $ref: "#/components/schemas/EventOverlayRecord"
6636
- }
6637
- ]
6927
+ schema: {
6928
+ $ref: "#/components/schemas/EventOverlayRecord"
6929
+ }
6638
6930
  };
6639
6931
  }
6640
6932
  case ":event.template?": {
@@ -6673,11 +6965,9 @@ function _schemasDomainRecord(domain) {
6673
6965
  }
6674
6966
  }
6675
6967
  },
6676
- schemas: [
6677
- {
6678
- $ref: "#/components/schemas/EventTemplateRecord"
6679
- }
6680
- ]
6968
+ schema: {
6969
+ $ref: "#/components/schemas/EventTemplateRecord"
6970
+ }
6681
6971
  };
6682
6972
  }
6683
6973
  case ":event.duration?": {
@@ -6712,11 +7002,9 @@ function _schemasDomainRecord(domain) {
6712
7002
  }
6713
7003
  }
6714
7004
  },
6715
- schemas: [
6716
- {
6717
- $ref: "#/components/schemas/EventDurationRecord"
6718
- }
6719
- ]
7005
+ schema: {
7006
+ $ref: "#/components/schemas/EventDurationRecord"
7007
+ }
6720
7008
  };
6721
7009
  }
6722
7010
  case ":event.children?": {
@@ -6740,11 +7028,9 @@ function _schemasDomainRecord(domain) {
6740
7028
  }
6741
7029
  }
6742
7030
  },
6743
- schemas: [
6744
- {
6745
- $ref: "#/components/schemas/EventChildrenRecord"
6746
- }
6747
- ]
7031
+ schema: {
7032
+ $ref: "#/components/schemas/EventChildrenRecord"
7033
+ }
6748
7034
  };
6749
7035
  }
6750
7036
  case ":event.props?": {
@@ -6770,6 +7056,22 @@ function _schemasDomainRecord(domain) {
6770
7056
  },
6771
7057
  startTime: {
6772
7058
  type: "number"
7059
+ },
7060
+ shotboxGroup: {
7061
+ oneOf: [
7062
+ {
7063
+ type: "string"
7064
+ },
7065
+ {
7066
+ type: "array",
7067
+ items: {
7068
+ type: "string"
7069
+ }
7070
+ }
7071
+ ]
7072
+ },
7073
+ shotboxVisible: {
7074
+ type: "boolean"
6773
7075
  }
6774
7076
  },
6775
7077
  required: [],
@@ -6815,11 +7117,9 @@ function _schemasDomainRecord(domain) {
6815
7117
  }
6816
7118
  }
6817
7119
  },
6818
- schemas: [
6819
- {
6820
- $ref: "#/components/schemas/EventPropsRecord"
6821
- }
6822
- ]
7120
+ schema: {
7121
+ $ref: "#/components/schemas/EventPropsRecord"
7122
+ }
6823
7123
  };
6824
7124
  }
6825
7125
  case ":file.replicate": {
@@ -6923,11 +7223,9 @@ function _schemasDomainRecord(domain) {
6923
7223
  }
6924
7224
  }
6925
7225
  },
6926
- schemas: [
6927
- {
6928
- $ref: "#/components/schemas/FileReplicateRecord"
6929
- }
6930
- ]
7226
+ schema: {
7227
+ $ref: "#/components/schemas/FileReplicateRecord"
7228
+ }
6931
7229
  };
6932
7230
  }
6933
7231
  case ":file.restrictions": {
@@ -6973,11 +7271,9 @@ function _schemasDomainRecord(domain) {
6973
7271
  }
6974
7272
  }
6975
7273
  },
6976
- schemas: [
6977
- {
6978
- $ref: "#/components/schemas/FileRestrictionsRecord"
6979
- }
6980
- ]
7274
+ schema: {
7275
+ $ref: "#/components/schemas/FileRestrictionsRecord"
7276
+ }
6981
7277
  };
6982
7278
  }
6983
7279
  case ":file.stats?": {
@@ -7241,11 +7537,35 @@ function _schemasDomainRecord(domain) {
7241
7537
  }
7242
7538
  }
7243
7539
  },
7244
- schemas: [
7245
- {
7246
- $ref: "#/components/schemas/FileStats"
7540
+ schema: {
7541
+ $ref: "#/components/schemas/FileStats"
7542
+ }
7543
+ };
7544
+ }
7545
+ case ":folder.items": {
7546
+ return {
7547
+ version: "3.1",
7548
+ components: {
7549
+ schemas: {
7550
+ FolderItemsDomainRecord: {
7551
+ type: "object",
7552
+ properties: {
7553
+ value: {
7554
+ type: "array",
7555
+ items: {
7556
+ type: "string"
7557
+ }
7558
+ }
7559
+ },
7560
+ required: [
7561
+ "value"
7562
+ ]
7563
+ }
7247
7564
  }
7248
- ]
7565
+ },
7566
+ schema: {
7567
+ $ref: "#/components/schemas/FolderItemsDomainRecord"
7568
+ }
7249
7569
  };
7250
7570
  }
7251
7571
  case ":general.title": {
@@ -7264,11 +7584,9 @@ function _schemasDomainRecord(domain) {
7264
7584
  }
7265
7585
  }
7266
7586
  },
7267
- schemas: [
7268
- {
7269
- $ref: "#/components/schemas/GeneralTitleRecord"
7270
- }
7271
- ]
7587
+ schema: {
7588
+ $ref: "#/components/schemas/GeneralTitleRecord"
7589
+ }
7272
7590
  };
7273
7591
  }
7274
7592
  case ":general.tags": {
@@ -7292,11 +7610,9 @@ function _schemasDomainRecord(domain) {
7292
7610
  }
7293
7611
  }
7294
7612
  },
7295
- schemas: [
7296
- {
7297
- $ref: "#/components/schemas/GeneralTagsRecord"
7298
- }
7299
- ]
7613
+ schema: {
7614
+ $ref: "#/components/schemas/GeneralTagsRecord"
7615
+ }
7300
7616
  };
7301
7617
  }
7302
7618
  case ":general.created": {
@@ -7321,11 +7637,9 @@ function _schemasDomainRecord(domain) {
7321
7637
  }
7322
7638
  }
7323
7639
  },
7324
- schemas: [
7325
- {
7326
- $ref: "#/components/schemas/GeneralCreatedRecord"
7327
- }
7328
- ]
7640
+ schema: {
7641
+ $ref: "#/components/schemas/GeneralCreatedRecord"
7642
+ }
7329
7643
  };
7330
7644
  }
7331
7645
  case ":general.poster": {
@@ -7356,11 +7670,9 @@ function _schemasDomainRecord(domain) {
7356
7670
  }
7357
7671
  }
7358
7672
  },
7359
- schemas: [
7360
- {
7361
- $ref: "#/components/schemas/GeneralPosterRecord"
7362
- }
7363
- ]
7673
+ schema: {
7674
+ $ref: "#/components/schemas/GeneralPosterRecord"
7675
+ }
7364
7676
  };
7365
7677
  }
7366
7678
  case ":general.status": {
@@ -7387,11 +7699,9 @@ function _schemasDomainRecord(domain) {
7387
7699
  }
7388
7700
  }
7389
7701
  },
7390
- schemas: [
7391
- {
7392
- $ref: "#/components/schemas/GeneralStatusRecord"
7393
- }
7394
- ]
7702
+ schema: {
7703
+ $ref: "#/components/schemas/GeneralStatusRecord"
7704
+ }
7395
7705
  };
7396
7706
  }
7397
7707
  case ":general.description": {
@@ -7410,11 +7720,9 @@ function _schemasDomainRecord(domain) {
7410
7720
  }
7411
7721
  }
7412
7722
  },
7413
- schemas: [
7414
- {
7415
- $ref: "#/components/schemas/GeneralDescriptionRecord"
7416
- }
7417
- ]
7723
+ schema: {
7724
+ $ref: "#/components/schemas/GeneralDescriptionRecord"
7725
+ }
7418
7726
  };
7419
7727
  }
7420
7728
  case ":general._asset": {
@@ -7457,11 +7765,9 @@ function _schemasDomainRecord(domain) {
7457
7765
  }
7458
7766
  }
7459
7767
  },
7460
- schemas: [
7461
- {
7462
- $ref: "#/components/schemas/GeneralAssetRecord"
7463
- }
7464
- ]
7768
+ schema: {
7769
+ $ref: "#/components/schemas/GeneralAssetRecord"
7770
+ }
7465
7771
  };
7466
7772
  }
7467
7773
  case ":general._embedding": {
@@ -7486,11 +7792,9 @@ function _schemasDomainRecord(domain) {
7486
7792
  }
7487
7793
  }
7488
7794
  },
7489
- schemas: [
7490
- {
7491
- $ref: "#/components/schemas/GeneralEmbeddingRecord"
7492
- }
7493
- ]
7795
+ schema: {
7796
+ $ref: "#/components/schemas/GeneralEmbeddingRecord"
7797
+ }
7494
7798
  };
7495
7799
  }
7496
7800
  case ":harvest": {
@@ -7524,11 +7828,9 @@ function _schemasDomainRecord(domain) {
7524
7828
  }
7525
7829
  }
7526
7830
  },
7527
- schemas: [
7528
- {
7529
- $ref: "#/components/schemas/HarvestDomainRecord"
7530
- }
7531
- ]
7831
+ schema: {
7832
+ $ref: "#/components/schemas/HarvestDomainRecord"
7833
+ }
7532
7834
  };
7533
7835
  }
7534
7836
  case ":ingestclip": {
@@ -7592,11 +7894,9 @@ function _schemasDomainRecord(domain) {
7592
7894
  }
7593
7895
  }
7594
7896
  },
7595
- schemas: [
7596
- {
7597
- $ref: "#/components/schemas/IngestclipDomainRecord"
7598
- }
7599
- ]
7897
+ schema: {
7898
+ $ref: "#/components/schemas/IngestclipDomainRecord"
7899
+ }
7600
7900
  };
7601
7901
  }
7602
7902
  case ":ingestschedule": {
@@ -7769,11 +8069,9 @@ function _schemasDomainRecord(domain) {
7769
8069
  }
7770
8070
  }
7771
8071
  },
7772
- schemas: [
7773
- {
7774
- $ref: "#/components/schemas/IngestScheduleDomainRecord"
7775
- }
7776
- ]
8072
+ schema: {
8073
+ $ref: "#/components/schemas/IngestScheduleDomainRecord"
8074
+ }
7777
8075
  };
7778
8076
  }
7779
8077
  case ":ingestschedule.stats?": {
@@ -7790,11 +8088,9 @@ function _schemasDomainRecord(domain) {
7790
8088
  }
7791
8089
  }
7792
8090
  },
7793
- schemas: [
7794
- {
7795
- $ref: "#/components/schemas/IngestScheduleDomainStatsRecord"
7796
- }
7797
- ]
8091
+ schema: {
8092
+ $ref: "#/components/schemas/IngestScheduleDomainStatsRecord"
8093
+ }
7798
8094
  };
7799
8095
  }
7800
8096
  case ":media.source": {
@@ -7960,6 +8256,9 @@ function _schemasDomainRecord(domain) {
7960
8256
  spacing: {
7961
8257
  type: "string"
7962
8258
  },
8259
+ lineSpacing: {
8260
+ type: "string"
8261
+ },
7963
8262
  angle: {
7964
8263
  type: "string"
7965
8264
  },
@@ -7992,11 +8291,9 @@ function _schemasDomainRecord(domain) {
7992
8291
  }
7993
8292
  }
7994
8293
  },
7995
- schemas: [
7996
- {
7997
- $ref: "#/components/schemas/RenderSceneObject"
7998
- }
7999
- ]
8294
+ schema: {
8295
+ $ref: "#/components/schemas/RenderSceneObject"
8296
+ }
8000
8297
  };
8001
8298
  }
8002
8299
  case ":media.consolidate": {
@@ -8140,17 +8437,41 @@ function _schemasDomainRecord(domain) {
8140
8437
  style: {
8141
8438
  type: "string",
8142
8439
  description: "Will pick styling from the corresponding `${style}:subtitle-style` asset."
8440
+ },
8441
+ ccconverter: {
8442
+ type: "object",
8443
+ properties: {
8444
+ preset: {
8445
+ type: "string",
8446
+ description: "This is an ID, which will be used to find a matching `${preset}:ccconverter-preset` record,\nwith settings to pass to ccconverter. If not set, `lang` will be used as a preset ID."
8447
+ }
8448
+ },
8449
+ required: []
8450
+ },
8451
+ ass: {
8452
+ type: "object",
8453
+ properties: {
8454
+ futureWordWrapping: {
8455
+ type: "boolean"
8456
+ },
8457
+ scaledBorderAndShadow: {
8458
+ type: "boolean"
8459
+ },
8460
+ enableUnsafeLineSpacingHack: {
8461
+ type: "boolean"
8462
+ }
8463
+ },
8464
+ required: [],
8465
+ description: "Options to pass to encodeASS when generating subtitles for burn-in."
8143
8466
  }
8144
8467
  },
8145
8468
  required: []
8146
8469
  }
8147
8470
  }
8148
8471
  },
8149
- schemas: [
8150
- {
8151
- $ref: "#/components/schemas/MediaDomainConsolidateRecord"
8152
- }
8153
- ]
8472
+ schema: {
8473
+ $ref: "#/components/schemas/MediaDomainConsolidateRecord"
8474
+ }
8154
8475
  };
8155
8476
  }
8156
8477
  case ":media.renders?": {
@@ -8192,11 +8513,9 @@ function _schemasDomainRecord(domain) {
8192
8513
  }
8193
8514
  }
8194
8515
  },
8195
- schemas: [
8196
- {
8197
- $ref: "#/components/schemas/MediaRendersRecord"
8198
- }
8199
- ]
8516
+ schema: {
8517
+ $ref: "#/components/schemas/MediaRendersRecord"
8518
+ }
8200
8519
  };
8201
8520
  }
8202
8521
  case ":media.transcriptChanges": {
@@ -8364,11 +8683,9 @@ function _schemasDomainRecord(domain) {
8364
8683
  }
8365
8684
  }
8366
8685
  },
8367
- schemas: [
8368
- {
8369
- $ref: "#/components/schemas/MediaTranscriptChangesRecord"
8370
- }
8371
- ]
8686
+ schema: {
8687
+ $ref: "#/components/schemas/MediaTranscriptChangesRecord"
8688
+ }
8372
8689
  };
8373
8690
  }
8374
8691
  case ":media.font": {
@@ -8387,11 +8704,9 @@ function _schemasDomainRecord(domain) {
8387
8704
  }
8388
8705
  }
8389
8706
  },
8390
- schemas: [
8391
- {
8392
- $ref: "#/components/schemas/MediaFontRecord"
8393
- }
8394
- ]
8707
+ schema: {
8708
+ $ref: "#/components/schemas/MediaFontRecord"
8709
+ }
8395
8710
  };
8396
8711
  }
8397
8712
  case ":media.restrictions?": {
@@ -8441,11 +8756,9 @@ function _schemasDomainRecord(domain) {
8441
8756
  }
8442
8757
  }
8443
8758
  },
8444
- schemas: [
8445
- {
8446
- $ref: "#/components/schemas/MediaRestrictionsRecord"
8447
- }
8448
- ]
8759
+ schema: {
8760
+ $ref: "#/components/schemas/MediaRestrictionsRecord"
8761
+ }
8449
8762
  };
8450
8763
  }
8451
8764
  case ":media.probe?": {
@@ -8605,11 +8918,9 @@ function _schemasDomainRecord(domain) {
8605
8918
  }
8606
8919
  }
8607
8920
  },
8608
- schemas: [
8609
- {
8610
- $ref: "#/components/schemas/MediaProbeRecord"
8611
- }
8612
- ]
8921
+ schema: {
8922
+ $ref: "#/components/schemas/MediaProbeRecord"
8923
+ }
8613
8924
  };
8614
8925
  }
8615
8926
  case ":media.updateSubtitles?": {
@@ -8625,11 +8936,9 @@ function _schemasDomainRecord(domain) {
8625
8936
  }
8626
8937
  }
8627
8938
  },
8628
- schemas: [
8629
- {
8630
- $ref: "#/components/schemas/MediaDomainUpdateSubtitlesRecord"
8631
- }
8632
- ]
8939
+ schema: {
8940
+ $ref: "#/components/schemas/MediaDomainUpdateSubtitlesRecord"
8941
+ }
8633
8942
  };
8634
8943
  }
8635
8944
  case ":media.updateGraphics?": {
@@ -8645,11 +8954,9 @@ function _schemasDomainRecord(domain) {
8645
8954
  }
8646
8955
  }
8647
8956
  },
8648
- schemas: [
8649
- {
8650
- $ref: "#/components/schemas/MediaDomainUpdateGraphicsRecord"
8651
- }
8652
- ]
8957
+ schema: {
8958
+ $ref: "#/components/schemas/MediaDomainUpdateGraphicsRecord"
8959
+ }
8653
8960
  };
8654
8961
  }
8655
8962
  case ":monitor.stats?": {
@@ -9263,11 +9570,9 @@ function _schemasDomainRecord(domain) {
9263
9570
  }
9264
9571
  }
9265
9572
  },
9266
- schemas: [
9267
- {
9268
- $ref: "#/components/schemas/MonitorStatsRecord"
9269
- }
9270
- ]
9573
+ schema: {
9574
+ $ref: "#/components/schemas/MonitorStatsRecord"
9575
+ }
9271
9576
  };
9272
9577
  }
9273
9578
  case ":note": {
@@ -9288,11 +9593,9 @@ function _schemasDomainRecord(domain) {
9288
9593
  }
9289
9594
  }
9290
9595
  },
9291
- schemas: [
9292
- {
9293
- $ref: "#/components/schemas/NoteDomainRecord"
9294
- }
9295
- ]
9596
+ schema: {
9597
+ $ref: "#/components/schemas/NoteDomainRecord"
9598
+ }
9296
9599
  };
9297
9600
  }
9298
9601
  case ":panel": {
@@ -9605,11 +9908,9 @@ function _schemasDomainRecord(domain) {
9605
9908
  }
9606
9909
  }
9607
9910
  },
9608
- schemas: [
9609
- {
9610
- $ref: "#/components/schemas/PanelDomainPanelRecord"
9611
- }
9612
- ]
9911
+ schema: {
9912
+ $ref: "#/components/schemas/PanelDomainPanelRecord"
9913
+ }
9613
9914
  };
9614
9915
  }
9615
9916
  case ":permission?": {
@@ -9702,11 +10003,9 @@ function _schemasDomainRecord(domain) {
9702
10003
  }
9703
10004
  }
9704
10005
  },
9705
- schemas: [
9706
- {
9707
- $ref: "#/components/schemas/ProvidedPermissionRecord"
9708
- }
9709
- ]
10006
+ schema: {
10007
+ $ref: "#/components/schemas/ProvidedPermissionRecord"
10008
+ }
9710
10009
  };
9711
10010
  }
9712
10011
  case ":permission": {
@@ -9785,11 +10084,9 @@ function _schemasDomainRecord(domain) {
9785
10084
  }
9786
10085
  }
9787
10086
  },
9788
- schemas: [
9789
- {
9790
- $ref: "#/components/schemas/PermissionRecordPermisson"
9791
- }
9792
- ]
10087
+ schema: {
10088
+ $ref: "#/components/schemas/PermissionRecordPermisson"
10089
+ }
9793
10090
  };
9794
10091
  }
9795
10092
  case ":pipeline-preset": {
@@ -9861,11 +10158,9 @@ function _schemasDomainRecord(domain) {
9861
10158
  }
9862
10159
  }
9863
10160
  },
9864
- schemas: [
9865
- {
9866
- $ref: "#/components/schemas/PipelinePresetDomainRecord"
9867
- }
9868
- ]
10161
+ schema: {
10162
+ $ref: "#/components/schemas/PipelinePresetDomainRecord"
10163
+ }
9869
10164
  };
9870
10165
  }
9871
10166
  case ":pipeline": {
@@ -9922,11 +10217,9 @@ function _schemasDomainRecord(domain) {
9922
10217
  }
9923
10218
  }
9924
10219
  },
9925
- schemas: [
9926
- {
9927
- $ref: "#/components/schemas/PipelineDomainRecord"
9928
- }
9929
- ]
10220
+ schema: {
10221
+ $ref: "#/components/schemas/PipelineDomainRecord"
10222
+ }
9930
10223
  };
9931
10224
  }
9932
10225
  case ":pipeline.items": {
@@ -9948,11 +10241,9 @@ function _schemasDomainRecord(domain) {
9948
10241
  }
9949
10242
  }
9950
10243
  },
9951
- schemas: [
9952
- {
9953
- $ref: "#/components/schemas/PipelineDomainItemsRecord"
9954
- }
9955
- ]
10244
+ schema: {
10245
+ $ref: "#/components/schemas/PipelineDomainItemsRecord"
10246
+ }
9956
10247
  };
9957
10248
  }
9958
10249
  case ":planning": {
@@ -9978,11 +10269,9 @@ function _schemasDomainRecord(domain) {
9978
10269
  }
9979
10270
  }
9980
10271
  },
9981
- schemas: [
9982
- {
9983
- $ref: "#/components/schemas/PlanningRecord"
9984
- }
9985
- ]
10272
+ schema: {
10273
+ $ref: "#/components/schemas/PlanningRecord"
10274
+ }
9986
10275
  };
9987
10276
  }
9988
10277
  case ":planning.assignees": {
@@ -10004,11 +10293,9 @@ function _schemasDomainRecord(domain) {
10004
10293
  }
10005
10294
  }
10006
10295
  },
10007
- schemas: [
10008
- {
10009
- $ref: "#/components/schemas/PlanningAssigneesRecord"
10010
- }
10011
- ]
10296
+ schema: {
10297
+ $ref: "#/components/schemas/PlanningAssigneesRecord"
10298
+ }
10012
10299
  };
10013
10300
  }
10014
10301
  case ":planning.deadline": {
@@ -10036,11 +10323,9 @@ function _schemasDomainRecord(domain) {
10036
10323
  }
10037
10324
  }
10038
10325
  },
10039
- schemas: [
10040
- {
10041
- $ref: "#/components/schemas/PlanningDeadlineRecord"
10042
- }
10043
- ]
10326
+ schema: {
10327
+ $ref: "#/components/schemas/PlanningDeadlineRecord"
10328
+ }
10044
10329
  };
10045
10330
  }
10046
10331
  case ":prompter": {
@@ -10107,11 +10392,9 @@ function _schemasDomainRecord(domain) {
10107
10392
  }
10108
10393
  }
10109
10394
  },
10110
- schemas: [
10111
- {
10112
- $ref: "#/components/schemas/PrompterDomainRecord"
10113
- }
10114
- ]
10395
+ schema: {
10396
+ $ref: "#/components/schemas/PrompterDomainRecord"
10397
+ }
10115
10398
  };
10116
10399
  }
10117
10400
  case ":publish": {
@@ -10350,6 +10633,9 @@ function _schemasDomainRecord(domain) {
10350
10633
  spacing: {
10351
10634
  type: "string"
10352
10635
  },
10636
+ lineSpacing: {
10637
+ type: "string"
10638
+ },
10353
10639
  angle: {
10354
10640
  type: "string"
10355
10641
  },
@@ -10458,6 +10744,32 @@ function _schemasDomainRecord(domain) {
10458
10744
  style: {
10459
10745
  type: "string",
10460
10746
  description: "Will pick styling from the corresponding `${style}:subtitle-style` asset."
10747
+ },
10748
+ ccconverter: {
10749
+ type: "object",
10750
+ properties: {
10751
+ preset: {
10752
+ type: "string",
10753
+ description: "This is an ID, which will be used to find a matching `${preset}:ccconverter-preset` record,\nwith settings to pass to ccconverter. If not set, `lang` will be used as a preset ID."
10754
+ }
10755
+ },
10756
+ required: []
10757
+ },
10758
+ ass: {
10759
+ type: "object",
10760
+ properties: {
10761
+ futureWordWrapping: {
10762
+ type: "boolean"
10763
+ },
10764
+ scaledBorderAndShadow: {
10765
+ type: "boolean"
10766
+ },
10767
+ enableUnsafeLineSpacingHack: {
10768
+ type: "boolean"
10769
+ }
10770
+ },
10771
+ required: [],
10772
+ description: "Options to pass to encodeASS when generating subtitles for burn-in."
10461
10773
  }
10462
10774
  },
10463
10775
  required: []
@@ -10755,7 +11067,7 @@ function _schemasDomainRecord(domain) {
10755
11067
  $ref: "#/components/schemas/ResolvedFilePublishRender"
10756
11068
  },
10757
11069
  {
10758
- $ref: "#/components/schemas/__type.o10"
11070
+ $ref: "#/components/schemas/__type.o12"
10759
11071
  }
10760
11072
  ]
10761
11073
  },
@@ -10799,11 +11111,11 @@ function _schemasDomainRecord(domain) {
10799
11111
  "type"
10800
11112
  ]
10801
11113
  },
10802
- "__type.o10": {
11114
+ "__type.o12": {
10803
11115
  type: "object",
10804
11116
  properties: {
10805
11117
  __context: {
10806
- $ref: "#/components/schemas/__type.o11",
11118
+ $ref: "#/components/schemas/__type.o13",
10807
11119
  description: "TS-HACK: this property doesn't really exist on the nxtpression string,\nit is only here to make sure the generic Context won't get stripped."
10808
11120
  },
10809
11121
  __returnValue: {
@@ -10816,7 +11128,7 @@ function _schemasDomainRecord(domain) {
10816
11128
  "__returnValue"
10817
11129
  ]
10818
11130
  },
10819
- "__type.o11": {
11131
+ "__type.o13": {
10820
11132
  type: "object",
10821
11133
  properties: {
10822
11134
  publish: {
@@ -10961,27 +11273,25 @@ function _schemasDomainRecord(domain) {
10961
11273
  }
10962
11274
  }
10963
11275
  },
10964
- schemas: [
10965
- {
10966
- oneOf: [
10967
- {
10968
- $ref: "#/components/schemas/EmptyPublishRecord"
10969
- },
10970
- {
10971
- $ref: "#/components/schemas/FacebookPublishRecord"
10972
- },
10973
- {
10974
- $ref: "#/components/schemas/FilePublishRecordLegacy"
10975
- },
10976
- {
10977
- $ref: "#/components/schemas/FilePublishRecord"
10978
- },
10979
- {
10980
- $ref: "#/components/schemas/YoutubePublishRecord"
10981
- }
10982
- ]
10983
- }
10984
- ]
11276
+ schema: {
11277
+ oneOf: [
11278
+ {
11279
+ $ref: "#/components/schemas/EmptyPublishRecord"
11280
+ },
11281
+ {
11282
+ $ref: "#/components/schemas/FacebookPublishRecord"
11283
+ },
11284
+ {
11285
+ $ref: "#/components/schemas/FilePublishRecordLegacy"
11286
+ },
11287
+ {
11288
+ $ref: "#/components/schemas/FilePublishRecord"
11289
+ },
11290
+ {
11291
+ $ref: "#/components/schemas/YoutubePublishRecord"
11292
+ }
11293
+ ]
11294
+ }
10985
11295
  };
10986
11296
  }
10987
11297
  case ":publish.stats?": {
@@ -11091,7 +11401,7 @@ function _schemasDomainRecord(domain) {
11091
11401
  $ref: "#/components/schemas/ResolvedFilePublishRender"
11092
11402
  },
11093
11403
  {
11094
- $ref: "#/components/schemas/__type.o9"
11404
+ $ref: "#/components/schemas/__type.o11"
11095
11405
  }
11096
11406
  ]
11097
11407
  },
@@ -11293,6 +11603,9 @@ function _schemasDomainRecord(domain) {
11293
11603
  spacing: {
11294
11604
  type: "string"
11295
11605
  },
11606
+ lineSpacing: {
11607
+ type: "string"
11608
+ },
11296
11609
  angle: {
11297
11610
  type: "string"
11298
11611
  },
@@ -11401,15 +11714,41 @@ function _schemasDomainRecord(domain) {
11401
11714
  style: {
11402
11715
  type: "string",
11403
11716
  description: "Will pick styling from the corresponding `${style}:subtitle-style` asset."
11717
+ },
11718
+ ccconverter: {
11719
+ type: "object",
11720
+ properties: {
11721
+ preset: {
11722
+ type: "string",
11723
+ description: "This is an ID, which will be used to find a matching `${preset}:ccconverter-preset` record,\nwith settings to pass to ccconverter. If not set, `lang` will be used as a preset ID."
11724
+ }
11725
+ },
11726
+ required: []
11727
+ },
11728
+ ass: {
11729
+ type: "object",
11730
+ properties: {
11731
+ futureWordWrapping: {
11732
+ type: "boolean"
11733
+ },
11734
+ scaledBorderAndShadow: {
11735
+ type: "boolean"
11736
+ },
11737
+ enableUnsafeLineSpacingHack: {
11738
+ type: "boolean"
11739
+ }
11740
+ },
11741
+ required: [],
11742
+ description: "Options to pass to encodeASS when generating subtitles for burn-in."
11404
11743
  }
11405
11744
  },
11406
11745
  required: []
11407
11746
  },
11408
- "__type.o9": {
11747
+ "__type.o11": {
11409
11748
  type: "object",
11410
11749
  properties: {
11411
11750
  __context: {
11412
- $ref: "#/components/schemas/__type.o10",
11751
+ $ref: "#/components/schemas/__type.o12",
11413
11752
  description: "TS-HACK: this property doesn't really exist on the nxtpression string,\nit is only here to make sure the generic Context won't get stripped."
11414
11753
  },
11415
11754
  __returnValue: {
@@ -11422,7 +11761,7 @@ function _schemasDomainRecord(domain) {
11422
11761
  "__returnValue"
11423
11762
  ]
11424
11763
  },
11425
- "__type.o10": {
11764
+ "__type.o12": {
11426
11765
  type: "object",
11427
11766
  properties: {
11428
11767
  publish: {
@@ -11665,21 +12004,19 @@ function _schemasDomainRecord(domain) {
11665
12004
  }
11666
12005
  }
11667
12006
  },
11668
- schemas: [
11669
- {
11670
- oneOf: [
11671
- {
11672
- $ref: "#/components/schemas/FilePublishStatsRecord"
11673
- },
11674
- {
11675
- $ref: "#/components/schemas/FacebookPublishStatsRecord"
11676
- },
11677
- {
11678
- $ref: "#/components/schemas/PublishStatsRecordBase"
11679
- }
11680
- ]
11681
- }
11682
- ]
12007
+ schema: {
12008
+ oneOf: [
12009
+ {
12010
+ $ref: "#/components/schemas/FilePublishStatsRecord"
12011
+ },
12012
+ {
12013
+ $ref: "#/components/schemas/FacebookPublishStatsRecord"
12014
+ },
12015
+ {
12016
+ $ref: "#/components/schemas/PublishStatsRecordBase"
12017
+ }
12018
+ ]
12019
+ }
11683
12020
  };
11684
12021
  }
11685
12022
  case ":publish.methods?": {
@@ -11707,11 +12044,9 @@ function _schemasDomainRecord(domain) {
11707
12044
  }
11708
12045
  }
11709
12046
  },
11710
- schemas: [
11711
- {
11712
- $ref: "#/components/schemas/PublishDomainMethodsRecordBase"
11713
- }
11714
- ]
12047
+ schema: {
12048
+ $ref: "#/components/schemas/PublishDomainMethodsRecordBase"
12049
+ }
11715
12050
  };
11716
12051
  }
11717
12052
  case ":publish.accepts": {
@@ -11728,11 +12063,9 @@ function _schemasDomainRecord(domain) {
11728
12063
  }
11729
12064
  }
11730
12065
  },
11731
- schemas: [
11732
- {
11733
- $ref: "#/components/schemas/PublishDomainAcceptsProvidedRecordBase"
11734
- }
11735
- ]
12066
+ schema: {
12067
+ $ref: "#/components/schemas/PublishDomainAcceptsProvidedRecordBase"
12068
+ }
11736
12069
  };
11737
12070
  }
11738
12071
  case ":published": {
@@ -11793,11 +12126,9 @@ function _schemasDomainRecord(domain) {
11793
12126
  }
11794
12127
  }
11795
12128
  },
11796
- schemas: [
11797
- {
11798
- $ref: "#/components/schemas/PublishedRecord"
11799
- }
11800
- ]
12129
+ schema: {
12130
+ $ref: "#/components/schemas/PublishedRecord"
12131
+ }
11801
12132
  };
11802
12133
  }
11803
12134
  case ":render-preset": {
@@ -11922,17 +12253,41 @@ function _schemasDomainRecord(domain) {
11922
12253
  style: {
11923
12254
  type: "string",
11924
12255
  description: "Will pick styling from the corresponding `${style}:subtitle-style` asset."
12256
+ },
12257
+ ccconverter: {
12258
+ type: "object",
12259
+ properties: {
12260
+ preset: {
12261
+ type: "string",
12262
+ description: "This is an ID, which will be used to find a matching `${preset}:ccconverter-preset` record,\nwith settings to pass to ccconverter. If not set, `lang` will be used as a preset ID."
12263
+ }
12264
+ },
12265
+ required: []
12266
+ },
12267
+ ass: {
12268
+ type: "object",
12269
+ properties: {
12270
+ futureWordWrapping: {
12271
+ type: "boolean"
12272
+ },
12273
+ scaledBorderAndShadow: {
12274
+ type: "boolean"
12275
+ },
12276
+ enableUnsafeLineSpacingHack: {
12277
+ type: "boolean"
12278
+ }
12279
+ },
12280
+ required: [],
12281
+ description: "Options to pass to encodeASS when generating subtitles for burn-in."
11925
12282
  }
11926
12283
  },
11927
12284
  required: []
11928
12285
  }
11929
12286
  }
11930
12287
  },
11931
- schemas: [
11932
- {
11933
- $ref: "#/components/schemas/RenderPresetObject"
11934
- }
11935
- ]
12288
+ schema: {
12289
+ $ref: "#/components/schemas/RenderPresetObject"
12290
+ }
11936
12291
  };
11937
12292
  }
11938
12293
  case ":render.stats?": {
@@ -12667,11 +13022,9 @@ function _schemasDomainRecord(domain) {
12667
13022
  }
12668
13023
  }
12669
13024
  },
12670
- schemas: [
12671
- {
12672
- $ref: "#/components/schemas/RenderDomainStatsRecord"
12673
- }
12674
- ]
13025
+ schema: {
13026
+ $ref: "#/components/schemas/RenderDomainStatsRecord"
13027
+ }
12675
13028
  };
12676
13029
  }
12677
13030
  case ":render.query?": {
@@ -12871,6 +13224,9 @@ function _schemasDomainRecord(domain) {
12871
13224
  spacing: {
12872
13225
  type: "string"
12873
13226
  },
13227
+ lineSpacing: {
13228
+ type: "string"
13229
+ },
12874
13230
  angle: {
12875
13231
  type: "string"
12876
13232
  },
@@ -12979,17 +13335,41 @@ function _schemasDomainRecord(domain) {
12979
13335
  style: {
12980
13336
  type: "string",
12981
13337
  description: "Will pick styling from the corresponding `${style}:subtitle-style` asset."
13338
+ },
13339
+ ccconverter: {
13340
+ type: "object",
13341
+ properties: {
13342
+ preset: {
13343
+ type: "string",
13344
+ description: "This is an ID, which will be used to find a matching `${preset}:ccconverter-preset` record,\nwith settings to pass to ccconverter. If not set, `lang` will be used as a preset ID."
13345
+ }
13346
+ },
13347
+ required: []
13348
+ },
13349
+ ass: {
13350
+ type: "object",
13351
+ properties: {
13352
+ futureWordWrapping: {
13353
+ type: "boolean"
13354
+ },
13355
+ scaledBorderAndShadow: {
13356
+ type: "boolean"
13357
+ },
13358
+ enableUnsafeLineSpacingHack: {
13359
+ type: "boolean"
13360
+ }
13361
+ },
13362
+ required: [],
13363
+ description: "Options to pass to encodeASS when generating subtitles for burn-in."
12982
13364
  }
12983
13365
  },
12984
13366
  required: []
12985
13367
  }
12986
13368
  }
12987
13369
  },
12988
- schemas: [
12989
- {
12990
- $ref: "#/components/schemas/RenderDomainQueryRecord"
12991
- }
12992
- ]
13370
+ schema: {
13371
+ $ref: "#/components/schemas/RenderDomainQueryRecord"
13372
+ }
12993
13373
  };
12994
13374
  }
12995
13375
  case ":render.result?": {
@@ -13033,11 +13413,9 @@ function _schemasDomainRecord(domain) {
13033
13413
  }
13034
13414
  }
13035
13415
  },
13036
- schemas: [
13037
- {
13038
- $ref: "#/components/schemas/RenderDomainResultRecord"
13039
- }
13040
- ]
13416
+ schema: {
13417
+ $ref: "#/components/schemas/RenderDomainResultRecord"
13418
+ }
13041
13419
  };
13042
13420
  }
13043
13421
  case ":render.schedulers?": {
@@ -13058,11 +13436,9 @@ function _schemasDomainRecord(domain) {
13058
13436
  }
13059
13437
  }
13060
13438
  },
13061
- schemas: [
13062
- {
13063
- $ref: "#/components/schemas/RenderDomainSchedulersRecord"
13064
- }
13065
- ]
13439
+ schema: {
13440
+ $ref: "#/components/schemas/RenderDomainSchedulersRecord"
13441
+ }
13066
13442
  };
13067
13443
  }
13068
13444
  case ":revs?": {
@@ -13084,11 +13460,9 @@ function _schemasDomainRecord(domain) {
13084
13460
  }
13085
13461
  }
13086
13462
  },
13087
- schemas: [
13088
- {
13089
- $ref: "#/components/schemas/RevsRecord"
13090
- }
13091
- ]
13463
+ schema: {
13464
+ $ref: "#/components/schemas/RevsRecord"
13465
+ }
13092
13466
  };
13093
13467
  }
13094
13468
  case ":role.tags": {
@@ -13112,11 +13486,9 @@ function _schemasDomainRecord(domain) {
13112
13486
  }
13113
13487
  }
13114
13488
  },
13115
- schemas: [
13116
- {
13117
- $ref: "#/components/schemas/RoleTagsRecord"
13118
- }
13119
- ]
13489
+ schema: {
13490
+ $ref: "#/components/schemas/RoleTagsRecord"
13491
+ }
13120
13492
  };
13121
13493
  }
13122
13494
  case ":script": {
@@ -13154,11 +13526,9 @@ function _schemasDomainRecord(domain) {
13154
13526
  }
13155
13527
  }
13156
13528
  },
13157
- schemas: [
13158
- {
13159
- $ref: "#/components/schemas/ScriptRecord"
13160
- }
13161
- ]
13529
+ schema: {
13530
+ $ref: "#/components/schemas/ScriptRecord"
13531
+ }
13162
13532
  };
13163
13533
  }
13164
13534
  case ":script?": {
@@ -13298,11 +13668,9 @@ function _schemasDomainRecord(domain) {
13298
13668
  }
13299
13669
  }
13300
13670
  },
13301
- schemas: [
13302
- {
13303
- $ref: "#/components/schemas/ScriptEditorStateRecord"
13304
- }
13305
- ]
13671
+ schema: {
13672
+ $ref: "#/components/schemas/ScriptEditorStateRecord"
13673
+ }
13306
13674
  };
13307
13675
  }
13308
13676
  case ":script.revisions?": {
@@ -13341,11 +13709,9 @@ function _schemasDomainRecord(domain) {
13341
13709
  }
13342
13710
  }
13343
13711
  },
13344
- schemas: [
13345
- {
13346
- $ref: "#/components/schemas/ScriptRevisionsRecord"
13347
- }
13348
- ]
13712
+ schema: {
13713
+ $ref: "#/components/schemas/ScriptRevisionsRecord"
13714
+ }
13349
13715
  };
13350
13716
  }
13351
13717
  case ":script.revision": {
@@ -13378,11 +13744,9 @@ function _schemasDomainRecord(domain) {
13378
13744
  }
13379
13745
  }
13380
13746
  },
13381
- schemas: [
13382
- {
13383
- $ref: "#/components/schemas/ScriptRevisionRecord"
13384
- }
13385
- ]
13747
+ schema: {
13748
+ $ref: "#/components/schemas/ScriptRevisionRecord"
13749
+ }
13386
13750
  };
13387
13751
  }
13388
13752
  case ":script.revision?": {
@@ -13534,11 +13898,9 @@ function _schemasDomainRecord(domain) {
13534
13898
  }
13535
13899
  }
13536
13900
  },
13537
- schemas: [
13538
- {
13539
- $ref: "#/components/schemas/ScriptEditorStateRevisionRecord"
13540
- }
13541
- ]
13901
+ schema: {
13902
+ $ref: "#/components/schemas/ScriptEditorStateRevisionRecord"
13903
+ }
13542
13904
  };
13543
13905
  }
13544
13906
  case ":script.content?": {
@@ -13566,7 +13928,10 @@ function _schemasDomainRecord(domain) {
13566
13928
  $ref: "#/components/schemas/EventNodeContent"
13567
13929
  },
13568
13930
  {
13569
- $ref: "#/components/schemas/TextNodeContent"
13931
+ $ref: "#/components/schemas/FormattedTextNodeContent"
13932
+ },
13933
+ {
13934
+ $ref: "#/components/schemas/LinkNodeContent"
13570
13935
  },
13571
13936
  {
13572
13937
  $ref: "#/components/schemas/ListItemNodeContent"
@@ -13613,25 +13978,14 @@ function _schemasDomainRecord(domain) {
13613
13978
  required: [
13614
13979
  "type",
13615
13980
  "id",
13616
- "mixin",
13617
- "children"
13981
+ "mixin"
13618
13982
  ]
13619
13983
  },
13620
- TextNodeContent: {
13984
+ FormattedTextNodeContent: {
13621
13985
  type: "object",
13622
13986
  properties: {
13623
13987
  type: {
13624
- oneOf: [
13625
- {
13626
- "const": "link"
13627
- },
13628
- {
13629
- "const": "text"
13630
- },
13631
- {
13632
- "const": "autolink"
13633
- }
13634
- ]
13988
+ "const": "text"
13635
13989
  },
13636
13990
  text: {
13637
13991
  type: "string"
@@ -13648,6 +14002,31 @@ function _schemasDomainRecord(domain) {
13648
14002
  "text"
13649
14003
  ]
13650
14004
  },
14005
+ LinkNodeContent: {
14006
+ type: "object",
14007
+ properties: {
14008
+ type: {
14009
+ oneOf: [
14010
+ {
14011
+ "const": "link"
14012
+ },
14013
+ {
14014
+ "const": "autolink"
14015
+ }
14016
+ ]
14017
+ },
14018
+ children: {
14019
+ type: "array",
14020
+ items: {
14021
+ $ref: "#/components/schemas/FormattedTextNodeContent"
14022
+ }
14023
+ }
14024
+ },
14025
+ required: [
14026
+ "type",
14027
+ "children"
14028
+ ]
14029
+ },
13651
14030
  ListItemNodeContent: {
13652
14031
  type: "object",
13653
14032
  properties: {
@@ -13673,6 +14052,16 @@ function _schemasDomainRecord(domain) {
13673
14052
  "children"
13674
14053
  ]
13675
14054
  },
14055
+ TextNodeContent: {
14056
+ oneOf: [
14057
+ {
14058
+ $ref: "#/components/schemas/FormattedTextNodeContent"
14059
+ },
14060
+ {
14061
+ $ref: "#/components/schemas/LinkNodeContent"
14062
+ }
14063
+ ]
14064
+ },
13676
14065
  ListNodeContent: {
13677
14066
  type: "object",
13678
14067
  properties: {
@@ -13815,11 +14204,9 @@ function _schemasDomainRecord(domain) {
13815
14204
  }
13816
14205
  }
13817
14206
  },
13818
- schemas: [
13819
- {
13820
- $ref: "#/components/schemas/ScriptContentRecord"
13821
- }
13822
- ]
14207
+ schema: {
14208
+ $ref: "#/components/schemas/ScriptContentRecord"
14209
+ }
13823
14210
  };
13824
14211
  }
13825
14212
  case ":script.text?": {
@@ -13844,11 +14231,9 @@ function _schemasDomainRecord(domain) {
13844
14231
  }
13845
14232
  }
13846
14233
  },
13847
- schemas: [
13848
- {
13849
- $ref: "#/components/schemas/ScriptTextRecord"
13850
- }
13851
- ]
14234
+ schema: {
14235
+ $ref: "#/components/schemas/ScriptTextRecord"
14236
+ }
13852
14237
  };
13853
14238
  }
13854
14239
  case ":script.children": {
@@ -13871,11 +14256,9 @@ function _schemasDomainRecord(domain) {
13871
14256
  }
13872
14257
  }
13873
14258
  },
13874
- schemas: [
13875
- {
13876
- $ref: "#/components/schemas/ScriptChildrenRecord"
13877
- }
13878
- ]
14259
+ schema: {
14260
+ $ref: "#/components/schemas/ScriptChildrenRecord"
14261
+ }
13879
14262
  };
13880
14263
  }
13881
14264
  case ":search": {
@@ -14045,11 +14428,9 @@ function _schemasDomainRecord(domain) {
14045
14428
  }
14046
14429
  }
14047
14430
  },
14048
- schemas: [
14049
- {
14050
- $ref: "#/components/schemas/SearchRecord"
14051
- }
14052
- ]
14431
+ schema: {
14432
+ $ref: "#/components/schemas/SearchRecord"
14433
+ }
14053
14434
  };
14054
14435
  }
14055
14436
  case ":search?": {
@@ -14080,11 +14461,9 @@ function _schemasDomainRecord(domain) {
14080
14461
  }
14081
14462
  }
14082
14463
  },
14083
- schemas: [
14084
- {
14085
- $ref: "#/components/schemas/SearchRecordProvided"
14086
- }
14087
- ]
14464
+ schema: {
14465
+ $ref: "#/components/schemas/SearchRecordProvided"
14466
+ }
14088
14467
  };
14089
14468
  }
14090
14469
  case ":search.conditions": {
@@ -14107,11 +14486,9 @@ function _schemasDomainRecord(domain) {
14107
14486
  }
14108
14487
  }
14109
14488
  },
14110
- schemas: [
14111
- {
14112
- $ref: "#/components/schemas/SearchDomainConditionsRecord"
14113
- }
14114
- ]
14489
+ schema: {
14490
+ $ref: "#/components/schemas/SearchDomainConditionsRecord"
14491
+ }
14115
14492
  };
14116
14493
  }
14117
14494
  case ":search.visibleColumnKeys": {
@@ -14134,11 +14511,9 @@ function _schemasDomainRecord(domain) {
14134
14511
  }
14135
14512
  }
14136
14513
  },
14137
- schemas: [
14138
- {
14139
- $ref: "#/components/schemas/SearchDomainVisibleColumnKeysRecord"
14140
- }
14141
- ]
14514
+ schema: {
14515
+ $ref: "#/components/schemas/SearchDomainVisibleColumnKeysRecord"
14516
+ }
14142
14517
  };
14143
14518
  }
14144
14519
  case ":settings": {
@@ -14478,6 +14853,38 @@ function _schemasDomainRecord(domain) {
14478
14853
  },
14479
14854
  required: []
14480
14855
  }
14856
+ },
14857
+ colorHistory: {
14858
+ type: "array",
14859
+ items: {
14860
+ type: "object",
14861
+ properties: {
14862
+ color: {
14863
+ oneOf: [
14864
+ {
14865
+ type: "null"
14866
+ },
14867
+ {
14868
+ type: "string"
14869
+ }
14870
+ ]
14871
+ },
14872
+ backgroundColor: {
14873
+ oneOf: [
14874
+ {
14875
+ type: "null"
14876
+ },
14877
+ {
14878
+ type: "string"
14879
+ }
14880
+ ]
14881
+ }
14882
+ },
14883
+ required: [
14884
+ "color",
14885
+ "backgroundColor"
14886
+ ]
14887
+ }
14481
14888
  }
14482
14889
  },
14483
14890
  required: []
@@ -14505,9 +14912,21 @@ function _schemasDomainRecord(domain) {
14505
14912
  properties: {
14506
14913
  eventThumbnails: {
14507
14914
  type: "boolean"
14915
+ },
14916
+ scriptEventFolding: {
14917
+ oneOf: [
14918
+ {
14919
+ "const": "folded"
14920
+ },
14921
+ {
14922
+ "const": "unfoldedUntilFolded"
14923
+ }
14924
+ ]
14508
14925
  }
14509
14926
  },
14510
- required: []
14927
+ required: [
14928
+ "scriptEventFolding"
14929
+ ]
14511
14930
  },
14512
14931
  gallery: {
14513
14932
  type: "object",
@@ -14850,6 +15269,9 @@ function _schemasDomainRecord(domain) {
14850
15269
  {
14851
15270
  "const": "spacing"
14852
15271
  },
15272
+ {
15273
+ "const": "lineSpacing"
15274
+ },
14853
15275
  {
14854
15276
  "const": "angle"
14855
15277
  },
@@ -14879,6 +15301,9 @@ function _schemasDomainRecord(domain) {
14879
15301
  }
14880
15302
  ]
14881
15303
  }
15304
+ },
15305
+ previewResolutionScale: {
15306
+ type: "number"
14882
15307
  }
14883
15308
  },
14884
15309
  required: []
@@ -15034,6 +15459,41 @@ function _schemasDomainRecord(domain) {
15034
15459
  }
15035
15460
  ]
15036
15461
  },
15462
+ normalize: {
15463
+ type: "object",
15464
+ properties: {
15465
+ presets: {
15466
+ type: "array",
15467
+ items: {
15468
+ type: "object",
15469
+ properties: {
15470
+ id: {
15471
+ type: "string"
15472
+ },
15473
+ title: {
15474
+ type: "string"
15475
+ },
15476
+ i: {
15477
+ type: "number"
15478
+ },
15479
+ tp: {
15480
+ type: "number"
15481
+ }
15482
+ },
15483
+ required: [
15484
+ "id",
15485
+ "title",
15486
+ "i",
15487
+ "tp"
15488
+ ]
15489
+ }
15490
+ },
15491
+ defaultPresetId: {
15492
+ type: "string"
15493
+ }
15494
+ },
15495
+ required: []
15496
+ },
15037
15497
  voiceOver: {
15038
15498
  type: "object",
15039
15499
  properties: {
@@ -15386,6 +15846,18 @@ function _schemasDomainRecord(domain) {
15386
15846
  clone: {
15387
15847
  type: "object",
15388
15848
  properties: {
15849
+ create: {
15850
+ type: "object",
15851
+ properties: {
15852
+ titlePrefix: {
15853
+ type: "string"
15854
+ },
15855
+ titleSuffix: {
15856
+ type: "string"
15857
+ }
15858
+ },
15859
+ required: []
15860
+ },
15389
15861
  duplicate: {
15390
15862
  type: "object",
15391
15863
  properties: {
@@ -15445,6 +15917,15 @@ function _schemasDomainRecord(domain) {
15445
15917
  }
15446
15918
  },
15447
15919
  required: []
15920
+ },
15921
+ shotbox: {
15922
+ type: "object",
15923
+ properties: {
15924
+ layout: {
15925
+ type: "string"
15926
+ }
15927
+ },
15928
+ required: []
15448
15929
  }
15449
15930
  },
15450
15931
  required: []
@@ -15624,11 +16105,41 @@ function _schemasDomainRecord(domain) {
15624
16105
  }
15625
16106
  }
15626
16107
  },
15627
- schemas: [
15628
- {
15629
- $ref: "#/components/schemas/Settings"
16108
+ schema: {
16109
+ $ref: "#/components/schemas/Settings"
16110
+ }
16111
+ };
16112
+ }
16113
+ case ":settings.node": {
16114
+ return {
16115
+ version: "3.1",
16116
+ components: {
16117
+ schemas: {
16118
+ SettingsNodeRecord: {
16119
+ type: "object",
16120
+ properties: {},
16121
+ required: [],
16122
+ additionalProperties: {
16123
+ type: "object",
16124
+ properties: {
16125
+ collapsed: {
16126
+ type: "boolean"
16127
+ },
16128
+ hidden: {
16129
+ type: "boolean"
16130
+ }
16131
+ },
16132
+ required: [
16133
+ "collapsed",
16134
+ "hidden"
16135
+ ]
16136
+ }
16137
+ }
15630
16138
  }
15631
- ]
16139
+ },
16140
+ schema: {
16141
+ $ref: "#/components/schemas/SettingsNodeRecord"
16142
+ }
15632
16143
  };
15633
16144
  }
15634
16145
  case ":shotbox": {
@@ -15657,6 +16168,12 @@ function _schemasDomainRecord(domain) {
15657
16168
  inferGroups: {
15658
16169
  type: "boolean"
15659
16170
  },
16171
+ excludeFromInferredGroups: {
16172
+ type: "array",
16173
+ items: {
16174
+ type: "string"
16175
+ }
16176
+ },
15660
16177
  layout: {
15661
16178
  type: "array",
15662
16179
  items: {
@@ -15778,11 +16295,9 @@ function _schemasDomainRecord(domain) {
15778
16295
  }
15779
16296
  }
15780
16297
  },
15781
- schemas: [
15782
- {
15783
- $ref: "#/components/schemas/ShotboxDomainRecord"
15784
- }
15785
- ]
16298
+ schema: {
16299
+ $ref: "#/components/schemas/ShotboxDomainRecord"
16300
+ }
15786
16301
  };
15787
16302
  }
15788
16303
  case ":storyboard": {
@@ -15798,11 +16313,9 @@ function _schemasDomainRecord(domain) {
15798
16313
  }
15799
16314
  }
15800
16315
  },
15801
- schemas: [
15802
- {
15803
- $ref: "#/components/schemas/StoryboardDomainRecord"
15804
- }
15805
- ]
16316
+ schema: {
16317
+ $ref: "#/components/schemas/StoryboardDomainRecord"
16318
+ }
15806
16319
  };
15807
16320
  }
15808
16321
  case ":storyboard.pipelines": {
@@ -15824,11 +16337,9 @@ function _schemasDomainRecord(domain) {
15824
16337
  }
15825
16338
  }
15826
16339
  },
15827
- schemas: [
15828
- {
15829
- $ref: "#/components/schemas/StoryboardDomainPipelinesRecord"
15830
- }
15831
- ]
16340
+ schema: {
16341
+ $ref: "#/components/schemas/StoryboardDomainPipelinesRecord"
16342
+ }
15832
16343
  };
15833
16344
  }
15834
16345
  case ":storyboard.descendants?": {
@@ -15850,11 +16361,9 @@ function _schemasDomainRecord(domain) {
15850
16361
  }
15851
16362
  }
15852
16363
  },
15853
- schemas: [
15854
- {
15855
- $ref: "#/components/schemas/StoryboardDescendantsRecord"
15856
- }
15857
- ]
16364
+ schema: {
16365
+ $ref: "#/components/schemas/StoryboardDescendantsRecord"
16366
+ }
15858
16367
  };
15859
16368
  }
15860
16369
  case ":storyboard.ancestors?": {
@@ -15876,11 +16385,9 @@ function _schemasDomainRecord(domain) {
15876
16385
  }
15877
16386
  }
15878
16387
  },
15879
- schemas: [
15880
- {
15881
- $ref: "#/components/schemas/StoryboardAncestorsRecord"
15882
- }
15883
- ]
16388
+ schema: {
16389
+ $ref: "#/components/schemas/StoryboardAncestorsRecord"
16390
+ }
15884
16391
  };
15885
16392
  }
15886
16393
  case ":subtitle-style": {
@@ -15954,6 +16461,9 @@ function _schemasDomainRecord(domain) {
15954
16461
  spacing: {
15955
16462
  type: "string"
15956
16463
  },
16464
+ lineSpacing: {
16465
+ type: "string"
16466
+ },
15957
16467
  angle: {
15958
16468
  type: "string"
15959
16469
  },
@@ -15986,11 +16496,9 @@ function _schemasDomainRecord(domain) {
15986
16496
  }
15987
16497
  }
15988
16498
  },
15989
- schemas: [
15990
- {
15991
- $ref: "#/components/schemas/SubtitleStyleDomainRecord"
15992
- }
15993
- ]
16499
+ schema: {
16500
+ $ref: "#/components/schemas/SubtitleStyleDomainRecord"
16501
+ }
15994
16502
  };
15995
16503
  }
15996
16504
  case ":subtitle": {
@@ -16031,11 +16539,9 @@ function _schemasDomainRecord(domain) {
16031
16539
  }
16032
16540
  }
16033
16541
  },
16034
- schemas: [
16035
- {
16036
- $ref: "#/components/schemas/SubtitleDomainRecord"
16037
- }
16038
- ]
16542
+ schema: {
16543
+ $ref: "#/components/schemas/SubtitleDomainRecord"
16544
+ }
16039
16545
  };
16040
16546
  }
16041
16547
  case ":template": {
@@ -16081,11 +16587,9 @@ function _schemasDomainRecord(domain) {
16081
16587
  }
16082
16588
  }
16083
16589
  },
16084
- schemas: [
16085
- {
16086
- $ref: "#/components/schemas/TemplateRecord"
16087
- }
16088
- ]
16590
+ schema: {
16591
+ $ref: "#/components/schemas/TemplateRecord"
16592
+ }
16089
16593
  };
16090
16594
  }
16091
16595
  case ":_user-notification-status": {
@@ -16153,11 +16657,9 @@ function _schemasDomainRecord(domain) {
16153
16657
  }
16154
16658
  }
16155
16659
  },
16156
- schemas: [
16157
- {
16158
- $ref: "#/components/schemas/UserNotificationStatusDomainRecord"
16159
- }
16160
- ]
16660
+ schema: {
16661
+ $ref: "#/components/schemas/UserNotificationStatusDomainRecord"
16662
+ }
16161
16663
  };
16162
16664
  }
16163
16665
  case ":user-notification": {
@@ -16465,11 +16967,9 @@ function _schemasDomainRecord(domain) {
16465
16967
  }
16466
16968
  }
16467
16969
  },
16468
- schemas: [
16469
- {
16470
- $ref: "#/components/schemas/UserNotificationRecord"
16471
- }
16472
- ]
16970
+ schema: {
16971
+ $ref: "#/components/schemas/UserNotificationRecord"
16972
+ }
16473
16973
  };
16474
16974
  }
16475
16975
  case ":user-notification.readAt": {
@@ -16489,11 +16989,9 @@ function _schemasDomainRecord(domain) {
16489
16989
  }
16490
16990
  }
16491
16991
  },
16492
- schemas: [
16493
- {
16494
- $ref: "#/components/schemas/UserNotificationDomainReadAtRecord"
16495
- }
16496
- ]
16992
+ schema: {
16993
+ $ref: "#/components/schemas/UserNotificationDomainReadAtRecord"
16994
+ }
16497
16995
  };
16498
16996
  }
16499
16997
  case ":user": {
@@ -16525,11 +17023,9 @@ function _schemasDomainRecord(domain) {
16525
17023
  }
16526
17024
  }
16527
17025
  },
16528
- schemas: [
16529
- {
16530
- $ref: "#/components/schemas/UserDomainRecord"
16531
- }
16532
- ]
17026
+ schema: {
17027
+ $ref: "#/components/schemas/UserDomainRecord"
17028
+ }
16533
17029
  };
16534
17030
  }
16535
17031
  case ":user.latestSeenNotification": {
@@ -16548,11 +17044,9 @@ function _schemasDomainRecord(domain) {
16548
17044
  }
16549
17045
  }
16550
17046
  },
16551
- schemas: [
16552
- {
16553
- $ref: "#/components/schemas/UserDomainLatestSeenNotificationRecord"
16554
- }
16555
- ]
17047
+ schema: {
17048
+ $ref: "#/components/schemas/UserDomainLatestSeenNotificationRecord"
17049
+ }
16556
17050
  };
16557
17051
  }
16558
17052
  case ":user.receivedNotifications?": {
@@ -16575,11 +17069,9 @@ function _schemasDomainRecord(domain) {
16575
17069
  }
16576
17070
  }
16577
17071
  },
16578
- schemas: [
16579
- {
16580
- $ref: "#/components/schemas/UserDomainReceivedNotificationsProvidedRecord"
16581
- }
16582
- ]
17072
+ schema: {
17073
+ $ref: "#/components/schemas/UserDomainReceivedNotificationsProvidedRecord"
17074
+ }
16583
17075
  };
16584
17076
  }
16585
17077
  case ":user.unseenNotifications?": {
@@ -16601,11 +17093,9 @@ function _schemasDomainRecord(domain) {
16601
17093
  }
16602
17094
  }
16603
17095
  },
16604
- schemas: [
16605
- {
16606
- $ref: "#/components/schemas/UserDomainUnseenNotificationsRecord"
16607
- }
16608
- ]
17096
+ schema: {
17097
+ $ref: "#/components/schemas/UserDomainUnseenNotificationsRecord"
17098
+ }
16609
17099
  };
16610
17100
  }
16611
17101
  case ":username?": {
@@ -16627,11 +17117,9 @@ function _schemasDomainRecord(domain) {
16627
17117
  }
16628
17118
  }
16629
17119
  },
16630
- schemas: [
16631
- {
16632
- $ref: "#/components/schemas/UsernameDomainRecord"
16633
- }
16634
- ]
17120
+ schema: {
17121
+ $ref: "#/components/schemas/UsernameDomainRecord"
17122
+ }
16635
17123
  };
16636
17124
  }
16637
17125
  default: throw new Error("Unrecognized domain \"" + domain + "\"");