@nxtedition/types 23.0.60 → 23.0.62
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/common/asset-indexer.d.ts +98 -0
- package/dist/common/asset-indexer.js +1 -0
- package/dist/common/index.d.ts +4 -0
- package/dist/common/index.js +4 -0
- package/dist/common/panel-property.d.ts +29 -0
- package/dist/common/panel-property.js +1 -0
- package/dist/common/schema-property.d.ts +12 -0
- package/dist/common/schema-property.js +1 -0
- package/dist/common/settings.d.ts +16 -0
- package/dist/common/subtitle.d.ts +4 -0
- package/dist/common/subtitle.js +1 -0
- package/dist/nxtpression.d.ts +295 -6
- package/dist/records/domains/asset.d.ts +11 -2
- package/dist/records/domains/device.d.ts +16 -0
- package/dist/records/domains/device.js +1 -0
- package/dist/records/domains/folder.d.ts +6 -0
- package/dist/records/domains/folder.js +1 -0
- package/dist/records/domains/index.d.ts +9 -1
- package/dist/records/domains/index.js +4 -0
- package/dist/records/domains/ingestschedule.d.ts +45 -0
- package/dist/records/domains/ingestschedule.js +1 -0
- package/dist/records/domains/note.d.ts +6 -0
- package/dist/records/domains/note.js +1 -0
- package/dist/records/domains/panel.d.ts +1 -28
- package/dist/records/domains/settings.d.ts +5 -0
- package/dist/records/exact/asset.d.ts +18 -1
- package/dist/records/exact/media.d.ts +40 -1
- package/dist/records/validate/assert-guard.js +3018 -1066
- package/dist/records/validate/assert.js +3030 -1068
- package/dist/records/validate/is.js +89 -8
- package/dist/records/validate/schemas.js +1932 -530
- package/dist/records/validate/stringify.js +252 -13
- package/dist/records/validate/utils.js +2 -2
- package/dist/records/validate/validate-equals.js +4737 -1738
- package/dist/records/validate/validate.js +1968 -230
- package/dist/rpc.d.ts +3 -2
- package/package.json +1 -1
|
@@ -313,6 +313,216 @@ function _schemasExactRecord(name) {
|
|
|
313
313
|
]
|
|
314
314
|
};
|
|
315
315
|
}
|
|
316
|
+
case "asset.dynamicProperties?": {
|
|
317
|
+
return {
|
|
318
|
+
version: "3.1",
|
|
319
|
+
components: {
|
|
320
|
+
schemas: {
|
|
321
|
+
AssetDynamicPropertiesProvidedRecord: {
|
|
322
|
+
type: "object",
|
|
323
|
+
properties: {
|
|
324
|
+
value: {
|
|
325
|
+
type: "array",
|
|
326
|
+
items: {
|
|
327
|
+
$ref: "#/components/schemas/DynamicProperty"
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
required: []
|
|
332
|
+
},
|
|
333
|
+
DynamicProperty: {
|
|
334
|
+
type: "object",
|
|
335
|
+
properties: {
|
|
336
|
+
panel: {
|
|
337
|
+
type: "string",
|
|
338
|
+
description: "ID of the panel asset that defines this property (for panel-sourced properties)"
|
|
339
|
+
},
|
|
340
|
+
schema: {
|
|
341
|
+
type: "string",
|
|
342
|
+
description: "ID of the schema asset that defines this property (for schema-sourced properties)"
|
|
343
|
+
},
|
|
344
|
+
supports: {
|
|
345
|
+
type: "array",
|
|
346
|
+
items: {
|
|
347
|
+
type: "string"
|
|
348
|
+
},
|
|
349
|
+
description: "List of asset types this property supports"
|
|
350
|
+
},
|
|
351
|
+
path: {
|
|
352
|
+
type: "string"
|
|
353
|
+
},
|
|
354
|
+
type: {
|
|
355
|
+
oneOf: [
|
|
356
|
+
{
|
|
357
|
+
"const": "string"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"const": "number"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"const": "boolean"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"const": "object"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"const": "array"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"const": "asset"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"const": "datetime"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"const": "rpc"
|
|
379
|
+
}
|
|
380
|
+
],
|
|
381
|
+
description: "Specifying what type of data will be entered into the field."
|
|
382
|
+
},
|
|
383
|
+
index: {
|
|
384
|
+
type: "object",
|
|
385
|
+
properties: {
|
|
386
|
+
label: {
|
|
387
|
+
type: "string",
|
|
388
|
+
description: "A string specifying the user-friendly title of the search property. This is what users will see when creating search filters and bookmarks."
|
|
389
|
+
},
|
|
390
|
+
path: {
|
|
391
|
+
type: "string",
|
|
392
|
+
description: "A string specifying where to store the data in the search index. Note that this should be a globally unique value in the system. Typically you'd use `{domain}.{path}` and you should prefer English in camel case"
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
required: [
|
|
396
|
+
"label",
|
|
397
|
+
"path"
|
|
398
|
+
],
|
|
399
|
+
description: "An object specifying where to index the data. Adding this will effectively make the data searchable."
|
|
400
|
+
},
|
|
401
|
+
title: {
|
|
402
|
+
type: "string",
|
|
403
|
+
description: "User-friendly title of the property. This will be used as the field's label in the UI."
|
|
404
|
+
},
|
|
405
|
+
description: {
|
|
406
|
+
type: "string"
|
|
407
|
+
},
|
|
408
|
+
domain: {
|
|
409
|
+
type: "string"
|
|
410
|
+
},
|
|
411
|
+
computed: {},
|
|
412
|
+
required: {
|
|
413
|
+
type: "boolean",
|
|
414
|
+
description: "If present, indicates that the user must specify a value for the asset to be treated as valid."
|
|
415
|
+
},
|
|
416
|
+
oneOf: {
|
|
417
|
+
type: "array",
|
|
418
|
+
items: {
|
|
419
|
+
type: "object",
|
|
420
|
+
properties: {
|
|
421
|
+
"const": {},
|
|
422
|
+
title: {
|
|
423
|
+
type: "string"
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
required: []
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
anyOf: {
|
|
430
|
+
type: "array",
|
|
431
|
+
items: {
|
|
432
|
+
type: "object",
|
|
433
|
+
properties: {
|
|
434
|
+
"const": {},
|
|
435
|
+
title: {
|
|
436
|
+
type: "string"
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
required: []
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
"enum": {
|
|
443
|
+
type: "array",
|
|
444
|
+
items: {}
|
|
445
|
+
},
|
|
446
|
+
"default": {},
|
|
447
|
+
recordName: {
|
|
448
|
+
oneOf: [
|
|
449
|
+
{
|
|
450
|
+
type: "string"
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
type: "object",
|
|
454
|
+
properties: {
|
|
455
|
+
__context: {
|
|
456
|
+
type: "object",
|
|
457
|
+
properties: {
|
|
458
|
+
id: {
|
|
459
|
+
type: "string"
|
|
460
|
+
}
|
|
461
|
+
},
|
|
462
|
+
required: [
|
|
463
|
+
"id"
|
|
464
|
+
],
|
|
465
|
+
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."
|
|
466
|
+
},
|
|
467
|
+
__returnValue: {
|
|
468
|
+
type: "string",
|
|
469
|
+
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."
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
required: [
|
|
473
|
+
"__context",
|
|
474
|
+
"__returnValue"
|
|
475
|
+
]
|
|
476
|
+
}
|
|
477
|
+
]
|
|
478
|
+
},
|
|
479
|
+
setter: {
|
|
480
|
+
oneOf: [
|
|
481
|
+
{
|
|
482
|
+
type: "string"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
type: "object",
|
|
486
|
+
properties: {
|
|
487
|
+
__context: {
|
|
488
|
+
type: "object",
|
|
489
|
+
properties: {
|
|
490
|
+
id: {
|
|
491
|
+
type: "string"
|
|
492
|
+
},
|
|
493
|
+
value: {}
|
|
494
|
+
},
|
|
495
|
+
required: [
|
|
496
|
+
"id",
|
|
497
|
+
"value"
|
|
498
|
+
],
|
|
499
|
+
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."
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
required: [
|
|
503
|
+
"__context"
|
|
504
|
+
]
|
|
505
|
+
}
|
|
506
|
+
]
|
|
507
|
+
},
|
|
508
|
+
"const": {}
|
|
509
|
+
},
|
|
510
|
+
required: [
|
|
511
|
+
"supports",
|
|
512
|
+
"path",
|
|
513
|
+
"type"
|
|
514
|
+
],
|
|
515
|
+
description: "Dynamic property definition.\nProperties come from :panel assets or :schema assets."
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
schemas: [
|
|
520
|
+
{
|
|
521
|
+
$ref: "#/components/schemas/AssetDynamicPropertiesProvidedRecord"
|
|
522
|
+
}
|
|
523
|
+
]
|
|
524
|
+
};
|
|
525
|
+
}
|
|
316
526
|
case "asset.embedding": {
|
|
317
527
|
return {
|
|
318
528
|
version: "3.1",
|
|
@@ -1321,12 +1531,12 @@ function _schemasExactRecord(name) {
|
|
|
1321
1531
|
]
|
|
1322
1532
|
};
|
|
1323
1533
|
}
|
|
1324
|
-
case "media.transcribe
|
|
1534
|
+
case "media.transcribe": {
|
|
1325
1535
|
return {
|
|
1326
1536
|
version: "3.1",
|
|
1327
1537
|
components: {
|
|
1328
1538
|
schemas: {
|
|
1329
|
-
|
|
1539
|
+
MediaTranscribeRecord: {
|
|
1330
1540
|
type: "object",
|
|
1331
1541
|
properties: {
|
|
1332
1542
|
engines: {
|
|
@@ -1345,6 +1555,9 @@ function _schemasExactRecord(name) {
|
|
|
1345
1555
|
required: [
|
|
1346
1556
|
"languages"
|
|
1347
1557
|
]
|
|
1558
|
+
},
|
|
1559
|
+
replacers: {
|
|
1560
|
+
$ref: "#/components/schemas/RecordstringTranscribeReplacerTranscribeReplacer"
|
|
1348
1561
|
}
|
|
1349
1562
|
},
|
|
1350
1563
|
required: [
|
|
@@ -1360,404 +1573,788 @@ function _schemasExactRecord(name) {
|
|
|
1360
1573
|
additionalProperties: {
|
|
1361
1574
|
type: "string"
|
|
1362
1575
|
}
|
|
1363
|
-
}
|
|
1364
|
-
|
|
1365
|
-
},
|
|
1366
|
-
schemas: [
|
|
1367
|
-
{
|
|
1368
|
-
$ref: "#/components/schemas/MediaTranscribeProvidedRecord"
|
|
1369
|
-
}
|
|
1370
|
-
]
|
|
1371
|
-
};
|
|
1372
|
-
}
|
|
1373
|
-
case "media.fonts?": {
|
|
1374
|
-
return {
|
|
1375
|
-
version: "3.1",
|
|
1376
|
-
components: {
|
|
1377
|
-
schemas: {
|
|
1378
|
-
MediaFonts: {
|
|
1576
|
+
},
|
|
1577
|
+
RecordstringTranscribeReplacerTranscribeReplacer: {
|
|
1379
1578
|
type: "object",
|
|
1380
|
-
properties: {
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1579
|
+
properties: {},
|
|
1580
|
+
required: [],
|
|
1581
|
+
description: "Construct a type with a set of properties K of type T",
|
|
1582
|
+
additionalProperties: {
|
|
1583
|
+
oneOf: [
|
|
1584
|
+
{
|
|
1585
|
+
type: "array",
|
|
1586
|
+
items: {
|
|
1587
|
+
$ref: "#/components/schemas/TranscribeReplacer"
|
|
1588
|
+
}
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
$ref: "#/components/schemas/TranscribeReplaceReplacer"
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
$ref: "#/components/schemas/TranscribeForEachWordReplacer"
|
|
1385
1595
|
}
|
|
1596
|
+
]
|
|
1597
|
+
}
|
|
1598
|
+
},
|
|
1599
|
+
TranscribeReplacer: {
|
|
1600
|
+
oneOf: [
|
|
1601
|
+
{
|
|
1602
|
+
$ref: "#/components/schemas/TranscribeReplaceReplacer"
|
|
1386
1603
|
},
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
items: {
|
|
1390
|
-
type: "string"
|
|
1391
|
-
}
|
|
1604
|
+
{
|
|
1605
|
+
$ref: "#/components/schemas/TranscribeForEachWordReplacer"
|
|
1392
1606
|
}
|
|
1393
|
-
|
|
1394
|
-
required: []
|
|
1607
|
+
]
|
|
1395
1608
|
},
|
|
1396
|
-
|
|
1609
|
+
TranscribeReplaceReplacer: {
|
|
1397
1610
|
type: "object",
|
|
1398
1611
|
properties: {
|
|
1399
|
-
|
|
1400
|
-
|
|
1612
|
+
type: {
|
|
1613
|
+
"const": "replace"
|
|
1401
1614
|
},
|
|
1402
|
-
|
|
1403
|
-
|
|
1615
|
+
pattern: {
|
|
1616
|
+
description: "Expression that should return RegExp or string arg to new RegExp"
|
|
1404
1617
|
},
|
|
1405
|
-
|
|
1406
|
-
|
|
1618
|
+
replacement: {
|
|
1619
|
+
$ref: "#/components/schemas/Nxtpressionstring((...argsunknown)=string)__type"
|
|
1407
1620
|
},
|
|
1408
|
-
|
|
1621
|
+
flags: {
|
|
1409
1622
|
type: "string"
|
|
1410
1623
|
},
|
|
1411
|
-
|
|
1412
|
-
type: "
|
|
1413
|
-
}
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1624
|
+
_comment: {
|
|
1625
|
+
type: "string"
|
|
1626
|
+
}
|
|
1627
|
+
},
|
|
1628
|
+
required: [
|
|
1629
|
+
"pattern",
|
|
1630
|
+
"replacement"
|
|
1631
|
+
]
|
|
1632
|
+
},
|
|
1633
|
+
"Nxtpressionstring((...argsunknown)=string)__type": {
|
|
1634
|
+
oneOf: [
|
|
1635
|
+
{
|
|
1636
|
+
type: "string"
|
|
1637
|
+
},
|
|
1638
|
+
{
|
|
1639
|
+
type: "object",
|
|
1640
|
+
properties: {
|
|
1641
|
+
__context: {
|
|
1642
|
+
type: "object",
|
|
1643
|
+
properties: {
|
|
1644
|
+
item: {
|
|
1645
|
+
type: "string"
|
|
1646
|
+
}
|
|
1647
|
+
},
|
|
1648
|
+
required: [
|
|
1649
|
+
"item"
|
|
1650
|
+
],
|
|
1651
|
+
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."
|
|
1418
1652
|
},
|
|
1419
|
-
{
|
|
1420
|
-
|
|
1653
|
+
__returnValue: {
|
|
1654
|
+
type: "string",
|
|
1655
|
+
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."
|
|
1421
1656
|
}
|
|
1657
|
+
},
|
|
1658
|
+
required: [
|
|
1659
|
+
"__context",
|
|
1660
|
+
"__returnValue"
|
|
1422
1661
|
]
|
|
1662
|
+
}
|
|
1663
|
+
]
|
|
1664
|
+
},
|
|
1665
|
+
TranscribeForEachWordReplacer: {
|
|
1666
|
+
type: "object",
|
|
1667
|
+
properties: {
|
|
1668
|
+
type: {
|
|
1669
|
+
"const": "items"
|
|
1423
1670
|
},
|
|
1424
|
-
|
|
1671
|
+
items: {
|
|
1425
1672
|
type: "array",
|
|
1426
1673
|
items: {
|
|
1427
|
-
|
|
1674
|
+
type: "string"
|
|
1675
|
+
}
|
|
1676
|
+
},
|
|
1677
|
+
_comment: {
|
|
1678
|
+
type: "string"
|
|
1679
|
+
},
|
|
1680
|
+
replacers: {
|
|
1681
|
+
type: "array",
|
|
1682
|
+
items: {
|
|
1683
|
+
type: "object",
|
|
1684
|
+
properties: {
|
|
1685
|
+
pattern: {
|
|
1686
|
+
description: "Expression that should return RegExp or string arg to new RegExp"
|
|
1687
|
+
},
|
|
1688
|
+
replacement: {
|
|
1689
|
+
$ref: "#/components/schemas/Nxtpressionstring((...argsunknown)=string)__type.o1"
|
|
1690
|
+
},
|
|
1691
|
+
flags: {
|
|
1692
|
+
type: "string"
|
|
1693
|
+
},
|
|
1694
|
+
_comment: {
|
|
1695
|
+
type: "string"
|
|
1696
|
+
}
|
|
1697
|
+
},
|
|
1698
|
+
required: [
|
|
1699
|
+
"pattern",
|
|
1700
|
+
"replacement"
|
|
1701
|
+
]
|
|
1428
1702
|
}
|
|
1429
1703
|
}
|
|
1430
1704
|
},
|
|
1431
1705
|
required: [
|
|
1432
|
-
"
|
|
1433
|
-
"
|
|
1434
|
-
"
|
|
1435
|
-
"url",
|
|
1436
|
-
"weight",
|
|
1437
|
-
"style",
|
|
1438
|
-
"ranges"
|
|
1706
|
+
"type",
|
|
1707
|
+
"items",
|
|
1708
|
+
"replacers"
|
|
1439
1709
|
]
|
|
1440
1710
|
},
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
prefixItems: [
|
|
1711
|
+
"Nxtpressionstring((...argsunknown)=string)__type.o1": {
|
|
1712
|
+
oneOf: [
|
|
1444
1713
|
{
|
|
1445
|
-
type: "
|
|
1714
|
+
type: "string"
|
|
1446
1715
|
},
|
|
1447
1716
|
{
|
|
1448
|
-
type: "
|
|
1717
|
+
type: "object",
|
|
1718
|
+
properties: {
|
|
1719
|
+
__context: {
|
|
1720
|
+
type: "object",
|
|
1721
|
+
properties: {
|
|
1722
|
+
item: {
|
|
1723
|
+
type: "string"
|
|
1724
|
+
}
|
|
1725
|
+
},
|
|
1726
|
+
required: [
|
|
1727
|
+
"item"
|
|
1728
|
+
],
|
|
1729
|
+
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."
|
|
1730
|
+
},
|
|
1731
|
+
__returnValue: {
|
|
1732
|
+
type: "string",
|
|
1733
|
+
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."
|
|
1734
|
+
}
|
|
1735
|
+
},
|
|
1736
|
+
required: [
|
|
1737
|
+
"__context",
|
|
1738
|
+
"__returnValue"
|
|
1739
|
+
]
|
|
1449
1740
|
}
|
|
1450
|
-
]
|
|
1451
|
-
additionalItems: false
|
|
1741
|
+
]
|
|
1452
1742
|
}
|
|
1453
1743
|
}
|
|
1454
1744
|
},
|
|
1455
1745
|
schemas: [
|
|
1456
1746
|
{
|
|
1457
|
-
$ref: "#/components/schemas/
|
|
1747
|
+
$ref: "#/components/schemas/MediaTranscribeRecord"
|
|
1458
1748
|
}
|
|
1459
1749
|
]
|
|
1460
1750
|
};
|
|
1461
1751
|
}
|
|
1462
|
-
case "media.
|
|
1752
|
+
case "media.transcribe?": {
|
|
1463
1753
|
return {
|
|
1464
1754
|
version: "3.1",
|
|
1465
1755
|
components: {
|
|
1466
1756
|
schemas: {
|
|
1467
|
-
|
|
1757
|
+
MediaTranscribeProvidedRecord: {
|
|
1468
1758
|
type: "object",
|
|
1469
1759
|
properties: {
|
|
1470
|
-
|
|
1760
|
+
engines: {
|
|
1761
|
+
$ref: "#/components/schemas/Recordstringstring"
|
|
1762
|
+
},
|
|
1763
|
+
languages: {
|
|
1764
|
+
$ref: "#/components/schemas/Recordstringstring"
|
|
1765
|
+
},
|
|
1766
|
+
translate: {
|
|
1471
1767
|
type: "object",
|
|
1472
1768
|
properties: {
|
|
1473
|
-
|
|
1474
|
-
$ref: "#/components/schemas/
|
|
1475
|
-
},
|
|
1476
|
-
video: {
|
|
1477
|
-
$ref: "#/components/schemas/RenderPreset"
|
|
1478
|
-
},
|
|
1479
|
-
image: {
|
|
1480
|
-
$ref: "#/components/schemas/RenderPreset"
|
|
1769
|
+
languages: {
|
|
1770
|
+
$ref: "#/components/schemas/Recordstringstring"
|
|
1481
1771
|
}
|
|
1482
1772
|
},
|
|
1483
1773
|
required: [
|
|
1484
|
-
"
|
|
1485
|
-
"video",
|
|
1486
|
-
"image"
|
|
1774
|
+
"languages"
|
|
1487
1775
|
]
|
|
1776
|
+
},
|
|
1777
|
+
replacers: {
|
|
1778
|
+
$ref: "#/components/schemas/RecordstringTranscribeReplacerTranscribeReplacer"
|
|
1488
1779
|
}
|
|
1489
1780
|
},
|
|
1490
|
-
required: [
|
|
1781
|
+
required: [
|
|
1782
|
+
"engines",
|
|
1783
|
+
"languages"
|
|
1784
|
+
]
|
|
1491
1785
|
},
|
|
1492
|
-
|
|
1786
|
+
Recordstringstring: {
|
|
1787
|
+
type: "object",
|
|
1788
|
+
properties: {},
|
|
1789
|
+
required: [],
|
|
1790
|
+
description: "Construct a type with a set of properties K of type T",
|
|
1791
|
+
additionalProperties: {
|
|
1792
|
+
type: "string"
|
|
1793
|
+
}
|
|
1794
|
+
},
|
|
1795
|
+
RecordstringTranscribeReplacerTranscribeReplacer: {
|
|
1796
|
+
type: "object",
|
|
1797
|
+
properties: {},
|
|
1798
|
+
required: [],
|
|
1799
|
+
description: "Construct a type with a set of properties K of type T",
|
|
1800
|
+
additionalProperties: {
|
|
1801
|
+
oneOf: [
|
|
1802
|
+
{
|
|
1803
|
+
type: "array",
|
|
1804
|
+
items: {
|
|
1805
|
+
$ref: "#/components/schemas/TranscribeReplacer"
|
|
1806
|
+
}
|
|
1807
|
+
},
|
|
1808
|
+
{
|
|
1809
|
+
$ref: "#/components/schemas/TranscribeReplaceReplacer"
|
|
1810
|
+
},
|
|
1811
|
+
{
|
|
1812
|
+
$ref: "#/components/schemas/TranscribeForEachWordReplacer"
|
|
1813
|
+
}
|
|
1814
|
+
]
|
|
1815
|
+
}
|
|
1816
|
+
},
|
|
1817
|
+
TranscribeReplacer: {
|
|
1493
1818
|
oneOf: [
|
|
1494
1819
|
{
|
|
1495
|
-
|
|
1820
|
+
$ref: "#/components/schemas/TranscribeReplaceReplacer"
|
|
1496
1821
|
},
|
|
1497
1822
|
{
|
|
1498
|
-
$ref: "#/components/schemas/
|
|
1823
|
+
$ref: "#/components/schemas/TranscribeForEachWordReplacer"
|
|
1499
1824
|
}
|
|
1500
1825
|
]
|
|
1501
1826
|
},
|
|
1502
|
-
|
|
1827
|
+
TranscribeReplaceReplacer: {
|
|
1503
1828
|
type: "object",
|
|
1504
1829
|
properties: {
|
|
1505
1830
|
type: {
|
|
1506
|
-
|
|
1507
|
-
{
|
|
1508
|
-
type: "null"
|
|
1509
|
-
},
|
|
1510
|
-
{
|
|
1511
|
-
type: "string"
|
|
1512
|
-
}
|
|
1513
|
-
]
|
|
1831
|
+
"const": "replace"
|
|
1514
1832
|
},
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
},
|
|
1527
|
-
{
|
|
1528
|
-
$ref: "#/components/schemas/RenderProfileObject"
|
|
1529
|
-
}
|
|
1530
|
-
]
|
|
1531
|
-
}
|
|
1532
|
-
},
|
|
1533
|
-
{
|
|
1534
|
-
$ref: "#/components/schemas/RenderProfileObject"
|
|
1535
|
-
}
|
|
1536
|
-
]
|
|
1833
|
+
pattern: {
|
|
1834
|
+
description: "Expression that should return RegExp or string arg to new RegExp"
|
|
1835
|
+
},
|
|
1836
|
+
replacement: {
|
|
1837
|
+
$ref: "#/components/schemas/Nxtpressionstring((...argsunknown)=string)__type"
|
|
1838
|
+
},
|
|
1839
|
+
flags: {
|
|
1840
|
+
type: "string"
|
|
1841
|
+
},
|
|
1842
|
+
_comment: {
|
|
1843
|
+
type: "string"
|
|
1537
1844
|
}
|
|
1538
1845
|
},
|
|
1539
|
-
required: [
|
|
1846
|
+
required: [
|
|
1847
|
+
"pattern",
|
|
1848
|
+
"replacement"
|
|
1849
|
+
]
|
|
1540
1850
|
},
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
format: {
|
|
1851
|
+
"Nxtpressionstring((...argsunknown)=string)__type": {
|
|
1852
|
+
oneOf: [
|
|
1853
|
+
{
|
|
1545
1854
|
type: "string"
|
|
1546
1855
|
},
|
|
1547
|
-
|
|
1548
|
-
type: "object",
|
|
1549
|
-
properties: {
|
|
1550
|
-
engine: {
|
|
1551
|
-
type: "string"
|
|
1552
|
-
}
|
|
1553
|
-
},
|
|
1554
|
-
required: [
|
|
1555
|
-
"engine"
|
|
1556
|
-
]
|
|
1557
|
-
},
|
|
1558
|
-
translate: {
|
|
1856
|
+
{
|
|
1559
1857
|
type: "object",
|
|
1560
1858
|
properties: {
|
|
1561
|
-
|
|
1562
|
-
type: "
|
|
1859
|
+
__context: {
|
|
1860
|
+
type: "object",
|
|
1861
|
+
properties: {
|
|
1862
|
+
item: {
|
|
1863
|
+
type: "string"
|
|
1864
|
+
}
|
|
1865
|
+
},
|
|
1866
|
+
required: [
|
|
1867
|
+
"item"
|
|
1868
|
+
],
|
|
1869
|
+
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."
|
|
1870
|
+
},
|
|
1871
|
+
__returnValue: {
|
|
1872
|
+
type: "string",
|
|
1873
|
+
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."
|
|
1563
1874
|
}
|
|
1564
1875
|
},
|
|
1565
1876
|
required: [
|
|
1566
|
-
"
|
|
1877
|
+
"__context",
|
|
1878
|
+
"__returnValue"
|
|
1567
1879
|
]
|
|
1880
|
+
}
|
|
1881
|
+
]
|
|
1882
|
+
},
|
|
1883
|
+
TranscribeForEachWordReplacer: {
|
|
1884
|
+
type: "object",
|
|
1885
|
+
properties: {
|
|
1886
|
+
type: {
|
|
1887
|
+
"const": "items"
|
|
1568
1888
|
},
|
|
1569
|
-
|
|
1570
|
-
type: "object",
|
|
1571
|
-
properties: {
|
|
1572
|
-
codec: {
|
|
1573
|
-
type: "string"
|
|
1574
|
-
},
|
|
1575
|
-
pan: {
|
|
1576
|
-
type: "string"
|
|
1577
|
-
},
|
|
1578
|
-
samplerate: {
|
|
1579
|
-
type: "number"
|
|
1580
|
-
},
|
|
1581
|
-
split: {
|
|
1582
|
-
type: "boolean"
|
|
1583
|
-
}
|
|
1584
|
-
},
|
|
1585
|
-
required: []
|
|
1586
|
-
},
|
|
1587
|
-
video: {},
|
|
1588
|
-
pick: {
|
|
1889
|
+
items: {
|
|
1589
1890
|
type: "array",
|
|
1590
1891
|
items: {
|
|
1591
1892
|
type: "string"
|
|
1592
1893
|
}
|
|
1593
1894
|
},
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1895
|
+
_comment: {
|
|
1896
|
+
type: "string"
|
|
1897
|
+
},
|
|
1898
|
+
replacers: {
|
|
1899
|
+
type: "array",
|
|
1900
|
+
items: {
|
|
1901
|
+
type: "object",
|
|
1902
|
+
properties: {
|
|
1903
|
+
pattern: {
|
|
1904
|
+
description: "Expression that should return RegExp or string arg to new RegExp"
|
|
1905
|
+
},
|
|
1906
|
+
replacement: {
|
|
1907
|
+
$ref: "#/components/schemas/Nxtpressionstring((...argsunknown)=string)__type.o1"
|
|
1908
|
+
},
|
|
1909
|
+
flags: {
|
|
1910
|
+
type: "string"
|
|
1911
|
+
},
|
|
1912
|
+
_comment: {
|
|
1913
|
+
type: "string"
|
|
1914
|
+
}
|
|
1915
|
+
},
|
|
1916
|
+
required: [
|
|
1917
|
+
"pattern",
|
|
1918
|
+
"replacement"
|
|
1919
|
+
]
|
|
1920
|
+
}
|
|
1603
1921
|
}
|
|
1604
1922
|
},
|
|
1605
1923
|
required: [
|
|
1606
|
-
"
|
|
1924
|
+
"type",
|
|
1925
|
+
"items",
|
|
1926
|
+
"replacers"
|
|
1607
1927
|
]
|
|
1608
1928
|
},
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
type: "string",
|
|
1614
|
-
description: "Corresponds to a key in `media.subtitles?#languages`, or '_all' to render all languages."
|
|
1929
|
+
"Nxtpressionstring((...argsunknown)=string)__type.o1": {
|
|
1930
|
+
oneOf: [
|
|
1931
|
+
{
|
|
1932
|
+
type: "string"
|
|
1615
1933
|
},
|
|
1616
|
-
|
|
1617
|
-
type: "
|
|
1618
|
-
|
|
1934
|
+
{
|
|
1935
|
+
type: "object",
|
|
1936
|
+
properties: {
|
|
1937
|
+
__context: {
|
|
1938
|
+
type: "object",
|
|
1939
|
+
properties: {
|
|
1940
|
+
item: {
|
|
1941
|
+
type: "string"
|
|
1942
|
+
}
|
|
1943
|
+
},
|
|
1944
|
+
required: [
|
|
1945
|
+
"item"
|
|
1946
|
+
],
|
|
1947
|
+
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."
|
|
1948
|
+
},
|
|
1949
|
+
__returnValue: {
|
|
1950
|
+
type: "string",
|
|
1951
|
+
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."
|
|
1952
|
+
}
|
|
1953
|
+
},
|
|
1954
|
+
required: [
|
|
1955
|
+
"__context",
|
|
1956
|
+
"__returnValue"
|
|
1957
|
+
]
|
|
1619
1958
|
}
|
|
1620
|
-
|
|
1621
|
-
required: []
|
|
1959
|
+
]
|
|
1622
1960
|
}
|
|
1623
1961
|
}
|
|
1624
1962
|
},
|
|
1625
1963
|
schemas: [
|
|
1626
1964
|
{
|
|
1627
|
-
$ref: "#/components/schemas/
|
|
1965
|
+
$ref: "#/components/schemas/MediaTranscribeProvidedRecord"
|
|
1628
1966
|
}
|
|
1629
1967
|
]
|
|
1630
1968
|
};
|
|
1631
1969
|
}
|
|
1632
|
-
case "
|
|
1970
|
+
case "media.fonts?": {
|
|
1633
1971
|
return {
|
|
1634
1972
|
version: "3.1",
|
|
1635
1973
|
components: {
|
|
1636
1974
|
schemas: {
|
|
1637
|
-
|
|
1975
|
+
MediaFonts: {
|
|
1638
1976
|
type: "object",
|
|
1639
1977
|
properties: {
|
|
1640
|
-
|
|
1641
|
-
type: "
|
|
1978
|
+
fontFaces: {
|
|
1979
|
+
type: "array",
|
|
1980
|
+
items: {
|
|
1981
|
+
$ref: "#/components/schemas/FontFace"
|
|
1982
|
+
}
|
|
1983
|
+
},
|
|
1984
|
+
fontFamilyNames: {
|
|
1985
|
+
type: "array",
|
|
1986
|
+
items: {
|
|
1987
|
+
type: "string"
|
|
1988
|
+
}
|
|
1642
1989
|
}
|
|
1643
1990
|
},
|
|
1644
1991
|
required: []
|
|
1645
|
-
}
|
|
1646
|
-
|
|
1647
|
-
},
|
|
1648
|
-
schemas: [
|
|
1649
|
-
{
|
|
1650
|
-
$ref: "#/components/schemas/AssetDaemonRecord"
|
|
1651
|
-
}
|
|
1652
|
-
]
|
|
1653
|
-
};
|
|
1654
|
-
}
|
|
1655
|
-
case "asset-daemon:user-notify.state": {
|
|
1656
|
-
return {
|
|
1657
|
-
version: "3.1",
|
|
1658
|
-
components: {
|
|
1659
|
-
schemas: {
|
|
1660
|
-
AssetDaemonUserNotifyStateRecord: {
|
|
1992
|
+
},
|
|
1993
|
+
FontFace: {
|
|
1661
1994
|
type: "object",
|
|
1662
1995
|
properties: {
|
|
1663
|
-
|
|
1996
|
+
name: {
|
|
1997
|
+
type: "string"
|
|
1998
|
+
},
|
|
1999
|
+
family: {
|
|
2000
|
+
type: "string"
|
|
2001
|
+
},
|
|
2002
|
+
asset: {
|
|
2003
|
+
type: "string"
|
|
2004
|
+
},
|
|
2005
|
+
url: {
|
|
2006
|
+
type: "string"
|
|
2007
|
+
},
|
|
2008
|
+
weight: {
|
|
2009
|
+
type: "number"
|
|
2010
|
+
},
|
|
2011
|
+
style: {
|
|
1664
2012
|
oneOf: [
|
|
1665
2013
|
{
|
|
1666
|
-
|
|
1667
|
-
},
|
|
1668
|
-
{
|
|
1669
|
-
"const": 0
|
|
2014
|
+
"const": "italic"
|
|
1670
2015
|
},
|
|
1671
2016
|
{
|
|
1672
|
-
|
|
2017
|
+
"const": "normal"
|
|
1673
2018
|
}
|
|
1674
2019
|
]
|
|
1675
2020
|
},
|
|
1676
|
-
|
|
1677
|
-
type: "
|
|
2021
|
+
ranges: {
|
|
2022
|
+
type: "array",
|
|
2023
|
+
items: {
|
|
2024
|
+
$ref: "#/components/schemas/Range"
|
|
2025
|
+
}
|
|
1678
2026
|
}
|
|
1679
2027
|
},
|
|
1680
|
-
required: [
|
|
2028
|
+
required: [
|
|
2029
|
+
"name",
|
|
2030
|
+
"family",
|
|
2031
|
+
"asset",
|
|
2032
|
+
"url",
|
|
2033
|
+
"weight",
|
|
2034
|
+
"style",
|
|
2035
|
+
"ranges"
|
|
2036
|
+
]
|
|
2037
|
+
},
|
|
2038
|
+
Range: {
|
|
2039
|
+
type: "array",
|
|
2040
|
+
prefixItems: [
|
|
2041
|
+
{
|
|
2042
|
+
type: "number"
|
|
2043
|
+
},
|
|
2044
|
+
{
|
|
2045
|
+
type: "number"
|
|
2046
|
+
}
|
|
2047
|
+
],
|
|
2048
|
+
additionalItems: false
|
|
1681
2049
|
}
|
|
1682
2050
|
}
|
|
1683
2051
|
},
|
|
1684
2052
|
schemas: [
|
|
1685
2053
|
{
|
|
1686
|
-
$ref: "#/components/schemas/
|
|
2054
|
+
$ref: "#/components/schemas/MediaFonts"
|
|
1687
2055
|
}
|
|
1688
2056
|
]
|
|
1689
2057
|
};
|
|
1690
2058
|
}
|
|
1691
|
-
case "
|
|
2059
|
+
case "media.consolidate": {
|
|
1692
2060
|
return {
|
|
1693
2061
|
version: "3.1",
|
|
1694
2062
|
components: {
|
|
1695
2063
|
schemas: {
|
|
1696
|
-
|
|
2064
|
+
MediaConsolidateRecord: {
|
|
1697
2065
|
type: "object",
|
|
1698
2066
|
properties: {
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
2067
|
+
presets: {
|
|
2068
|
+
type: "object",
|
|
2069
|
+
properties: {
|
|
2070
|
+
audio: {
|
|
2071
|
+
$ref: "#/components/schemas/RenderPreset"
|
|
2072
|
+
},
|
|
2073
|
+
video: {
|
|
2074
|
+
$ref: "#/components/schemas/RenderPreset"
|
|
2075
|
+
},
|
|
2076
|
+
image: {
|
|
2077
|
+
$ref: "#/components/schemas/RenderPreset"
|
|
2078
|
+
}
|
|
2079
|
+
},
|
|
2080
|
+
required: [
|
|
2081
|
+
"audio",
|
|
2082
|
+
"video",
|
|
2083
|
+
"image"
|
|
2084
|
+
]
|
|
1704
2085
|
}
|
|
1705
2086
|
},
|
|
1706
2087
|
required: []
|
|
1707
2088
|
},
|
|
1708
|
-
|
|
2089
|
+
RenderPreset: {
|
|
2090
|
+
oneOf: [
|
|
2091
|
+
{
|
|
2092
|
+
type: "string"
|
|
2093
|
+
},
|
|
2094
|
+
{
|
|
2095
|
+
$ref: "#/components/schemas/RenderPresetObject"
|
|
2096
|
+
}
|
|
2097
|
+
]
|
|
2098
|
+
},
|
|
2099
|
+
RenderPresetObject: {
|
|
1709
2100
|
type: "object",
|
|
1710
|
-
properties: {
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
properties: {
|
|
1716
|
-
to: {
|
|
1717
|
-
type: "object",
|
|
1718
|
-
properties: {
|
|
1719
|
-
synced: {
|
|
1720
|
-
type: "boolean"
|
|
1721
|
-
},
|
|
1722
|
-
since: {
|
|
1723
|
-
oneOf: [
|
|
1724
|
-
{
|
|
1725
|
-
type: "null"
|
|
1726
|
-
},
|
|
1727
|
-
{
|
|
1728
|
-
"const": 0
|
|
1729
|
-
},
|
|
1730
|
-
{
|
|
1731
|
-
type: "string"
|
|
1732
|
-
}
|
|
1733
|
-
]
|
|
1734
|
-
}
|
|
2101
|
+
properties: {
|
|
2102
|
+
type: {
|
|
2103
|
+
oneOf: [
|
|
2104
|
+
{
|
|
2105
|
+
type: "null"
|
|
1735
2106
|
},
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
2107
|
+
{
|
|
2108
|
+
type: "string"
|
|
2109
|
+
}
|
|
2110
|
+
]
|
|
2111
|
+
},
|
|
2112
|
+
profile: {
|
|
2113
|
+
oneOf: [
|
|
2114
|
+
{
|
|
2115
|
+
type: "string"
|
|
2116
|
+
},
|
|
2117
|
+
{
|
|
2118
|
+
type: "array",
|
|
2119
|
+
items: {
|
|
1742
2120
|
oneOf: [
|
|
1743
2121
|
{
|
|
1744
|
-
type: "
|
|
1745
|
-
},
|
|
1746
|
-
{
|
|
1747
|
-
"const": 0
|
|
2122
|
+
type: "string"
|
|
1748
2123
|
},
|
|
1749
2124
|
{
|
|
1750
|
-
|
|
2125
|
+
$ref: "#/components/schemas/RenderProfileObject"
|
|
1751
2126
|
}
|
|
1752
2127
|
]
|
|
1753
2128
|
}
|
|
1754
2129
|
},
|
|
1755
|
-
|
|
1756
|
-
|
|
2130
|
+
{
|
|
2131
|
+
$ref: "#/components/schemas/RenderProfileObject"
|
|
2132
|
+
}
|
|
2133
|
+
]
|
|
2134
|
+
}
|
|
2135
|
+
},
|
|
2136
|
+
required: []
|
|
2137
|
+
},
|
|
2138
|
+
RenderProfileObject: {
|
|
2139
|
+
type: "object",
|
|
2140
|
+
properties: {
|
|
2141
|
+
format: {
|
|
2142
|
+
type: "string"
|
|
1757
2143
|
},
|
|
1758
|
-
|
|
1759
|
-
"
|
|
1760
|
-
|
|
2144
|
+
transcribe: {
|
|
2145
|
+
type: "object",
|
|
2146
|
+
properties: {
|
|
2147
|
+
engine: {
|
|
2148
|
+
type: "string"
|
|
2149
|
+
}
|
|
2150
|
+
},
|
|
2151
|
+
required: [
|
|
2152
|
+
"engine"
|
|
2153
|
+
]
|
|
2154
|
+
},
|
|
2155
|
+
translate: {
|
|
2156
|
+
type: "object",
|
|
2157
|
+
properties: {
|
|
2158
|
+
language: {
|
|
2159
|
+
type: "string"
|
|
2160
|
+
}
|
|
2161
|
+
},
|
|
2162
|
+
required: [
|
|
2163
|
+
"language"
|
|
2164
|
+
]
|
|
2165
|
+
},
|
|
2166
|
+
audio: {
|
|
2167
|
+
type: "object",
|
|
2168
|
+
properties: {
|
|
2169
|
+
codec: {
|
|
2170
|
+
type: "string"
|
|
2171
|
+
},
|
|
2172
|
+
pan: {
|
|
2173
|
+
type: "string"
|
|
2174
|
+
},
|
|
2175
|
+
samplerate: {
|
|
2176
|
+
type: "number"
|
|
2177
|
+
},
|
|
2178
|
+
split: {
|
|
2179
|
+
type: "boolean"
|
|
2180
|
+
}
|
|
2181
|
+
},
|
|
2182
|
+
required: []
|
|
2183
|
+
},
|
|
2184
|
+
video: {},
|
|
2185
|
+
pick: {
|
|
2186
|
+
type: "array",
|
|
2187
|
+
items: {
|
|
2188
|
+
type: "string"
|
|
2189
|
+
}
|
|
2190
|
+
},
|
|
2191
|
+
subtitle: {
|
|
2192
|
+
oneOf: [
|
|
2193
|
+
{
|
|
2194
|
+
type: "string"
|
|
2195
|
+
},
|
|
2196
|
+
{
|
|
2197
|
+
$ref: "#/components/schemas/SubtitleProfile"
|
|
2198
|
+
}
|
|
2199
|
+
]
|
|
2200
|
+
}
|
|
2201
|
+
},
|
|
2202
|
+
required: [
|
|
2203
|
+
"format"
|
|
2204
|
+
]
|
|
2205
|
+
},
|
|
2206
|
+
SubtitleProfile: {
|
|
2207
|
+
type: "object",
|
|
2208
|
+
properties: {
|
|
2209
|
+
lang: {
|
|
2210
|
+
type: "string",
|
|
2211
|
+
description: "Corresponds to a key in `media.subtitles?#languages`, or '_all' to render all languages."
|
|
2212
|
+
},
|
|
2213
|
+
style: {
|
|
2214
|
+
type: "string",
|
|
2215
|
+
description: "Will pick styling from the corresponding `${style}:subtitle-style` asset."
|
|
2216
|
+
}
|
|
2217
|
+
},
|
|
2218
|
+
required: []
|
|
2219
|
+
}
|
|
2220
|
+
}
|
|
2221
|
+
},
|
|
2222
|
+
schemas: [
|
|
2223
|
+
{
|
|
2224
|
+
$ref: "#/components/schemas/MediaConsolidateRecord"
|
|
2225
|
+
}
|
|
2226
|
+
]
|
|
2227
|
+
};
|
|
2228
|
+
}
|
|
2229
|
+
case "asset-daemon": {
|
|
2230
|
+
return {
|
|
2231
|
+
version: "3.1",
|
|
2232
|
+
components: {
|
|
2233
|
+
schemas: {
|
|
2234
|
+
AssetDaemonRecord: {
|
|
2235
|
+
type: "object",
|
|
2236
|
+
properties: {
|
|
2237
|
+
"user-notify": {
|
|
2238
|
+
type: "boolean"
|
|
2239
|
+
}
|
|
2240
|
+
},
|
|
2241
|
+
required: []
|
|
2242
|
+
}
|
|
2243
|
+
}
|
|
2244
|
+
},
|
|
2245
|
+
schemas: [
|
|
2246
|
+
{
|
|
2247
|
+
$ref: "#/components/schemas/AssetDaemonRecord"
|
|
2248
|
+
}
|
|
2249
|
+
]
|
|
2250
|
+
};
|
|
2251
|
+
}
|
|
2252
|
+
case "asset-daemon:user-notify.state": {
|
|
2253
|
+
return {
|
|
2254
|
+
version: "3.1",
|
|
2255
|
+
components: {
|
|
2256
|
+
schemas: {
|
|
2257
|
+
AssetDaemonUserNotifyStateRecord: {
|
|
2258
|
+
type: "object",
|
|
2259
|
+
properties: {
|
|
2260
|
+
since: {
|
|
2261
|
+
oneOf: [
|
|
2262
|
+
{
|
|
2263
|
+
type: "null"
|
|
2264
|
+
},
|
|
2265
|
+
{
|
|
2266
|
+
"const": 0
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
type: "string"
|
|
2270
|
+
}
|
|
2271
|
+
]
|
|
2272
|
+
},
|
|
2273
|
+
version: {
|
|
2274
|
+
type: "number"
|
|
2275
|
+
}
|
|
2276
|
+
},
|
|
2277
|
+
required: []
|
|
2278
|
+
}
|
|
2279
|
+
}
|
|
2280
|
+
},
|
|
2281
|
+
schemas: [
|
|
2282
|
+
{
|
|
2283
|
+
$ref: "#/components/schemas/AssetDaemonUserNotifyStateRecord"
|
|
2284
|
+
}
|
|
2285
|
+
]
|
|
2286
|
+
};
|
|
2287
|
+
}
|
|
2288
|
+
case "deepstream-replicator.stats?": {
|
|
2289
|
+
return {
|
|
2290
|
+
version: "3.1",
|
|
2291
|
+
components: {
|
|
2292
|
+
schemas: {
|
|
2293
|
+
DeepstreamReplicatorStatsRecord: {
|
|
2294
|
+
type: "object",
|
|
2295
|
+
properties: {
|
|
2296
|
+
replicators: {
|
|
2297
|
+
$ref: "#/components/schemas/Recordstring__type"
|
|
2298
|
+
},
|
|
2299
|
+
synced: {
|
|
2300
|
+
type: "boolean"
|
|
2301
|
+
}
|
|
2302
|
+
},
|
|
2303
|
+
required: []
|
|
2304
|
+
},
|
|
2305
|
+
Recordstring__type: {
|
|
2306
|
+
type: "object",
|
|
2307
|
+
properties: {},
|
|
2308
|
+
required: [],
|
|
2309
|
+
description: "Construct a type with a set of properties K of type T",
|
|
2310
|
+
additionalProperties: {
|
|
2311
|
+
type: "object",
|
|
2312
|
+
properties: {
|
|
2313
|
+
to: {
|
|
2314
|
+
type: "object",
|
|
2315
|
+
properties: {
|
|
2316
|
+
synced: {
|
|
2317
|
+
type: "boolean"
|
|
2318
|
+
},
|
|
2319
|
+
since: {
|
|
2320
|
+
oneOf: [
|
|
2321
|
+
{
|
|
2322
|
+
type: "null"
|
|
2323
|
+
},
|
|
2324
|
+
{
|
|
2325
|
+
"const": 0
|
|
2326
|
+
},
|
|
2327
|
+
{
|
|
2328
|
+
type: "string"
|
|
2329
|
+
}
|
|
2330
|
+
]
|
|
2331
|
+
}
|
|
2332
|
+
},
|
|
2333
|
+
required: []
|
|
2334
|
+
},
|
|
2335
|
+
from: {
|
|
2336
|
+
type: "object",
|
|
2337
|
+
properties: {
|
|
2338
|
+
since: {
|
|
2339
|
+
oneOf: [
|
|
2340
|
+
{
|
|
2341
|
+
type: "null"
|
|
2342
|
+
},
|
|
2343
|
+
{
|
|
2344
|
+
"const": 0
|
|
2345
|
+
},
|
|
2346
|
+
{
|
|
2347
|
+
type: "string"
|
|
2348
|
+
}
|
|
2349
|
+
]
|
|
2350
|
+
}
|
|
2351
|
+
},
|
|
2352
|
+
required: []
|
|
2353
|
+
}
|
|
2354
|
+
},
|
|
2355
|
+
required: [
|
|
2356
|
+
"to",
|
|
2357
|
+
"from"
|
|
1761
2358
|
]
|
|
1762
2359
|
}
|
|
1763
2360
|
}
|
|
@@ -1786,7 +2383,14 @@ function _schemasDomainRecord(domain) {
|
|
|
1786
2383
|
type: "object",
|
|
1787
2384
|
properties: {
|
|
1788
2385
|
value: {
|
|
1789
|
-
|
|
2386
|
+
oneOf: [
|
|
2387
|
+
{
|
|
2388
|
+
type: "null"
|
|
2389
|
+
},
|
|
2390
|
+
{
|
|
2391
|
+
type: "string"
|
|
2392
|
+
}
|
|
2393
|
+
]
|
|
1790
2394
|
}
|
|
1791
2395
|
},
|
|
1792
2396
|
required: []
|
|
@@ -2221,179 +2825,559 @@ function _schemasDomainRecord(domain) {
|
|
|
2221
2825
|
{
|
|
2222
2826
|
type: "number"
|
|
2223
2827
|
}
|
|
2224
|
-
]
|
|
2225
|
-
}
|
|
2226
|
-
},
|
|
2227
|
-
required: []
|
|
2228
|
-
}
|
|
2229
|
-
}
|
|
2230
|
-
},
|
|
2231
|
-
schemas: [
|
|
2232
|
-
{
|
|
2233
|
-
$ref: "#/components/schemas/AssetDomainDurationProvidedRecord"
|
|
2234
|
-
}
|
|
2235
|
-
]
|
|
2236
|
-
};
|
|
2237
|
-
}
|
|
2238
|
-
case ":asset.locations?": {
|
|
2239
|
-
return {
|
|
2240
|
-
version: "3.1",
|
|
2241
|
-
components: {
|
|
2242
|
-
schemas: {
|
|
2243
|
-
AssetDomainLocationsProvidedRecord: {
|
|
2244
|
-
type: "object",
|
|
2245
|
-
properties: {
|
|
2246
|
-
value: {
|
|
2828
|
+
]
|
|
2829
|
+
}
|
|
2830
|
+
},
|
|
2831
|
+
required: []
|
|
2832
|
+
}
|
|
2833
|
+
}
|
|
2834
|
+
},
|
|
2835
|
+
schemas: [
|
|
2836
|
+
{
|
|
2837
|
+
$ref: "#/components/schemas/AssetDomainDurationProvidedRecord"
|
|
2838
|
+
}
|
|
2839
|
+
]
|
|
2840
|
+
};
|
|
2841
|
+
}
|
|
2842
|
+
case ":asset.locations?": {
|
|
2843
|
+
return {
|
|
2844
|
+
version: "3.1",
|
|
2845
|
+
components: {
|
|
2846
|
+
schemas: {
|
|
2847
|
+
AssetDomainLocationsProvidedRecord: {
|
|
2848
|
+
type: "object",
|
|
2849
|
+
properties: {
|
|
2850
|
+
value: {
|
|
2851
|
+
type: "array",
|
|
2852
|
+
items: {
|
|
2853
|
+
type: "object",
|
|
2854
|
+
properties: {
|
|
2855
|
+
lat: {
|
|
2856
|
+
type: "number"
|
|
2857
|
+
},
|
|
2858
|
+
lon: {
|
|
2859
|
+
type: "number"
|
|
2860
|
+
}
|
|
2861
|
+
},
|
|
2862
|
+
required: [
|
|
2863
|
+
"lat",
|
|
2864
|
+
"lon"
|
|
2865
|
+
]
|
|
2866
|
+
}
|
|
2867
|
+
}
|
|
2868
|
+
},
|
|
2869
|
+
required: []
|
|
2870
|
+
}
|
|
2871
|
+
}
|
|
2872
|
+
},
|
|
2873
|
+
schemas: [
|
|
2874
|
+
{
|
|
2875
|
+
$ref: "#/components/schemas/AssetDomainLocationsProvidedRecord"
|
|
2876
|
+
}
|
|
2877
|
+
]
|
|
2878
|
+
};
|
|
2879
|
+
}
|
|
2880
|
+
case ":asset.controllers?": {
|
|
2881
|
+
return {
|
|
2882
|
+
version: "3.1",
|
|
2883
|
+
components: {
|
|
2884
|
+
schemas: {
|
|
2885
|
+
AssetDomainControllersProvidedRecord: {
|
|
2886
|
+
type: "object",
|
|
2887
|
+
properties: {
|
|
2888
|
+
value: {
|
|
2889
|
+
type: "array",
|
|
2890
|
+
items: {
|
|
2891
|
+
type: "string"
|
|
2892
|
+
}
|
|
2893
|
+
}
|
|
2894
|
+
},
|
|
2895
|
+
required: []
|
|
2896
|
+
}
|
|
2897
|
+
}
|
|
2898
|
+
},
|
|
2899
|
+
schemas: [
|
|
2900
|
+
{
|
|
2901
|
+
$ref: "#/components/schemas/AssetDomainControllersProvidedRecord"
|
|
2902
|
+
}
|
|
2903
|
+
]
|
|
2904
|
+
};
|
|
2905
|
+
}
|
|
2906
|
+
case ":asset.embedding?": {
|
|
2907
|
+
return {
|
|
2908
|
+
version: "3.1",
|
|
2909
|
+
components: {
|
|
2910
|
+
schemas: {
|
|
2911
|
+
AssetDomainEmbeddingProvidedRecord: {
|
|
2912
|
+
type: "object",
|
|
2913
|
+
properties: {
|
|
2914
|
+
value: {
|
|
2915
|
+
type: "array",
|
|
2916
|
+
items: {
|
|
2917
|
+
type: "string"
|
|
2918
|
+
}
|
|
2919
|
+
}
|
|
2920
|
+
},
|
|
2921
|
+
required: []
|
|
2922
|
+
}
|
|
2923
|
+
}
|
|
2924
|
+
},
|
|
2925
|
+
schemas: [
|
|
2926
|
+
{
|
|
2927
|
+
$ref: "#/components/schemas/AssetDomainEmbeddingProvidedRecord"
|
|
2928
|
+
}
|
|
2929
|
+
]
|
|
2930
|
+
};
|
|
2931
|
+
}
|
|
2932
|
+
case ":asset.media?": {
|
|
2933
|
+
return {
|
|
2934
|
+
version: "3.1",
|
|
2935
|
+
components: {
|
|
2936
|
+
schemas: {
|
|
2937
|
+
AssetDomainMediaProvidedRecord: {
|
|
2938
|
+
type: "object",
|
|
2939
|
+
properties: {},
|
|
2940
|
+
required: [],
|
|
2941
|
+
additionalProperties: {}
|
|
2942
|
+
}
|
|
2943
|
+
}
|
|
2944
|
+
},
|
|
2945
|
+
schemas: [
|
|
2946
|
+
{
|
|
2947
|
+
$ref: "#/components/schemas/AssetDomainMediaProvidedRecord"
|
|
2948
|
+
}
|
|
2949
|
+
]
|
|
2950
|
+
};
|
|
2951
|
+
}
|
|
2952
|
+
case ":asset.presence?": {
|
|
2953
|
+
return {
|
|
2954
|
+
version: "3.1",
|
|
2955
|
+
components: {
|
|
2956
|
+
schemas: {
|
|
2957
|
+
AssetDomainPresenceProvidedRecord: {
|
|
2958
|
+
type: "object",
|
|
2959
|
+
properties: {
|
|
2960
|
+
value: {
|
|
2961
|
+
type: "array",
|
|
2962
|
+
items: {
|
|
2963
|
+
type: "string"
|
|
2964
|
+
}
|
|
2965
|
+
}
|
|
2966
|
+
},
|
|
2967
|
+
required: []
|
|
2968
|
+
}
|
|
2969
|
+
}
|
|
2970
|
+
},
|
|
2971
|
+
schemas: [
|
|
2972
|
+
{
|
|
2973
|
+
$ref: "#/components/schemas/AssetDomainPresenceProvidedRecord"
|
|
2974
|
+
}
|
|
2975
|
+
]
|
|
2976
|
+
};
|
|
2977
|
+
}
|
|
2978
|
+
case ":asset.comments?": {
|
|
2979
|
+
return {
|
|
2980
|
+
version: "3.1",
|
|
2981
|
+
components: {
|
|
2982
|
+
schemas: {
|
|
2983
|
+
AssetCommentsRecord: {
|
|
2984
|
+
type: "object",
|
|
2985
|
+
properties: {
|
|
2986
|
+
value: {
|
|
2987
|
+
type: "array",
|
|
2988
|
+
items: {
|
|
2989
|
+
type: "string"
|
|
2990
|
+
},
|
|
2991
|
+
description: "IDs of comment assets associated with the asset."
|
|
2992
|
+
}
|
|
2993
|
+
},
|
|
2994
|
+
required: []
|
|
2995
|
+
}
|
|
2996
|
+
}
|
|
2997
|
+
},
|
|
2998
|
+
schemas: [
|
|
2999
|
+
{
|
|
3000
|
+
$ref: "#/components/schemas/AssetCommentsRecord"
|
|
3001
|
+
}
|
|
3002
|
+
]
|
|
3003
|
+
};
|
|
3004
|
+
}
|
|
3005
|
+
case ":asset.record?": {
|
|
3006
|
+
return {
|
|
3007
|
+
version: "3.1",
|
|
3008
|
+
components: {
|
|
3009
|
+
schemas: {
|
|
3010
|
+
AssetRecordProvidedRecord: {
|
|
3011
|
+
type: "object",
|
|
3012
|
+
properties: {
|
|
3013
|
+
id: {
|
|
3014
|
+
type: "string"
|
|
3015
|
+
},
|
|
3016
|
+
title: {
|
|
3017
|
+
type: "string"
|
|
3018
|
+
},
|
|
3019
|
+
description: {
|
|
3020
|
+
type: "string"
|
|
3021
|
+
},
|
|
3022
|
+
created: {
|
|
3023
|
+
type: "string"
|
|
3024
|
+
},
|
|
3025
|
+
createdBy: {
|
|
3026
|
+
type: "string"
|
|
3027
|
+
},
|
|
3028
|
+
createdByTitle: {
|
|
3029
|
+
type: "string"
|
|
3030
|
+
},
|
|
3031
|
+
origin: {
|
|
3032
|
+
type: "string"
|
|
3033
|
+
},
|
|
3034
|
+
modified: {
|
|
3035
|
+
type: "string"
|
|
3036
|
+
},
|
|
3037
|
+
modifiedBy: {
|
|
3038
|
+
type: "string"
|
|
3039
|
+
},
|
|
3040
|
+
modifiedByAll: {
|
|
3041
|
+
type: "array",
|
|
3042
|
+
items: {
|
|
3043
|
+
type: "string"
|
|
3044
|
+
}
|
|
3045
|
+
},
|
|
3046
|
+
modifiedByTitle: {
|
|
3047
|
+
type: "string"
|
|
3048
|
+
},
|
|
3049
|
+
duration: {
|
|
3050
|
+
type: "number"
|
|
3051
|
+
},
|
|
3052
|
+
tags: {
|
|
3053
|
+
type: "array",
|
|
3054
|
+
items: {
|
|
3055
|
+
type: "string"
|
|
3056
|
+
}
|
|
3057
|
+
},
|
|
3058
|
+
deadlines: {
|
|
3059
|
+
type: "array",
|
|
3060
|
+
items: {
|
|
3061
|
+
type: "string"
|
|
3062
|
+
}
|
|
3063
|
+
},
|
|
3064
|
+
deadlinesCount: {
|
|
3065
|
+
type: "number"
|
|
3066
|
+
},
|
|
3067
|
+
deadlines_date_range: {
|
|
3068
|
+
type: "array",
|
|
3069
|
+
items: {
|
|
3070
|
+
type: "object",
|
|
3071
|
+
properties: {
|
|
3072
|
+
gte: {
|
|
3073
|
+
type: "string"
|
|
3074
|
+
},
|
|
3075
|
+
lte: {
|
|
3076
|
+
type: "string"
|
|
3077
|
+
}
|
|
3078
|
+
},
|
|
3079
|
+
required: [
|
|
3080
|
+
"gte",
|
|
3081
|
+
"lte"
|
|
3082
|
+
]
|
|
3083
|
+
}
|
|
3084
|
+
},
|
|
3085
|
+
assignees: {
|
|
3086
|
+
type: "array",
|
|
3087
|
+
items: {
|
|
3088
|
+
type: "string"
|
|
3089
|
+
}
|
|
3090
|
+
},
|
|
3091
|
+
assigneesCount: {
|
|
3092
|
+
type: "number"
|
|
3093
|
+
},
|
|
3094
|
+
locations: {
|
|
3095
|
+
type: "array",
|
|
3096
|
+
items: {
|
|
3097
|
+
type: "object",
|
|
3098
|
+
properties: {
|
|
3099
|
+
lat: {
|
|
3100
|
+
type: "number"
|
|
3101
|
+
},
|
|
3102
|
+
lon: {
|
|
3103
|
+
type: "number"
|
|
3104
|
+
}
|
|
3105
|
+
},
|
|
3106
|
+
required: [
|
|
3107
|
+
"lat",
|
|
3108
|
+
"lon"
|
|
3109
|
+
]
|
|
3110
|
+
}
|
|
3111
|
+
},
|
|
3112
|
+
locationsCount: {
|
|
3113
|
+
type: "number"
|
|
3114
|
+
},
|
|
3115
|
+
types: {
|
|
3116
|
+
type: "array",
|
|
3117
|
+
items: {
|
|
3118
|
+
type: "string"
|
|
3119
|
+
}
|
|
3120
|
+
},
|
|
3121
|
+
primaryType: {
|
|
3122
|
+
type: "string"
|
|
3123
|
+
},
|
|
3124
|
+
rawTypes: {
|
|
3125
|
+
type: "array",
|
|
3126
|
+
items: {
|
|
3127
|
+
type: "string"
|
|
3128
|
+
}
|
|
3129
|
+
},
|
|
3130
|
+
status: {
|
|
3131
|
+
type: "object",
|
|
3132
|
+
properties: {
|
|
3133
|
+
messages: {
|
|
3134
|
+
type: "array",
|
|
3135
|
+
items: {
|
|
3136
|
+
type: "object",
|
|
3137
|
+
properties: {
|
|
3138
|
+
code: {
|
|
3139
|
+
type: "string"
|
|
3140
|
+
},
|
|
3141
|
+
level: {
|
|
3142
|
+
type: "number"
|
|
3143
|
+
}
|
|
3144
|
+
},
|
|
3145
|
+
required: []
|
|
3146
|
+
}
|
|
3147
|
+
}
|
|
3148
|
+
},
|
|
3149
|
+
required: []
|
|
3150
|
+
},
|
|
3151
|
+
published: {
|
|
3152
|
+
type: "array",
|
|
3153
|
+
items: {
|
|
3154
|
+
type: "string"
|
|
3155
|
+
}
|
|
3156
|
+
},
|
|
3157
|
+
publishedCount: {
|
|
3158
|
+
type: "number"
|
|
3159
|
+
},
|
|
3160
|
+
storage: {
|
|
3161
|
+
type: "object",
|
|
3162
|
+
properties: {
|
|
3163
|
+
files: {
|
|
3164
|
+
type: "array",
|
|
3165
|
+
items: {
|
|
3166
|
+
type: "string"
|
|
3167
|
+
}
|
|
3168
|
+
},
|
|
3169
|
+
replicas: {
|
|
3170
|
+
type: "array",
|
|
3171
|
+
items: {
|
|
3172
|
+
type: "string"
|
|
3173
|
+
}
|
|
3174
|
+
},
|
|
3175
|
+
locations: {
|
|
3176
|
+
type: "array",
|
|
3177
|
+
items: {
|
|
3178
|
+
type: "string"
|
|
3179
|
+
}
|
|
3180
|
+
},
|
|
3181
|
+
zones: {
|
|
3182
|
+
type: "array",
|
|
3183
|
+
items: {
|
|
3184
|
+
type: "string"
|
|
3185
|
+
}
|
|
3186
|
+
},
|
|
3187
|
+
uploading: {
|
|
3188
|
+
type: "boolean"
|
|
3189
|
+
},
|
|
3190
|
+
size: {
|
|
3191
|
+
type: "number"
|
|
3192
|
+
},
|
|
3193
|
+
filesCount: {
|
|
3194
|
+
type: "number"
|
|
3195
|
+
},
|
|
3196
|
+
replicasCount: {
|
|
3197
|
+
type: "number"
|
|
3198
|
+
},
|
|
3199
|
+
locationsCount: {
|
|
3200
|
+
type: "number"
|
|
3201
|
+
}
|
|
3202
|
+
},
|
|
3203
|
+
required: []
|
|
3204
|
+
},
|
|
3205
|
+
refs: {
|
|
3206
|
+
type: "number"
|
|
3207
|
+
},
|
|
3208
|
+
refsByType: {
|
|
3209
|
+
$ref: "#/components/schemas/Recordstringnumber"
|
|
3210
|
+
},
|
|
3211
|
+
recurrence_date_range: {
|
|
3212
|
+
type: "object",
|
|
3213
|
+
properties: {
|
|
3214
|
+
gte: {
|
|
3215
|
+
type: "string"
|
|
3216
|
+
},
|
|
3217
|
+
lte: {
|
|
3218
|
+
oneOf: [
|
|
3219
|
+
{
|
|
3220
|
+
type: "null"
|
|
3221
|
+
},
|
|
3222
|
+
{
|
|
3223
|
+
type: "string"
|
|
3224
|
+
}
|
|
3225
|
+
]
|
|
3226
|
+
}
|
|
3227
|
+
},
|
|
3228
|
+
required: [
|
|
3229
|
+
"gte",
|
|
3230
|
+
"lte"
|
|
3231
|
+
]
|
|
3232
|
+
},
|
|
3233
|
+
media_date_range: {
|
|
3234
|
+
type: "object",
|
|
3235
|
+
properties: {
|
|
3236
|
+
gte: {
|
|
3237
|
+
type: "string"
|
|
3238
|
+
},
|
|
3239
|
+
lte: {
|
|
3240
|
+
type: "string"
|
|
3241
|
+
}
|
|
3242
|
+
},
|
|
3243
|
+
required: [
|
|
3244
|
+
"gte",
|
|
3245
|
+
"lte"
|
|
3246
|
+
]
|
|
3247
|
+
},
|
|
3248
|
+
ingestschedule_date_range: {
|
|
3249
|
+
type: "object",
|
|
3250
|
+
properties: {
|
|
3251
|
+
gte: {
|
|
3252
|
+
type: "string"
|
|
3253
|
+
},
|
|
3254
|
+
lte: {
|
|
3255
|
+
oneOf: [
|
|
3256
|
+
{
|
|
3257
|
+
type: "null"
|
|
3258
|
+
},
|
|
3259
|
+
{
|
|
3260
|
+
type: "string"
|
|
3261
|
+
}
|
|
3262
|
+
]
|
|
3263
|
+
}
|
|
3264
|
+
},
|
|
3265
|
+
required: [
|
|
3266
|
+
"gte",
|
|
3267
|
+
"lte"
|
|
3268
|
+
]
|
|
3269
|
+
},
|
|
3270
|
+
ingestschedule: {
|
|
3271
|
+
type: "object",
|
|
3272
|
+
properties: {
|
|
3273
|
+
type: {
|
|
3274
|
+
type: "string"
|
|
3275
|
+
},
|
|
3276
|
+
sources: {
|
|
3277
|
+
type: "array",
|
|
3278
|
+
items: {
|
|
3279
|
+
type: "string"
|
|
3280
|
+
}
|
|
3281
|
+
},
|
|
3282
|
+
routes: {
|
|
3283
|
+
type: "array",
|
|
3284
|
+
items: {
|
|
3285
|
+
type: "string"
|
|
3286
|
+
}
|
|
3287
|
+
}
|
|
3288
|
+
},
|
|
3289
|
+
required: []
|
|
3290
|
+
},
|
|
3291
|
+
username: {
|
|
3292
|
+
type: "string"
|
|
3293
|
+
},
|
|
3294
|
+
user: {
|
|
3295
|
+
type: "string"
|
|
3296
|
+
},
|
|
3297
|
+
"note.text": {
|
|
3298
|
+
type: "string"
|
|
3299
|
+
},
|
|
3300
|
+
subtitles: {
|
|
3301
|
+
type: "string"
|
|
3302
|
+
},
|
|
3303
|
+
graphics: {
|
|
3304
|
+
type: "string"
|
|
3305
|
+
},
|
|
3306
|
+
story: {
|
|
3307
|
+
type: "object",
|
|
3308
|
+
properties: {
|
|
3309
|
+
content: {
|
|
3310
|
+
type: "string"
|
|
3311
|
+
},
|
|
3312
|
+
graphics: {
|
|
3313
|
+
type: "array",
|
|
3314
|
+
items: {
|
|
3315
|
+
type: "string"
|
|
3316
|
+
}
|
|
3317
|
+
}
|
|
3318
|
+
},
|
|
3319
|
+
required: []
|
|
3320
|
+
},
|
|
3321
|
+
storyboard: {
|
|
3322
|
+
type: "object",
|
|
3323
|
+
properties: {
|
|
3324
|
+
content: {
|
|
3325
|
+
type: "array",
|
|
3326
|
+
items: {}
|
|
3327
|
+
}
|
|
3328
|
+
},
|
|
3329
|
+
required: []
|
|
3330
|
+
},
|
|
3331
|
+
media: {
|
|
3332
|
+
type: "object",
|
|
3333
|
+
properties: {
|
|
3334
|
+
audio: {},
|
|
3335
|
+
video: {},
|
|
3336
|
+
timecode: {},
|
|
3337
|
+
language: {},
|
|
3338
|
+
transcribe: {}
|
|
3339
|
+
},
|
|
3340
|
+
required: [],
|
|
3341
|
+
description: "These fields are populated from the provided `{id}:asset.media?` record as\nconfigured in the `asset.media` record. Due to the dynamic nature of that record,\nit's hard to type these fields more specifically. For now we only list a few\n(probably) expected fields."
|
|
3342
|
+
},
|
|
3343
|
+
embedding: {
|
|
2247
3344
|
type: "array",
|
|
2248
3345
|
items: {
|
|
2249
3346
|
type: "object",
|
|
2250
3347
|
properties: {
|
|
2251
|
-
|
|
2252
|
-
type: "
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
3348
|
+
vector: {
|
|
3349
|
+
type: "array",
|
|
3350
|
+
items: {
|
|
3351
|
+
type: "number"
|
|
3352
|
+
}
|
|
2256
3353
|
}
|
|
2257
3354
|
},
|
|
2258
3355
|
required: [
|
|
2259
|
-
"
|
|
2260
|
-
"lon"
|
|
3356
|
+
"vector"
|
|
2261
3357
|
]
|
|
2262
3358
|
}
|
|
2263
3359
|
}
|
|
2264
3360
|
},
|
|
2265
|
-
required: [
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
}
|
|
2273
|
-
]
|
|
2274
|
-
};
|
|
2275
|
-
}
|
|
2276
|
-
case ":asset.controllers?": {
|
|
2277
|
-
return {
|
|
2278
|
-
version: "3.1",
|
|
2279
|
-
components: {
|
|
2280
|
-
schemas: {
|
|
2281
|
-
AssetDomainControllersProvidedRecord: {
|
|
2282
|
-
type: "object",
|
|
2283
|
-
properties: {
|
|
2284
|
-
value: {
|
|
2285
|
-
type: "array",
|
|
2286
|
-
items: {
|
|
2287
|
-
type: "string"
|
|
2288
|
-
}
|
|
2289
|
-
}
|
|
2290
|
-
},
|
|
2291
|
-
required: []
|
|
2292
|
-
}
|
|
2293
|
-
}
|
|
2294
|
-
},
|
|
2295
|
-
schemas: [
|
|
2296
|
-
{
|
|
2297
|
-
$ref: "#/components/schemas/AssetDomainControllersProvidedRecord"
|
|
2298
|
-
}
|
|
2299
|
-
]
|
|
2300
|
-
};
|
|
2301
|
-
}
|
|
2302
|
-
case ":asset.embedding?": {
|
|
2303
|
-
return {
|
|
2304
|
-
version: "3.1",
|
|
2305
|
-
components: {
|
|
2306
|
-
schemas: {
|
|
2307
|
-
AssetDomainEmbeddingProvidedRecord: {
|
|
2308
|
-
type: "object",
|
|
2309
|
-
properties: {
|
|
2310
|
-
value: {
|
|
2311
|
-
type: "array",
|
|
2312
|
-
items: {
|
|
2313
|
-
type: "string"
|
|
2314
|
-
}
|
|
2315
|
-
}
|
|
2316
|
-
},
|
|
2317
|
-
required: []
|
|
2318
|
-
}
|
|
2319
|
-
}
|
|
2320
|
-
},
|
|
2321
|
-
schemas: [
|
|
2322
|
-
{
|
|
2323
|
-
$ref: "#/components/schemas/AssetDomainEmbeddingProvidedRecord"
|
|
2324
|
-
}
|
|
2325
|
-
]
|
|
2326
|
-
};
|
|
2327
|
-
}
|
|
2328
|
-
case ":asset.media?": {
|
|
2329
|
-
return {
|
|
2330
|
-
version: "3.1",
|
|
2331
|
-
components: {
|
|
2332
|
-
schemas: {
|
|
2333
|
-
AssetDomainMediaProvidedRecord: {
|
|
3361
|
+
required: [
|
|
3362
|
+
"id"
|
|
3363
|
+
],
|
|
3364
|
+
description: "Elasticsearch indexed record for an asset.\nExtends core fields with dynamic properties from panels and schemas.",
|
|
3365
|
+
additionalProperties: {}
|
|
3366
|
+
},
|
|
3367
|
+
Recordstringnumber: {
|
|
2334
3368
|
type: "object",
|
|
2335
3369
|
properties: {},
|
|
2336
3370
|
required: [],
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
schemas: [
|
|
2342
|
-
{
|
|
2343
|
-
$ref: "#/components/schemas/AssetDomainMediaProvidedRecord"
|
|
2344
|
-
}
|
|
2345
|
-
]
|
|
2346
|
-
};
|
|
2347
|
-
}
|
|
2348
|
-
case ":asset.presence?": {
|
|
2349
|
-
return {
|
|
2350
|
-
version: "3.1",
|
|
2351
|
-
components: {
|
|
2352
|
-
schemas: {
|
|
2353
|
-
AssetDomainPresenceProvidedRecord: {
|
|
2354
|
-
type: "object",
|
|
2355
|
-
properties: {
|
|
2356
|
-
value: {
|
|
2357
|
-
type: "array",
|
|
2358
|
-
items: {
|
|
2359
|
-
type: "string"
|
|
2360
|
-
}
|
|
2361
|
-
}
|
|
2362
|
-
},
|
|
2363
|
-
required: []
|
|
2364
|
-
}
|
|
2365
|
-
}
|
|
2366
|
-
},
|
|
2367
|
-
schemas: [
|
|
2368
|
-
{
|
|
2369
|
-
$ref: "#/components/schemas/AssetDomainPresenceProvidedRecord"
|
|
2370
|
-
}
|
|
2371
|
-
]
|
|
2372
|
-
};
|
|
2373
|
-
}
|
|
2374
|
-
case ":asset.comments?": {
|
|
2375
|
-
return {
|
|
2376
|
-
version: "3.1",
|
|
2377
|
-
components: {
|
|
2378
|
-
schemas: {
|
|
2379
|
-
AssetCommentsRecord: {
|
|
2380
|
-
type: "object",
|
|
2381
|
-
properties: {
|
|
2382
|
-
value: {
|
|
2383
|
-
type: "array",
|
|
2384
|
-
items: {
|
|
2385
|
-
type: "string"
|
|
2386
|
-
},
|
|
2387
|
-
description: "IDs of comment assets associated with the asset."
|
|
2388
|
-
}
|
|
2389
|
-
},
|
|
2390
|
-
required: []
|
|
3371
|
+
description: "Construct a type with a set of properties K of type T",
|
|
3372
|
+
additionalProperties: {
|
|
3373
|
+
type: "number"
|
|
3374
|
+
}
|
|
2391
3375
|
}
|
|
2392
3376
|
}
|
|
2393
3377
|
},
|
|
2394
3378
|
schemas: [
|
|
2395
3379
|
{
|
|
2396
|
-
$ref: "#/components/schemas/
|
|
3380
|
+
$ref: "#/components/schemas/AssetRecordProvidedRecord"
|
|
2397
3381
|
}
|
|
2398
3382
|
]
|
|
2399
3383
|
};
|
|
@@ -5713,6 +6697,70 @@ function _schemasDomainRecord(domain) {
|
|
|
5713
6697
|
]
|
|
5714
6698
|
};
|
|
5715
6699
|
}
|
|
6700
|
+
case ":device": {
|
|
6701
|
+
return {
|
|
6702
|
+
version: "3.1",
|
|
6703
|
+
components: {
|
|
6704
|
+
schemas: {
|
|
6705
|
+
DeviceDomainRecord: {
|
|
6706
|
+
type: "object",
|
|
6707
|
+
properties: {
|
|
6708
|
+
type: {
|
|
6709
|
+
"const": "display"
|
|
6710
|
+
},
|
|
6711
|
+
display: {
|
|
6712
|
+
type: "object",
|
|
6713
|
+
properties: {
|
|
6714
|
+
activeAsset: {
|
|
6715
|
+
type: "string"
|
|
6716
|
+
},
|
|
6717
|
+
editor: {
|
|
6718
|
+
type: "string"
|
|
6719
|
+
}
|
|
6720
|
+
},
|
|
6721
|
+
required: []
|
|
6722
|
+
}
|
|
6723
|
+
},
|
|
6724
|
+
required: []
|
|
6725
|
+
}
|
|
6726
|
+
}
|
|
6727
|
+
},
|
|
6728
|
+
schemas: [
|
|
6729
|
+
{
|
|
6730
|
+
$ref: "#/components/schemas/DeviceDomainRecord"
|
|
6731
|
+
}
|
|
6732
|
+
]
|
|
6733
|
+
};
|
|
6734
|
+
}
|
|
6735
|
+
case ":device.status?": {
|
|
6736
|
+
return {
|
|
6737
|
+
version: "3.1",
|
|
6738
|
+
components: {
|
|
6739
|
+
schemas: {
|
|
6740
|
+
DeviceDomainStatusRecord: {
|
|
6741
|
+
type: "object",
|
|
6742
|
+
properties: {
|
|
6743
|
+
since: {
|
|
6744
|
+
type: "string"
|
|
6745
|
+
},
|
|
6746
|
+
heartbeat: {
|
|
6747
|
+
type: "string"
|
|
6748
|
+
},
|
|
6749
|
+
version: {
|
|
6750
|
+
type: "string"
|
|
6751
|
+
}
|
|
6752
|
+
},
|
|
6753
|
+
required: []
|
|
6754
|
+
}
|
|
6755
|
+
}
|
|
6756
|
+
},
|
|
6757
|
+
schemas: [
|
|
6758
|
+
{
|
|
6759
|
+
$ref: "#/components/schemas/DeviceDomainStatusRecord"
|
|
6760
|
+
}
|
|
6761
|
+
]
|
|
6762
|
+
};
|
|
6763
|
+
}
|
|
5716
6764
|
case ":edit": {
|
|
5717
6765
|
return {
|
|
5718
6766
|
version: "3.1",
|
|
@@ -6582,14 +7630,42 @@ function _schemasDomainRecord(domain) {
|
|
|
6582
7630
|
},
|
|
6583
7631
|
object: {
|
|
6584
7632
|
type: "object",
|
|
6585
|
-
properties: {},
|
|
6586
|
-
required: []
|
|
7633
|
+
properties: {},
|
|
7634
|
+
required: []
|
|
7635
|
+
}
|
|
7636
|
+
}
|
|
7637
|
+
},
|
|
7638
|
+
schemas: [
|
|
7639
|
+
{
|
|
7640
|
+
$ref: "#/components/schemas/FileStats"
|
|
7641
|
+
}
|
|
7642
|
+
]
|
|
7643
|
+
};
|
|
7644
|
+
}
|
|
7645
|
+
case ":folder.items": {
|
|
7646
|
+
return {
|
|
7647
|
+
version: "3.1",
|
|
7648
|
+
components: {
|
|
7649
|
+
schemas: {
|
|
7650
|
+
FolderItemsDomainRecord: {
|
|
7651
|
+
type: "object",
|
|
7652
|
+
properties: {
|
|
7653
|
+
value: {
|
|
7654
|
+
type: "array",
|
|
7655
|
+
items: {
|
|
7656
|
+
type: "string"
|
|
7657
|
+
}
|
|
7658
|
+
}
|
|
7659
|
+
},
|
|
7660
|
+
required: [
|
|
7661
|
+
"value"
|
|
7662
|
+
]
|
|
6587
7663
|
}
|
|
6588
7664
|
}
|
|
6589
7665
|
},
|
|
6590
7666
|
schemas: [
|
|
6591
7667
|
{
|
|
6592
|
-
$ref: "#/components/schemas/
|
|
7668
|
+
$ref: "#/components/schemas/FolderItemsDomainRecord"
|
|
6593
7669
|
}
|
|
6594
7670
|
]
|
|
6595
7671
|
};
|
|
@@ -6795,75 +7871,320 @@ function _schemasDomainRecord(domain) {
|
|
|
6795
7871
|
status: {
|
|
6796
7872
|
type: "string"
|
|
6797
7873
|
},
|
|
6798
|
-
storage: {
|
|
6799
|
-
type: "string"
|
|
7874
|
+
storage: {
|
|
7875
|
+
type: "string"
|
|
7876
|
+
}
|
|
7877
|
+
},
|
|
7878
|
+
required: []
|
|
7879
|
+
}
|
|
7880
|
+
}
|
|
7881
|
+
},
|
|
7882
|
+
schemas: [
|
|
7883
|
+
{
|
|
7884
|
+
$ref: "#/components/schemas/GeneralAssetRecord"
|
|
7885
|
+
}
|
|
7886
|
+
]
|
|
7887
|
+
};
|
|
7888
|
+
}
|
|
7889
|
+
case ":general._embedding": {
|
|
7890
|
+
return {
|
|
7891
|
+
version: "3.1",
|
|
7892
|
+
components: {
|
|
7893
|
+
schemas: {
|
|
7894
|
+
GeneralEmbeddingRecord: {
|
|
7895
|
+
type: "object",
|
|
7896
|
+
properties: {},
|
|
7897
|
+
required: [],
|
|
7898
|
+
additionalProperties: {
|
|
7899
|
+
oneOf: [
|
|
7900
|
+
{
|
|
7901
|
+
type: "null"
|
|
7902
|
+
},
|
|
7903
|
+
{
|
|
7904
|
+
type: "string"
|
|
7905
|
+
}
|
|
7906
|
+
]
|
|
7907
|
+
}
|
|
7908
|
+
}
|
|
7909
|
+
}
|
|
7910
|
+
},
|
|
7911
|
+
schemas: [
|
|
7912
|
+
{
|
|
7913
|
+
$ref: "#/components/schemas/GeneralEmbeddingRecord"
|
|
7914
|
+
}
|
|
7915
|
+
]
|
|
7916
|
+
};
|
|
7917
|
+
}
|
|
7918
|
+
case ":harvest": {
|
|
7919
|
+
return {
|
|
7920
|
+
version: "3.1",
|
|
7921
|
+
components: {
|
|
7922
|
+
schemas: {
|
|
7923
|
+
HarvestDomainRecord: {
|
|
7924
|
+
type: "object",
|
|
7925
|
+
properties: {
|
|
7926
|
+
active: {
|
|
7927
|
+
type: "boolean"
|
|
7928
|
+
},
|
|
7929
|
+
tags: {
|
|
7930
|
+
type: "array",
|
|
7931
|
+
items: {
|
|
7932
|
+
type: "string"
|
|
7933
|
+
}
|
|
7934
|
+
},
|
|
7935
|
+
revisions: {
|
|
7936
|
+
type: "boolean"
|
|
7937
|
+
},
|
|
7938
|
+
concurrency: {
|
|
7939
|
+
type: "number"
|
|
7940
|
+
},
|
|
7941
|
+
throttle: {
|
|
7942
|
+
type: "number"
|
|
7943
|
+
}
|
|
7944
|
+
},
|
|
7945
|
+
required: []
|
|
7946
|
+
}
|
|
7947
|
+
}
|
|
7948
|
+
},
|
|
7949
|
+
schemas: [
|
|
7950
|
+
{
|
|
7951
|
+
$ref: "#/components/schemas/HarvestDomainRecord"
|
|
7952
|
+
}
|
|
7953
|
+
]
|
|
7954
|
+
};
|
|
7955
|
+
}
|
|
7956
|
+
case ":ingestclip": {
|
|
7957
|
+
return {
|
|
7958
|
+
version: "3.1",
|
|
7959
|
+
components: {
|
|
7960
|
+
schemas: {
|
|
7961
|
+
IngestclipDomainRecord: {
|
|
7962
|
+
type: "object",
|
|
7963
|
+
properties: {
|
|
7964
|
+
time: {
|
|
7965
|
+
type: "number"
|
|
7966
|
+
},
|
|
7967
|
+
duration: {
|
|
7968
|
+
type: "number"
|
|
7969
|
+
},
|
|
7970
|
+
type: {
|
|
7971
|
+
type: "string"
|
|
7972
|
+
},
|
|
7973
|
+
record: {
|
|
7974
|
+
type: "string"
|
|
7975
|
+
},
|
|
7976
|
+
data: {
|
|
7977
|
+
type: "boolean"
|
|
7978
|
+
},
|
|
7979
|
+
gallery: {
|
|
7980
|
+
type: "string"
|
|
7981
|
+
},
|
|
7982
|
+
rundown: {
|
|
7983
|
+
type: "string"
|
|
7984
|
+
},
|
|
7985
|
+
segment: {
|
|
7986
|
+
type: "string"
|
|
7987
|
+
},
|
|
7988
|
+
story: {
|
|
7989
|
+
type: "string"
|
|
7990
|
+
},
|
|
7991
|
+
event: {
|
|
7992
|
+
type: "string"
|
|
7993
|
+
},
|
|
7994
|
+
title: {
|
|
7995
|
+
type: "string"
|
|
7996
|
+
},
|
|
7997
|
+
start: {
|
|
7998
|
+
type: "number"
|
|
7999
|
+
},
|
|
8000
|
+
end: {
|
|
8001
|
+
type: "number"
|
|
8002
|
+
},
|
|
8003
|
+
channel: {
|
|
8004
|
+
type: "string"
|
|
8005
|
+
},
|
|
8006
|
+
schedule: {
|
|
8007
|
+
type: "string"
|
|
8008
|
+
},
|
|
8009
|
+
parent: {
|
|
8010
|
+
type: "string"
|
|
8011
|
+
}
|
|
8012
|
+
},
|
|
8013
|
+
required: []
|
|
8014
|
+
}
|
|
8015
|
+
}
|
|
8016
|
+
},
|
|
8017
|
+
schemas: [
|
|
8018
|
+
{
|
|
8019
|
+
$ref: "#/components/schemas/IngestclipDomainRecord"
|
|
8020
|
+
}
|
|
8021
|
+
]
|
|
8022
|
+
};
|
|
8023
|
+
}
|
|
8024
|
+
case ":ingestschedule": {
|
|
8025
|
+
return {
|
|
8026
|
+
version: "3.1",
|
|
8027
|
+
components: {
|
|
8028
|
+
schemas: {
|
|
8029
|
+
IngestScheduleDomainRecord: {
|
|
8030
|
+
type: "object",
|
|
8031
|
+
properties: {
|
|
8032
|
+
io: {
|
|
8033
|
+
type: "object",
|
|
8034
|
+
properties: {},
|
|
8035
|
+
required: [],
|
|
8036
|
+
additionalProperties: {
|
|
8037
|
+
$ref: "#/components/schemas/IngestIo"
|
|
8038
|
+
}
|
|
8039
|
+
},
|
|
8040
|
+
sourcesHint: {
|
|
8041
|
+
type: "string"
|
|
8042
|
+
},
|
|
8043
|
+
enabled: {
|
|
8044
|
+
type: "boolean"
|
|
8045
|
+
},
|
|
8046
|
+
clipname: {
|
|
8047
|
+
oneOf: [
|
|
8048
|
+
{
|
|
8049
|
+
type: "string"
|
|
8050
|
+
},
|
|
8051
|
+
{
|
|
8052
|
+
type: "object",
|
|
8053
|
+
properties: {
|
|
8054
|
+
__context: {
|
|
8055
|
+
$ref: "#/components/schemas/object",
|
|
8056
|
+
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."
|
|
8057
|
+
},
|
|
8058
|
+
__returnValue: {
|
|
8059
|
+
type: "string",
|
|
8060
|
+
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."
|
|
8061
|
+
}
|
|
8062
|
+
},
|
|
8063
|
+
required: [
|
|
8064
|
+
"__context",
|
|
8065
|
+
"__returnValue"
|
|
8066
|
+
]
|
|
8067
|
+
}
|
|
8068
|
+
]
|
|
8069
|
+
},
|
|
8070
|
+
autoTags: {
|
|
8071
|
+
type: "array",
|
|
8072
|
+
items: {
|
|
8073
|
+
type: "string"
|
|
8074
|
+
}
|
|
8075
|
+
},
|
|
8076
|
+
storyboard: {
|
|
8077
|
+
oneOf: [
|
|
8078
|
+
{
|
|
8079
|
+
type: "null"
|
|
8080
|
+
},
|
|
8081
|
+
{
|
|
8082
|
+
type: "string"
|
|
8083
|
+
}
|
|
8084
|
+
]
|
|
8085
|
+
},
|
|
8086
|
+
pipeline: {
|
|
8087
|
+
oneOf: [
|
|
8088
|
+
{
|
|
8089
|
+
type: "null"
|
|
8090
|
+
},
|
|
8091
|
+
{
|
|
8092
|
+
type: "string"
|
|
8093
|
+
}
|
|
8094
|
+
]
|
|
8095
|
+
},
|
|
8096
|
+
type: {
|
|
8097
|
+
oneOf: [
|
|
8098
|
+
{
|
|
8099
|
+
"const": "instant"
|
|
8100
|
+
},
|
|
8101
|
+
{
|
|
8102
|
+
"const": "repeat"
|
|
8103
|
+
},
|
|
8104
|
+
{
|
|
8105
|
+
"const": "salami"
|
|
8106
|
+
}
|
|
8107
|
+
]
|
|
8108
|
+
},
|
|
8109
|
+
salami: {
|
|
8110
|
+
type: "object",
|
|
8111
|
+
properties: {
|
|
8112
|
+
gallery: {
|
|
8113
|
+
oneOf: [
|
|
8114
|
+
{
|
|
8115
|
+
type: "null"
|
|
8116
|
+
},
|
|
8117
|
+
{
|
|
8118
|
+
type: "string"
|
|
8119
|
+
}
|
|
8120
|
+
]
|
|
8121
|
+
},
|
|
8122
|
+
tag: {
|
|
8123
|
+
type: "string"
|
|
8124
|
+
}
|
|
8125
|
+
},
|
|
8126
|
+
required: []
|
|
8127
|
+
},
|
|
8128
|
+
repeat: {
|
|
8129
|
+
$ref: "#/components/schemas/IngestScheduleRepeat"
|
|
8130
|
+
}
|
|
8131
|
+
},
|
|
8132
|
+
required: []
|
|
8133
|
+
},
|
|
8134
|
+
IngestIo: {
|
|
8135
|
+
type: "object",
|
|
8136
|
+
properties: {
|
|
8137
|
+
route: {
|
|
8138
|
+
type: "string"
|
|
8139
|
+
},
|
|
8140
|
+
publish: {
|
|
8141
|
+
type: "array",
|
|
8142
|
+
items: {
|
|
8143
|
+
type: "string"
|
|
8144
|
+
},
|
|
8145
|
+
description: "List of connection IDs"
|
|
6800
8146
|
}
|
|
6801
8147
|
},
|
|
6802
8148
|
required: []
|
|
6803
|
-
}
|
|
6804
|
-
|
|
6805
|
-
},
|
|
6806
|
-
schemas: [
|
|
6807
|
-
{
|
|
6808
|
-
$ref: "#/components/schemas/GeneralAssetRecord"
|
|
6809
|
-
}
|
|
6810
|
-
]
|
|
6811
|
-
};
|
|
6812
|
-
}
|
|
6813
|
-
case ":general._embedding": {
|
|
6814
|
-
return {
|
|
6815
|
-
version: "3.1",
|
|
6816
|
-
components: {
|
|
6817
|
-
schemas: {
|
|
6818
|
-
GeneralEmbeddingRecord: {
|
|
8149
|
+
},
|
|
8150
|
+
object: {
|
|
6819
8151
|
type: "object",
|
|
6820
8152
|
properties: {},
|
|
6821
|
-
required: []
|
|
6822
|
-
|
|
6823
|
-
|
|
6824
|
-
{
|
|
6825
|
-
type: "null"
|
|
6826
|
-
},
|
|
6827
|
-
{
|
|
6828
|
-
type: "string"
|
|
6829
|
-
}
|
|
6830
|
-
]
|
|
6831
|
-
}
|
|
6832
|
-
}
|
|
6833
|
-
}
|
|
6834
|
-
},
|
|
6835
|
-
schemas: [
|
|
6836
|
-
{
|
|
6837
|
-
$ref: "#/components/schemas/GeneralEmbeddingRecord"
|
|
6838
|
-
}
|
|
6839
|
-
]
|
|
6840
|
-
};
|
|
6841
|
-
}
|
|
6842
|
-
case ":harvest": {
|
|
6843
|
-
return {
|
|
6844
|
-
version: "3.1",
|
|
6845
|
-
components: {
|
|
6846
|
-
schemas: {
|
|
6847
|
-
HarvestDomainRecord: {
|
|
8153
|
+
required: []
|
|
8154
|
+
},
|
|
8155
|
+
IngestScheduleRepeat: {
|
|
6848
8156
|
type: "object",
|
|
6849
8157
|
properties: {
|
|
6850
|
-
|
|
6851
|
-
|
|
8158
|
+
freq: {
|
|
8159
|
+
oneOf: [
|
|
8160
|
+
{
|
|
8161
|
+
"const": 0
|
|
8162
|
+
},
|
|
8163
|
+
{
|
|
8164
|
+
"const": 2
|
|
8165
|
+
},
|
|
8166
|
+
{
|
|
8167
|
+
"const": 3
|
|
8168
|
+
}
|
|
8169
|
+
]
|
|
6852
8170
|
},
|
|
6853
|
-
|
|
6854
|
-
type: "
|
|
6855
|
-
items: {
|
|
6856
|
-
type: "string"
|
|
6857
|
-
}
|
|
8171
|
+
until: {
|
|
8172
|
+
type: "string"
|
|
6858
8173
|
},
|
|
6859
|
-
|
|
6860
|
-
type: "
|
|
8174
|
+
start: {
|
|
8175
|
+
type: "string"
|
|
6861
8176
|
},
|
|
6862
|
-
|
|
6863
|
-
type: "
|
|
8177
|
+
tzid: {
|
|
8178
|
+
type: "string"
|
|
6864
8179
|
},
|
|
6865
|
-
|
|
8180
|
+
duration: {
|
|
6866
8181
|
type: "number"
|
|
8182
|
+
},
|
|
8183
|
+
byweekday: {
|
|
8184
|
+
type: "array",
|
|
8185
|
+
items: {
|
|
8186
|
+
type: "number"
|
|
8187
|
+
}
|
|
6867
8188
|
}
|
|
6868
8189
|
},
|
|
6869
8190
|
required: []
|
|
@@ -6872,67 +8193,20 @@ function _schemasDomainRecord(domain) {
|
|
|
6872
8193
|
},
|
|
6873
8194
|
schemas: [
|
|
6874
8195
|
{
|
|
6875
|
-
$ref: "#/components/schemas/
|
|
8196
|
+
$ref: "#/components/schemas/IngestScheduleDomainRecord"
|
|
6876
8197
|
}
|
|
6877
8198
|
]
|
|
6878
8199
|
};
|
|
6879
8200
|
}
|
|
6880
|
-
case ":
|
|
8201
|
+
case ":ingestschedule.stats?": {
|
|
6881
8202
|
return {
|
|
6882
8203
|
version: "3.1",
|
|
6883
8204
|
components: {
|
|
6884
8205
|
schemas: {
|
|
6885
|
-
|
|
8206
|
+
IngestScheduleDomainStatsRecord: {
|
|
6886
8207
|
type: "object",
|
|
6887
8208
|
properties: {
|
|
6888
|
-
|
|
6889
|
-
type: "number"
|
|
6890
|
-
},
|
|
6891
|
-
duration: {
|
|
6892
|
-
type: "number"
|
|
6893
|
-
},
|
|
6894
|
-
type: {
|
|
6895
|
-
type: "string"
|
|
6896
|
-
},
|
|
6897
|
-
record: {
|
|
6898
|
-
type: "string"
|
|
6899
|
-
},
|
|
6900
|
-
data: {
|
|
6901
|
-
type: "boolean"
|
|
6902
|
-
},
|
|
6903
|
-
gallery: {
|
|
6904
|
-
type: "string"
|
|
6905
|
-
},
|
|
6906
|
-
rundown: {
|
|
6907
|
-
type: "string"
|
|
6908
|
-
},
|
|
6909
|
-
segment: {
|
|
6910
|
-
type: "string"
|
|
6911
|
-
},
|
|
6912
|
-
story: {
|
|
6913
|
-
type: "string"
|
|
6914
|
-
},
|
|
6915
|
-
event: {
|
|
6916
|
-
type: "string"
|
|
6917
|
-
},
|
|
6918
|
-
title: {
|
|
6919
|
-
type: "string"
|
|
6920
|
-
},
|
|
6921
|
-
start: {
|
|
6922
|
-
type: "number"
|
|
6923
|
-
},
|
|
6924
|
-
end: {
|
|
6925
|
-
type: "number"
|
|
6926
|
-
},
|
|
6927
|
-
channel: {
|
|
6928
|
-
type: "string"
|
|
6929
|
-
},
|
|
6930
|
-
schedule: {
|
|
6931
|
-
type: "string"
|
|
6932
|
-
},
|
|
6933
|
-
parent: {
|
|
6934
|
-
type: "string"
|
|
6935
|
-
}
|
|
8209
|
+
error: {}
|
|
6936
8210
|
},
|
|
6937
8211
|
required: []
|
|
6938
8212
|
}
|
|
@@ -6940,7 +8214,7 @@ function _schemasDomainRecord(domain) {
|
|
|
6940
8214
|
},
|
|
6941
8215
|
schemas: [
|
|
6942
8216
|
{
|
|
6943
|
-
$ref: "#/components/schemas/
|
|
8217
|
+
$ref: "#/components/schemas/IngestScheduleDomainStatsRecord"
|
|
6944
8218
|
}
|
|
6945
8219
|
]
|
|
6946
8220
|
};
|
|
@@ -8418,6 +9692,31 @@ function _schemasDomainRecord(domain) {
|
|
|
8418
9692
|
]
|
|
8419
9693
|
};
|
|
8420
9694
|
}
|
|
9695
|
+
case ":note": {
|
|
9696
|
+
return {
|
|
9697
|
+
version: "3.1",
|
|
9698
|
+
components: {
|
|
9699
|
+
schemas: {
|
|
9700
|
+
NoteDomainRecord: {
|
|
9701
|
+
type: "object",
|
|
9702
|
+
properties: {
|
|
9703
|
+
value: {
|
|
9704
|
+
type: "string"
|
|
9705
|
+
}
|
|
9706
|
+
},
|
|
9707
|
+
required: [
|
|
9708
|
+
"value"
|
|
9709
|
+
]
|
|
9710
|
+
}
|
|
9711
|
+
}
|
|
9712
|
+
},
|
|
9713
|
+
schemas: [
|
|
9714
|
+
{
|
|
9715
|
+
$ref: "#/components/schemas/NoteDomainRecord"
|
|
9716
|
+
}
|
|
9717
|
+
]
|
|
9718
|
+
};
|
|
9719
|
+
}
|
|
8421
9720
|
case ":panel": {
|
|
8422
9721
|
return {
|
|
8423
9722
|
version: "3.1",
|
|
@@ -8453,7 +9752,7 @@ function _schemasDomainRecord(domain) {
|
|
|
8453
9752
|
properties: {},
|
|
8454
9753
|
required: [],
|
|
8455
9754
|
additionalProperties: {
|
|
8456
|
-
$ref: "#/components/schemas/
|
|
9755
|
+
$ref: "#/components/schemas/PanelPropertyunknown"
|
|
8457
9756
|
}
|
|
8458
9757
|
},
|
|
8459
9758
|
layout: {
|
|
@@ -8499,7 +9798,7 @@ function _schemasDomainRecord(domain) {
|
|
|
8499
9798
|
},
|
|
8500
9799
|
required: []
|
|
8501
9800
|
},
|
|
8502
|
-
|
|
9801
|
+
PanelPropertyunknown: {
|
|
8503
9802
|
type: "object",
|
|
8504
9803
|
properties: {
|
|
8505
9804
|
type: {
|
|
@@ -8592,6 +9891,10 @@ function _schemasDomainRecord(domain) {
|
|
|
8592
9891
|
},
|
|
8593
9892
|
required: []
|
|
8594
9893
|
}
|
|
9894
|
+
},
|
|
9895
|
+
"enum": {
|
|
9896
|
+
type: "array",
|
|
9897
|
+
items: {}
|
|
8595
9898
|
}
|
|
8596
9899
|
},
|
|
8597
9900
|
required: [
|
|
@@ -8655,6 +9958,9 @@ function _schemasDomainRecord(domain) {
|
|
|
8655
9958
|
{
|
|
8656
9959
|
"const": "default"
|
|
8657
9960
|
},
|
|
9961
|
+
{
|
|
9962
|
+
"const": "tags"
|
|
9963
|
+
},
|
|
8658
9964
|
{
|
|
8659
9965
|
"const": "assetTypes"
|
|
8660
9966
|
},
|
|
@@ -8670,9 +9976,6 @@ function _schemasDomainRecord(domain) {
|
|
|
8670
9976
|
{
|
|
8671
9977
|
"const": "textarea"
|
|
8672
9978
|
},
|
|
8673
|
-
{
|
|
8674
|
-
"const": "tags"
|
|
8675
|
-
},
|
|
8676
9979
|
{
|
|
8677
9980
|
$ref: "#/components/schemas/WidgetItem"
|
|
8678
9981
|
}
|
|
@@ -8702,6 +10005,9 @@ function _schemasDomainRecord(domain) {
|
|
|
8702
10005
|
{
|
|
8703
10006
|
"const": "default"
|
|
8704
10007
|
},
|
|
10008
|
+
{
|
|
10009
|
+
"const": "tags"
|
|
10010
|
+
},
|
|
8705
10011
|
{
|
|
8706
10012
|
"const": "assetTypes"
|
|
8707
10013
|
},
|
|
@@ -8716,9 +10022,6 @@ function _schemasDomainRecord(domain) {
|
|
|
8716
10022
|
},
|
|
8717
10023
|
{
|
|
8718
10024
|
"const": "textarea"
|
|
8719
|
-
},
|
|
8720
|
-
{
|
|
8721
|
-
"const": "tags"
|
|
8722
10025
|
}
|
|
8723
10026
|
]
|
|
8724
10027
|
}
|
|
@@ -13624,9 +14927,21 @@ function _schemasDomainRecord(domain) {
|
|
|
13624
14927
|
properties: {
|
|
13625
14928
|
eventThumbnails: {
|
|
13626
14929
|
type: "boolean"
|
|
14930
|
+
},
|
|
14931
|
+
scriptEventFolding: {
|
|
14932
|
+
oneOf: [
|
|
14933
|
+
{
|
|
14934
|
+
"const": "folded"
|
|
14935
|
+
},
|
|
14936
|
+
{
|
|
14937
|
+
"const": "unfoldedUntilFolded"
|
|
14938
|
+
}
|
|
14939
|
+
]
|
|
13627
14940
|
}
|
|
13628
14941
|
},
|
|
13629
|
-
required: [
|
|
14942
|
+
required: [
|
|
14943
|
+
"scriptEventFolding"
|
|
14944
|
+
]
|
|
13630
14945
|
},
|
|
13631
14946
|
gallery: {
|
|
13632
14947
|
type: "object",
|
|
@@ -14153,6 +15468,41 @@ function _schemasDomainRecord(domain) {
|
|
|
14153
15468
|
}
|
|
14154
15469
|
]
|
|
14155
15470
|
},
|
|
15471
|
+
normalize: {
|
|
15472
|
+
type: "object",
|
|
15473
|
+
properties: {
|
|
15474
|
+
presets: {
|
|
15475
|
+
type: "array",
|
|
15476
|
+
items: {
|
|
15477
|
+
type: "object",
|
|
15478
|
+
properties: {
|
|
15479
|
+
id: {
|
|
15480
|
+
type: "string"
|
|
15481
|
+
},
|
|
15482
|
+
title: {
|
|
15483
|
+
type: "string"
|
|
15484
|
+
},
|
|
15485
|
+
i: {
|
|
15486
|
+
type: "number"
|
|
15487
|
+
},
|
|
15488
|
+
tp: {
|
|
15489
|
+
type: "number"
|
|
15490
|
+
}
|
|
15491
|
+
},
|
|
15492
|
+
required: [
|
|
15493
|
+
"id",
|
|
15494
|
+
"title",
|
|
15495
|
+
"i",
|
|
15496
|
+
"tp"
|
|
15497
|
+
]
|
|
15498
|
+
}
|
|
15499
|
+
},
|
|
15500
|
+
defaultPresetId: {
|
|
15501
|
+
type: "string"
|
|
15502
|
+
}
|
|
15503
|
+
},
|
|
15504
|
+
required: []
|
|
15505
|
+
},
|
|
14156
15506
|
voiceOver: {
|
|
14157
15507
|
type: "object",
|
|
14158
15508
|
properties: {
|
|
@@ -14546,6 +15896,24 @@ function _schemasDomainRecord(domain) {
|
|
|
14546
15896
|
}
|
|
14547
15897
|
},
|
|
14548
15898
|
required: []
|
|
15899
|
+
},
|
|
15900
|
+
display: {
|
|
15901
|
+
type: "object",
|
|
15902
|
+
properties: {
|
|
15903
|
+
disableHotArea: {
|
|
15904
|
+
type: "boolean"
|
|
15905
|
+
}
|
|
15906
|
+
},
|
|
15907
|
+
required: []
|
|
15908
|
+
},
|
|
15909
|
+
bookmarks: {
|
|
15910
|
+
type: "object",
|
|
15911
|
+
properties: {
|
|
15912
|
+
refreshInterval: {
|
|
15913
|
+
type: "number"
|
|
15914
|
+
}
|
|
15915
|
+
},
|
|
15916
|
+
required: []
|
|
14549
15917
|
}
|
|
14550
15918
|
},
|
|
14551
15919
|
required: []
|
|
@@ -14732,6 +16100,40 @@ function _schemasDomainRecord(domain) {
|
|
|
14732
16100
|
]
|
|
14733
16101
|
};
|
|
14734
16102
|
}
|
|
16103
|
+
case ":settings.node": {
|
|
16104
|
+
return {
|
|
16105
|
+
version: "3.1",
|
|
16106
|
+
components: {
|
|
16107
|
+
schemas: {
|
|
16108
|
+
SettingsNodeRecord: {
|
|
16109
|
+
type: "object",
|
|
16110
|
+
properties: {},
|
|
16111
|
+
required: [],
|
|
16112
|
+
additionalProperties: {
|
|
16113
|
+
type: "object",
|
|
16114
|
+
properties: {
|
|
16115
|
+
collapsed: {
|
|
16116
|
+
type: "boolean"
|
|
16117
|
+
},
|
|
16118
|
+
hidden: {
|
|
16119
|
+
type: "boolean"
|
|
16120
|
+
}
|
|
16121
|
+
},
|
|
16122
|
+
required: [
|
|
16123
|
+
"collapsed",
|
|
16124
|
+
"hidden"
|
|
16125
|
+
]
|
|
16126
|
+
}
|
|
16127
|
+
}
|
|
16128
|
+
}
|
|
16129
|
+
},
|
|
16130
|
+
schemas: [
|
|
16131
|
+
{
|
|
16132
|
+
$ref: "#/components/schemas/SettingsNodeRecord"
|
|
16133
|
+
}
|
|
16134
|
+
]
|
|
16135
|
+
};
|
|
16136
|
+
}
|
|
14735
16137
|
case ":shotbox": {
|
|
14736
16138
|
return {
|
|
14737
16139
|
version: "3.1",
|