@nxtedition/types 23.1.8 → 23.1.9
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/settings.d.ts +1 -0
- package/dist/nxtpression.d.ts +11 -24
- package/dist/records/domains/event.d.ts +2 -1
- package/dist/records/domains/media.d.ts +8 -0
- package/dist/records/domains/template.d.ts +2 -22
- package/dist/records/validate/assert-guard.js +1536 -574
- package/dist/records/validate/assert.js +1539 -577
- package/dist/records/validate/is.js +68 -17
- package/dist/records/validate/schemas.js +1000 -332
- package/dist/records/validate/stringify.js +144 -21
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +19760 -18866
- package/dist/records/validate/validate.js +1255 -465
- package/package.json +1 -1
|
@@ -7101,6 +7101,307 @@ function _schemaDomainRecord(domain) {
|
|
|
7101
7101
|
}
|
|
7102
7102
|
};
|
|
7103
7103
|
}
|
|
7104
|
+
case ":template": {
|
|
7105
|
+
return {
|
|
7106
|
+
version: "3.1",
|
|
7107
|
+
components: {
|
|
7108
|
+
schemas: {
|
|
7109
|
+
TemplateRecord: {
|
|
7110
|
+
type: "object",
|
|
7111
|
+
properties: {
|
|
7112
|
+
source: {
|
|
7113
|
+
type: "string"
|
|
7114
|
+
},
|
|
7115
|
+
controller: {
|
|
7116
|
+
type: "string"
|
|
7117
|
+
},
|
|
7118
|
+
type: {
|
|
7119
|
+
type: "string"
|
|
7120
|
+
},
|
|
7121
|
+
mixin: {
|
|
7122
|
+
type: "array",
|
|
7123
|
+
items: {
|
|
7124
|
+
type: "string"
|
|
7125
|
+
}
|
|
7126
|
+
},
|
|
7127
|
+
properties: {
|
|
7128
|
+
$ref: "#/components/schemas/RecordstringTemplateProperty"
|
|
7129
|
+
}
|
|
7130
|
+
},
|
|
7131
|
+
required: []
|
|
7132
|
+
},
|
|
7133
|
+
RecordstringTemplateProperty: {
|
|
7134
|
+
type: "object",
|
|
7135
|
+
properties: {},
|
|
7136
|
+
required: [],
|
|
7137
|
+
description: "Construct a type with a set of properties K of type T",
|
|
7138
|
+
additionalProperties: {
|
|
7139
|
+
$ref: "#/components/schemas/TemplateProperty"
|
|
7140
|
+
}
|
|
7141
|
+
},
|
|
7142
|
+
TemplateProperty: {
|
|
7143
|
+
type: "object",
|
|
7144
|
+
properties: {
|
|
7145
|
+
path: {
|
|
7146
|
+
type: "string"
|
|
7147
|
+
},
|
|
7148
|
+
render: {
|
|
7149
|
+
type: "object",
|
|
7150
|
+
properties: {
|
|
7151
|
+
type: {
|
|
7152
|
+
"const": "image"
|
|
7153
|
+
},
|
|
7154
|
+
profile: {
|
|
7155
|
+
type: "object",
|
|
7156
|
+
properties: {
|
|
7157
|
+
format: {
|
|
7158
|
+
type: "string"
|
|
7159
|
+
},
|
|
7160
|
+
video: {
|
|
7161
|
+
type: "object",
|
|
7162
|
+
properties: {
|
|
7163
|
+
width: {
|
|
7164
|
+
type: "number"
|
|
7165
|
+
},
|
|
7166
|
+
height: {
|
|
7167
|
+
type: "number"
|
|
7168
|
+
},
|
|
7169
|
+
fit: {
|
|
7170
|
+
"const": "cover"
|
|
7171
|
+
}
|
|
7172
|
+
},
|
|
7173
|
+
required: [
|
|
7174
|
+
"width",
|
|
7175
|
+
"height",
|
|
7176
|
+
"fit"
|
|
7177
|
+
]
|
|
7178
|
+
}
|
|
7179
|
+
},
|
|
7180
|
+
required: []
|
|
7181
|
+
}
|
|
7182
|
+
},
|
|
7183
|
+
required: [
|
|
7184
|
+
"type"
|
|
7185
|
+
]
|
|
7186
|
+
},
|
|
7187
|
+
type: {
|
|
7188
|
+
oneOf: [
|
|
7189
|
+
{
|
|
7190
|
+
"const": "string"
|
|
7191
|
+
},
|
|
7192
|
+
{
|
|
7193
|
+
"const": "number"
|
|
7194
|
+
},
|
|
7195
|
+
{
|
|
7196
|
+
"const": "boolean"
|
|
7197
|
+
},
|
|
7198
|
+
{
|
|
7199
|
+
"const": "object"
|
|
7200
|
+
},
|
|
7201
|
+
{
|
|
7202
|
+
"const": "array"
|
|
7203
|
+
},
|
|
7204
|
+
{
|
|
7205
|
+
"const": "asset"
|
|
7206
|
+
},
|
|
7207
|
+
{
|
|
7208
|
+
"const": "datetime"
|
|
7209
|
+
},
|
|
7210
|
+
{
|
|
7211
|
+
"const": "rpc"
|
|
7212
|
+
}
|
|
7213
|
+
],
|
|
7214
|
+
description: "Specifying what type of data will be entered into the field."
|
|
7215
|
+
},
|
|
7216
|
+
title: {
|
|
7217
|
+
type: "string",
|
|
7218
|
+
description: "User-friendly title of the property. This will be used as the field's label in the UI."
|
|
7219
|
+
},
|
|
7220
|
+
description: {
|
|
7221
|
+
type: "string"
|
|
7222
|
+
},
|
|
7223
|
+
required: {
|
|
7224
|
+
type: "boolean",
|
|
7225
|
+
description: "If present, indicates that the user must specify a value for the asset to be treated as valid."
|
|
7226
|
+
},
|
|
7227
|
+
oneOf: {
|
|
7228
|
+
type: "array",
|
|
7229
|
+
items: {
|
|
7230
|
+
$ref: "#/components/schemas/SchemaPropertyunknown"
|
|
7231
|
+
}
|
|
7232
|
+
},
|
|
7233
|
+
anyOf: {
|
|
7234
|
+
type: "array",
|
|
7235
|
+
items: {
|
|
7236
|
+
$ref: "#/components/schemas/SchemaPropertyunknown"
|
|
7237
|
+
}
|
|
7238
|
+
},
|
|
7239
|
+
"enum": {
|
|
7240
|
+
type: "array",
|
|
7241
|
+
items: {}
|
|
7242
|
+
},
|
|
7243
|
+
minItems: {
|
|
7244
|
+
type: "number"
|
|
7245
|
+
},
|
|
7246
|
+
maxItems: {
|
|
7247
|
+
type: "number"
|
|
7248
|
+
},
|
|
7249
|
+
items: {
|
|
7250
|
+
$ref: "#/components/schemas/SchemaPropertyunknown"
|
|
7251
|
+
},
|
|
7252
|
+
properties: {
|
|
7253
|
+
$ref: "#/components/schemas/RecordstringSchemaPropertyunknown"
|
|
7254
|
+
},
|
|
7255
|
+
"default": {},
|
|
7256
|
+
"const": {},
|
|
7257
|
+
widget: {
|
|
7258
|
+
oneOf: [
|
|
7259
|
+
{
|
|
7260
|
+
type: "string"
|
|
7261
|
+
},
|
|
7262
|
+
{
|
|
7263
|
+
$ref: "#/components/schemas/WidgetOptions"
|
|
7264
|
+
}
|
|
7265
|
+
]
|
|
7266
|
+
},
|
|
7267
|
+
placeholder: {
|
|
7268
|
+
type: "string"
|
|
7269
|
+
},
|
|
7270
|
+
helpText: {
|
|
7271
|
+
type: "string"
|
|
7272
|
+
},
|
|
7273
|
+
invalid: {
|
|
7274
|
+
type: "boolean"
|
|
7275
|
+
},
|
|
7276
|
+
emptyValue: {}
|
|
7277
|
+
},
|
|
7278
|
+
required: []
|
|
7279
|
+
},
|
|
7280
|
+
SchemaPropertyunknown: {
|
|
7281
|
+
type: "object",
|
|
7282
|
+
properties: {
|
|
7283
|
+
type: {
|
|
7284
|
+
oneOf: [
|
|
7285
|
+
{
|
|
7286
|
+
"const": "string"
|
|
7287
|
+
},
|
|
7288
|
+
{
|
|
7289
|
+
"const": "number"
|
|
7290
|
+
},
|
|
7291
|
+
{
|
|
7292
|
+
"const": "boolean"
|
|
7293
|
+
},
|
|
7294
|
+
{
|
|
7295
|
+
"const": "object"
|
|
7296
|
+
},
|
|
7297
|
+
{
|
|
7298
|
+
"const": "array"
|
|
7299
|
+
},
|
|
7300
|
+
{
|
|
7301
|
+
"const": "asset"
|
|
7302
|
+
},
|
|
7303
|
+
{
|
|
7304
|
+
"const": "datetime"
|
|
7305
|
+
},
|
|
7306
|
+
{
|
|
7307
|
+
"const": "rpc"
|
|
7308
|
+
}
|
|
7309
|
+
],
|
|
7310
|
+
description: "Specifying what type of data will be entered into the field."
|
|
7311
|
+
},
|
|
7312
|
+
title: {
|
|
7313
|
+
type: "string",
|
|
7314
|
+
description: "User-friendly title of the property. This will be used as the field's label in the UI."
|
|
7315
|
+
},
|
|
7316
|
+
description: {
|
|
7317
|
+
type: "string"
|
|
7318
|
+
},
|
|
7319
|
+
required: {
|
|
7320
|
+
type: "boolean",
|
|
7321
|
+
description: "If present, indicates that the user must specify a value for the asset to be treated as valid."
|
|
7322
|
+
},
|
|
7323
|
+
oneOf: {
|
|
7324
|
+
type: "array",
|
|
7325
|
+
items: {
|
|
7326
|
+
$ref: "#/components/schemas/SchemaPropertyunknown"
|
|
7327
|
+
}
|
|
7328
|
+
},
|
|
7329
|
+
anyOf: {
|
|
7330
|
+
type: "array",
|
|
7331
|
+
items: {
|
|
7332
|
+
$ref: "#/components/schemas/SchemaPropertyunknown"
|
|
7333
|
+
}
|
|
7334
|
+
},
|
|
7335
|
+
"enum": {
|
|
7336
|
+
type: "array",
|
|
7337
|
+
items: {}
|
|
7338
|
+
},
|
|
7339
|
+
minItems: {
|
|
7340
|
+
type: "number"
|
|
7341
|
+
},
|
|
7342
|
+
maxItems: {
|
|
7343
|
+
type: "number"
|
|
7344
|
+
},
|
|
7345
|
+
items: {
|
|
7346
|
+
$ref: "#/components/schemas/SchemaPropertyunknown"
|
|
7347
|
+
},
|
|
7348
|
+
properties: {
|
|
7349
|
+
$ref: "#/components/schemas/RecordstringSchemaPropertyunknown"
|
|
7350
|
+
},
|
|
7351
|
+
"default": {},
|
|
7352
|
+
"const": {},
|
|
7353
|
+
widget: {
|
|
7354
|
+
oneOf: [
|
|
7355
|
+
{
|
|
7356
|
+
type: "string"
|
|
7357
|
+
},
|
|
7358
|
+
{
|
|
7359
|
+
$ref: "#/components/schemas/WidgetOptions"
|
|
7360
|
+
}
|
|
7361
|
+
]
|
|
7362
|
+
},
|
|
7363
|
+
placeholder: {
|
|
7364
|
+
type: "string"
|
|
7365
|
+
},
|
|
7366
|
+
helpText: {
|
|
7367
|
+
type: "string"
|
|
7368
|
+
},
|
|
7369
|
+
invalid: {
|
|
7370
|
+
type: "boolean"
|
|
7371
|
+
},
|
|
7372
|
+
emptyValue: {}
|
|
7373
|
+
},
|
|
7374
|
+
required: []
|
|
7375
|
+
},
|
|
7376
|
+
RecordstringSchemaPropertyunknown: {
|
|
7377
|
+
type: "object",
|
|
7378
|
+
properties: {},
|
|
7379
|
+
required: [],
|
|
7380
|
+
description: "Construct a type with a set of properties K of type T",
|
|
7381
|
+
additionalProperties: {
|
|
7382
|
+
$ref: "#/components/schemas/SchemaPropertyunknown"
|
|
7383
|
+
}
|
|
7384
|
+
},
|
|
7385
|
+
WidgetOptions: {
|
|
7386
|
+
type: "object",
|
|
7387
|
+
properties: {
|
|
7388
|
+
type: {
|
|
7389
|
+
type: "string"
|
|
7390
|
+
},
|
|
7391
|
+
readOnly: {
|
|
7392
|
+
type: "boolean"
|
|
7393
|
+
}
|
|
7394
|
+
},
|
|
7395
|
+
required: [],
|
|
7396
|
+
additionalProperties: {}
|
|
7397
|
+
}
|
|
7398
|
+
}
|
|
7399
|
+
},
|
|
7400
|
+
schema: {
|
|
7401
|
+
$ref: "#/components/schemas/TemplateRecord"
|
|
7402
|
+
}
|
|
7403
|
+
};
|
|
7404
|
+
}
|
|
7104
7405
|
case ":event": {
|
|
7105
7406
|
return {
|
|
7106
7407
|
version: "3.1",
|
|
@@ -7112,107 +7413,519 @@ function _schemaDomainRecord(domain) {
|
|
|
7112
7413
|
start: {
|
|
7113
7414
|
oneOf: [
|
|
7114
7415
|
{
|
|
7115
|
-
type: "null"
|
|
7416
|
+
type: "null"
|
|
7417
|
+
},
|
|
7418
|
+
{
|
|
7419
|
+
type: "number"
|
|
7420
|
+
}
|
|
7421
|
+
]
|
|
7422
|
+
},
|
|
7423
|
+
end: {
|
|
7424
|
+
oneOf: [
|
|
7425
|
+
{
|
|
7426
|
+
type: "null"
|
|
7427
|
+
},
|
|
7428
|
+
{
|
|
7429
|
+
type: "number"
|
|
7430
|
+
}
|
|
7431
|
+
]
|
|
7432
|
+
},
|
|
7433
|
+
duration: {
|
|
7434
|
+
oneOf: [
|
|
7435
|
+
{
|
|
7436
|
+
type: "null"
|
|
7437
|
+
},
|
|
7438
|
+
{
|
|
7439
|
+
type: "number"
|
|
7440
|
+
}
|
|
7441
|
+
]
|
|
7442
|
+
},
|
|
7443
|
+
position: {
|
|
7444
|
+
type: "string"
|
|
7445
|
+
},
|
|
7446
|
+
text: {
|
|
7447
|
+
type: "string"
|
|
7448
|
+
},
|
|
7449
|
+
lang: {
|
|
7450
|
+
type: "string"
|
|
7451
|
+
},
|
|
7452
|
+
style: {
|
|
7453
|
+
type: "string"
|
|
7454
|
+
},
|
|
7455
|
+
styleOverrides: {
|
|
7456
|
+
$ref: "#/components/schemas/SubtitleEventStyleOverrides"
|
|
7457
|
+
}
|
|
7458
|
+
},
|
|
7459
|
+
required: []
|
|
7460
|
+
},
|
|
7461
|
+
SubtitleEventStyleOverrides: {
|
|
7462
|
+
type: "object",
|
|
7463
|
+
properties: {
|
|
7464
|
+
marginL: {
|
|
7465
|
+
type: "string"
|
|
7466
|
+
},
|
|
7467
|
+
marginR: {
|
|
7468
|
+
type: "string"
|
|
7469
|
+
},
|
|
7470
|
+
marginV: {
|
|
7471
|
+
type: "string"
|
|
7472
|
+
},
|
|
7473
|
+
alignment: {
|
|
7474
|
+
type: "string"
|
|
7475
|
+
},
|
|
7476
|
+
fontname: {
|
|
7477
|
+
type: "string"
|
|
7478
|
+
},
|
|
7479
|
+
fontsize: {
|
|
7480
|
+
type: "string"
|
|
7481
|
+
},
|
|
7482
|
+
primaryColour: {
|
|
7483
|
+
type: "string"
|
|
7484
|
+
},
|
|
7485
|
+
secondaryColour: {
|
|
7486
|
+
type: "string"
|
|
7487
|
+
},
|
|
7488
|
+
outlineColour: {
|
|
7489
|
+
type: "string"
|
|
7490
|
+
},
|
|
7491
|
+
backColour: {
|
|
7492
|
+
type: "string"
|
|
7493
|
+
},
|
|
7494
|
+
bold: {
|
|
7495
|
+
type: "string"
|
|
7496
|
+
},
|
|
7497
|
+
italic: {
|
|
7498
|
+
type: "string"
|
|
7499
|
+
},
|
|
7500
|
+
underline: {
|
|
7501
|
+
type: "string"
|
|
7502
|
+
},
|
|
7503
|
+
strikeOut: {
|
|
7504
|
+
type: "string"
|
|
7505
|
+
}
|
|
7506
|
+
},
|
|
7507
|
+
required: []
|
|
7508
|
+
}
|
|
7509
|
+
}
|
|
7510
|
+
},
|
|
7511
|
+
schema: {
|
|
7512
|
+
$ref: "#/components/schemas/EventRecord"
|
|
7513
|
+
}
|
|
7514
|
+
};
|
|
7515
|
+
}
|
|
7516
|
+
case ":event._template?": {
|
|
7517
|
+
return {
|
|
7518
|
+
version: "3.1",
|
|
7519
|
+
components: {
|
|
7520
|
+
schemas: {
|
|
7521
|
+
EventTemplateRecord: {
|
|
7522
|
+
type: "object",
|
|
7523
|
+
properties: {
|
|
7524
|
+
mixin: {
|
|
7525
|
+
type: "array",
|
|
7526
|
+
items: {
|
|
7527
|
+
type: "string"
|
|
7528
|
+
}
|
|
7529
|
+
},
|
|
7530
|
+
properties: {
|
|
7531
|
+
$ref: "#/components/schemas/RecordstringTemplateProperty"
|
|
7532
|
+
},
|
|
7533
|
+
layout: {
|
|
7534
|
+
type: "object",
|
|
7535
|
+
properties: {
|
|
7536
|
+
title: {
|
|
7537
|
+
type: "string"
|
|
7538
|
+
}
|
|
7539
|
+
},
|
|
7540
|
+
required: []
|
|
7541
|
+
},
|
|
7542
|
+
controller: {
|
|
7543
|
+
type: "string"
|
|
7544
|
+
}
|
|
7545
|
+
},
|
|
7546
|
+
required: []
|
|
7547
|
+
},
|
|
7548
|
+
RecordstringTemplateProperty: {
|
|
7549
|
+
type: "object",
|
|
7550
|
+
properties: {},
|
|
7551
|
+
required: [],
|
|
7552
|
+
description: "Construct a type with a set of properties K of type T",
|
|
7553
|
+
additionalProperties: {
|
|
7554
|
+
$ref: "#/components/schemas/TemplateProperty"
|
|
7555
|
+
}
|
|
7556
|
+
},
|
|
7557
|
+
TemplateProperty: {
|
|
7558
|
+
type: "object",
|
|
7559
|
+
properties: {
|
|
7560
|
+
path: {
|
|
7561
|
+
type: "string"
|
|
7562
|
+
},
|
|
7563
|
+
render: {
|
|
7564
|
+
type: "object",
|
|
7565
|
+
properties: {
|
|
7566
|
+
type: {
|
|
7567
|
+
"const": "image"
|
|
7568
|
+
},
|
|
7569
|
+
profile: {
|
|
7570
|
+
type: "object",
|
|
7571
|
+
properties: {
|
|
7572
|
+
format: {
|
|
7573
|
+
type: "string"
|
|
7574
|
+
},
|
|
7575
|
+
video: {
|
|
7576
|
+
type: "object",
|
|
7577
|
+
properties: {
|
|
7578
|
+
width: {
|
|
7579
|
+
type: "number"
|
|
7580
|
+
},
|
|
7581
|
+
height: {
|
|
7582
|
+
type: "number"
|
|
7583
|
+
},
|
|
7584
|
+
fit: {
|
|
7585
|
+
"const": "cover"
|
|
7586
|
+
}
|
|
7587
|
+
},
|
|
7588
|
+
required: [
|
|
7589
|
+
"width",
|
|
7590
|
+
"height",
|
|
7591
|
+
"fit"
|
|
7592
|
+
]
|
|
7593
|
+
}
|
|
7594
|
+
},
|
|
7595
|
+
required: []
|
|
7596
|
+
}
|
|
7597
|
+
},
|
|
7598
|
+
required: [
|
|
7599
|
+
"type"
|
|
7600
|
+
]
|
|
7601
|
+
},
|
|
7602
|
+
type: {
|
|
7603
|
+
oneOf: [
|
|
7604
|
+
{
|
|
7605
|
+
"const": "string"
|
|
7606
|
+
},
|
|
7607
|
+
{
|
|
7608
|
+
"const": "number"
|
|
7609
|
+
},
|
|
7610
|
+
{
|
|
7611
|
+
"const": "boolean"
|
|
7612
|
+
},
|
|
7613
|
+
{
|
|
7614
|
+
"const": "object"
|
|
7615
|
+
},
|
|
7616
|
+
{
|
|
7617
|
+
"const": "array"
|
|
7618
|
+
},
|
|
7619
|
+
{
|
|
7620
|
+
"const": "asset"
|
|
7621
|
+
},
|
|
7622
|
+
{
|
|
7623
|
+
"const": "datetime"
|
|
7624
|
+
},
|
|
7625
|
+
{
|
|
7626
|
+
"const": "rpc"
|
|
7627
|
+
}
|
|
7628
|
+
],
|
|
7629
|
+
description: "Specifying what type of data will be entered into the field."
|
|
7630
|
+
},
|
|
7631
|
+
title: {
|
|
7632
|
+
type: "string",
|
|
7633
|
+
description: "User-friendly title of the property. This will be used as the field's label in the UI."
|
|
7634
|
+
},
|
|
7635
|
+
description: {
|
|
7636
|
+
type: "string"
|
|
7637
|
+
},
|
|
7638
|
+
required: {
|
|
7639
|
+
type: "boolean",
|
|
7640
|
+
description: "If present, indicates that the user must specify a value for the asset to be treated as valid."
|
|
7641
|
+
},
|
|
7642
|
+
oneOf: {
|
|
7643
|
+
type: "array",
|
|
7644
|
+
items: {
|
|
7645
|
+
$ref: "#/components/schemas/SchemaPropertyunknown"
|
|
7646
|
+
}
|
|
7647
|
+
},
|
|
7648
|
+
anyOf: {
|
|
7649
|
+
type: "array",
|
|
7650
|
+
items: {
|
|
7651
|
+
$ref: "#/components/schemas/SchemaPropertyunknown"
|
|
7652
|
+
}
|
|
7653
|
+
},
|
|
7654
|
+
"enum": {
|
|
7655
|
+
type: "array",
|
|
7656
|
+
items: {}
|
|
7657
|
+
},
|
|
7658
|
+
minItems: {
|
|
7659
|
+
type: "number"
|
|
7660
|
+
},
|
|
7661
|
+
maxItems: {
|
|
7662
|
+
type: "number"
|
|
7663
|
+
},
|
|
7664
|
+
items: {
|
|
7665
|
+
$ref: "#/components/schemas/SchemaPropertyunknown"
|
|
7666
|
+
},
|
|
7667
|
+
properties: {
|
|
7668
|
+
$ref: "#/components/schemas/RecordstringSchemaPropertyunknown"
|
|
7669
|
+
},
|
|
7670
|
+
"default": {},
|
|
7671
|
+
"const": {},
|
|
7672
|
+
widget: {
|
|
7673
|
+
oneOf: [
|
|
7674
|
+
{
|
|
7675
|
+
type: "string"
|
|
7116
7676
|
},
|
|
7117
7677
|
{
|
|
7118
|
-
|
|
7678
|
+
$ref: "#/components/schemas/WidgetOptions"
|
|
7119
7679
|
}
|
|
7120
7680
|
]
|
|
7121
7681
|
},
|
|
7122
|
-
|
|
7682
|
+
placeholder: {
|
|
7683
|
+
type: "string"
|
|
7684
|
+
},
|
|
7685
|
+
helpText: {
|
|
7686
|
+
type: "string"
|
|
7687
|
+
},
|
|
7688
|
+
invalid: {
|
|
7689
|
+
type: "boolean"
|
|
7690
|
+
},
|
|
7691
|
+
emptyValue: {}
|
|
7692
|
+
},
|
|
7693
|
+
required: []
|
|
7694
|
+
},
|
|
7695
|
+
SchemaPropertyunknown: {
|
|
7696
|
+
type: "object",
|
|
7697
|
+
properties: {
|
|
7698
|
+
type: {
|
|
7123
7699
|
oneOf: [
|
|
7124
7700
|
{
|
|
7125
|
-
|
|
7701
|
+
"const": "string"
|
|
7126
7702
|
},
|
|
7127
7703
|
{
|
|
7128
|
-
|
|
7704
|
+
"const": "number"
|
|
7705
|
+
},
|
|
7706
|
+
{
|
|
7707
|
+
"const": "boolean"
|
|
7708
|
+
},
|
|
7709
|
+
{
|
|
7710
|
+
"const": "object"
|
|
7711
|
+
},
|
|
7712
|
+
{
|
|
7713
|
+
"const": "array"
|
|
7714
|
+
},
|
|
7715
|
+
{
|
|
7716
|
+
"const": "asset"
|
|
7717
|
+
},
|
|
7718
|
+
{
|
|
7719
|
+
"const": "datetime"
|
|
7720
|
+
},
|
|
7721
|
+
{
|
|
7722
|
+
"const": "rpc"
|
|
7129
7723
|
}
|
|
7130
|
-
]
|
|
7724
|
+
],
|
|
7725
|
+
description: "Specifying what type of data will be entered into the field."
|
|
7131
7726
|
},
|
|
7132
|
-
|
|
7727
|
+
title: {
|
|
7728
|
+
type: "string",
|
|
7729
|
+
description: "User-friendly title of the property. This will be used as the field's label in the UI."
|
|
7730
|
+
},
|
|
7731
|
+
description: {
|
|
7732
|
+
type: "string"
|
|
7733
|
+
},
|
|
7734
|
+
required: {
|
|
7735
|
+
type: "boolean",
|
|
7736
|
+
description: "If present, indicates that the user must specify a value for the asset to be treated as valid."
|
|
7737
|
+
},
|
|
7738
|
+
oneOf: {
|
|
7739
|
+
type: "array",
|
|
7740
|
+
items: {
|
|
7741
|
+
$ref: "#/components/schemas/SchemaPropertyunknown"
|
|
7742
|
+
}
|
|
7743
|
+
},
|
|
7744
|
+
anyOf: {
|
|
7745
|
+
type: "array",
|
|
7746
|
+
items: {
|
|
7747
|
+
$ref: "#/components/schemas/SchemaPropertyunknown"
|
|
7748
|
+
}
|
|
7749
|
+
},
|
|
7750
|
+
"enum": {
|
|
7751
|
+
type: "array",
|
|
7752
|
+
items: {}
|
|
7753
|
+
},
|
|
7754
|
+
minItems: {
|
|
7755
|
+
type: "number"
|
|
7756
|
+
},
|
|
7757
|
+
maxItems: {
|
|
7758
|
+
type: "number"
|
|
7759
|
+
},
|
|
7760
|
+
items: {
|
|
7761
|
+
$ref: "#/components/schemas/SchemaPropertyunknown"
|
|
7762
|
+
},
|
|
7763
|
+
properties: {
|
|
7764
|
+
$ref: "#/components/schemas/RecordstringSchemaPropertyunknown"
|
|
7765
|
+
},
|
|
7766
|
+
"default": {},
|
|
7767
|
+
"const": {},
|
|
7768
|
+
widget: {
|
|
7133
7769
|
oneOf: [
|
|
7134
7770
|
{
|
|
7135
|
-
type: "
|
|
7771
|
+
type: "string"
|
|
7136
7772
|
},
|
|
7137
7773
|
{
|
|
7138
|
-
|
|
7774
|
+
$ref: "#/components/schemas/WidgetOptions"
|
|
7139
7775
|
}
|
|
7140
7776
|
]
|
|
7141
7777
|
},
|
|
7142
|
-
|
|
7143
|
-
type: "string"
|
|
7144
|
-
},
|
|
7145
|
-
text: {
|
|
7778
|
+
placeholder: {
|
|
7146
7779
|
type: "string"
|
|
7147
7780
|
},
|
|
7148
|
-
|
|
7781
|
+
helpText: {
|
|
7149
7782
|
type: "string"
|
|
7150
7783
|
},
|
|
7151
|
-
|
|
7152
|
-
type: "
|
|
7784
|
+
invalid: {
|
|
7785
|
+
type: "boolean"
|
|
7153
7786
|
},
|
|
7154
|
-
|
|
7155
|
-
$ref: "#/components/schemas/SubtitleEventStyleOverrides"
|
|
7156
|
-
}
|
|
7787
|
+
emptyValue: {}
|
|
7157
7788
|
},
|
|
7158
7789
|
required: []
|
|
7159
7790
|
},
|
|
7160
|
-
|
|
7791
|
+
RecordstringSchemaPropertyunknown: {
|
|
7792
|
+
type: "object",
|
|
7793
|
+
properties: {},
|
|
7794
|
+
required: [],
|
|
7795
|
+
description: "Construct a type with a set of properties K of type T",
|
|
7796
|
+
additionalProperties: {
|
|
7797
|
+
$ref: "#/components/schemas/SchemaPropertyunknown"
|
|
7798
|
+
}
|
|
7799
|
+
},
|
|
7800
|
+
WidgetOptions: {
|
|
7161
7801
|
type: "object",
|
|
7162
7802
|
properties: {
|
|
7163
|
-
|
|
7164
|
-
type: "string"
|
|
7165
|
-
},
|
|
7166
|
-
marginR: {
|
|
7803
|
+
type: {
|
|
7167
7804
|
type: "string"
|
|
7168
7805
|
},
|
|
7169
|
-
|
|
7170
|
-
type: "
|
|
7806
|
+
readOnly: {
|
|
7807
|
+
type: "boolean"
|
|
7808
|
+
}
|
|
7809
|
+
},
|
|
7810
|
+
required: [],
|
|
7811
|
+
additionalProperties: {}
|
|
7812
|
+
}
|
|
7813
|
+
}
|
|
7814
|
+
},
|
|
7815
|
+
schema: {
|
|
7816
|
+
$ref: "#/components/schemas/EventTemplateRecord"
|
|
7817
|
+
}
|
|
7818
|
+
};
|
|
7819
|
+
}
|
|
7820
|
+
case ":event.overlay?": {
|
|
7821
|
+
return {
|
|
7822
|
+
version: "3.1",
|
|
7823
|
+
components: {
|
|
7824
|
+
schemas: {
|
|
7825
|
+
EventOverlayRecord: {
|
|
7826
|
+
type: "object",
|
|
7827
|
+
properties: {},
|
|
7828
|
+
required: [],
|
|
7829
|
+
additionalProperties: {
|
|
7830
|
+
type: "object",
|
|
7831
|
+
properties: {
|
|
7832
|
+
data: {
|
|
7833
|
+
$ref: "#/components/schemas/EventPropsRecord"
|
|
7834
|
+
}
|
|
7171
7835
|
},
|
|
7172
|
-
|
|
7836
|
+
required: [
|
|
7837
|
+
"data"
|
|
7838
|
+
]
|
|
7839
|
+
}
|
|
7840
|
+
},
|
|
7841
|
+
EventPropsRecord: {
|
|
7842
|
+
type: "object",
|
|
7843
|
+
properties: {
|
|
7844
|
+
source: {
|
|
7173
7845
|
type: "string"
|
|
7174
7846
|
},
|
|
7175
|
-
|
|
7176
|
-
|
|
7847
|
+
cueCard: {
|
|
7848
|
+
oneOf: [
|
|
7849
|
+
{
|
|
7850
|
+
type: "string"
|
|
7851
|
+
},
|
|
7852
|
+
{
|
|
7853
|
+
type: "boolean"
|
|
7854
|
+
}
|
|
7855
|
+
]
|
|
7177
7856
|
},
|
|
7178
|
-
|
|
7857
|
+
printRundownColor: {
|
|
7179
7858
|
type: "string"
|
|
7180
7859
|
},
|
|
7181
|
-
|
|
7182
|
-
type: "
|
|
7860
|
+
startTime: {
|
|
7861
|
+
type: "number"
|
|
7183
7862
|
},
|
|
7184
|
-
|
|
7185
|
-
|
|
7863
|
+
shotboxGroup: {
|
|
7864
|
+
oneOf: [
|
|
7865
|
+
{
|
|
7866
|
+
type: "string"
|
|
7867
|
+
},
|
|
7868
|
+
{
|
|
7869
|
+
type: "array",
|
|
7870
|
+
items: {
|
|
7871
|
+
type: "string"
|
|
7872
|
+
}
|
|
7873
|
+
}
|
|
7874
|
+
]
|
|
7186
7875
|
},
|
|
7187
|
-
|
|
7188
|
-
type: "
|
|
7876
|
+
shotboxVisible: {
|
|
7877
|
+
type: "boolean"
|
|
7878
|
+
}
|
|
7879
|
+
},
|
|
7880
|
+
required: [],
|
|
7881
|
+
additionalProperties: {
|
|
7882
|
+
$ref: "#/components/schemas/JsonValue"
|
|
7883
|
+
}
|
|
7884
|
+
},
|
|
7885
|
+
JsonValue: {
|
|
7886
|
+
oneOf: [
|
|
7887
|
+
{
|
|
7888
|
+
type: "null"
|
|
7189
7889
|
},
|
|
7190
|
-
|
|
7890
|
+
{
|
|
7191
7891
|
type: "string"
|
|
7192
7892
|
},
|
|
7193
|
-
|
|
7194
|
-
type: "
|
|
7893
|
+
{
|
|
7894
|
+
type: "number"
|
|
7195
7895
|
},
|
|
7196
|
-
|
|
7197
|
-
type: "
|
|
7896
|
+
{
|
|
7897
|
+
type: "boolean"
|
|
7198
7898
|
},
|
|
7199
|
-
|
|
7200
|
-
|
|
7899
|
+
{
|
|
7900
|
+
$ref: "#/components/schemas/ArrayJsonValue"
|
|
7201
7901
|
},
|
|
7202
|
-
|
|
7203
|
-
|
|
7902
|
+
{
|
|
7903
|
+
$ref: "#/components/schemas/__type.o1"
|
|
7204
7904
|
}
|
|
7205
|
-
|
|
7206
|
-
|
|
7905
|
+
]
|
|
7906
|
+
},
|
|
7907
|
+
ArrayJsonValue: {
|
|
7908
|
+
type: "array",
|
|
7909
|
+
items: {
|
|
7910
|
+
$ref: "#/components/schemas/JsonValue"
|
|
7911
|
+
}
|
|
7912
|
+
},
|
|
7913
|
+
"__type.o1": {
|
|
7914
|
+
type: "object",
|
|
7915
|
+
properties: {},
|
|
7916
|
+
required: [],
|
|
7917
|
+
additionalProperties: {
|
|
7918
|
+
$ref: "#/components/schemas/JsonValue"
|
|
7919
|
+
}
|
|
7207
7920
|
}
|
|
7208
7921
|
}
|
|
7209
7922
|
},
|
|
7210
7923
|
schema: {
|
|
7211
|
-
$ref: "#/components/schemas/
|
|
7924
|
+
$ref: "#/components/schemas/EventOverlayRecord"
|
|
7212
7925
|
}
|
|
7213
7926
|
};
|
|
7214
7927
|
}
|
|
7215
|
-
case ":event.
|
|
7928
|
+
case ":event.template?": {
|
|
7216
7929
|
return {
|
|
7217
7930
|
version: "3.1",
|
|
7218
7931
|
components: {
|
|
@@ -7227,7 +7940,7 @@ function _schemaDomainRecord(domain) {
|
|
|
7227
7940
|
}
|
|
7228
7941
|
},
|
|
7229
7942
|
properties: {
|
|
7230
|
-
$ref: "#/components/schemas/
|
|
7943
|
+
$ref: "#/components/schemas/RecordstringTemplateProperty"
|
|
7231
7944
|
},
|
|
7232
7945
|
layout: {
|
|
7233
7946
|
type: "object",
|
|
@@ -7244,162 +7957,270 @@ function _schemaDomainRecord(domain) {
|
|
|
7244
7957
|
},
|
|
7245
7958
|
required: []
|
|
7246
7959
|
},
|
|
7247
|
-
|
|
7248
|
-
type: "object",
|
|
7249
|
-
properties: {},
|
|
7250
|
-
required: []
|
|
7251
|
-
}
|
|
7252
|
-
}
|
|
7253
|
-
},
|
|
7254
|
-
schema: {
|
|
7255
|
-
$ref: "#/components/schemas/EventTemplateRecord"
|
|
7256
|
-
}
|
|
7257
|
-
};
|
|
7258
|
-
}
|
|
7259
|
-
case ":event.overlay?": {
|
|
7260
|
-
return {
|
|
7261
|
-
version: "3.1",
|
|
7262
|
-
components: {
|
|
7263
|
-
schemas: {
|
|
7264
|
-
EventOverlayRecord: {
|
|
7960
|
+
RecordstringTemplateProperty: {
|
|
7265
7961
|
type: "object",
|
|
7266
7962
|
properties: {},
|
|
7267
7963
|
required: [],
|
|
7964
|
+
description: "Construct a type with a set of properties K of type T",
|
|
7268
7965
|
additionalProperties: {
|
|
7269
|
-
|
|
7270
|
-
properties: {
|
|
7271
|
-
data: {
|
|
7272
|
-
$ref: "#/components/schemas/EventPropsRecord"
|
|
7273
|
-
}
|
|
7274
|
-
},
|
|
7275
|
-
required: [
|
|
7276
|
-
"data"
|
|
7277
|
-
]
|
|
7966
|
+
$ref: "#/components/schemas/TemplateProperty"
|
|
7278
7967
|
}
|
|
7279
7968
|
},
|
|
7280
|
-
|
|
7969
|
+
TemplateProperty: {
|
|
7281
7970
|
type: "object",
|
|
7282
7971
|
properties: {
|
|
7283
|
-
|
|
7972
|
+
path: {
|
|
7284
7973
|
type: "string"
|
|
7285
7974
|
},
|
|
7286
|
-
|
|
7975
|
+
render: {
|
|
7976
|
+
type: "object",
|
|
7977
|
+
properties: {
|
|
7978
|
+
type: {
|
|
7979
|
+
"const": "image"
|
|
7980
|
+
},
|
|
7981
|
+
profile: {
|
|
7982
|
+
type: "object",
|
|
7983
|
+
properties: {
|
|
7984
|
+
format: {
|
|
7985
|
+
type: "string"
|
|
7986
|
+
},
|
|
7987
|
+
video: {
|
|
7988
|
+
type: "object",
|
|
7989
|
+
properties: {
|
|
7990
|
+
width: {
|
|
7991
|
+
type: "number"
|
|
7992
|
+
},
|
|
7993
|
+
height: {
|
|
7994
|
+
type: "number"
|
|
7995
|
+
},
|
|
7996
|
+
fit: {
|
|
7997
|
+
"const": "cover"
|
|
7998
|
+
}
|
|
7999
|
+
},
|
|
8000
|
+
required: [
|
|
8001
|
+
"width",
|
|
8002
|
+
"height",
|
|
8003
|
+
"fit"
|
|
8004
|
+
]
|
|
8005
|
+
}
|
|
8006
|
+
},
|
|
8007
|
+
required: []
|
|
8008
|
+
}
|
|
8009
|
+
},
|
|
8010
|
+
required: [
|
|
8011
|
+
"type"
|
|
8012
|
+
]
|
|
8013
|
+
},
|
|
8014
|
+
type: {
|
|
7287
8015
|
oneOf: [
|
|
7288
8016
|
{
|
|
7289
|
-
|
|
8017
|
+
"const": "string"
|
|
7290
8018
|
},
|
|
7291
8019
|
{
|
|
7292
|
-
|
|
8020
|
+
"const": "number"
|
|
8021
|
+
},
|
|
8022
|
+
{
|
|
8023
|
+
"const": "boolean"
|
|
8024
|
+
},
|
|
8025
|
+
{
|
|
8026
|
+
"const": "object"
|
|
8027
|
+
},
|
|
8028
|
+
{
|
|
8029
|
+
"const": "array"
|
|
8030
|
+
},
|
|
8031
|
+
{
|
|
8032
|
+
"const": "asset"
|
|
8033
|
+
},
|
|
8034
|
+
{
|
|
8035
|
+
"const": "datetime"
|
|
8036
|
+
},
|
|
8037
|
+
{
|
|
8038
|
+
"const": "rpc"
|
|
7293
8039
|
}
|
|
7294
|
-
]
|
|
8040
|
+
],
|
|
8041
|
+
description: "Specifying what type of data will be entered into the field."
|
|
7295
8042
|
},
|
|
7296
|
-
|
|
8043
|
+
title: {
|
|
8044
|
+
type: "string",
|
|
8045
|
+
description: "User-friendly title of the property. This will be used as the field's label in the UI."
|
|
8046
|
+
},
|
|
8047
|
+
description: {
|
|
7297
8048
|
type: "string"
|
|
7298
8049
|
},
|
|
7299
|
-
|
|
8050
|
+
required: {
|
|
8051
|
+
type: "boolean",
|
|
8052
|
+
description: "If present, indicates that the user must specify a value for the asset to be treated as valid."
|
|
8053
|
+
},
|
|
8054
|
+
oneOf: {
|
|
8055
|
+
type: "array",
|
|
8056
|
+
items: {
|
|
8057
|
+
$ref: "#/components/schemas/SchemaPropertyunknown"
|
|
8058
|
+
}
|
|
8059
|
+
},
|
|
8060
|
+
anyOf: {
|
|
8061
|
+
type: "array",
|
|
8062
|
+
items: {
|
|
8063
|
+
$ref: "#/components/schemas/SchemaPropertyunknown"
|
|
8064
|
+
}
|
|
8065
|
+
},
|
|
8066
|
+
"enum": {
|
|
8067
|
+
type: "array",
|
|
8068
|
+
items: {}
|
|
8069
|
+
},
|
|
8070
|
+
minItems: {
|
|
7300
8071
|
type: "number"
|
|
7301
8072
|
},
|
|
7302
|
-
|
|
8073
|
+
maxItems: {
|
|
8074
|
+
type: "number"
|
|
8075
|
+
},
|
|
8076
|
+
items: {
|
|
8077
|
+
$ref: "#/components/schemas/SchemaPropertyunknown"
|
|
8078
|
+
},
|
|
8079
|
+
properties: {
|
|
8080
|
+
$ref: "#/components/schemas/RecordstringSchemaPropertyunknown"
|
|
8081
|
+
},
|
|
8082
|
+
"default": {},
|
|
8083
|
+
"const": {},
|
|
8084
|
+
widget: {
|
|
7303
8085
|
oneOf: [
|
|
7304
8086
|
{
|
|
7305
8087
|
type: "string"
|
|
7306
8088
|
},
|
|
7307
8089
|
{
|
|
7308
|
-
|
|
7309
|
-
items: {
|
|
7310
|
-
type: "string"
|
|
7311
|
-
}
|
|
8090
|
+
$ref: "#/components/schemas/WidgetOptions"
|
|
7312
8091
|
}
|
|
7313
8092
|
]
|
|
7314
8093
|
},
|
|
7315
|
-
|
|
8094
|
+
placeholder: {
|
|
8095
|
+
type: "string"
|
|
8096
|
+
},
|
|
8097
|
+
helpText: {
|
|
8098
|
+
type: "string"
|
|
8099
|
+
},
|
|
8100
|
+
invalid: {
|
|
7316
8101
|
type: "boolean"
|
|
7317
|
-
}
|
|
8102
|
+
},
|
|
8103
|
+
emptyValue: {}
|
|
7318
8104
|
},
|
|
7319
|
-
required: []
|
|
7320
|
-
additionalProperties: {
|
|
7321
|
-
$ref: "#/components/schemas/JsonValue"
|
|
7322
|
-
}
|
|
8105
|
+
required: []
|
|
7323
8106
|
},
|
|
7324
|
-
|
|
7325
|
-
|
|
7326
|
-
|
|
7327
|
-
|
|
8107
|
+
SchemaPropertyunknown: {
|
|
8108
|
+
type: "object",
|
|
8109
|
+
properties: {
|
|
8110
|
+
type: {
|
|
8111
|
+
oneOf: [
|
|
8112
|
+
{
|
|
8113
|
+
"const": "string"
|
|
8114
|
+
},
|
|
8115
|
+
{
|
|
8116
|
+
"const": "number"
|
|
8117
|
+
},
|
|
8118
|
+
{
|
|
8119
|
+
"const": "boolean"
|
|
8120
|
+
},
|
|
8121
|
+
{
|
|
8122
|
+
"const": "object"
|
|
8123
|
+
},
|
|
8124
|
+
{
|
|
8125
|
+
"const": "array"
|
|
8126
|
+
},
|
|
8127
|
+
{
|
|
8128
|
+
"const": "asset"
|
|
8129
|
+
},
|
|
8130
|
+
{
|
|
8131
|
+
"const": "datetime"
|
|
8132
|
+
},
|
|
8133
|
+
{
|
|
8134
|
+
"const": "rpc"
|
|
8135
|
+
}
|
|
8136
|
+
],
|
|
8137
|
+
description: "Specifying what type of data will be entered into the field."
|
|
7328
8138
|
},
|
|
7329
|
-
{
|
|
8139
|
+
title: {
|
|
8140
|
+
type: "string",
|
|
8141
|
+
description: "User-friendly title of the property. This will be used as the field's label in the UI."
|
|
8142
|
+
},
|
|
8143
|
+
description: {
|
|
8144
|
+
type: "string"
|
|
8145
|
+
},
|
|
8146
|
+
required: {
|
|
8147
|
+
type: "boolean",
|
|
8148
|
+
description: "If present, indicates that the user must specify a value for the asset to be treated as valid."
|
|
8149
|
+
},
|
|
8150
|
+
oneOf: {
|
|
8151
|
+
type: "array",
|
|
8152
|
+
items: {
|
|
8153
|
+
$ref: "#/components/schemas/SchemaPropertyunknown"
|
|
8154
|
+
}
|
|
8155
|
+
},
|
|
8156
|
+
anyOf: {
|
|
8157
|
+
type: "array",
|
|
8158
|
+
items: {
|
|
8159
|
+
$ref: "#/components/schemas/SchemaPropertyunknown"
|
|
8160
|
+
}
|
|
8161
|
+
},
|
|
8162
|
+
"enum": {
|
|
8163
|
+
type: "array",
|
|
8164
|
+
items: {}
|
|
8165
|
+
},
|
|
8166
|
+
minItems: {
|
|
8167
|
+
type: "number"
|
|
8168
|
+
},
|
|
8169
|
+
maxItems: {
|
|
8170
|
+
type: "number"
|
|
8171
|
+
},
|
|
8172
|
+
items: {
|
|
8173
|
+
$ref: "#/components/schemas/SchemaPropertyunknown"
|
|
8174
|
+
},
|
|
8175
|
+
properties: {
|
|
8176
|
+
$ref: "#/components/schemas/RecordstringSchemaPropertyunknown"
|
|
8177
|
+
},
|
|
8178
|
+
"default": {},
|
|
8179
|
+
"const": {},
|
|
8180
|
+
widget: {
|
|
8181
|
+
oneOf: [
|
|
8182
|
+
{
|
|
8183
|
+
type: "string"
|
|
8184
|
+
},
|
|
8185
|
+
{
|
|
8186
|
+
$ref: "#/components/schemas/WidgetOptions"
|
|
8187
|
+
}
|
|
8188
|
+
]
|
|
8189
|
+
},
|
|
8190
|
+
placeholder: {
|
|
7330
8191
|
type: "string"
|
|
7331
8192
|
},
|
|
7332
|
-
{
|
|
7333
|
-
type: "
|
|
8193
|
+
helpText: {
|
|
8194
|
+
type: "string"
|
|
7334
8195
|
},
|
|
7335
|
-
{
|
|
8196
|
+
invalid: {
|
|
7336
8197
|
type: "boolean"
|
|
7337
8198
|
},
|
|
7338
|
-
{
|
|
7339
|
-
|
|
7340
|
-
|
|
7341
|
-
{
|
|
7342
|
-
$ref: "#/components/schemas/__type.o1"
|
|
7343
|
-
}
|
|
7344
|
-
]
|
|
7345
|
-
},
|
|
7346
|
-
ArrayJsonValue: {
|
|
7347
|
-
type: "array",
|
|
7348
|
-
items: {
|
|
7349
|
-
$ref: "#/components/schemas/JsonValue"
|
|
7350
|
-
}
|
|
8199
|
+
emptyValue: {}
|
|
8200
|
+
},
|
|
8201
|
+
required: []
|
|
7351
8202
|
},
|
|
7352
|
-
|
|
8203
|
+
RecordstringSchemaPropertyunknown: {
|
|
7353
8204
|
type: "object",
|
|
7354
8205
|
properties: {},
|
|
7355
8206
|
required: [],
|
|
8207
|
+
description: "Construct a type with a set of properties K of type T",
|
|
7356
8208
|
additionalProperties: {
|
|
7357
|
-
$ref: "#/components/schemas/
|
|
8209
|
+
$ref: "#/components/schemas/SchemaPropertyunknown"
|
|
7358
8210
|
}
|
|
7359
|
-
}
|
|
7360
|
-
|
|
7361
|
-
},
|
|
7362
|
-
schema: {
|
|
7363
|
-
$ref: "#/components/schemas/EventOverlayRecord"
|
|
7364
|
-
}
|
|
7365
|
-
};
|
|
7366
|
-
}
|
|
7367
|
-
case ":event.template?": {
|
|
7368
|
-
return {
|
|
7369
|
-
version: "3.1",
|
|
7370
|
-
components: {
|
|
7371
|
-
schemas: {
|
|
7372
|
-
EventTemplateRecord: {
|
|
8211
|
+
},
|
|
8212
|
+
WidgetOptions: {
|
|
7373
8213
|
type: "object",
|
|
7374
8214
|
properties: {
|
|
7375
|
-
|
|
7376
|
-
type: "array",
|
|
7377
|
-
items: {
|
|
7378
|
-
type: "string"
|
|
7379
|
-
}
|
|
7380
|
-
},
|
|
7381
|
-
properties: {
|
|
7382
|
-
$ref: "#/components/schemas/object"
|
|
7383
|
-
},
|
|
7384
|
-
layout: {
|
|
7385
|
-
type: "object",
|
|
7386
|
-
properties: {
|
|
7387
|
-
title: {
|
|
7388
|
-
type: "string"
|
|
7389
|
-
}
|
|
7390
|
-
},
|
|
7391
|
-
required: []
|
|
7392
|
-
},
|
|
7393
|
-
controller: {
|
|
8215
|
+
type: {
|
|
7394
8216
|
type: "string"
|
|
8217
|
+
},
|
|
8218
|
+
readOnly: {
|
|
8219
|
+
type: "boolean"
|
|
7395
8220
|
}
|
|
7396
8221
|
},
|
|
7397
|
-
required: []
|
|
7398
|
-
|
|
7399
|
-
object: {
|
|
7400
|
-
type: "object",
|
|
7401
|
-
properties: {},
|
|
7402
|
-
required: []
|
|
8222
|
+
required: [],
|
|
8223
|
+
additionalProperties: {}
|
|
7403
8224
|
}
|
|
7404
8225
|
}
|
|
7405
8226
|
},
|
|
@@ -9463,6 +10284,24 @@ function _schemaDomainRecord(domain) {
|
|
|
9463
10284
|
items: {
|
|
9464
10285
|
$ref: "#/components/schemas/Operation"
|
|
9465
10286
|
}
|
|
10287
|
+
},
|
|
10288
|
+
speakerLabels: {
|
|
10289
|
+
type: "object",
|
|
10290
|
+
properties: {},
|
|
10291
|
+
required: [],
|
|
10292
|
+
description: "Labels for speakers",
|
|
10293
|
+
additionalProperties: {
|
|
10294
|
+
type: "string"
|
|
10295
|
+
}
|
|
10296
|
+
},
|
|
10297
|
+
speakerRemaps: {
|
|
10298
|
+
type: "object",
|
|
10299
|
+
properties: {},
|
|
10300
|
+
required: [],
|
|
10301
|
+
description: "Override speaker IDs for specific paragraphs",
|
|
10302
|
+
additionalProperties: {
|
|
10303
|
+
type: "string"
|
|
10304
|
+
}
|
|
9466
10305
|
}
|
|
9467
10306
|
},
|
|
9468
10307
|
required: []
|
|
@@ -19640,6 +20479,9 @@ function _schemaDomainRecord(domain) {
|
|
|
19640
20479
|
transcribe: {
|
|
19641
20480
|
type: "object",
|
|
19642
20481
|
properties: {
|
|
20482
|
+
showSpeakers: {
|
|
20483
|
+
type: "boolean"
|
|
20484
|
+
},
|
|
19643
20485
|
subtitleDisclaimer: {
|
|
19644
20486
|
type: "object",
|
|
19645
20487
|
properties: {
|
|
@@ -22145,180 +22987,6 @@ function _schemaDomainRecord(domain) {
|
|
|
22145
22987
|
}
|
|
22146
22988
|
};
|
|
22147
22989
|
}
|
|
22148
|
-
case ":template": {
|
|
22149
|
-
return {
|
|
22150
|
-
version: "3.1",
|
|
22151
|
-
components: {
|
|
22152
|
-
schemas: {
|
|
22153
|
-
TemplateRecord: {
|
|
22154
|
-
type: "object",
|
|
22155
|
-
properties: {
|
|
22156
|
-
source: {
|
|
22157
|
-
type: "string"
|
|
22158
|
-
},
|
|
22159
|
-
controller: {
|
|
22160
|
-
type: "string"
|
|
22161
|
-
},
|
|
22162
|
-
type: {
|
|
22163
|
-
type: "string"
|
|
22164
|
-
},
|
|
22165
|
-
mixin: {
|
|
22166
|
-
type: "array",
|
|
22167
|
-
items: {
|
|
22168
|
-
type: "string"
|
|
22169
|
-
}
|
|
22170
|
-
},
|
|
22171
|
-
properties: {
|
|
22172
|
-
$ref: "#/components/schemas/RecordstringTemplateProperty"
|
|
22173
|
-
}
|
|
22174
|
-
},
|
|
22175
|
-
required: []
|
|
22176
|
-
},
|
|
22177
|
-
RecordstringTemplateProperty: {
|
|
22178
|
-
type: "object",
|
|
22179
|
-
properties: {},
|
|
22180
|
-
required: [],
|
|
22181
|
-
description: "Construct a type with a set of properties K of type T",
|
|
22182
|
-
additionalProperties: {
|
|
22183
|
-
$ref: "#/components/schemas/TemplateProperty"
|
|
22184
|
-
}
|
|
22185
|
-
},
|
|
22186
|
-
TemplateProperty: {
|
|
22187
|
-
type: "object",
|
|
22188
|
-
properties: {
|
|
22189
|
-
path: {
|
|
22190
|
-
type: "string"
|
|
22191
|
-
},
|
|
22192
|
-
type: {
|
|
22193
|
-
type: "string"
|
|
22194
|
-
},
|
|
22195
|
-
label: {
|
|
22196
|
-
type: "string"
|
|
22197
|
-
},
|
|
22198
|
-
defaultValue: {
|
|
22199
|
-
type: "string"
|
|
22200
|
-
},
|
|
22201
|
-
widget: {
|
|
22202
|
-
type: "object",
|
|
22203
|
-
properties: {
|
|
22204
|
-
type: {
|
|
22205
|
-
type: "string"
|
|
22206
|
-
}
|
|
22207
|
-
},
|
|
22208
|
-
required: [
|
|
22209
|
-
"type"
|
|
22210
|
-
]
|
|
22211
|
-
},
|
|
22212
|
-
properties: {
|
|
22213
|
-
$ref: "#/components/schemas/object"
|
|
22214
|
-
},
|
|
22215
|
-
items: {
|
|
22216
|
-
type: "object",
|
|
22217
|
-
properties: {
|
|
22218
|
-
properties: {
|
|
22219
|
-
$ref: "#/components/schemas/RecordstringTemplatePropertySchema"
|
|
22220
|
-
}
|
|
22221
|
-
},
|
|
22222
|
-
required: []
|
|
22223
|
-
},
|
|
22224
|
-
render: {
|
|
22225
|
-
type: "object",
|
|
22226
|
-
properties: {
|
|
22227
|
-
type: {
|
|
22228
|
-
"const": "image"
|
|
22229
|
-
},
|
|
22230
|
-
profile: {
|
|
22231
|
-
type: "object",
|
|
22232
|
-
properties: {
|
|
22233
|
-
format: {
|
|
22234
|
-
type: "string"
|
|
22235
|
-
},
|
|
22236
|
-
video: {
|
|
22237
|
-
type: "object",
|
|
22238
|
-
properties: {
|
|
22239
|
-
width: {
|
|
22240
|
-
type: "number"
|
|
22241
|
-
},
|
|
22242
|
-
height: {
|
|
22243
|
-
type: "number"
|
|
22244
|
-
},
|
|
22245
|
-
fit: {
|
|
22246
|
-
"const": "cover"
|
|
22247
|
-
}
|
|
22248
|
-
},
|
|
22249
|
-
required: [
|
|
22250
|
-
"width",
|
|
22251
|
-
"height",
|
|
22252
|
-
"fit"
|
|
22253
|
-
]
|
|
22254
|
-
}
|
|
22255
|
-
},
|
|
22256
|
-
required: []
|
|
22257
|
-
}
|
|
22258
|
-
},
|
|
22259
|
-
required: [
|
|
22260
|
-
"type"
|
|
22261
|
-
]
|
|
22262
|
-
}
|
|
22263
|
-
},
|
|
22264
|
-
required: []
|
|
22265
|
-
},
|
|
22266
|
-
object: {
|
|
22267
|
-
type: "object",
|
|
22268
|
-
properties: {},
|
|
22269
|
-
required: []
|
|
22270
|
-
},
|
|
22271
|
-
RecordstringTemplatePropertySchema: {
|
|
22272
|
-
type: "object",
|
|
22273
|
-
properties: {},
|
|
22274
|
-
required: [],
|
|
22275
|
-
description: "Construct a type with a set of properties K of type T",
|
|
22276
|
-
additionalProperties: {
|
|
22277
|
-
$ref: "#/components/schemas/TemplatePropertySchema"
|
|
22278
|
-
}
|
|
22279
|
-
},
|
|
22280
|
-
TemplatePropertySchema: {
|
|
22281
|
-
type: "object",
|
|
22282
|
-
properties: {
|
|
22283
|
-
path: {
|
|
22284
|
-
type: "string"
|
|
22285
|
-
},
|
|
22286
|
-
type: {
|
|
22287
|
-
type: "string"
|
|
22288
|
-
},
|
|
22289
|
-
label: {
|
|
22290
|
-
type: "string"
|
|
22291
|
-
},
|
|
22292
|
-
defaultValue: {
|
|
22293
|
-
type: "string"
|
|
22294
|
-
},
|
|
22295
|
-
widget: {
|
|
22296
|
-
type: "object",
|
|
22297
|
-
properties: {
|
|
22298
|
-
type: {
|
|
22299
|
-
type: "string"
|
|
22300
|
-
}
|
|
22301
|
-
},
|
|
22302
|
-
required: [
|
|
22303
|
-
"type"
|
|
22304
|
-
]
|
|
22305
|
-
},
|
|
22306
|
-
items: {
|
|
22307
|
-
$ref: "#/components/schemas/TemplatePropertySchema"
|
|
22308
|
-
},
|
|
22309
|
-
properties: {
|
|
22310
|
-
$ref: "#/components/schemas/RecordstringTemplatePropertySchema"
|
|
22311
|
-
}
|
|
22312
|
-
},
|
|
22313
|
-
required: []
|
|
22314
|
-
}
|
|
22315
|
-
}
|
|
22316
|
-
},
|
|
22317
|
-
schema: {
|
|
22318
|
-
$ref: "#/components/schemas/TemplateRecord"
|
|
22319
|
-
}
|
|
22320
|
-
};
|
|
22321
|
-
}
|
|
22322
22990
|
case ":_user-notification-status": {
|
|
22323
22991
|
return {
|
|
22324
22992
|
version: "3.1",
|