@cueframe/api-contract 4.0.0 → 4.1.0

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/openapi.json CHANGED
@@ -236,6 +236,54 @@
236
236
  "aspectRatio"
237
237
  ]
238
238
  },
239
+ "BlankComponentSourceV4": {
240
+ "description": "The blank native (version 4) component source every scaffold starts from. Rename it by setting componentId and the template root's data-composition-id together.",
241
+ "const": {
242
+ "version": 4,
243
+ "componentId": "blank-component",
244
+ "template": "<template><div id=\"root\" data-composition-id=\"blank-component\" data-width=\"1920\" data-height=\"1080\" data-no-timeline data-composition-variables='[{\"id\":\"background\",\"type\":\"color\",\"label\":\"Background\",\"default\":\"#101014\"}]'><div data-cf-scene></div></div><script>\nconst { h, MediaTileScene } = __cfScene;\nfunction Blank({ params }) {\n return h(MediaTileScene, { streams: {}, tiles: [], background: params.background ?? '#101014' });\n}\n__cfScene.mount({ root: document.getElementById('root'), component: Blank, variables: __hyperframes.getVariables() });\n</script></template>",
245
+ "manifest": {
246
+ "version": 4,
247
+ "runtime": "hyperframes",
248
+ "hfContract": 1,
249
+ "kind": "scene",
250
+ "assets": {},
251
+ "graphics": {
252
+ "api": "webgl2",
253
+ "required": true,
254
+ "accelerationPreference": "software-allowed"
255
+ },
256
+ "alphaPolicy": "allows-opaque"
257
+ },
258
+ "definition": {
259
+ "inputSchema": {
260
+ "type": "object",
261
+ "additionalProperties": false,
262
+ "properties": {
263
+ "background": {
264
+ "type": "string",
265
+ "pattern": "^#[0-9a-fA-F]{6}$",
266
+ "default": "#101014",
267
+ "title": "Background"
268
+ }
269
+ }
270
+ },
271
+ "defaults": {},
272
+ "brandBindings": [],
273
+ "timing": {
274
+ "defaultDuration": {
275
+ "frames": 90,
276
+ "fps": 30
277
+ }
278
+ },
279
+ "capabilities": [
280
+ {
281
+ "kind": "clip"
282
+ }
283
+ ]
284
+ }
285
+ }
286
+ },
239
287
  "CompositionReplaceRequest": {
240
288
  "anyOf": [
241
289
  {
@@ -1832,9 +1880,16 @@
1832
1880
  "enum": [
1833
1881
  "unpinned-component",
1834
1882
  "v3-component",
1835
- "retired-primitive"
1883
+ "retired-primitive",
1884
+ "legacy-keyframes"
1836
1885
  ]
1837
1886
  },
1887
+ "channels": {
1888
+ "type": "array",
1889
+ "items": {
1890
+ "type": "string"
1891
+ }
1892
+ },
1838
1893
  "componentId": {
1839
1894
  "type": "string"
1840
1895
  },
@@ -3065,6 +3120,28 @@
3065
3120
  "lanes"
3066
3121
  ],
3067
3122
  "additionalProperties": false
3123
+ },
3124
+ "legacyKeyframes": {
3125
+ "type": "object",
3126
+ "properties": {
3127
+ "needsUpgrade": {
3128
+ "type": "boolean",
3129
+ "const": true
3130
+ },
3131
+ "channels": {
3132
+ "type": "array",
3133
+ "items": {
3134
+ "type": "string"
3135
+ }
3136
+ },
3137
+ "record": {}
3138
+ },
3139
+ "required": [
3140
+ "needsUpgrade",
3141
+ "channels",
3142
+ "record"
3143
+ ],
3144
+ "additionalProperties": false
3068
3145
  }
3069
3146
  },
3070
3147
  "additionalProperties": false
@@ -3491,7 +3568,7 @@
3491
3568
  "effects"
3492
3569
  ],
3493
3570
  "additionalProperties": false,
3494
- "description": "Set (or CLEAR, with `effects: []`) a clip's EFFECT channel — the registered effect primitives stacked onto that clip, each `{ primitiveId, params? }`. WHOLESALE: the array REPLACES the clip's current effects, so send the full stack (read the clip first to add one). This is the ONLY way to change effects on an existing clip — do NOT reach for a `clip.update` patch, whose top-level merge is the source-clobbering footgun documented above."
3571
+ "description": "Set (or CLEAR, with `effects: []`) a clip's EFFECT channel — the pinned component clip wrappers stacked onto that clip, each `{id, component, window}`: a unique `id`, the wrapper component's execution pin as `component`, and `window: {startTime, duration}` in seconds. The built-in primitive effects were removed: a stored one reads, and save and render refuse it (`effect_retired`), so clear it with `effects: []`. WHOLESALE: the array REPLACES the clip's current effects, so send the full stack (read the clip first to add one). This is the ONLY way to change effects on an existing clip — do NOT reach for a `clip.update` patch, whose top-level merge is the source-clobbering footgun documented above."
3495
3572
  },
3496
3573
  {
3497
3574
  "type": "object",
@@ -5889,6 +5966,28 @@
5889
5966
  "lanes"
5890
5967
  ],
5891
5968
  "additionalProperties": false
5969
+ },
5970
+ "legacyKeyframes": {
5971
+ "type": "object",
5972
+ "properties": {
5973
+ "needsUpgrade": {
5974
+ "type": "boolean",
5975
+ "const": true
5976
+ },
5977
+ "channels": {
5978
+ "type": "array",
5979
+ "items": {
5980
+ "type": "string"
5981
+ }
5982
+ },
5983
+ "record": {}
5984
+ },
5985
+ "required": [
5986
+ "needsUpgrade",
5987
+ "channels",
5988
+ "record"
5989
+ ],
5990
+ "additionalProperties": false
5892
5991
  }
5893
5992
  },
5894
5993
  "required": [
@@ -11151,1395 +11250,1792 @@
11151
11250
  "sourceSnapshot": {
11152
11251
  "anyOf": [
11153
11252
  {
11154
- "type": "object",
11155
- "properties": {
11156
- "version": {
11157
- "type": "number",
11158
- "const": 3
11159
- },
11160
- "componentId": {
11161
- "type": "string",
11162
- "minLength": 1,
11163
- "maxLength": 128,
11164
- "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._-]*$"
11165
- },
11166
- "tsxSource": {
11167
- "type": "string",
11168
- "minLength": 1,
11169
- "maxLength": 8000000
11170
- },
11171
- "manifest": {
11253
+ "anyOf": [
11254
+ {
11172
11255
  "type": "object",
11173
11256
  "properties": {
11174
11257
  "version": {
11175
11258
  "type": "number",
11176
- "const": 2
11259
+ "const": 3
11177
11260
  },
11178
- "assets": {
11261
+ "componentId": {
11262
+ "type": "string",
11263
+ "minLength": 1,
11264
+ "maxLength": 128,
11265
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._-]*$"
11266
+ },
11267
+ "tsxSource": {
11268
+ "type": "string",
11269
+ "minLength": 1,
11270
+ "maxLength": 8000000
11271
+ },
11272
+ "manifest": {
11179
11273
  "type": "object",
11180
- "propertyNames": {
11181
- "type": "string",
11182
- "minLength": 1
11183
- },
11184
- "additionalProperties": {
11185
- "type": "object",
11186
- "properties": {
11187
- "kind": {
11274
+ "properties": {
11275
+ "version": {
11276
+ "type": "number",
11277
+ "const": 2
11278
+ },
11279
+ "assets": {
11280
+ "type": "object",
11281
+ "propertyNames": {
11188
11282
  "type": "string",
11189
- "enum": [
11190
- "image",
11191
- "video",
11192
- "audio",
11193
- "data",
11194
- "visual"
11195
- ]
11196
- },
11197
- "required": {
11198
- "type": "boolean"
11199
- },
11200
- "mimeTypes": {
11201
- "minItems": 1,
11202
- "type": "array",
11203
- "items": {
11204
- "type": "string",
11205
- "minLength": 1
11206
- }
11283
+ "minLength": 1
11207
11284
  },
11208
- "mediaDemand": {
11209
- "oneOf": [
11210
- {
11211
- "type": "object",
11212
- "properties": {
11213
- "mode": {
11214
- "type": "string",
11215
- "const": "original"
11216
- }
11217
- },
11218
- "required": [
11219
- "mode"
11220
- ],
11221
- "additionalProperties": false
11285
+ "additionalProperties": {
11286
+ "type": "object",
11287
+ "properties": {
11288
+ "kind": {
11289
+ "type": "string",
11290
+ "enum": [
11291
+ "image",
11292
+ "video",
11293
+ "audio",
11294
+ "data",
11295
+ "visual"
11296
+ ]
11222
11297
  },
11223
- {
11224
- "type": "object",
11225
- "properties": {
11226
- "mode": {
11227
- "type": "string",
11228
- "const": "tier"
11298
+ "required": {
11299
+ "type": "boolean"
11300
+ },
11301
+ "mimeTypes": {
11302
+ "minItems": 1,
11303
+ "type": "array",
11304
+ "items": {
11305
+ "type": "string",
11306
+ "minLength": 1
11307
+ }
11308
+ },
11309
+ "mediaDemand": {
11310
+ "oneOf": [
11311
+ {
11312
+ "type": "object",
11313
+ "properties": {
11314
+ "mode": {
11315
+ "type": "string",
11316
+ "const": "original"
11317
+ }
11318
+ },
11319
+ "required": [
11320
+ "mode"
11321
+ ],
11322
+ "additionalProperties": false
11229
11323
  },
11230
- "tier": {
11231
- "anyOf": [
11232
- {
11324
+ {
11325
+ "type": "object",
11326
+ "properties": {
11327
+ "mode": {
11328
+ "type": "string",
11329
+ "const": "tier"
11330
+ },
11331
+ "tier": {
11332
+ "anyOf": [
11333
+ {
11334
+ "type": "number",
11335
+ "const": 256
11336
+ },
11337
+ {
11338
+ "type": "number",
11339
+ "const": 512
11340
+ },
11341
+ {
11342
+ "type": "number",
11343
+ "const": 1024
11344
+ },
11345
+ {
11346
+ "type": "number",
11347
+ "const": 2048
11348
+ }
11349
+ ]
11350
+ }
11351
+ },
11352
+ "required": [
11353
+ "mode",
11354
+ "tier"
11355
+ ],
11356
+ "additionalProperties": false
11357
+ },
11358
+ {
11359
+ "type": "object",
11360
+ "properties": {
11361
+ "mode": {
11362
+ "type": "string",
11363
+ "const": "auto"
11364
+ },
11365
+ "maxProjectedWidthRatio": {
11233
11366
  "type": "number",
11234
- "const": 256
11367
+ "exclusiveMinimum": 0,
11368
+ "maximum": 64
11235
11369
  },
11236
- {
11370
+ "maxProjectedHeightRatio": {
11237
11371
  "type": "number",
11238
- "const": 512
11372
+ "exclusiveMinimum": 0,
11373
+ "maximum": 64
11239
11374
  },
11240
- {
11375
+ "minVisibleSourceWidthRatio": {
11376
+ "default": 1,
11241
11377
  "type": "number",
11242
- "const": 1024
11378
+ "exclusiveMinimum": 0,
11379
+ "maximum": 1
11243
11380
  },
11244
- {
11381
+ "minVisibleSourceHeightRatio": {
11382
+ "default": 1,
11245
11383
  "type": "number",
11246
- "const": 2048
11384
+ "exclusiveMinimum": 0,
11385
+ "maximum": 1
11247
11386
  }
11248
- ]
11249
- }
11250
- },
11251
- "required": [
11252
- "mode",
11253
- "tier"
11254
- ],
11255
- "additionalProperties": false
11256
- },
11257
- {
11258
- "type": "object",
11259
- "properties": {
11260
- "mode": {
11261
- "type": "string",
11262
- "const": "auto"
11263
- },
11264
- "maxProjectedWidthRatio": {
11265
- "type": "number",
11266
- "exclusiveMinimum": 0,
11267
- "maximum": 64
11268
- },
11269
- "maxProjectedHeightRatio": {
11270
- "type": "number",
11271
- "exclusiveMinimum": 0,
11272
- "maximum": 64
11273
- },
11274
- "minVisibleSourceWidthRatio": {
11275
- "default": 1,
11276
- "type": "number",
11277
- "exclusiveMinimum": 0,
11278
- "maximum": 1
11279
- },
11280
- "minVisibleSourceHeightRatio": {
11281
- "default": 1,
11282
- "type": "number",
11283
- "exclusiveMinimum": 0,
11284
- "maximum": 1
11387
+ },
11388
+ "required": [
11389
+ "mode",
11390
+ "maxProjectedWidthRatio",
11391
+ "maxProjectedHeightRatio",
11392
+ "minVisibleSourceWidthRatio",
11393
+ "minVisibleSourceHeightRatio"
11394
+ ],
11395
+ "additionalProperties": false
11285
11396
  }
11286
- },
11287
- "required": [
11288
- "mode",
11289
- "maxProjectedWidthRatio",
11290
- "maxProjectedHeightRatio",
11291
- "minVisibleSourceWidthRatio",
11292
- "minVisibleSourceHeightRatio"
11293
11397
  ],
11294
- "additionalProperties": false
11398
+ "type": "object"
11295
11399
  }
11400
+ },
11401
+ "required": [
11402
+ "kind",
11403
+ "required"
11296
11404
  ],
11297
- "type": "object"
11405
+ "additionalProperties": false
11298
11406
  }
11299
11407
  },
11300
- "required": [
11301
- "kind",
11302
- "required"
11303
- ],
11304
- "additionalProperties": false
11305
- }
11306
- },
11307
- "graphics": {
11308
- "type": "object",
11309
- "properties": {
11310
- "api": {
11311
- "type": "string",
11312
- "enum": [
11313
- "canvas2d",
11314
- "webgl",
11315
- "webgl2",
11316
- "webgpu"
11317
- ]
11318
- },
11319
- "required": {
11320
- "type": "boolean",
11321
- "const": true
11408
+ "graphics": {
11409
+ "type": "object",
11410
+ "properties": {
11411
+ "api": {
11412
+ "type": "string",
11413
+ "enum": [
11414
+ "canvas2d",
11415
+ "webgl",
11416
+ "webgl2",
11417
+ "webgpu"
11418
+ ]
11419
+ },
11420
+ "required": {
11421
+ "type": "boolean",
11422
+ "const": true
11423
+ },
11424
+ "accelerationPreference": {
11425
+ "type": "string",
11426
+ "enum": [
11427
+ "hardware-preferred",
11428
+ "software-allowed"
11429
+ ]
11430
+ }
11431
+ },
11432
+ "required": [
11433
+ "api",
11434
+ "required",
11435
+ "accelerationPreference"
11436
+ ],
11437
+ "additionalProperties": false
11322
11438
  },
11323
- "accelerationPreference": {
11439
+ "alphaPolicy": {
11324
11440
  "type": "string",
11325
11441
  "enum": [
11326
- "hardware-preferred",
11327
- "software-allowed"
11442
+ "requires-transparency",
11443
+ "allows-opaque"
11328
11444
  ]
11329
- }
11330
- },
11331
- "required": [
11332
- "api",
11333
- "required",
11334
- "accelerationPreference"
11335
- ],
11336
- "additionalProperties": false
11337
- },
11338
- "alphaPolicy": {
11339
- "type": "string",
11340
- "enum": [
11341
- "requires-transparency",
11342
- "allows-opaque"
11343
- ]
11344
- },
11345
- "sceneShot": {
11346
- "type": "object",
11347
- "properties": {
11348
- "version": {
11349
- "type": "number",
11350
- "const": 2
11351
- }
11352
- },
11353
- "required": [
11354
- "version"
11355
- ],
11356
- "additionalProperties": false
11357
- },
11358
- "visualMedia": {
11359
- "type": "object",
11360
- "properties": {
11361
- "version": {
11362
- "type": "number",
11363
- "const": 1
11364
- }
11365
- },
11366
- "required": [
11367
- "version"
11368
- ],
11369
- "additionalProperties": false
11370
- }
11371
- },
11372
- "required": [
11373
- "version",
11374
- "assets",
11375
- "graphics",
11376
- "alphaPolicy"
11377
- ],
11378
- "additionalProperties": false
11379
- },
11380
- "definition": {
11381
- "type": "object",
11382
- "properties": {
11383
- "inputSchema": {
11384
- "type": "object",
11385
- "propertyNames": {
11386
- "type": "string"
11387
- },
11388
- "additionalProperties": {}
11389
- },
11390
- "defaults": {
11391
- "type": "object",
11392
- "propertyNames": {
11393
- "type": "string"
11394
- },
11395
- "additionalProperties": {}
11396
- },
11397
- "brandBindings": {
11398
- "type": "array",
11399
- "items": {
11400
- "type": "object",
11401
- "properties": {
11402
- "propPath": {
11403
- "type": "string",
11404
- "minLength": 1,
11405
- "maxLength": 128
11406
- },
11407
- "cssVar": {
11408
- "type": "string",
11409
- "minLength": 1,
11410
- "maxLength": 128
11411
- },
11412
- "fallback": {
11413
- "type": "string"
11414
- },
11415
- "brandKitPath": {
11416
- "type": "string",
11417
- "minLength": 1,
11418
- "maxLength": 128
11419
- }
11420
11445
  },
11421
- "required": [
11422
- "propPath",
11423
- "cssVar"
11424
- ],
11425
- "additionalProperties": false
11426
- }
11427
- },
11428
- "timing": {
11429
- "type": "object",
11430
- "properties": {
11431
- "defaultDuration": {
11446
+ "sceneShot": {
11432
11447
  "type": "object",
11433
11448
  "properties": {
11434
- "frames": {
11435
- "type": "integer",
11436
- "exclusiveMinimum": 0,
11437
- "maximum": 9007199254740991
11438
- },
11439
- "fps": {
11449
+ "version": {
11440
11450
  "type": "number",
11441
- "exclusiveMinimum": 0
11451
+ "const": 2
11442
11452
  }
11443
11453
  },
11444
11454
  "required": [
11445
- "frames",
11446
- "fps"
11455
+ "version"
11447
11456
  ],
11448
11457
  "additionalProperties": false
11449
11458
  },
11450
- "minDurationSec": {
11451
- "type": "number",
11452
- "exclusiveMinimum": 0
11453
- },
11454
- "maxDurationSec": {
11455
- "type": "number",
11456
- "exclusiveMinimum": 0
11459
+ "visualMedia": {
11460
+ "type": "object",
11461
+ "properties": {
11462
+ "version": {
11463
+ "type": "number",
11464
+ "const": 1
11465
+ }
11466
+ },
11467
+ "required": [
11468
+ "version"
11469
+ ],
11470
+ "additionalProperties": false
11457
11471
  }
11458
11472
  },
11459
11473
  "required": [
11460
- "defaultDuration"
11474
+ "version",
11475
+ "assets",
11476
+ "graphics",
11477
+ "alphaPolicy"
11461
11478
  ],
11462
11479
  "additionalProperties": false
11463
11480
  },
11464
- "capabilities": {
11465
- "minItems": 1,
11466
- "type": "array",
11467
- "items": {
11468
- "oneOf": [
11469
- {
11470
- "type": "object",
11471
- "properties": {
11472
- "kind": {
11473
- "type": "string",
11474
- "const": "clip"
11475
- }
11476
- },
11477
- "required": [
11478
- "kind"
11479
- ],
11480
- "additionalProperties": false
11481
+ "definition": {
11482
+ "type": "object",
11483
+ "properties": {
11484
+ "inputSchema": {
11485
+ "type": "object",
11486
+ "propertyNames": {
11487
+ "type": "string"
11481
11488
  },
11482
- {
11489
+ "additionalProperties": {}
11490
+ },
11491
+ "defaults": {
11492
+ "type": "object",
11493
+ "propertyNames": {
11494
+ "type": "string"
11495
+ },
11496
+ "additionalProperties": {}
11497
+ },
11498
+ "brandBindings": {
11499
+ "type": "array",
11500
+ "items": {
11483
11501
  "type": "object",
11484
11502
  "properties": {
11485
- "kind": {
11503
+ "propPath": {
11486
11504
  "type": "string",
11487
- "const": "cut-transition"
11505
+ "minLength": 1,
11506
+ "maxLength": 128
11488
11507
  },
11489
- "protocol": {
11508
+ "cssVar": {
11490
11509
  "type": "string",
11491
- "const": "per-child"
11510
+ "minLength": 1,
11511
+ "maxLength": 128
11512
+ },
11513
+ "fallback": {
11514
+ "type": "string"
11515
+ },
11516
+ "brandKitPath": {
11517
+ "type": "string",
11518
+ "minLength": 1,
11519
+ "maxLength": 128
11492
11520
  }
11493
11521
  },
11494
11522
  "required": [
11495
- "kind",
11496
- "protocol"
11523
+ "propPath",
11524
+ "cssVar"
11497
11525
  ],
11498
11526
  "additionalProperties": false
11527
+ }
11528
+ },
11529
+ "timing": {
11530
+ "type": "object",
11531
+ "properties": {
11532
+ "defaultDuration": {
11533
+ "type": "object",
11534
+ "properties": {
11535
+ "frames": {
11536
+ "type": "integer",
11537
+ "exclusiveMinimum": 0,
11538
+ "maximum": 9007199254740991
11539
+ },
11540
+ "fps": {
11541
+ "type": "number",
11542
+ "exclusiveMinimum": 0
11543
+ }
11544
+ },
11545
+ "required": [
11546
+ "frames",
11547
+ "fps"
11548
+ ],
11549
+ "additionalProperties": false
11550
+ },
11551
+ "minDurationSec": {
11552
+ "type": "number",
11553
+ "exclusiveMinimum": 0
11554
+ },
11555
+ "maxDurationSec": {
11556
+ "type": "number",
11557
+ "exclusiveMinimum": 0
11558
+ }
11499
11559
  },
11500
- {
11501
- "type": "object",
11502
- "properties": {
11503
- "kind": {
11504
- "type": "string",
11505
- "const": "content-slots"
11560
+ "required": [
11561
+ "defaultDuration"
11562
+ ],
11563
+ "additionalProperties": false
11564
+ },
11565
+ "capabilities": {
11566
+ "minItems": 1,
11567
+ "type": "array",
11568
+ "items": {
11569
+ "oneOf": [
11570
+ {
11571
+ "type": "object",
11572
+ "properties": {
11573
+ "kind": {
11574
+ "type": "string",
11575
+ "const": "clip"
11576
+ }
11577
+ },
11578
+ "required": [
11579
+ "kind"
11580
+ ],
11581
+ "additionalProperties": false
11506
11582
  },
11507
- "slots": {
11508
- "minItems": 1,
11509
- "type": "array",
11510
- "items": {
11511
- "type": "object",
11512
- "properties": {
11513
- "name": {
11514
- "type": "string",
11515
- "minLength": 1,
11516
- "maxLength": 128
11517
- },
11518
- "min": {
11519
- "type": "integer",
11520
- "minimum": 0,
11521
- "maximum": 9007199254740991
11522
- },
11523
- "max": {
11524
- "type": "integer",
11525
- "exclusiveMinimum": 0,
11526
- "maximum": 9007199254740991
11527
- },
11528
- "ownership": {
11529
- "type": "string",
11530
- "enum": [
11531
- "reference",
11532
- "exclusive"
11533
- ]
11534
- },
11535
- "sizing": {
11536
- "type": "string",
11537
- "enum": [
11538
- "canvas",
11539
- "container"
11540
- ]
11541
- }
11542
- },
11543
- "required": [
11544
- "name",
11545
- "min",
11546
- "max",
11547
- "ownership",
11548
- "sizing"
11549
- ],
11550
- "additionalProperties": false
11551
- }
11552
- }
11553
- },
11554
- "required": [
11555
- "kind",
11556
- "slots"
11557
- ],
11558
- "additionalProperties": false
11559
- },
11560
- {
11561
- "type": "object",
11562
- "properties": {
11563
- "kind": {
11564
- "type": "string",
11565
- "const": "clip-wrapper"
11566
- },
11567
- "ordering": {
11568
- "type": "string",
11569
- "enum": [
11570
- "any",
11571
- "innermost"
11572
- ]
11573
- },
11574
- "acceptsWrappedTargets": {
11575
- "type": "boolean"
11576
- }
11577
- },
11578
- "required": [
11579
- "kind",
11580
- "ordering",
11581
- "acceptsWrappedTargets"
11582
- ],
11583
- "additionalProperties": false
11584
- },
11585
- {
11586
- "type": "object",
11587
- "properties": {
11588
- "kind": {
11589
- "type": "string",
11590
- "const": "global-wrapper"
11591
- },
11592
- "scope": {
11593
- "type": "string",
11594
- "const": "media-lanes"
11595
- },
11596
- "ordering": {
11597
- "type": "string",
11598
- "enum": [
11599
- "any",
11600
- "innermost"
11601
- ]
11602
- },
11603
- "acceptsWrappedTargets": {
11604
- "type": "boolean"
11605
- }
11606
- },
11607
- "required": [
11608
- "kind",
11609
- "scope",
11610
- "ordering",
11611
- "acceptsWrappedTargets"
11612
- ],
11613
- "additionalProperties": false
11614
- }
11615
- ],
11616
- "type": "object"
11617
- }
11618
- },
11619
- "mediaBindings": {
11620
- "minItems": 1,
11621
- "type": "array",
11622
- "items": {
11623
- "type": "object",
11624
- "properties": {
11625
- "name": {
11626
- "type": "string",
11627
- "minLength": 1,
11628
- "maxLength": 128
11629
- },
11630
- "propPath": {
11631
- "minItems": 1,
11632
- "maxItems": 16,
11633
- "type": "array",
11634
- "items": {
11635
- "type": "string",
11636
- "minLength": 1,
11637
- "maxLength": 128
11638
- }
11639
- },
11640
- "kind": {
11641
- "type": "string",
11642
- "enum": [
11643
- "image",
11644
- "video",
11645
- "visual"
11646
- ]
11647
- },
11648
- "collection": {
11649
- "type": "string",
11650
- "enum": [
11651
- "scalar",
11652
- "array"
11653
- ]
11654
- },
11655
- "cardinality": {
11656
- "type": "object",
11657
- "properties": {
11658
- "min": {
11659
- "type": "integer",
11660
- "minimum": 0,
11661
- "maximum": 9007199254740991
11662
- },
11663
- "max": {
11664
- "type": "integer",
11665
- "exclusiveMinimum": 0,
11666
- "maximum": 9007199254740991
11667
- }
11668
- },
11669
- "required": [
11670
- "min"
11671
- ],
11672
- "additionalProperties": false
11673
- },
11674
- "mimeTypes": {
11675
- "minItems": 1,
11676
- "type": "array",
11677
- "items": {
11678
- "type": "string",
11679
- "minLength": 1
11680
- }
11681
- },
11682
- "mediaDemand": {
11683
- "oneOf": [
11684
11583
  {
11685
11584
  "type": "object",
11686
11585
  "properties": {
11687
- "mode": {
11586
+ "kind": {
11688
11587
  "type": "string",
11689
- "const": "original"
11588
+ "const": "cut-transition"
11589
+ },
11590
+ "protocol": {
11591
+ "type": "string",
11592
+ "const": "per-child"
11690
11593
  }
11691
11594
  },
11692
11595
  "required": [
11693
- "mode"
11596
+ "kind",
11597
+ "protocol"
11694
11598
  ],
11695
11599
  "additionalProperties": false
11696
11600
  },
11697
11601
  {
11698
11602
  "type": "object",
11699
11603
  "properties": {
11700
- "mode": {
11604
+ "kind": {
11701
11605
  "type": "string",
11702
- "const": "tier"
11606
+ "const": "content-slots"
11703
11607
  },
11704
- "tier": {
11705
- "anyOf": [
11706
- {
11707
- "type": "number",
11708
- "const": 256
11709
- },
11710
- {
11711
- "type": "number",
11712
- "const": 512
11713
- },
11714
- {
11715
- "type": "number",
11716
- "const": 1024
11608
+ "slots": {
11609
+ "minItems": 1,
11610
+ "type": "array",
11611
+ "items": {
11612
+ "type": "object",
11613
+ "properties": {
11614
+ "name": {
11615
+ "type": "string",
11616
+ "minLength": 1,
11617
+ "maxLength": 128
11618
+ },
11619
+ "min": {
11620
+ "type": "integer",
11621
+ "minimum": 0,
11622
+ "maximum": 9007199254740991
11623
+ },
11624
+ "max": {
11625
+ "type": "integer",
11626
+ "exclusiveMinimum": 0,
11627
+ "maximum": 9007199254740991
11628
+ },
11629
+ "ownership": {
11630
+ "type": "string",
11631
+ "enum": [
11632
+ "reference",
11633
+ "exclusive"
11634
+ ]
11635
+ },
11636
+ "sizing": {
11637
+ "type": "string",
11638
+ "enum": [
11639
+ "canvas",
11640
+ "container"
11641
+ ]
11642
+ }
11717
11643
  },
11718
- {
11719
- "type": "number",
11720
- "const": 2048
11721
- }
11722
- ]
11644
+ "required": [
11645
+ "name",
11646
+ "min",
11647
+ "max",
11648
+ "ownership",
11649
+ "sizing"
11650
+ ],
11651
+ "additionalProperties": false
11652
+ }
11723
11653
  }
11724
11654
  },
11725
11655
  "required": [
11726
- "mode",
11727
- "tier"
11656
+ "kind",
11657
+ "slots"
11728
11658
  ],
11729
11659
  "additionalProperties": false
11730
11660
  },
11731
11661
  {
11732
11662
  "type": "object",
11733
11663
  "properties": {
11734
- "mode": {
11664
+ "kind": {
11735
11665
  "type": "string",
11736
- "const": "auto"
11737
- },
11738
- "maxProjectedWidthRatio": {
11739
- "type": "number",
11740
- "exclusiveMinimum": 0,
11741
- "maximum": 64
11742
- },
11743
- "maxProjectedHeightRatio": {
11744
- "type": "number",
11745
- "exclusiveMinimum": 0,
11746
- "maximum": 64
11666
+ "const": "clip-wrapper"
11747
11667
  },
11748
- "minVisibleSourceWidthRatio": {
11749
- "default": 1,
11750
- "type": "number",
11751
- "exclusiveMinimum": 0,
11752
- "maximum": 1
11668
+ "ordering": {
11669
+ "type": "string",
11670
+ "enum": [
11671
+ "any",
11672
+ "innermost"
11673
+ ]
11753
11674
  },
11754
- "minVisibleSourceHeightRatio": {
11755
- "default": 1,
11756
- "type": "number",
11757
- "exclusiveMinimum": 0,
11758
- "maximum": 1
11675
+ "acceptsWrappedTargets": {
11676
+ "type": "boolean"
11759
11677
  }
11760
11678
  },
11761
11679
  "required": [
11762
- "mode",
11763
- "maxProjectedWidthRatio",
11764
- "maxProjectedHeightRatio",
11765
- "minVisibleSourceWidthRatio",
11766
- "minVisibleSourceHeightRatio"
11680
+ "kind",
11681
+ "ordering",
11682
+ "acceptsWrappedTargets"
11767
11683
  ],
11768
11684
  "additionalProperties": false
11769
- }
11770
- ],
11771
- "type": "object"
11772
- }
11773
- },
11774
- "required": [
11775
- "name",
11776
- "propPath",
11777
- "kind",
11778
- "collection",
11779
- "cardinality"
11780
- ],
11781
- "additionalProperties": false
11782
- }
11783
- },
11784
- "preview": {
11785
- "type": "object",
11786
- "properties": {
11787
- "params": {
11788
- "type": "object",
11789
- "propertyNames": {
11790
- "type": "string"
11791
- },
11792
- "additionalProperties": {}
11793
- },
11794
- "format": {
11795
- "type": "object",
11796
- "properties": {
11797
- "aspectRatio": {
11798
- "type": "string",
11799
- "enum": [
11800
- "16:9",
11801
- "9:16",
11802
- "1:1",
11803
- "4:5"
11804
- ]
11805
- },
11806
- "fps": {
11807
- "anyOf": [
11808
- {
11809
- "type": "number",
11810
- "const": 24
11811
- },
11812
- {
11813
- "type": "number",
11814
- "const": 25
11815
- },
11816
- {
11817
- "type": "number",
11818
- "const": 30
11819
- },
11820
- {
11821
- "type": "number",
11822
- "const": 60
11823
- }
11824
- ]
11825
- },
11826
- "resolution": {
11827
- "type": "string",
11828
- "enum": [
11829
- "hd",
11830
- "fhd",
11831
- "4k"
11832
- ]
11833
- },
11834
- "platform": {
11835
- "type": "string"
11836
- }
11837
- },
11838
- "required": [
11839
- "aspectRatio"
11840
- ],
11841
- "additionalProperties": false
11842
- },
11843
- "assets": {
11844
- "type": "object",
11845
- "propertyNames": {
11846
- "type": "string",
11847
- "minLength": 1,
11848
- "maxLength": 128
11849
- },
11850
- "additionalProperties": {
11851
- "anyOf": [
11685
+ },
11852
11686
  {
11853
11687
  "type": "object",
11854
11688
  "properties": {
11855
- "url": {
11689
+ "kind": {
11856
11690
  "type": "string",
11857
- "format": "uri",
11858
- "pattern": "^https:\\/\\/.*"
11691
+ "const": "global-wrapper"
11859
11692
  },
11860
- "sha256": {
11693
+ "scope": {
11861
11694
  "type": "string",
11862
- "pattern": "^[a-f0-9]{64}$"
11695
+ "const": "media-lanes"
11863
11696
  },
11864
- "mimeType": {
11697
+ "ordering": {
11865
11698
  "type": "string",
11866
- "minLength": 1
11867
- },
11868
- "frameRate": {
11869
- "type": "number",
11870
- "exclusiveMinimum": 0
11699
+ "enum": [
11700
+ "any",
11701
+ "innermost"
11702
+ ]
11871
11703
  },
11872
- "durationSec": {
11873
- "type": "number",
11874
- "exclusiveMinimum": 0
11704
+ "acceptsWrappedTargets": {
11705
+ "type": "boolean"
11875
11706
  }
11876
11707
  },
11877
11708
  "required": [
11878
- "url",
11879
- "sha256",
11880
- "mimeType"
11709
+ "kind",
11710
+ "scope",
11711
+ "ordering",
11712
+ "acceptsWrappedTargets"
11881
11713
  ],
11882
11714
  "additionalProperties": false
11715
+ }
11716
+ ],
11717
+ "type": "object"
11718
+ }
11719
+ },
11720
+ "mediaBindings": {
11721
+ "minItems": 1,
11722
+ "type": "array",
11723
+ "items": {
11724
+ "type": "object",
11725
+ "properties": {
11726
+ "name": {
11727
+ "type": "string",
11728
+ "minLength": 1,
11729
+ "maxLength": 128
11883
11730
  },
11884
- {
11731
+ "propPath": {
11732
+ "minItems": 1,
11733
+ "maxItems": 16,
11734
+ "type": "array",
11735
+ "items": {
11736
+ "type": "string",
11737
+ "minLength": 1,
11738
+ "maxLength": 128
11739
+ }
11740
+ },
11741
+ "kind": {
11742
+ "type": "string",
11743
+ "enum": [
11744
+ "image",
11745
+ "video",
11746
+ "visual"
11747
+ ]
11748
+ },
11749
+ "collection": {
11750
+ "type": "string",
11751
+ "enum": [
11752
+ "scalar",
11753
+ "array"
11754
+ ]
11755
+ },
11756
+ "cardinality": {
11885
11757
  "type": "object",
11886
11758
  "properties": {
11887
- "mediaId": {
11888
- "type": "string",
11889
- "minLength": 1,
11890
- "maxLength": 128
11891
- },
11892
- "sha256": {
11893
- "type": "string",
11894
- "pattern": "^[a-f0-9]{64}$"
11895
- },
11896
- "mimeType": {
11897
- "type": "string",
11898
- "minLength": 1
11899
- },
11900
- "frameRate": {
11901
- "type": "number",
11902
- "exclusiveMinimum": 0
11759
+ "min": {
11760
+ "type": "integer",
11761
+ "minimum": 0,
11762
+ "maximum": 9007199254740991
11903
11763
  },
11904
- "durationSec": {
11905
- "type": "number",
11906
- "exclusiveMinimum": 0
11764
+ "max": {
11765
+ "type": "integer",
11766
+ "exclusiveMinimum": 0,
11767
+ "maximum": 9007199254740991
11907
11768
  }
11908
11769
  },
11909
11770
  "required": [
11910
- "mediaId",
11911
- "sha256",
11912
- "mimeType"
11771
+ "min"
11913
11772
  ],
11914
11773
  "additionalProperties": false
11774
+ },
11775
+ "mimeTypes": {
11776
+ "minItems": 1,
11777
+ "type": "array",
11778
+ "items": {
11779
+ "type": "string",
11780
+ "minLength": 1
11781
+ }
11782
+ },
11783
+ "mediaDemand": {
11784
+ "oneOf": [
11785
+ {
11786
+ "type": "object",
11787
+ "properties": {
11788
+ "mode": {
11789
+ "type": "string",
11790
+ "const": "original"
11791
+ }
11792
+ },
11793
+ "required": [
11794
+ "mode"
11795
+ ],
11796
+ "additionalProperties": false
11797
+ },
11798
+ {
11799
+ "type": "object",
11800
+ "properties": {
11801
+ "mode": {
11802
+ "type": "string",
11803
+ "const": "tier"
11804
+ },
11805
+ "tier": {
11806
+ "anyOf": [
11807
+ {
11808
+ "type": "number",
11809
+ "const": 256
11810
+ },
11811
+ {
11812
+ "type": "number",
11813
+ "const": 512
11814
+ },
11815
+ {
11816
+ "type": "number",
11817
+ "const": 1024
11818
+ },
11819
+ {
11820
+ "type": "number",
11821
+ "const": 2048
11822
+ }
11823
+ ]
11824
+ }
11825
+ },
11826
+ "required": [
11827
+ "mode",
11828
+ "tier"
11829
+ ],
11830
+ "additionalProperties": false
11831
+ },
11832
+ {
11833
+ "type": "object",
11834
+ "properties": {
11835
+ "mode": {
11836
+ "type": "string",
11837
+ "const": "auto"
11838
+ },
11839
+ "maxProjectedWidthRatio": {
11840
+ "type": "number",
11841
+ "exclusiveMinimum": 0,
11842
+ "maximum": 64
11843
+ },
11844
+ "maxProjectedHeightRatio": {
11845
+ "type": "number",
11846
+ "exclusiveMinimum": 0,
11847
+ "maximum": 64
11848
+ },
11849
+ "minVisibleSourceWidthRatio": {
11850
+ "default": 1,
11851
+ "type": "number",
11852
+ "exclusiveMinimum": 0,
11853
+ "maximum": 1
11854
+ },
11855
+ "minVisibleSourceHeightRatio": {
11856
+ "default": 1,
11857
+ "type": "number",
11858
+ "exclusiveMinimum": 0,
11859
+ "maximum": 1
11860
+ }
11861
+ },
11862
+ "required": [
11863
+ "mode",
11864
+ "maxProjectedWidthRatio",
11865
+ "maxProjectedHeightRatio",
11866
+ "minVisibleSourceWidthRatio",
11867
+ "minVisibleSourceHeightRatio"
11868
+ ],
11869
+ "additionalProperties": false
11870
+ }
11871
+ ],
11872
+ "type": "object"
11915
11873
  }
11916
- ]
11874
+ },
11875
+ "required": [
11876
+ "name",
11877
+ "propPath",
11878
+ "kind",
11879
+ "collection",
11880
+ "cardinality"
11881
+ ],
11882
+ "additionalProperties": false
11917
11883
  }
11918
11884
  },
11919
- "mediaBindings": {
11885
+ "preview": {
11920
11886
  "type": "object",
11921
- "propertyNames": {
11922
- "type": "string",
11923
- "minLength": 1,
11924
- "maxLength": 128
11925
- },
11926
- "additionalProperties": {
11927
- "type": "array",
11928
- "items": {
11929
- "anyOf": [
11930
- {
11931
- "type": "object",
11932
- "properties": {
11933
- "url": {
11934
- "type": "string",
11935
- "format": "uri",
11936
- "pattern": "^https:\\/\\/.*"
11937
- },
11938
- "sha256": {
11939
- "type": "string",
11940
- "pattern": "^[a-f0-9]{64}$"
11941
- },
11942
- "mimeType": {
11943
- "type": "string",
11944
- "minLength": 1
11945
- },
11946
- "frameRate": {
11887
+ "properties": {
11888
+ "params": {
11889
+ "type": "object",
11890
+ "propertyNames": {
11891
+ "type": "string"
11892
+ },
11893
+ "additionalProperties": {}
11894
+ },
11895
+ "format": {
11896
+ "type": "object",
11897
+ "properties": {
11898
+ "aspectRatio": {
11899
+ "type": "string",
11900
+ "enum": [
11901
+ "16:9",
11902
+ "9:16",
11903
+ "1:1",
11904
+ "4:5"
11905
+ ]
11906
+ },
11907
+ "fps": {
11908
+ "anyOf": [
11909
+ {
11947
11910
  "type": "number",
11948
- "exclusiveMinimum": 0
11911
+ "const": 24
11949
11912
  },
11950
- "durationSec": {
11913
+ {
11951
11914
  "type": "number",
11952
- "exclusiveMinimum": 0
11953
- }
11954
- },
11955
- "required": [
11956
- "url",
11957
- "sha256",
11958
- "mimeType"
11959
- ],
11960
- "additionalProperties": false
11961
- },
11962
- {
11963
- "type": "object",
11964
- "properties": {
11965
- "mediaId": {
11966
- "type": "string",
11967
- "minLength": 1,
11968
- "maxLength": 128
11969
- },
11970
- "sha256": {
11971
- "type": "string",
11972
- "pattern": "^[a-f0-9]{64}$"
11915
+ "const": 25
11973
11916
  },
11974
- "mimeType": {
11975
- "type": "string",
11976
- "minLength": 1
11977
- },
11978
- "frameRate": {
11917
+ {
11979
11918
  "type": "number",
11980
- "exclusiveMinimum": 0
11919
+ "const": 30
11981
11920
  },
11982
- "durationSec": {
11921
+ {
11983
11922
  "type": "number",
11984
- "exclusiveMinimum": 0
11923
+ "const": 60
11985
11924
  }
11986
- },
11987
- "required": [
11988
- "mediaId",
11989
- "sha256",
11990
- "mimeType"
11991
- ],
11992
- "additionalProperties": false
11925
+ ]
11926
+ },
11927
+ "resolution": {
11928
+ "type": "string",
11929
+ "enum": [
11930
+ "hd",
11931
+ "fhd",
11932
+ "4k"
11933
+ ]
11934
+ },
11935
+ "platform": {
11936
+ "type": "string"
11993
11937
  }
11994
- ]
11995
- }
11996
- }
11997
- }
11998
- },
11999
- "additionalProperties": false
12000
- }
12001
- },
12002
- "required": [
12003
- "inputSchema",
12004
- "defaults",
12005
- "brandBindings",
12006
- "timing",
12007
- "capabilities"
12008
- ],
12009
- "additionalProperties": false
12010
- }
12011
- },
12012
- "required": [
12013
- "version",
12014
- "componentId",
12015
- "tsxSource",
12016
- "manifest",
12017
- "definition"
12018
- ],
12019
- "additionalProperties": false
12020
- },
12021
- {
12022
- "type": "object",
12023
- "properties": {
12024
- "version": {
12025
- "type": "number",
12026
- "const": 4
12027
- },
12028
- "componentId": {
12029
- "type": "string",
12030
- "minLength": 1,
12031
- "maxLength": 128,
12032
- "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._-]*$"
12033
- },
12034
- "template": {
12035
- "type": "string",
12036
- "minLength": 1,
12037
- "maxLength": 2000000
12038
- },
12039
- "manifest": {
12040
- "type": "object",
12041
- "properties": {
12042
- "version": {
12043
- "type": "number",
12044
- "const": 4
12045
- },
12046
- "runtime": {
12047
- "type": "string",
12048
- "const": "hyperframes"
12049
- },
12050
- "hfContract": {
12051
- "type": "number",
12052
- "const": 1
12053
- },
12054
- "kind": {
12055
- "type": "string",
12056
- "const": "scene"
12057
- },
12058
- "sceneShot": {
12059
- "type": "object",
12060
- "properties": {
12061
- "version": {
12062
- "type": "number",
12063
- "const": 2
12064
- }
12065
- },
12066
- "required": [
12067
- "version"
12068
- ],
12069
- "additionalProperties": false
12070
- },
12071
- "assets": {
12072
- "type": "object",
12073
- "propertyNames": {
12074
- "type": "string",
12075
- "minLength": 1
12076
- },
12077
- "additionalProperties": {
12078
- "type": "object",
12079
- "properties": {
12080
- "kind": {
12081
- "type": "string",
12082
- "enum": [
12083
- "image",
12084
- "video",
12085
- "audio",
12086
- "data",
12087
- "visual"
12088
- ]
12089
- },
12090
- "required": {
12091
- "type": "boolean"
12092
- },
12093
- "mimeTypes": {
12094
- "minItems": 1,
12095
- "type": "array",
12096
- "items": {
12097
- "type": "string",
12098
- "minLength": 1
12099
- }
12100
- },
12101
- "mediaDemand": {
12102
- "oneOf": [
12103
- {
12104
- "type": "object",
12105
- "properties": {
12106
- "mode": {
12107
- "type": "string",
12108
- "const": "original"
12109
- }
12110
- },
12111
- "required": [
12112
- "mode"
12113
- ],
12114
- "additionalProperties": false
12115
11938
  },
12116
- {
12117
- "type": "object",
12118
- "properties": {
12119
- "mode": {
12120
- "type": "string",
12121
- "const": "tier"
12122
- },
12123
- "tier": {
12124
- "anyOf": [
12125
- {
11939
+ "required": [
11940
+ "aspectRatio"
11941
+ ],
11942
+ "additionalProperties": false
11943
+ },
11944
+ "assets": {
11945
+ "type": "object",
11946
+ "propertyNames": {
11947
+ "type": "string",
11948
+ "minLength": 1,
11949
+ "maxLength": 128
11950
+ },
11951
+ "additionalProperties": {
11952
+ "anyOf": [
11953
+ {
11954
+ "type": "object",
11955
+ "properties": {
11956
+ "url": {
11957
+ "type": "string",
11958
+ "format": "uri",
11959
+ "pattern": "^https:\\/\\/.*"
11960
+ },
11961
+ "sha256": {
11962
+ "type": "string",
11963
+ "pattern": "^[a-f0-9]{64}$"
11964
+ },
11965
+ "mimeType": {
11966
+ "type": "string",
11967
+ "minLength": 1
11968
+ },
11969
+ "frameRate": {
12126
11970
  "type": "number",
12127
- "const": 256
11971
+ "exclusiveMinimum": 0
12128
11972
  },
12129
- {
11973
+ "durationSec": {
12130
11974
  "type": "number",
12131
- "const": 512
11975
+ "exclusiveMinimum": 0
11976
+ }
11977
+ },
11978
+ "required": [
11979
+ "url",
11980
+ "sha256",
11981
+ "mimeType"
11982
+ ],
11983
+ "additionalProperties": false
11984
+ },
11985
+ {
11986
+ "type": "object",
11987
+ "properties": {
11988
+ "mediaId": {
11989
+ "type": "string",
11990
+ "minLength": 1,
11991
+ "maxLength": 128
12132
11992
  },
12133
- {
11993
+ "sha256": {
11994
+ "type": "string",
11995
+ "pattern": "^[a-f0-9]{64}$"
11996
+ },
11997
+ "mimeType": {
11998
+ "type": "string",
11999
+ "minLength": 1
12000
+ },
12001
+ "frameRate": {
12134
12002
  "type": "number",
12135
- "const": 1024
12003
+ "exclusiveMinimum": 0
12136
12004
  },
12137
- {
12005
+ "durationSec": {
12138
12006
  "type": "number",
12139
- "const": 2048
12007
+ "exclusiveMinimum": 0
12140
12008
  }
12141
- ]
12009
+ },
12010
+ "required": [
12011
+ "mediaId",
12012
+ "sha256",
12013
+ "mimeType"
12014
+ ],
12015
+ "additionalProperties": false
12142
12016
  }
12143
- },
12144
- "required": [
12145
- "mode",
12146
- "tier"
12147
- ],
12148
- "additionalProperties": false
12017
+ ]
12018
+ }
12019
+ },
12020
+ "mediaBindings": {
12021
+ "type": "object",
12022
+ "propertyNames": {
12023
+ "type": "string",
12024
+ "minLength": 1,
12025
+ "maxLength": 128
12149
12026
  },
12150
- {
12151
- "type": "object",
12152
- "properties": {
12153
- "mode": {
12154
- "type": "string",
12155
- "const": "auto"
12156
- },
12157
- "maxProjectedWidthRatio": {
12158
- "type": "number",
12159
- "exclusiveMinimum": 0,
12160
- "maximum": 64
12161
- },
12162
- "maxProjectedHeightRatio": {
12163
- "type": "number",
12164
- "exclusiveMinimum": 0,
12165
- "maximum": 64
12166
- },
12167
- "minVisibleSourceWidthRatio": {
12168
- "default": 1,
12169
- "type": "number",
12170
- "exclusiveMinimum": 0,
12171
- "maximum": 1
12172
- },
12173
- "minVisibleSourceHeightRatio": {
12174
- "default": 1,
12175
- "type": "number",
12176
- "exclusiveMinimum": 0,
12177
- "maximum": 1
12178
- }
12179
- },
12180
- "required": [
12181
- "mode",
12182
- "maxProjectedWidthRatio",
12183
- "maxProjectedHeightRatio",
12184
- "minVisibleSourceWidthRatio",
12185
- "minVisibleSourceHeightRatio"
12186
- ],
12187
- "additionalProperties": false
12027
+ "additionalProperties": {
12028
+ "type": "array",
12029
+ "items": {
12030
+ "anyOf": [
12031
+ {
12032
+ "type": "object",
12033
+ "properties": {
12034
+ "url": {
12035
+ "type": "string",
12036
+ "format": "uri",
12037
+ "pattern": "^https:\\/\\/.*"
12038
+ },
12039
+ "sha256": {
12040
+ "type": "string",
12041
+ "pattern": "^[a-f0-9]{64}$"
12042
+ },
12043
+ "mimeType": {
12044
+ "type": "string",
12045
+ "minLength": 1
12046
+ },
12047
+ "frameRate": {
12048
+ "type": "number",
12049
+ "exclusiveMinimum": 0
12050
+ },
12051
+ "durationSec": {
12052
+ "type": "number",
12053
+ "exclusiveMinimum": 0
12054
+ }
12055
+ },
12056
+ "required": [
12057
+ "url",
12058
+ "sha256",
12059
+ "mimeType"
12060
+ ],
12061
+ "additionalProperties": false
12062
+ },
12063
+ {
12064
+ "type": "object",
12065
+ "properties": {
12066
+ "mediaId": {
12067
+ "type": "string",
12068
+ "minLength": 1,
12069
+ "maxLength": 128
12070
+ },
12071
+ "sha256": {
12072
+ "type": "string",
12073
+ "pattern": "^[a-f0-9]{64}$"
12074
+ },
12075
+ "mimeType": {
12076
+ "type": "string",
12077
+ "minLength": 1
12078
+ },
12079
+ "frameRate": {
12080
+ "type": "number",
12081
+ "exclusiveMinimum": 0
12082
+ },
12083
+ "durationSec": {
12084
+ "type": "number",
12085
+ "exclusiveMinimum": 0
12086
+ }
12087
+ },
12088
+ "required": [
12089
+ "mediaId",
12090
+ "sha256",
12091
+ "mimeType"
12092
+ ],
12093
+ "additionalProperties": false
12094
+ }
12095
+ ]
12096
+ }
12188
12097
  }
12189
- ],
12190
- "type": "object"
12191
- }
12192
- },
12193
- "required": [
12194
- "kind",
12195
- "required"
12196
- ],
12197
- "additionalProperties": false
12198
- }
12199
- },
12200
- "graphics": {
12201
- "type": "object",
12202
- "properties": {
12203
- "api": {
12204
- "type": "string",
12205
- "enum": [
12206
- "canvas2d",
12207
- "webgl",
12208
- "webgl2",
12209
- "webgpu"
12210
- ]
12211
- },
12212
- "required": {
12213
- "type": "boolean",
12214
- "const": true
12215
- },
12216
- "accelerationPreference": {
12217
- "type": "string",
12218
- "enum": [
12219
- "hardware-preferred",
12220
- "software-allowed"
12221
- ]
12098
+ }
12099
+ },
12100
+ "additionalProperties": false
12222
12101
  }
12223
12102
  },
12224
12103
  "required": [
12225
- "api",
12226
- "required",
12227
- "accelerationPreference"
12104
+ "inputSchema",
12105
+ "defaults",
12106
+ "brandBindings",
12107
+ "timing",
12108
+ "capabilities"
12228
12109
  ],
12229
12110
  "additionalProperties": false
12230
- },
12231
- "alphaPolicy": {
12232
- "type": "string",
12233
- "enum": [
12234
- "requires-transparency",
12235
- "allows-opaque"
12236
- ]
12237
12111
  }
12238
12112
  },
12239
12113
  "required": [
12240
12114
  "version",
12241
- "runtime",
12242
- "hfContract",
12243
- "kind",
12244
- "assets",
12245
- "graphics",
12246
- "alphaPolicy"
12115
+ "componentId",
12116
+ "tsxSource",
12117
+ "manifest",
12118
+ "definition"
12247
12119
  ],
12248
12120
  "additionalProperties": false
12249
12121
  },
12250
- "definition": {
12122
+ {
12251
12123
  "type": "object",
12252
12124
  "properties": {
12253
- "inputSchema": {
12254
- "type": "object",
12255
- "propertyNames": {
12256
- "type": "string"
12257
- },
12258
- "additionalProperties": {}
12125
+ "version": {
12126
+ "type": "number",
12127
+ "const": 4
12259
12128
  },
12260
- "defaults": {
12261
- "type": "object",
12262
- "propertyNames": {
12263
- "type": "string"
12264
- },
12265
- "additionalProperties": {}
12129
+ "componentId": {
12130
+ "type": "string",
12131
+ "minLength": 1,
12132
+ "maxLength": 128,
12133
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._-]*$"
12266
12134
  },
12267
- "brandBindings": {
12268
- "type": "array",
12269
- "items": {
12270
- "type": "object",
12271
- "properties": {
12272
- "propPath": {
12273
- "type": "string",
12274
- "minLength": 1,
12275
- "maxLength": 128
12276
- },
12277
- "cssVar": {
12278
- "type": "string",
12279
- "minLength": 1,
12280
- "maxLength": 128
12281
- },
12282
- "fallback": {
12283
- "type": "string"
12284
- },
12285
- "brandKitPath": {
12286
- "type": "string",
12287
- "minLength": 1,
12288
- "maxLength": 128
12289
- }
12290
- },
12291
- "required": [
12292
- "propPath",
12293
- "cssVar"
12294
- ],
12295
- "additionalProperties": false
12296
- }
12135
+ "template": {
12136
+ "type": "string",
12137
+ "minLength": 1,
12138
+ "maxLength": 2000000
12297
12139
  },
12298
- "timing": {
12140
+ "manifest": {
12299
12141
  "type": "object",
12300
12142
  "properties": {
12301
- "defaultDuration": {
12143
+ "version": {
12144
+ "type": "number",
12145
+ "const": 4
12146
+ },
12147
+ "runtime": {
12148
+ "type": "string",
12149
+ "const": "hyperframes"
12150
+ },
12151
+ "hfContract": {
12152
+ "type": "number",
12153
+ "const": 1
12154
+ },
12155
+ "kind": {
12156
+ "type": "string",
12157
+ "const": "scene"
12158
+ },
12159
+ "sceneShot": {
12302
12160
  "type": "object",
12303
12161
  "properties": {
12304
- "frames": {
12305
- "type": "integer",
12306
- "exclusiveMinimum": 0,
12307
- "maximum": 9007199254740991
12308
- },
12309
- "fps": {
12162
+ "version": {
12310
12163
  "type": "number",
12311
- "exclusiveMinimum": 0
12164
+ "const": 2
12312
12165
  }
12313
12166
  },
12314
12167
  "required": [
12315
- "frames",
12316
- "fps"
12168
+ "version"
12317
12169
  ],
12318
12170
  "additionalProperties": false
12319
12171
  },
12320
- "minDurationSec": {
12321
- "type": "number",
12322
- "exclusiveMinimum": 0
12323
- },
12324
- "maxDurationSec": {
12325
- "type": "number",
12326
- "exclusiveMinimum": 0
12327
- }
12328
- },
12329
- "required": [
12330
- "defaultDuration"
12331
- ],
12332
- "additionalProperties": false
12333
- },
12334
- "capabilities": {
12335
- "minItems": 1,
12336
- "type": "array",
12337
- "items": {
12338
- "oneOf": [
12339
- {
12340
- "type": "object",
12341
- "properties": {
12342
- "kind": {
12343
- "type": "string",
12344
- "const": "clip"
12345
- }
12346
- },
12347
- "required": [
12348
- "kind"
12349
- ],
12350
- "additionalProperties": false
12172
+ "assets": {
12173
+ "type": "object",
12174
+ "propertyNames": {
12175
+ "type": "string",
12176
+ "minLength": 1
12351
12177
  },
12352
- {
12178
+ "additionalProperties": {
12353
12179
  "type": "object",
12354
12180
  "properties": {
12355
12181
  "kind": {
12356
12182
  "type": "string",
12357
- "const": "cut-transition"
12183
+ "enum": [
12184
+ "image",
12185
+ "video",
12186
+ "audio",
12187
+ "data",
12188
+ "visual"
12189
+ ]
12358
12190
  },
12359
- "protocol": {
12360
- "type": "string",
12361
- "const": "per-child"
12362
- }
12363
- },
12364
- "required": [
12365
- "kind",
12366
- "protocol"
12367
- ],
12368
- "additionalProperties": false
12369
- },
12370
- {
12371
- "type": "object",
12372
- "properties": {
12373
- "kind": {
12374
- "type": "string",
12375
- "const": "content-slots"
12191
+ "required": {
12192
+ "type": "boolean"
12376
12193
  },
12377
- "slots": {
12194
+ "mimeTypes": {
12378
12195
  "minItems": 1,
12379
12196
  "type": "array",
12380
12197
  "items": {
12381
- "type": "object",
12382
- "properties": {
12383
- "name": {
12384
- "type": "string",
12385
- "minLength": 1,
12386
- "maxLength": 128
12387
- },
12388
- "min": {
12389
- "type": "integer",
12390
- "minimum": 0,
12391
- "maximum": 9007199254740991
12392
- },
12393
- "max": {
12394
- "type": "integer",
12395
- "exclusiveMinimum": 0,
12396
- "maximum": 9007199254740991
12198
+ "type": "string",
12199
+ "minLength": 1
12200
+ }
12201
+ },
12202
+ "mediaDemand": {
12203
+ "oneOf": [
12204
+ {
12205
+ "type": "object",
12206
+ "properties": {
12207
+ "mode": {
12208
+ "type": "string",
12209
+ "const": "original"
12210
+ }
12397
12211
  },
12398
- "ownership": {
12399
- "type": "string",
12400
- "enum": [
12401
- "reference",
12402
- "exclusive"
12403
- ]
12212
+ "required": [
12213
+ "mode"
12214
+ ],
12215
+ "additionalProperties": false
12216
+ },
12217
+ {
12218
+ "type": "object",
12219
+ "properties": {
12220
+ "mode": {
12221
+ "type": "string",
12222
+ "const": "tier"
12223
+ },
12224
+ "tier": {
12225
+ "anyOf": [
12226
+ {
12227
+ "type": "number",
12228
+ "const": 256
12229
+ },
12230
+ {
12231
+ "type": "number",
12232
+ "const": 512
12233
+ },
12234
+ {
12235
+ "type": "number",
12236
+ "const": 1024
12237
+ },
12238
+ {
12239
+ "type": "number",
12240
+ "const": 2048
12241
+ }
12242
+ ]
12243
+ }
12404
12244
  },
12405
- "sizing": {
12406
- "type": "string",
12407
- "enum": [
12408
- "canvas",
12409
- "container"
12410
- ]
12411
- }
12245
+ "required": [
12246
+ "mode",
12247
+ "tier"
12248
+ ],
12249
+ "additionalProperties": false
12412
12250
  },
12413
- "required": [
12414
- "name",
12415
- "min",
12416
- "max",
12417
- "ownership",
12418
- "sizing"
12419
- ],
12420
- "additionalProperties": false
12421
- }
12251
+ {
12252
+ "type": "object",
12253
+ "properties": {
12254
+ "mode": {
12255
+ "type": "string",
12256
+ "const": "auto"
12257
+ },
12258
+ "maxProjectedWidthRatio": {
12259
+ "type": "number",
12260
+ "exclusiveMinimum": 0,
12261
+ "maximum": 64
12262
+ },
12263
+ "maxProjectedHeightRatio": {
12264
+ "type": "number",
12265
+ "exclusiveMinimum": 0,
12266
+ "maximum": 64
12267
+ },
12268
+ "minVisibleSourceWidthRatio": {
12269
+ "default": 1,
12270
+ "type": "number",
12271
+ "exclusiveMinimum": 0,
12272
+ "maximum": 1
12273
+ },
12274
+ "minVisibleSourceHeightRatio": {
12275
+ "default": 1,
12276
+ "type": "number",
12277
+ "exclusiveMinimum": 0,
12278
+ "maximum": 1
12279
+ }
12280
+ },
12281
+ "required": [
12282
+ "mode",
12283
+ "maxProjectedWidthRatio",
12284
+ "maxProjectedHeightRatio",
12285
+ "minVisibleSourceWidthRatio",
12286
+ "minVisibleSourceHeightRatio"
12287
+ ],
12288
+ "additionalProperties": false
12289
+ }
12290
+ ],
12291
+ "type": "object"
12422
12292
  }
12423
12293
  },
12424
12294
  "required": [
12425
12295
  "kind",
12426
- "slots"
12296
+ "required"
12427
12297
  ],
12428
12298
  "additionalProperties": false
12299
+ }
12300
+ },
12301
+ "graphics": {
12302
+ "type": "object",
12303
+ "properties": {
12304
+ "api": {
12305
+ "type": "string",
12306
+ "enum": [
12307
+ "canvas2d",
12308
+ "webgl",
12309
+ "webgl2",
12310
+ "webgpu"
12311
+ ]
12312
+ },
12313
+ "required": {
12314
+ "type": "boolean",
12315
+ "const": true
12316
+ },
12317
+ "accelerationPreference": {
12318
+ "type": "string",
12319
+ "enum": [
12320
+ "hardware-preferred",
12321
+ "software-allowed"
12322
+ ]
12323
+ }
12429
12324
  },
12430
- {
12325
+ "required": [
12326
+ "api",
12327
+ "required",
12328
+ "accelerationPreference"
12329
+ ],
12330
+ "additionalProperties": false
12331
+ },
12332
+ "alphaPolicy": {
12333
+ "type": "string",
12334
+ "enum": [
12335
+ "requires-transparency",
12336
+ "allows-opaque"
12337
+ ]
12338
+ }
12339
+ },
12340
+ "required": [
12341
+ "version",
12342
+ "runtime",
12343
+ "hfContract",
12344
+ "kind",
12345
+ "assets",
12346
+ "graphics",
12347
+ "alphaPolicy"
12348
+ ],
12349
+ "additionalProperties": false
12350
+ },
12351
+ "definition": {
12352
+ "type": "object",
12353
+ "properties": {
12354
+ "inputSchema": {
12355
+ "type": "object",
12356
+ "propertyNames": {
12357
+ "type": "string"
12358
+ },
12359
+ "additionalProperties": {}
12360
+ },
12361
+ "defaults": {
12362
+ "type": "object",
12363
+ "propertyNames": {
12364
+ "type": "string"
12365
+ },
12366
+ "additionalProperties": {}
12367
+ },
12368
+ "brandBindings": {
12369
+ "type": "array",
12370
+ "items": {
12431
12371
  "type": "object",
12432
12372
  "properties": {
12433
- "kind": {
12373
+ "propPath": {
12434
12374
  "type": "string",
12435
- "const": "clip-wrapper"
12375
+ "minLength": 1,
12376
+ "maxLength": 128
12436
12377
  },
12437
- "ordering": {
12378
+ "cssVar": {
12438
12379
  "type": "string",
12439
- "enum": [
12440
- "any",
12441
- "innermost"
12442
- ]
12380
+ "minLength": 1,
12381
+ "maxLength": 128
12443
12382
  },
12444
- "acceptsWrappedTargets": {
12445
- "type": "boolean"
12383
+ "fallback": {
12384
+ "type": "string"
12385
+ },
12386
+ "brandKitPath": {
12387
+ "type": "string",
12388
+ "minLength": 1,
12389
+ "maxLength": 128
12446
12390
  }
12447
12391
  },
12448
12392
  "required": [
12449
- "kind",
12450
- "ordering",
12451
- "acceptsWrappedTargets"
12393
+ "propPath",
12394
+ "cssVar"
12452
12395
  ],
12453
12396
  "additionalProperties": false
12397
+ }
12398
+ },
12399
+ "timing": {
12400
+ "type": "object",
12401
+ "properties": {
12402
+ "defaultDuration": {
12403
+ "type": "object",
12404
+ "properties": {
12405
+ "frames": {
12406
+ "type": "integer",
12407
+ "exclusiveMinimum": 0,
12408
+ "maximum": 9007199254740991
12409
+ },
12410
+ "fps": {
12411
+ "type": "number",
12412
+ "exclusiveMinimum": 0
12413
+ }
12414
+ },
12415
+ "required": [
12416
+ "frames",
12417
+ "fps"
12418
+ ],
12419
+ "additionalProperties": false
12420
+ },
12421
+ "minDurationSec": {
12422
+ "type": "number",
12423
+ "exclusiveMinimum": 0
12424
+ },
12425
+ "maxDurationSec": {
12426
+ "type": "number",
12427
+ "exclusiveMinimum": 0
12428
+ }
12454
12429
  },
12455
- {
12430
+ "required": [
12431
+ "defaultDuration"
12432
+ ],
12433
+ "additionalProperties": false
12434
+ },
12435
+ "capabilities": {
12436
+ "minItems": 1,
12437
+ "type": "array",
12438
+ "items": {
12439
+ "oneOf": [
12440
+ {
12441
+ "type": "object",
12442
+ "properties": {
12443
+ "kind": {
12444
+ "type": "string",
12445
+ "const": "clip"
12446
+ }
12447
+ },
12448
+ "required": [
12449
+ "kind"
12450
+ ],
12451
+ "additionalProperties": false
12452
+ },
12453
+ {
12454
+ "type": "object",
12455
+ "properties": {
12456
+ "kind": {
12457
+ "type": "string",
12458
+ "const": "cut-transition"
12459
+ },
12460
+ "protocol": {
12461
+ "type": "string",
12462
+ "const": "per-child"
12463
+ }
12464
+ },
12465
+ "required": [
12466
+ "kind",
12467
+ "protocol"
12468
+ ],
12469
+ "additionalProperties": false
12470
+ },
12471
+ {
12472
+ "type": "object",
12473
+ "properties": {
12474
+ "kind": {
12475
+ "type": "string",
12476
+ "const": "content-slots"
12477
+ },
12478
+ "slots": {
12479
+ "minItems": 1,
12480
+ "type": "array",
12481
+ "items": {
12482
+ "type": "object",
12483
+ "properties": {
12484
+ "name": {
12485
+ "type": "string",
12486
+ "minLength": 1,
12487
+ "maxLength": 128
12488
+ },
12489
+ "min": {
12490
+ "type": "integer",
12491
+ "minimum": 0,
12492
+ "maximum": 9007199254740991
12493
+ },
12494
+ "max": {
12495
+ "type": "integer",
12496
+ "exclusiveMinimum": 0,
12497
+ "maximum": 9007199254740991
12498
+ },
12499
+ "ownership": {
12500
+ "type": "string",
12501
+ "enum": [
12502
+ "reference",
12503
+ "exclusive"
12504
+ ]
12505
+ },
12506
+ "sizing": {
12507
+ "type": "string",
12508
+ "enum": [
12509
+ "canvas",
12510
+ "container"
12511
+ ]
12512
+ }
12513
+ },
12514
+ "required": [
12515
+ "name",
12516
+ "min",
12517
+ "max",
12518
+ "ownership",
12519
+ "sizing"
12520
+ ],
12521
+ "additionalProperties": false
12522
+ }
12523
+ }
12524
+ },
12525
+ "required": [
12526
+ "kind",
12527
+ "slots"
12528
+ ],
12529
+ "additionalProperties": false
12530
+ },
12531
+ {
12532
+ "type": "object",
12533
+ "properties": {
12534
+ "kind": {
12535
+ "type": "string",
12536
+ "const": "clip-wrapper"
12537
+ },
12538
+ "ordering": {
12539
+ "type": "string",
12540
+ "enum": [
12541
+ "any",
12542
+ "innermost"
12543
+ ]
12544
+ },
12545
+ "acceptsWrappedTargets": {
12546
+ "type": "boolean"
12547
+ }
12548
+ },
12549
+ "required": [
12550
+ "kind",
12551
+ "ordering",
12552
+ "acceptsWrappedTargets"
12553
+ ],
12554
+ "additionalProperties": false
12555
+ },
12556
+ {
12557
+ "type": "object",
12558
+ "properties": {
12559
+ "kind": {
12560
+ "type": "string",
12561
+ "const": "global-wrapper"
12562
+ },
12563
+ "scope": {
12564
+ "type": "string",
12565
+ "const": "media-lanes"
12566
+ },
12567
+ "ordering": {
12568
+ "type": "string",
12569
+ "enum": [
12570
+ "any",
12571
+ "innermost"
12572
+ ]
12573
+ },
12574
+ "acceptsWrappedTargets": {
12575
+ "type": "boolean"
12576
+ }
12577
+ },
12578
+ "required": [
12579
+ "kind",
12580
+ "scope",
12581
+ "ordering",
12582
+ "acceptsWrappedTargets"
12583
+ ],
12584
+ "additionalProperties": false
12585
+ }
12586
+ ],
12587
+ "type": "object"
12588
+ }
12589
+ },
12590
+ "mediaBindings": {
12591
+ "minItems": 1,
12592
+ "type": "array",
12593
+ "items": {
12456
12594
  "type": "object",
12457
12595
  "properties": {
12458
- "kind": {
12596
+ "name": {
12459
12597
  "type": "string",
12460
- "const": "global-wrapper"
12598
+ "minLength": 1,
12599
+ "maxLength": 128
12461
12600
  },
12462
- "scope": {
12601
+ "propPath": {
12602
+ "minItems": 1,
12603
+ "maxItems": 16,
12604
+ "type": "array",
12605
+ "items": {
12606
+ "type": "string",
12607
+ "minLength": 1,
12608
+ "maxLength": 128
12609
+ }
12610
+ },
12611
+ "kind": {
12463
12612
  "type": "string",
12464
- "const": "media-lanes"
12613
+ "enum": [
12614
+ "image",
12615
+ "video",
12616
+ "visual"
12617
+ ]
12465
12618
  },
12466
- "ordering": {
12619
+ "collection": {
12467
12620
  "type": "string",
12468
12621
  "enum": [
12469
- "any",
12470
- "innermost"
12622
+ "scalar",
12623
+ "array"
12471
12624
  ]
12472
12625
  },
12473
- "acceptsWrappedTargets": {
12474
- "type": "boolean"
12626
+ "cardinality": {
12627
+ "type": "object",
12628
+ "properties": {
12629
+ "min": {
12630
+ "type": "integer",
12631
+ "minimum": 0,
12632
+ "maximum": 9007199254740991
12633
+ },
12634
+ "max": {
12635
+ "type": "integer",
12636
+ "exclusiveMinimum": 0,
12637
+ "maximum": 9007199254740991
12638
+ }
12639
+ },
12640
+ "required": [
12641
+ "min"
12642
+ ],
12643
+ "additionalProperties": false
12644
+ },
12645
+ "mimeTypes": {
12646
+ "minItems": 1,
12647
+ "type": "array",
12648
+ "items": {
12649
+ "type": "string",
12650
+ "minLength": 1
12651
+ }
12652
+ },
12653
+ "mediaDemand": {
12654
+ "oneOf": [
12655
+ {
12656
+ "type": "object",
12657
+ "properties": {
12658
+ "mode": {
12659
+ "type": "string",
12660
+ "const": "original"
12661
+ }
12662
+ },
12663
+ "required": [
12664
+ "mode"
12665
+ ],
12666
+ "additionalProperties": false
12667
+ },
12668
+ {
12669
+ "type": "object",
12670
+ "properties": {
12671
+ "mode": {
12672
+ "type": "string",
12673
+ "const": "tier"
12674
+ },
12675
+ "tier": {
12676
+ "anyOf": [
12677
+ {
12678
+ "type": "number",
12679
+ "const": 256
12680
+ },
12681
+ {
12682
+ "type": "number",
12683
+ "const": 512
12684
+ },
12685
+ {
12686
+ "type": "number",
12687
+ "const": 1024
12688
+ },
12689
+ {
12690
+ "type": "number",
12691
+ "const": 2048
12692
+ }
12693
+ ]
12694
+ }
12695
+ },
12696
+ "required": [
12697
+ "mode",
12698
+ "tier"
12699
+ ],
12700
+ "additionalProperties": false
12701
+ },
12702
+ {
12703
+ "type": "object",
12704
+ "properties": {
12705
+ "mode": {
12706
+ "type": "string",
12707
+ "const": "auto"
12708
+ },
12709
+ "maxProjectedWidthRatio": {
12710
+ "type": "number",
12711
+ "exclusiveMinimum": 0,
12712
+ "maximum": 64
12713
+ },
12714
+ "maxProjectedHeightRatio": {
12715
+ "type": "number",
12716
+ "exclusiveMinimum": 0,
12717
+ "maximum": 64
12718
+ },
12719
+ "minVisibleSourceWidthRatio": {
12720
+ "default": 1,
12721
+ "type": "number",
12722
+ "exclusiveMinimum": 0,
12723
+ "maximum": 1
12724
+ },
12725
+ "minVisibleSourceHeightRatio": {
12726
+ "default": 1,
12727
+ "type": "number",
12728
+ "exclusiveMinimum": 0,
12729
+ "maximum": 1
12730
+ }
12731
+ },
12732
+ "required": [
12733
+ "mode",
12734
+ "maxProjectedWidthRatio",
12735
+ "maxProjectedHeightRatio",
12736
+ "minVisibleSourceWidthRatio",
12737
+ "minVisibleSourceHeightRatio"
12738
+ ],
12739
+ "additionalProperties": false
12740
+ }
12741
+ ],
12742
+ "type": "object"
12475
12743
  }
12476
12744
  },
12477
12745
  "required": [
12746
+ "name",
12747
+ "propPath",
12478
12748
  "kind",
12479
- "scope",
12480
- "ordering",
12481
- "acceptsWrappedTargets"
12749
+ "collection",
12750
+ "cardinality"
12482
12751
  ],
12483
12752
  "additionalProperties": false
12484
12753
  }
12485
- ],
12486
- "type": "object"
12487
- }
12754
+ },
12755
+ "preview": {
12756
+ "type": "object",
12757
+ "properties": {
12758
+ "params": {
12759
+ "type": "object",
12760
+ "propertyNames": {
12761
+ "type": "string"
12762
+ },
12763
+ "additionalProperties": {}
12764
+ },
12765
+ "format": {
12766
+ "type": "object",
12767
+ "properties": {
12768
+ "aspectRatio": {
12769
+ "type": "string",
12770
+ "enum": [
12771
+ "16:9",
12772
+ "9:16",
12773
+ "1:1",
12774
+ "4:5"
12775
+ ]
12776
+ },
12777
+ "fps": {
12778
+ "anyOf": [
12779
+ {
12780
+ "type": "number",
12781
+ "const": 24
12782
+ },
12783
+ {
12784
+ "type": "number",
12785
+ "const": 25
12786
+ },
12787
+ {
12788
+ "type": "number",
12789
+ "const": 30
12790
+ },
12791
+ {
12792
+ "type": "number",
12793
+ "const": 60
12794
+ }
12795
+ ]
12796
+ },
12797
+ "resolution": {
12798
+ "type": "string",
12799
+ "enum": [
12800
+ "hd",
12801
+ "fhd",
12802
+ "4k"
12803
+ ]
12804
+ },
12805
+ "platform": {
12806
+ "type": "string"
12807
+ }
12808
+ },
12809
+ "required": [
12810
+ "aspectRatio"
12811
+ ],
12812
+ "additionalProperties": false
12813
+ },
12814
+ "assets": {
12815
+ "type": "object",
12816
+ "propertyNames": {
12817
+ "type": "string",
12818
+ "minLength": 1,
12819
+ "maxLength": 128
12820
+ },
12821
+ "additionalProperties": {
12822
+ "anyOf": [
12823
+ {
12824
+ "type": "object",
12825
+ "properties": {
12826
+ "url": {
12827
+ "type": "string",
12828
+ "format": "uri",
12829
+ "pattern": "^https:\\/\\/.*"
12830
+ },
12831
+ "sha256": {
12832
+ "type": "string",
12833
+ "pattern": "^[a-f0-9]{64}$"
12834
+ },
12835
+ "mimeType": {
12836
+ "type": "string",
12837
+ "minLength": 1
12838
+ },
12839
+ "frameRate": {
12840
+ "type": "number",
12841
+ "exclusiveMinimum": 0
12842
+ },
12843
+ "durationSec": {
12844
+ "type": "number",
12845
+ "exclusiveMinimum": 0
12846
+ }
12847
+ },
12848
+ "required": [
12849
+ "url",
12850
+ "sha256",
12851
+ "mimeType"
12852
+ ],
12853
+ "additionalProperties": false
12854
+ },
12855
+ {
12856
+ "type": "object",
12857
+ "properties": {
12858
+ "mediaId": {
12859
+ "type": "string",
12860
+ "minLength": 1,
12861
+ "maxLength": 128
12862
+ },
12863
+ "sha256": {
12864
+ "type": "string",
12865
+ "pattern": "^[a-f0-9]{64}$"
12866
+ },
12867
+ "mimeType": {
12868
+ "type": "string",
12869
+ "minLength": 1
12870
+ },
12871
+ "frameRate": {
12872
+ "type": "number",
12873
+ "exclusiveMinimum": 0
12874
+ },
12875
+ "durationSec": {
12876
+ "type": "number",
12877
+ "exclusiveMinimum": 0
12878
+ }
12879
+ },
12880
+ "required": [
12881
+ "mediaId",
12882
+ "sha256",
12883
+ "mimeType"
12884
+ ],
12885
+ "additionalProperties": false
12886
+ }
12887
+ ]
12888
+ }
12889
+ },
12890
+ "mediaBindings": {
12891
+ "type": "object",
12892
+ "propertyNames": {
12893
+ "type": "string",
12894
+ "minLength": 1,
12895
+ "maxLength": 128
12896
+ },
12897
+ "additionalProperties": {
12898
+ "type": "array",
12899
+ "items": {
12900
+ "anyOf": [
12901
+ {
12902
+ "type": "object",
12903
+ "properties": {
12904
+ "url": {
12905
+ "type": "string",
12906
+ "format": "uri",
12907
+ "pattern": "^https:\\/\\/.*"
12908
+ },
12909
+ "sha256": {
12910
+ "type": "string",
12911
+ "pattern": "^[a-f0-9]{64}$"
12912
+ },
12913
+ "mimeType": {
12914
+ "type": "string",
12915
+ "minLength": 1
12916
+ },
12917
+ "frameRate": {
12918
+ "type": "number",
12919
+ "exclusiveMinimum": 0
12920
+ },
12921
+ "durationSec": {
12922
+ "type": "number",
12923
+ "exclusiveMinimum": 0
12924
+ }
12925
+ },
12926
+ "required": [
12927
+ "url",
12928
+ "sha256",
12929
+ "mimeType"
12930
+ ],
12931
+ "additionalProperties": false
12932
+ },
12933
+ {
12934
+ "type": "object",
12935
+ "properties": {
12936
+ "mediaId": {
12937
+ "type": "string",
12938
+ "minLength": 1,
12939
+ "maxLength": 128
12940
+ },
12941
+ "sha256": {
12942
+ "type": "string",
12943
+ "pattern": "^[a-f0-9]{64}$"
12944
+ },
12945
+ "mimeType": {
12946
+ "type": "string",
12947
+ "minLength": 1
12948
+ },
12949
+ "frameRate": {
12950
+ "type": "number",
12951
+ "exclusiveMinimum": 0
12952
+ },
12953
+ "durationSec": {
12954
+ "type": "number",
12955
+ "exclusiveMinimum": 0
12956
+ }
12957
+ },
12958
+ "required": [
12959
+ "mediaId",
12960
+ "sha256",
12961
+ "mimeType"
12962
+ ],
12963
+ "additionalProperties": false
12964
+ }
12965
+ ]
12966
+ }
12967
+ }
12968
+ }
12969
+ },
12970
+ "additionalProperties": false
12971
+ }
12972
+ },
12973
+ "required": [
12974
+ "inputSchema",
12975
+ "defaults",
12976
+ "brandBindings",
12977
+ "timing",
12978
+ "capabilities"
12979
+ ],
12980
+ "additionalProperties": false
12981
+ }
12982
+ },
12983
+ "required": [
12984
+ "version",
12985
+ "componentId",
12986
+ "template",
12987
+ "manifest",
12988
+ "definition"
12989
+ ],
12990
+ "additionalProperties": false
12991
+ }
12992
+ ]
12993
+ },
12994
+ {
12995
+ "type": "object",
12996
+ "properties": {
12997
+ "version": {
12998
+ "type": "number",
12999
+ "const": 2
13000
+ },
13001
+ "componentId": {
13002
+ "type": "string",
13003
+ "minLength": 1,
13004
+ "maxLength": 128,
13005
+ "pattern": "^[a-z0-9][a-z0-9._-]*$"
13006
+ },
13007
+ "tsxSource": {
13008
+ "type": "string",
13009
+ "minLength": 1
13010
+ },
13011
+ "manifest": {
13012
+ "type": "object",
13013
+ "properties": {
13014
+ "version": {
13015
+ "type": "number",
13016
+ "const": 2
12488
13017
  },
12489
- "mediaBindings": {
12490
- "minItems": 1,
12491
- "type": "array",
12492
- "items": {
13018
+ "assets": {
13019
+ "type": "object",
13020
+ "propertyNames": {
13021
+ "type": "string",
13022
+ "minLength": 1
13023
+ },
13024
+ "additionalProperties": {
12493
13025
  "type": "object",
12494
13026
  "properties": {
12495
- "name": {
12496
- "type": "string",
12497
- "minLength": 1,
12498
- "maxLength": 128
12499
- },
12500
- "propPath": {
12501
- "minItems": 1,
12502
- "maxItems": 16,
12503
- "type": "array",
12504
- "items": {
12505
- "type": "string",
12506
- "minLength": 1,
12507
- "maxLength": 128
12508
- }
12509
- },
12510
13027
  "kind": {
12511
13028
  "type": "string",
12512
13029
  "enum": [
12513
13030
  "image",
12514
13031
  "video",
13032
+ "audio",
13033
+ "data",
12515
13034
  "visual"
12516
13035
  ]
12517
13036
  },
12518
- "collection": {
12519
- "type": "string",
12520
- "enum": [
12521
- "scalar",
12522
- "array"
12523
- ]
12524
- },
12525
- "cardinality": {
12526
- "type": "object",
12527
- "properties": {
12528
- "min": {
12529
- "type": "integer",
12530
- "minimum": 0,
12531
- "maximum": 9007199254740991
12532
- },
12533
- "max": {
12534
- "type": "integer",
12535
- "exclusiveMinimum": 0,
12536
- "maximum": 9007199254740991
12537
- }
12538
- },
12539
- "required": [
12540
- "min"
12541
- ],
12542
- "additionalProperties": false
13037
+ "required": {
13038
+ "type": "boolean"
12543
13039
  },
12544
13040
  "mimeTypes": {
12545
13041
  "minItems": 1,
@@ -12642,239 +13138,82 @@
12642
13138
  }
12643
13139
  },
12644
13140
  "required": [
12645
- "name",
12646
- "propPath",
12647
13141
  "kind",
12648
- "collection",
12649
- "cardinality"
13142
+ "required"
12650
13143
  ],
12651
13144
  "additionalProperties": false
12652
13145
  }
12653
13146
  },
12654
- "preview": {
13147
+ "graphics": {
12655
13148
  "type": "object",
12656
13149
  "properties": {
12657
- "params": {
12658
- "type": "object",
12659
- "propertyNames": {
12660
- "type": "string"
12661
- },
12662
- "additionalProperties": {}
12663
- },
12664
- "format": {
12665
- "type": "object",
12666
- "properties": {
12667
- "aspectRatio": {
12668
- "type": "string",
12669
- "enum": [
12670
- "16:9",
12671
- "9:16",
12672
- "1:1",
12673
- "4:5"
12674
- ]
12675
- },
12676
- "fps": {
12677
- "anyOf": [
12678
- {
12679
- "type": "number",
12680
- "const": 24
12681
- },
12682
- {
12683
- "type": "number",
12684
- "const": 25
12685
- },
12686
- {
12687
- "type": "number",
12688
- "const": 30
12689
- },
12690
- {
12691
- "type": "number",
12692
- "const": 60
12693
- }
12694
- ]
12695
- },
12696
- "resolution": {
12697
- "type": "string",
12698
- "enum": [
12699
- "hd",
12700
- "fhd",
12701
- "4k"
12702
- ]
12703
- },
12704
- "platform": {
12705
- "type": "string"
12706
- }
12707
- },
12708
- "required": [
12709
- "aspectRatio"
12710
- ],
12711
- "additionalProperties": false
13150
+ "api": {
13151
+ "type": "string",
13152
+ "enum": [
13153
+ "canvas2d",
13154
+ "webgl",
13155
+ "webgl2",
13156
+ "webgpu"
13157
+ ]
12712
13158
  },
12713
- "assets": {
12714
- "type": "object",
12715
- "propertyNames": {
12716
- "type": "string",
12717
- "minLength": 1,
12718
- "maxLength": 128
12719
- },
12720
- "additionalProperties": {
12721
- "anyOf": [
12722
- {
12723
- "type": "object",
12724
- "properties": {
12725
- "url": {
12726
- "type": "string",
12727
- "format": "uri",
12728
- "pattern": "^https:\\/\\/.*"
12729
- },
12730
- "sha256": {
12731
- "type": "string",
12732
- "pattern": "^[a-f0-9]{64}$"
12733
- },
12734
- "mimeType": {
12735
- "type": "string",
12736
- "minLength": 1
12737
- },
12738
- "frameRate": {
12739
- "type": "number",
12740
- "exclusiveMinimum": 0
12741
- },
12742
- "durationSec": {
12743
- "type": "number",
12744
- "exclusiveMinimum": 0
12745
- }
12746
- },
12747
- "required": [
12748
- "url",
12749
- "sha256",
12750
- "mimeType"
12751
- ],
12752
- "additionalProperties": false
12753
- },
12754
- {
12755
- "type": "object",
12756
- "properties": {
12757
- "mediaId": {
12758
- "type": "string",
12759
- "minLength": 1,
12760
- "maxLength": 128
12761
- },
12762
- "sha256": {
12763
- "type": "string",
12764
- "pattern": "^[a-f0-9]{64}$"
12765
- },
12766
- "mimeType": {
12767
- "type": "string",
12768
- "minLength": 1
12769
- },
12770
- "frameRate": {
12771
- "type": "number",
12772
- "exclusiveMinimum": 0
12773
- },
12774
- "durationSec": {
12775
- "type": "number",
12776
- "exclusiveMinimum": 0
12777
- }
12778
- },
12779
- "required": [
12780
- "mediaId",
12781
- "sha256",
12782
- "mimeType"
12783
- ],
12784
- "additionalProperties": false
12785
- }
12786
- ]
12787
- }
13159
+ "required": {
13160
+ "type": "boolean",
13161
+ "const": true
12788
13162
  },
12789
- "mediaBindings": {
12790
- "type": "object",
12791
- "propertyNames": {
12792
- "type": "string",
12793
- "minLength": 1,
12794
- "maxLength": 128
12795
- },
12796
- "additionalProperties": {
12797
- "type": "array",
12798
- "items": {
12799
- "anyOf": [
12800
- {
12801
- "type": "object",
12802
- "properties": {
12803
- "url": {
12804
- "type": "string",
12805
- "format": "uri",
12806
- "pattern": "^https:\\/\\/.*"
12807
- },
12808
- "sha256": {
12809
- "type": "string",
12810
- "pattern": "^[a-f0-9]{64}$"
12811
- },
12812
- "mimeType": {
12813
- "type": "string",
12814
- "minLength": 1
12815
- },
12816
- "frameRate": {
12817
- "type": "number",
12818
- "exclusiveMinimum": 0
12819
- },
12820
- "durationSec": {
12821
- "type": "number",
12822
- "exclusiveMinimum": 0
12823
- }
12824
- },
12825
- "required": [
12826
- "url",
12827
- "sha256",
12828
- "mimeType"
12829
- ],
12830
- "additionalProperties": false
12831
- },
12832
- {
12833
- "type": "object",
12834
- "properties": {
12835
- "mediaId": {
12836
- "type": "string",
12837
- "minLength": 1,
12838
- "maxLength": 128
12839
- },
12840
- "sha256": {
12841
- "type": "string",
12842
- "pattern": "^[a-f0-9]{64}$"
12843
- },
12844
- "mimeType": {
12845
- "type": "string",
12846
- "minLength": 1
12847
- },
12848
- "frameRate": {
12849
- "type": "number",
12850
- "exclusiveMinimum": 0
12851
- },
12852
- "durationSec": {
12853
- "type": "number",
12854
- "exclusiveMinimum": 0
12855
- }
12856
- },
12857
- "required": [
12858
- "mediaId",
12859
- "sha256",
12860
- "mimeType"
12861
- ],
12862
- "additionalProperties": false
12863
- }
12864
- ]
12865
- }
12866
- }
13163
+ "accelerationPreference": {
13164
+ "type": "string",
13165
+ "enum": [
13166
+ "hardware-preferred",
13167
+ "software-allowed"
13168
+ ]
13169
+ }
13170
+ },
13171
+ "required": [
13172
+ "api",
13173
+ "required",
13174
+ "accelerationPreference"
13175
+ ],
13176
+ "additionalProperties": false
13177
+ },
13178
+ "alphaPolicy": {
13179
+ "type": "string",
13180
+ "enum": [
13181
+ "requires-transparency",
13182
+ "allows-opaque"
13183
+ ]
13184
+ },
13185
+ "sceneShot": {
13186
+ "type": "object",
13187
+ "properties": {
13188
+ "version": {
13189
+ "type": "number",
13190
+ "const": 2
13191
+ }
13192
+ },
13193
+ "required": [
13194
+ "version"
13195
+ ],
13196
+ "additionalProperties": false
13197
+ },
13198
+ "visualMedia": {
13199
+ "type": "object",
13200
+ "properties": {
13201
+ "version": {
13202
+ "type": "number",
13203
+ "const": 1
12867
13204
  }
12868
13205
  },
13206
+ "required": [
13207
+ "version"
13208
+ ],
12869
13209
  "additionalProperties": false
12870
13210
  }
12871
13211
  },
12872
13212
  "required": [
12873
- "inputSchema",
12874
- "defaults",
12875
- "brandBindings",
12876
- "timing",
12877
- "capabilities"
13213
+ "version",
13214
+ "assets",
13215
+ "graphics",
13216
+ "alphaPolicy"
12878
13217
  ],
12879
13218
  "additionalProperties": false
12880
13219
  }
@@ -12882,14 +13221,13 @@
12882
13221
  "required": [
12883
13222
  "version",
12884
13223
  "componentId",
12885
- "template",
12886
- "manifest",
12887
- "definition"
13224
+ "tsxSource",
13225
+ "manifest"
12888
13226
  ],
12889
13227
  "additionalProperties": false
12890
13228
  }
12891
13229
  ],
12892
- "description": "Canonical immutable source snapshot (version 4 template, or a retired version 3 TSX module); source remains provenance."
13230
+ "description": "Immutable source snapshot: a version 4 template, a retired version 3 TSX module, or the historical version 2 source of a component stored before versioned sources (read-only; it never executes). source remains provenance."
12893
13231
  }
12894
13232
  },
12895
13233
  "required": [
@@ -12901,7 +13239,7 @@
12901
13239
  "sourceSnapshot"
12902
13240
  ],
12903
13241
  "additionalProperties": false,
12904
- "description": "Installed component SOURCE snapshot + ownership provenance per §Components. tsxSource is present only for a retired TSX (version 3) snapshot."
13242
+ "description": "Installed component SOURCE snapshot + ownership provenance per §Components. tsxSource is present for a retired TSX (version 3) snapshot and a historical version 2 source."
12905
13243
  },
12906
13244
  "ComponentCreateRequest": {
12907
13245
  "type": "object",
@@ -41772,6 +42110,96 @@
41772
42110
  }
41773
42111
  }
41774
42112
  },
42113
+ "/v1/components/blank-source": {
42114
+ "get": {
42115
+ "operationId": "getBlankComponentSource",
42116
+ "tags": [
42117
+ "components"
42118
+ ],
42119
+ "summary": "The blank native component source",
42120
+ "description": "The blank native (version 4) component source every new component starts from. Rename it by setting componentId and the template root's data-composition-id together, then create it with create_component.",
42121
+ "security": [
42122
+ {
42123
+ "bearerAuth": []
42124
+ },
42125
+ {
42126
+ "oauth2": [
42127
+ "projects:read"
42128
+ ]
42129
+ },
42130
+ {
42131
+ "x402": []
42132
+ }
42133
+ ],
42134
+ "x-permissions": {
42135
+ "projects": [
42136
+ "read"
42137
+ ]
42138
+ },
42139
+ "responses": {
42140
+ "200": {
42141
+ "description": "The kernel's blank native source.",
42142
+ "content": {
42143
+ "application/json": {
42144
+ "schema": {
42145
+ "$ref": "#/components/schemas/BlankComponentSourceV4"
42146
+ }
42147
+ }
42148
+ }
42149
+ },
42150
+ "401": {
42151
+ "description": "Missing or invalid Authorization header.",
42152
+ "content": {
42153
+ "application/json": {
42154
+ "schema": {
42155
+ "$ref": "#/components/schemas/ErrorEnvelope"
42156
+ }
42157
+ }
42158
+ }
42159
+ },
42160
+ "402": {
42161
+ "description": "Payment required. Returned when the caller presents no API key on a priced operation: the body AND the `Payment-Required` header carry the x402 v2 challenge (accepted scheme, network, USDC asset, amount, payTo). Sign the EIP-3009 authorization and retry with a `PAYMENT-SIGNATURE` header. A KEYED caller sees this status instead when their plan lacks or has exhausted the feature (`billing_required`).",
42162
+ "headers": {
42163
+ "Payment-Required": {
42164
+ "description": "Base64 x402 v2 PaymentRequired envelope — the same challenge as the body, for clients that read it off the header.",
42165
+ "schema": {
42166
+ "type": "string"
42167
+ }
42168
+ }
42169
+ },
42170
+ "content": {
42171
+ "application/json": {
42172
+ "schema": {
42173
+ "$ref": "#/components/schemas/X402PaymentRequired"
42174
+ }
42175
+ }
42176
+ }
42177
+ },
42178
+ "403": {
42179
+ "description": "Forbidden — permission insufficient.",
42180
+ "content": {
42181
+ "application/json": {
42182
+ "schema": {
42183
+ "$ref": "#/components/schemas/ErrorEnvelope"
42184
+ }
42185
+ }
42186
+ }
42187
+ }
42188
+ },
42189
+ "x-payment-info": {
42190
+ "price": {
42191
+ "mode": "fixed",
42192
+ "currency": "USDC",
42193
+ "amount": "10000"
42194
+ },
42195
+ "protocols": [
42196
+ {
42197
+ "x402": {}
42198
+ }
42199
+ ]
42200
+ }
42201
+ }
42202
+ },
41775
42203
  "/v1/components/builtin/resolve": {
41776
42204
  "get": {
41777
42205
  "operationId": "resolveBuiltinComponent",