@cueframe/api-contract 4.0.1 → 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
  {
@@ -3520,7 +3568,7 @@
3520
3568
  "effects"
3521
3569
  ],
3522
3570
  "additionalProperties": false,
3523
- "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."
3524
3572
  },
3525
3573
  {
3526
3574
  "type": "object",
@@ -11202,1038 +11250,1336 @@
11202
11250
  "sourceSnapshot": {
11203
11251
  "anyOf": [
11204
11252
  {
11205
- "type": "object",
11206
- "properties": {
11207
- "version": {
11208
- "type": "number",
11209
- "const": 3
11210
- },
11211
- "componentId": {
11212
- "type": "string",
11213
- "minLength": 1,
11214
- "maxLength": 128,
11215
- "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._-]*$"
11216
- },
11217
- "tsxSource": {
11218
- "type": "string",
11219
- "minLength": 1,
11220
- "maxLength": 8000000
11221
- },
11222
- "manifest": {
11253
+ "anyOf": [
11254
+ {
11223
11255
  "type": "object",
11224
11256
  "properties": {
11225
11257
  "version": {
11226
11258
  "type": "number",
11227
- "const": 2
11259
+ "const": 3
11228
11260
  },
11229
- "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": {
11230
11273
  "type": "object",
11231
- "propertyNames": {
11232
- "type": "string",
11233
- "minLength": 1
11234
- },
11235
- "additionalProperties": {
11236
- "type": "object",
11237
- "properties": {
11238
- "kind": {
11274
+ "properties": {
11275
+ "version": {
11276
+ "type": "number",
11277
+ "const": 2
11278
+ },
11279
+ "assets": {
11280
+ "type": "object",
11281
+ "propertyNames": {
11239
11282
  "type": "string",
11240
- "enum": [
11241
- "image",
11242
- "video",
11243
- "audio",
11244
- "data",
11245
- "visual"
11246
- ]
11247
- },
11248
- "required": {
11249
- "type": "boolean"
11250
- },
11251
- "mimeTypes": {
11252
- "minItems": 1,
11253
- "type": "array",
11254
- "items": {
11255
- "type": "string",
11256
- "minLength": 1
11257
- }
11283
+ "minLength": 1
11258
11284
  },
11259
- "mediaDemand": {
11260
- "oneOf": [
11261
- {
11262
- "type": "object",
11263
- "properties": {
11264
- "mode": {
11265
- "type": "string",
11266
- "const": "original"
11267
- }
11268
- },
11269
- "required": [
11270
- "mode"
11271
- ],
11272
- "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
+ ]
11273
11297
  },
11274
- {
11275
- "type": "object",
11276
- "properties": {
11277
- "mode": {
11278
- "type": "string",
11279
- "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
11280
11323
  },
11281
- "tier": {
11282
- "anyOf": [
11283
- {
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": {
11284
11366
  "type": "number",
11285
- "const": 256
11367
+ "exclusiveMinimum": 0,
11368
+ "maximum": 64
11286
11369
  },
11287
- {
11370
+ "maxProjectedHeightRatio": {
11288
11371
  "type": "number",
11289
- "const": 512
11372
+ "exclusiveMinimum": 0,
11373
+ "maximum": 64
11290
11374
  },
11291
- {
11375
+ "minVisibleSourceWidthRatio": {
11376
+ "default": 1,
11292
11377
  "type": "number",
11293
- "const": 1024
11378
+ "exclusiveMinimum": 0,
11379
+ "maximum": 1
11294
11380
  },
11295
- {
11381
+ "minVisibleSourceHeightRatio": {
11382
+ "default": 1,
11296
11383
  "type": "number",
11297
- "const": 2048
11384
+ "exclusiveMinimum": 0,
11385
+ "maximum": 1
11298
11386
  }
11299
- ]
11300
- }
11301
- },
11302
- "required": [
11303
- "mode",
11304
- "tier"
11305
- ],
11306
- "additionalProperties": false
11307
- },
11308
- {
11309
- "type": "object",
11310
- "properties": {
11311
- "mode": {
11312
- "type": "string",
11313
- "const": "auto"
11314
- },
11315
- "maxProjectedWidthRatio": {
11316
- "type": "number",
11317
- "exclusiveMinimum": 0,
11318
- "maximum": 64
11319
- },
11320
- "maxProjectedHeightRatio": {
11321
- "type": "number",
11322
- "exclusiveMinimum": 0,
11323
- "maximum": 64
11324
- },
11325
- "minVisibleSourceWidthRatio": {
11326
- "default": 1,
11327
- "type": "number",
11328
- "exclusiveMinimum": 0,
11329
- "maximum": 1
11330
- },
11331
- "minVisibleSourceHeightRatio": {
11332
- "default": 1,
11333
- "type": "number",
11334
- "exclusiveMinimum": 0,
11335
- "maximum": 1
11387
+ },
11388
+ "required": [
11389
+ "mode",
11390
+ "maxProjectedWidthRatio",
11391
+ "maxProjectedHeightRatio",
11392
+ "minVisibleSourceWidthRatio",
11393
+ "minVisibleSourceHeightRatio"
11394
+ ],
11395
+ "additionalProperties": false
11336
11396
  }
11337
- },
11338
- "required": [
11339
- "mode",
11340
- "maxProjectedWidthRatio",
11341
- "maxProjectedHeightRatio",
11342
- "minVisibleSourceWidthRatio",
11343
- "minVisibleSourceHeightRatio"
11344
11397
  ],
11345
- "additionalProperties": false
11398
+ "type": "object"
11346
11399
  }
11400
+ },
11401
+ "required": [
11402
+ "kind",
11403
+ "required"
11347
11404
  ],
11348
- "type": "object"
11405
+ "additionalProperties": false
11349
11406
  }
11350
11407
  },
11351
- "required": [
11352
- "kind",
11353
- "required"
11354
- ],
11355
- "additionalProperties": false
11356
- }
11357
- },
11358
- "graphics": {
11359
- "type": "object",
11360
- "properties": {
11361
- "api": {
11362
- "type": "string",
11363
- "enum": [
11364
- "canvas2d",
11365
- "webgl",
11366
- "webgl2",
11367
- "webgpu"
11368
- ]
11369
- },
11370
- "required": {
11371
- "type": "boolean",
11372
- "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
11373
11438
  },
11374
- "accelerationPreference": {
11439
+ "alphaPolicy": {
11375
11440
  "type": "string",
11376
11441
  "enum": [
11377
- "hardware-preferred",
11378
- "software-allowed"
11442
+ "requires-transparency",
11443
+ "allows-opaque"
11379
11444
  ]
11380
- }
11381
- },
11382
- "required": [
11383
- "api",
11384
- "required",
11385
- "accelerationPreference"
11386
- ],
11387
- "additionalProperties": false
11388
- },
11389
- "alphaPolicy": {
11390
- "type": "string",
11391
- "enum": [
11392
- "requires-transparency",
11393
- "allows-opaque"
11394
- ]
11395
- },
11396
- "sceneShot": {
11397
- "type": "object",
11398
- "properties": {
11399
- "version": {
11400
- "type": "number",
11401
- "const": 2
11402
- }
11403
- },
11404
- "required": [
11405
- "version"
11406
- ],
11407
- "additionalProperties": false
11408
- },
11409
- "visualMedia": {
11410
- "type": "object",
11411
- "properties": {
11412
- "version": {
11413
- "type": "number",
11414
- "const": 1
11415
- }
11416
- },
11417
- "required": [
11418
- "version"
11419
- ],
11420
- "additionalProperties": false
11421
- }
11422
- },
11423
- "required": [
11424
- "version",
11425
- "assets",
11426
- "graphics",
11427
- "alphaPolicy"
11428
- ],
11429
- "additionalProperties": false
11430
- },
11431
- "definition": {
11432
- "type": "object",
11433
- "properties": {
11434
- "inputSchema": {
11435
- "type": "object",
11436
- "propertyNames": {
11437
- "type": "string"
11438
- },
11439
- "additionalProperties": {}
11440
- },
11441
- "defaults": {
11442
- "type": "object",
11443
- "propertyNames": {
11444
- "type": "string"
11445
- },
11446
- "additionalProperties": {}
11447
- },
11448
- "brandBindings": {
11449
- "type": "array",
11450
- "items": {
11451
- "type": "object",
11452
- "properties": {
11453
- "propPath": {
11454
- "type": "string",
11455
- "minLength": 1,
11456
- "maxLength": 128
11457
- },
11458
- "cssVar": {
11459
- "type": "string",
11460
- "minLength": 1,
11461
- "maxLength": 128
11462
- },
11463
- "fallback": {
11464
- "type": "string"
11465
- },
11466
- "brandKitPath": {
11467
- "type": "string",
11468
- "minLength": 1,
11469
- "maxLength": 128
11470
- }
11471
11445
  },
11472
- "required": [
11473
- "propPath",
11474
- "cssVar"
11475
- ],
11476
- "additionalProperties": false
11477
- }
11478
- },
11479
- "timing": {
11480
- "type": "object",
11481
- "properties": {
11482
- "defaultDuration": {
11446
+ "sceneShot": {
11483
11447
  "type": "object",
11484
11448
  "properties": {
11485
- "frames": {
11486
- "type": "integer",
11487
- "exclusiveMinimum": 0,
11488
- "maximum": 9007199254740991
11489
- },
11490
- "fps": {
11449
+ "version": {
11491
11450
  "type": "number",
11492
- "exclusiveMinimum": 0
11451
+ "const": 2
11493
11452
  }
11494
11453
  },
11495
11454
  "required": [
11496
- "frames",
11497
- "fps"
11455
+ "version"
11498
11456
  ],
11499
11457
  "additionalProperties": false
11500
11458
  },
11501
- "minDurationSec": {
11502
- "type": "number",
11503
- "exclusiveMinimum": 0
11504
- },
11505
- "maxDurationSec": {
11506
- "type": "number",
11507
- "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
11508
11471
  }
11509
11472
  },
11510
11473
  "required": [
11511
- "defaultDuration"
11474
+ "version",
11475
+ "assets",
11476
+ "graphics",
11477
+ "alphaPolicy"
11512
11478
  ],
11513
11479
  "additionalProperties": false
11514
11480
  },
11515
- "capabilities": {
11516
- "minItems": 1,
11517
- "type": "array",
11518
- "items": {
11519
- "oneOf": [
11520
- {
11521
- "type": "object",
11522
- "properties": {
11523
- "kind": {
11524
- "type": "string",
11525
- "const": "clip"
11526
- }
11527
- },
11528
- "required": [
11529
- "kind"
11530
- ],
11531
- "additionalProperties": false
11481
+ "definition": {
11482
+ "type": "object",
11483
+ "properties": {
11484
+ "inputSchema": {
11485
+ "type": "object",
11486
+ "propertyNames": {
11487
+ "type": "string"
11532
11488
  },
11533
- {
11534
- "type": "object",
11535
- "properties": {
11536
- "kind": {
11537
- "type": "string",
11538
- "const": "cut-transition"
11539
- },
11540
- "protocol": {
11541
- "type": "string",
11542
- "const": "per-child"
11543
- }
11544
- },
11545
- "required": [
11546
- "kind",
11547
- "protocol"
11548
- ],
11549
- "additionalProperties": false
11489
+ "additionalProperties": {}
11490
+ },
11491
+ "defaults": {
11492
+ "type": "object",
11493
+ "propertyNames": {
11494
+ "type": "string"
11550
11495
  },
11551
- {
11496
+ "additionalProperties": {}
11497
+ },
11498
+ "brandBindings": {
11499
+ "type": "array",
11500
+ "items": {
11552
11501
  "type": "object",
11553
11502
  "properties": {
11554
- "kind": {
11503
+ "propPath": {
11555
11504
  "type": "string",
11556
- "const": "content-slots"
11505
+ "minLength": 1,
11506
+ "maxLength": 128
11557
11507
  },
11558
- "slots": {
11559
- "minItems": 1,
11560
- "type": "array",
11561
- "items": {
11562
- "type": "object",
11563
- "properties": {
11564
- "name": {
11565
- "type": "string",
11566
- "minLength": 1,
11567
- "maxLength": 128
11568
- },
11569
- "min": {
11570
- "type": "integer",
11571
- "minimum": 0,
11572
- "maximum": 9007199254740991
11573
- },
11574
- "max": {
11575
- "type": "integer",
11576
- "exclusiveMinimum": 0,
11577
- "maximum": 9007199254740991
11578
- },
11579
- "ownership": {
11580
- "type": "string",
11581
- "enum": [
11582
- "reference",
11583
- "exclusive"
11584
- ]
11585
- },
11586
- "sizing": {
11587
- "type": "string",
11588
- "enum": [
11589
- "canvas",
11590
- "container"
11591
- ]
11592
- }
11593
- },
11594
- "required": [
11595
- "name",
11596
- "min",
11597
- "max",
11598
- "ownership",
11599
- "sizing"
11600
- ],
11601
- "additionalProperties": false
11602
- }
11603
- }
11604
- },
11605
- "required": [
11606
- "kind",
11607
- "slots"
11608
- ],
11609
- "additionalProperties": false
11610
- },
11611
- {
11612
- "type": "object",
11613
- "properties": {
11614
- "kind": {
11508
+ "cssVar": {
11615
11509
  "type": "string",
11616
- "const": "clip-wrapper"
11510
+ "minLength": 1,
11511
+ "maxLength": 128
11617
11512
  },
11618
- "ordering": {
11619
- "type": "string",
11620
- "enum": [
11621
- "any",
11622
- "innermost"
11623
- ]
11513
+ "fallback": {
11514
+ "type": "string"
11624
11515
  },
11625
- "acceptsWrappedTargets": {
11626
- "type": "boolean"
11516
+ "brandKitPath": {
11517
+ "type": "string",
11518
+ "minLength": 1,
11519
+ "maxLength": 128
11627
11520
  }
11628
11521
  },
11629
11522
  "required": [
11630
- "kind",
11631
- "ordering",
11632
- "acceptsWrappedTargets"
11633
- ],
11634
- "additionalProperties": false
11635
- },
11636
- {
11637
- "type": "object",
11638
- "properties": {
11639
- "kind": {
11640
- "type": "string",
11641
- "const": "global-wrapper"
11642
- },
11643
- "scope": {
11644
- "type": "string",
11645
- "const": "media-lanes"
11646
- },
11647
- "ordering": {
11648
- "type": "string",
11649
- "enum": [
11650
- "any",
11651
- "innermost"
11652
- ]
11653
- },
11654
- "acceptsWrappedTargets": {
11655
- "type": "boolean"
11656
- }
11657
- },
11658
- "required": [
11659
- "kind",
11660
- "scope",
11661
- "ordering",
11662
- "acceptsWrappedTargets"
11523
+ "propPath",
11524
+ "cssVar"
11663
11525
  ],
11664
11526
  "additionalProperties": false
11665
11527
  }
11666
- ],
11667
- "type": "object"
11668
- }
11669
- },
11670
- "mediaBindings": {
11671
- "minItems": 1,
11672
- "type": "array",
11673
- "items": {
11674
- "type": "object",
11675
- "properties": {
11676
- "name": {
11677
- "type": "string",
11678
- "minLength": 1,
11679
- "maxLength": 128
11680
- },
11681
- "propPath": {
11682
- "minItems": 1,
11683
- "maxItems": 16,
11684
- "type": "array",
11685
- "items": {
11686
- "type": "string",
11687
- "minLength": 1,
11688
- "maxLength": 128
11689
- }
11690
- },
11691
- "kind": {
11692
- "type": "string",
11693
- "enum": [
11694
- "image",
11695
- "video",
11696
- "visual"
11697
- ]
11698
- },
11699
- "collection": {
11700
- "type": "string",
11701
- "enum": [
11702
- "scalar",
11703
- "array"
11704
- ]
11705
- },
11706
- "cardinality": {
11707
- "type": "object",
11708
- "properties": {
11709
- "min": {
11710
- "type": "integer",
11711
- "minimum": 0,
11712
- "maximum": 9007199254740991
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
+ }
11713
11544
  },
11714
- "max": {
11715
- "type": "integer",
11716
- "exclusiveMinimum": 0,
11717
- "maximum": 9007199254740991
11718
- }
11545
+ "required": [
11546
+ "frames",
11547
+ "fps"
11548
+ ],
11549
+ "additionalProperties": false
11719
11550
  },
11720
- "required": [
11721
- "min"
11722
- ],
11723
- "additionalProperties": false
11724
- },
11725
- "mimeTypes": {
11726
- "minItems": 1,
11727
- "type": "array",
11728
- "items": {
11729
- "type": "string",
11730
- "minLength": 1
11551
+ "minDurationSec": {
11552
+ "type": "number",
11553
+ "exclusiveMinimum": 0
11554
+ },
11555
+ "maxDurationSec": {
11556
+ "type": "number",
11557
+ "exclusiveMinimum": 0
11731
11558
  }
11732
11559
  },
11733
- "mediaDemand": {
11560
+ "required": [
11561
+ "defaultDuration"
11562
+ ],
11563
+ "additionalProperties": false
11564
+ },
11565
+ "capabilities": {
11566
+ "minItems": 1,
11567
+ "type": "array",
11568
+ "items": {
11734
11569
  "oneOf": [
11735
11570
  {
11736
11571
  "type": "object",
11737
11572
  "properties": {
11738
- "mode": {
11573
+ "kind": {
11739
11574
  "type": "string",
11740
- "const": "original"
11575
+ "const": "clip"
11741
11576
  }
11742
11577
  },
11743
11578
  "required": [
11744
- "mode"
11579
+ "kind"
11745
11580
  ],
11746
11581
  "additionalProperties": false
11747
11582
  },
11748
11583
  {
11749
11584
  "type": "object",
11750
11585
  "properties": {
11751
- "mode": {
11586
+ "kind": {
11752
11587
  "type": "string",
11753
- "const": "tier"
11588
+ "const": "cut-transition"
11754
11589
  },
11755
- "tier": {
11756
- "anyOf": [
11757
- {
11758
- "type": "number",
11759
- "const": 256
11760
- },
11761
- {
11762
- "type": "number",
11763
- "const": 512
11764
- },
11765
- {
11766
- "type": "number",
11767
- "const": 1024
11768
- },
11769
- {
11770
- "type": "number",
11771
- "const": 2048
11772
- }
11773
- ]
11590
+ "protocol": {
11591
+ "type": "string",
11592
+ "const": "per-child"
11774
11593
  }
11775
11594
  },
11776
11595
  "required": [
11777
- "mode",
11778
- "tier"
11596
+ "kind",
11597
+ "protocol"
11779
11598
  ],
11780
11599
  "additionalProperties": false
11781
11600
  },
11782
11601
  {
11783
11602
  "type": "object",
11784
11603
  "properties": {
11785
- "mode": {
11604
+ "kind": {
11786
11605
  "type": "string",
11787
- "const": "auto"
11788
- },
11789
- "maxProjectedWidthRatio": {
11790
- "type": "number",
11791
- "exclusiveMinimum": 0,
11792
- "maximum": 64
11793
- },
11794
- "maxProjectedHeightRatio": {
11795
- "type": "number",
11796
- "exclusiveMinimum": 0,
11797
- "maximum": 64
11798
- },
11799
- "minVisibleSourceWidthRatio": {
11800
- "default": 1,
11801
- "type": "number",
11802
- "exclusiveMinimum": 0,
11803
- "maximum": 1
11606
+ "const": "content-slots"
11804
11607
  },
11805
- "minVisibleSourceHeightRatio": {
11806
- "default": 1,
11807
- "type": "number",
11808
- "exclusiveMinimum": 0,
11809
- "maximum": 1
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
+ }
11643
+ },
11644
+ "required": [
11645
+ "name",
11646
+ "min",
11647
+ "max",
11648
+ "ownership",
11649
+ "sizing"
11650
+ ],
11651
+ "additionalProperties": false
11652
+ }
11810
11653
  }
11811
11654
  },
11812
11655
  "required": [
11813
- "mode",
11814
- "maxProjectedWidthRatio",
11815
- "maxProjectedHeightRatio",
11816
- "minVisibleSourceWidthRatio",
11817
- "minVisibleSourceHeightRatio"
11656
+ "kind",
11657
+ "slots"
11818
11658
  ],
11819
11659
  "additionalProperties": false
11820
- }
11821
- ],
11822
- "type": "object"
11823
- }
11824
- },
11825
- "required": [
11826
- "name",
11827
- "propPath",
11828
- "kind",
11829
- "collection",
11830
- "cardinality"
11831
- ],
11832
- "additionalProperties": false
11833
- }
11834
- },
11835
- "preview": {
11836
- "type": "object",
11837
- "properties": {
11838
- "params": {
11839
- "type": "object",
11840
- "propertyNames": {
11841
- "type": "string"
11842
- },
11843
- "additionalProperties": {}
11844
- },
11845
- "format": {
11846
- "type": "object",
11847
- "properties": {
11848
- "aspectRatio": {
11849
- "type": "string",
11850
- "enum": [
11851
- "16:9",
11852
- "9:16",
11853
- "1:1",
11854
- "4:5"
11855
- ]
11856
- },
11857
- "fps": {
11858
- "anyOf": [
11859
- {
11860
- "type": "number",
11861
- "const": 24
11862
- },
11863
- {
11864
- "type": "number",
11865
- "const": 25
11866
- },
11867
- {
11868
- "type": "number",
11869
- "const": 30
11870
- },
11871
- {
11872
- "type": "number",
11873
- "const": 60
11874
- }
11875
- ]
11876
- },
11877
- "resolution": {
11878
- "type": "string",
11879
- "enum": [
11880
- "hd",
11881
- "fhd",
11882
- "4k"
11883
- ]
11884
- },
11885
- "platform": {
11886
- "type": "string"
11887
- }
11888
- },
11889
- "required": [
11890
- "aspectRatio"
11891
- ],
11892
- "additionalProperties": false
11893
- },
11894
- "assets": {
11895
- "type": "object",
11896
- "propertyNames": {
11897
- "type": "string",
11898
- "minLength": 1,
11899
- "maxLength": 128
11900
- },
11901
- "additionalProperties": {
11902
- "anyOf": [
11660
+ },
11903
11661
  {
11904
11662
  "type": "object",
11905
11663
  "properties": {
11906
- "url": {
11907
- "type": "string",
11908
- "format": "uri",
11909
- "pattern": "^https:\\/\\/.*"
11910
- },
11911
- "sha256": {
11664
+ "kind": {
11912
11665
  "type": "string",
11913
- "pattern": "^[a-f0-9]{64}$"
11666
+ "const": "clip-wrapper"
11914
11667
  },
11915
- "mimeType": {
11668
+ "ordering": {
11916
11669
  "type": "string",
11917
- "minLength": 1
11918
- },
11919
- "frameRate": {
11920
- "type": "number",
11921
- "exclusiveMinimum": 0
11670
+ "enum": [
11671
+ "any",
11672
+ "innermost"
11673
+ ]
11922
11674
  },
11923
- "durationSec": {
11924
- "type": "number",
11925
- "exclusiveMinimum": 0
11675
+ "acceptsWrappedTargets": {
11676
+ "type": "boolean"
11926
11677
  }
11927
11678
  },
11928
11679
  "required": [
11929
- "url",
11930
- "sha256",
11931
- "mimeType"
11680
+ "kind",
11681
+ "ordering",
11682
+ "acceptsWrappedTargets"
11932
11683
  ],
11933
11684
  "additionalProperties": false
11934
11685
  },
11935
11686
  {
11936
11687
  "type": "object",
11937
11688
  "properties": {
11938
- "mediaId": {
11689
+ "kind": {
11939
11690
  "type": "string",
11940
- "minLength": 1,
11941
- "maxLength": 128
11691
+ "const": "global-wrapper"
11942
11692
  },
11943
- "sha256": {
11693
+ "scope": {
11944
11694
  "type": "string",
11945
- "pattern": "^[a-f0-9]{64}$"
11695
+ "const": "media-lanes"
11946
11696
  },
11947
- "mimeType": {
11697
+ "ordering": {
11948
11698
  "type": "string",
11949
- "minLength": 1
11950
- },
11951
- "frameRate": {
11952
- "type": "number",
11953
- "exclusiveMinimum": 0
11699
+ "enum": [
11700
+ "any",
11701
+ "innermost"
11702
+ ]
11954
11703
  },
11955
- "durationSec": {
11956
- "type": "number",
11957
- "exclusiveMinimum": 0
11704
+ "acceptsWrappedTargets": {
11705
+ "type": "boolean"
11958
11706
  }
11959
11707
  },
11960
11708
  "required": [
11961
- "mediaId",
11962
- "sha256",
11963
- "mimeType"
11709
+ "kind",
11710
+ "scope",
11711
+ "ordering",
11712
+ "acceptsWrappedTargets"
11964
11713
  ],
11965
11714
  "additionalProperties": false
11966
11715
  }
11967
- ]
11716
+ ],
11717
+ "type": "object"
11968
11718
  }
11969
11719
  },
11970
11720
  "mediaBindings": {
11971
- "type": "object",
11972
- "propertyNames": {
11973
- "type": "string",
11974
- "minLength": 1,
11975
- "maxLength": 128
11976
- },
11977
- "additionalProperties": {
11978
- "type": "array",
11979
- "items": {
11980
- "anyOf": [
11981
- {
11982
- "type": "object",
11983
- "properties": {
11984
- "url": {
11985
- "type": "string",
11986
- "format": "uri",
11987
- "pattern": "^https:\\/\\/.*"
11721
+ "minItems": 1,
11722
+ "type": "array",
11723
+ "items": {
11724
+ "type": "object",
11725
+ "properties": {
11726
+ "name": {
11727
+ "type": "string",
11728
+ "minLength": 1,
11729
+ "maxLength": 128
11730
+ },
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": {
11757
+ "type": "object",
11758
+ "properties": {
11759
+ "min": {
11760
+ "type": "integer",
11761
+ "minimum": 0,
11762
+ "maximum": 9007199254740991
11763
+ },
11764
+ "max": {
11765
+ "type": "integer",
11766
+ "exclusiveMinimum": 0,
11767
+ "maximum": 9007199254740991
11768
+ }
11769
+ },
11770
+ "required": [
11771
+ "min"
11772
+ ],
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
+ }
11988
11792
  },
11989
- "sha256": {
11990
- "type": "string",
11991
- "pattern": "^[a-f0-9]{64}$"
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
+ }
11992
11825
  },
11993
- "mimeType": {
11994
- "type": "string",
11995
- "minLength": 1
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
+ }
11996
11861
  },
11997
- "frameRate": {
11862
+ "required": [
11863
+ "mode",
11864
+ "maxProjectedWidthRatio",
11865
+ "maxProjectedHeightRatio",
11866
+ "minVisibleSourceWidthRatio",
11867
+ "minVisibleSourceHeightRatio"
11868
+ ],
11869
+ "additionalProperties": false
11870
+ }
11871
+ ],
11872
+ "type": "object"
11873
+ }
11874
+ },
11875
+ "required": [
11876
+ "name",
11877
+ "propPath",
11878
+ "kind",
11879
+ "collection",
11880
+ "cardinality"
11881
+ ],
11882
+ "additionalProperties": false
11883
+ }
11884
+ },
11885
+ "preview": {
11886
+ "type": "object",
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
+ {
11998
11910
  "type": "number",
11999
- "exclusiveMinimum": 0
11911
+ "const": 24
12000
11912
  },
12001
- "durationSec": {
11913
+ {
12002
11914
  "type": "number",
12003
- "exclusiveMinimum": 0
12004
- }
12005
- },
12006
- "required": [
12007
- "url",
12008
- "sha256",
12009
- "mimeType"
12010
- ],
12011
- "additionalProperties": false
12012
- },
12013
- {
12014
- "type": "object",
12015
- "properties": {
12016
- "mediaId": {
12017
- "type": "string",
12018
- "minLength": 1,
12019
- "maxLength": 128
12020
- },
12021
- "sha256": {
12022
- "type": "string",
12023
- "pattern": "^[a-f0-9]{64}$"
11915
+ "const": 25
12024
11916
  },
12025
- "mimeType": {
12026
- "type": "string",
12027
- "minLength": 1
12028
- },
12029
- "frameRate": {
11917
+ {
12030
11918
  "type": "number",
12031
- "exclusiveMinimum": 0
11919
+ "const": 30
12032
11920
  },
12033
- "durationSec": {
11921
+ {
12034
11922
  "type": "number",
12035
- "exclusiveMinimum": 0
11923
+ "const": 60
12036
11924
  }
11925
+ ]
11926
+ },
11927
+ "resolution": {
11928
+ "type": "string",
11929
+ "enum": [
11930
+ "hd",
11931
+ "fhd",
11932
+ "4k"
11933
+ ]
11934
+ },
11935
+ "platform": {
11936
+ "type": "string"
11937
+ }
11938
+ },
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": {
11970
+ "type": "number",
11971
+ "exclusiveMinimum": 0
11972
+ },
11973
+ "durationSec": {
11974
+ "type": "number",
11975
+ "exclusiveMinimum": 0
11976
+ }
11977
+ },
11978
+ "required": [
11979
+ "url",
11980
+ "sha256",
11981
+ "mimeType"
11982
+ ],
11983
+ "additionalProperties": false
12037
11984
  },
12038
- "required": [
12039
- "mediaId",
12040
- "sha256",
12041
- "mimeType"
12042
- ],
12043
- "additionalProperties": false
11985
+ {
11986
+ "type": "object",
11987
+ "properties": {
11988
+ "mediaId": {
11989
+ "type": "string",
11990
+ "minLength": 1,
11991
+ "maxLength": 128
11992
+ },
11993
+ "sha256": {
11994
+ "type": "string",
11995
+ "pattern": "^[a-f0-9]{64}$"
11996
+ },
11997
+ "mimeType": {
11998
+ "type": "string",
11999
+ "minLength": 1
12000
+ },
12001
+ "frameRate": {
12002
+ "type": "number",
12003
+ "exclusiveMinimum": 0
12004
+ },
12005
+ "durationSec": {
12006
+ "type": "number",
12007
+ "exclusiveMinimum": 0
12008
+ }
12009
+ },
12010
+ "required": [
12011
+ "mediaId",
12012
+ "sha256",
12013
+ "mimeType"
12014
+ ],
12015
+ "additionalProperties": false
12016
+ }
12017
+ ]
12018
+ }
12019
+ },
12020
+ "mediaBindings": {
12021
+ "type": "object",
12022
+ "propertyNames": {
12023
+ "type": "string",
12024
+ "minLength": 1,
12025
+ "maxLength": 128
12026
+ },
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
+ ]
12044
12096
  }
12045
- ]
12097
+ }
12046
12098
  }
12047
- }
12099
+ },
12100
+ "additionalProperties": false
12048
12101
  }
12049
12102
  },
12103
+ "required": [
12104
+ "inputSchema",
12105
+ "defaults",
12106
+ "brandBindings",
12107
+ "timing",
12108
+ "capabilities"
12109
+ ],
12050
12110
  "additionalProperties": false
12051
12111
  }
12052
12112
  },
12053
12113
  "required": [
12054
- "inputSchema",
12055
- "defaults",
12056
- "brandBindings",
12057
- "timing",
12058
- "capabilities"
12114
+ "version",
12115
+ "componentId",
12116
+ "tsxSource",
12117
+ "manifest",
12118
+ "definition"
12059
12119
  ],
12060
12120
  "additionalProperties": false
12061
- }
12062
- },
12063
- "required": [
12064
- "version",
12065
- "componentId",
12066
- "tsxSource",
12067
- "manifest",
12068
- "definition"
12069
- ],
12070
- "additionalProperties": false
12071
- },
12072
- {
12073
- "type": "object",
12074
- "properties": {
12075
- "version": {
12076
- "type": "number",
12077
- "const": 4
12078
12121
  },
12079
- "componentId": {
12080
- "type": "string",
12081
- "minLength": 1,
12082
- "maxLength": 128,
12083
- "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._-]*$"
12084
- },
12085
- "template": {
12086
- "type": "string",
12087
- "minLength": 1,
12088
- "maxLength": 2000000
12089
- },
12090
- "manifest": {
12122
+ {
12091
12123
  "type": "object",
12092
12124
  "properties": {
12093
12125
  "version": {
12094
12126
  "type": "number",
12095
12127
  "const": 4
12096
12128
  },
12097
- "runtime": {
12129
+ "componentId": {
12098
12130
  "type": "string",
12099
- "const": "hyperframes"
12100
- },
12101
- "hfContract": {
12102
- "type": "number",
12103
- "const": 1
12131
+ "minLength": 1,
12132
+ "maxLength": 128,
12133
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._-]*$"
12104
12134
  },
12105
- "kind": {
12135
+ "template": {
12106
12136
  "type": "string",
12107
- "const": "scene"
12137
+ "minLength": 1,
12138
+ "maxLength": 2000000
12108
12139
  },
12109
- "sceneShot": {
12140
+ "manifest": {
12110
12141
  "type": "object",
12111
12142
  "properties": {
12112
12143
  "version": {
12113
12144
  "type": "number",
12114
- "const": 2
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": {
12160
+ "type": "object",
12161
+ "properties": {
12162
+ "version": {
12163
+ "type": "number",
12164
+ "const": 2
12165
+ }
12166
+ },
12167
+ "required": [
12168
+ "version"
12169
+ ],
12170
+ "additionalProperties": false
12171
+ },
12172
+ "assets": {
12173
+ "type": "object",
12174
+ "propertyNames": {
12175
+ "type": "string",
12176
+ "minLength": 1
12177
+ },
12178
+ "additionalProperties": {
12179
+ "type": "object",
12180
+ "properties": {
12181
+ "kind": {
12182
+ "type": "string",
12183
+ "enum": [
12184
+ "image",
12185
+ "video",
12186
+ "audio",
12187
+ "data",
12188
+ "visual"
12189
+ ]
12190
+ },
12191
+ "required": {
12192
+ "type": "boolean"
12193
+ },
12194
+ "mimeTypes": {
12195
+ "minItems": 1,
12196
+ "type": "array",
12197
+ "items": {
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
+ }
12211
+ },
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
+ }
12244
+ },
12245
+ "required": [
12246
+ "mode",
12247
+ "tier"
12248
+ ],
12249
+ "additionalProperties": false
12250
+ },
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"
12292
+ }
12293
+ },
12294
+ "required": [
12295
+ "kind",
12296
+ "required"
12297
+ ],
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
+ }
12324
+ },
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
+ ]
12115
12338
  }
12116
12339
  },
12117
12340
  "required": [
12118
- "version"
12341
+ "version",
12342
+ "runtime",
12343
+ "hfContract",
12344
+ "kind",
12345
+ "assets",
12346
+ "graphics",
12347
+ "alphaPolicy"
12119
12348
  ],
12120
12349
  "additionalProperties": false
12121
12350
  },
12122
- "assets": {
12351
+ "definition": {
12123
12352
  "type": "object",
12124
- "propertyNames": {
12125
- "type": "string",
12126
- "minLength": 1
12127
- },
12128
- "additionalProperties": {
12129
- "type": "object",
12130
- "properties": {
12131
- "kind": {
12132
- "type": "string",
12133
- "enum": [
12134
- "image",
12135
- "video",
12136
- "audio",
12137
- "data",
12138
- "visual"
12139
- ]
12353
+ "properties": {
12354
+ "inputSchema": {
12355
+ "type": "object",
12356
+ "propertyNames": {
12357
+ "type": "string"
12140
12358
  },
12141
- "required": {
12142
- "type": "boolean"
12359
+ "additionalProperties": {}
12360
+ },
12361
+ "defaults": {
12362
+ "type": "object",
12363
+ "propertyNames": {
12364
+ "type": "string"
12143
12365
  },
12144
- "mimeTypes": {
12145
- "minItems": 1,
12146
- "type": "array",
12147
- "items": {
12148
- "type": "string",
12149
- "minLength": 1
12366
+ "additionalProperties": {}
12367
+ },
12368
+ "brandBindings": {
12369
+ "type": "array",
12370
+ "items": {
12371
+ "type": "object",
12372
+ "properties": {
12373
+ "propPath": {
12374
+ "type": "string",
12375
+ "minLength": 1,
12376
+ "maxLength": 128
12377
+ },
12378
+ "cssVar": {
12379
+ "type": "string",
12380
+ "minLength": 1,
12381
+ "maxLength": 128
12382
+ },
12383
+ "fallback": {
12384
+ "type": "string"
12385
+ },
12386
+ "brandKitPath": {
12387
+ "type": "string",
12388
+ "minLength": 1,
12389
+ "maxLength": 128
12390
+ }
12391
+ },
12392
+ "required": [
12393
+ "propPath",
12394
+ "cssVar"
12395
+ ],
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
12150
12428
  }
12151
12429
  },
12152
- "mediaDemand": {
12430
+ "required": [
12431
+ "defaultDuration"
12432
+ ],
12433
+ "additionalProperties": false
12434
+ },
12435
+ "capabilities": {
12436
+ "minItems": 1,
12437
+ "type": "array",
12438
+ "items": {
12153
12439
  "oneOf": [
12154
12440
  {
12155
12441
  "type": "object",
12156
12442
  "properties": {
12157
- "mode": {
12443
+ "kind": {
12158
12444
  "type": "string",
12159
- "const": "original"
12445
+ "const": "clip"
12160
12446
  }
12161
12447
  },
12162
12448
  "required": [
12163
- "mode"
12449
+ "kind"
12164
12450
  ],
12165
12451
  "additionalProperties": false
12166
12452
  },
12167
12453
  {
12168
12454
  "type": "object",
12169
12455
  "properties": {
12170
- "mode": {
12456
+ "kind": {
12171
12457
  "type": "string",
12172
- "const": "tier"
12458
+ "const": "cut-transition"
12173
12459
  },
12174
- "tier": {
12175
- "anyOf": [
12176
- {
12177
- "type": "number",
12178
- "const": 256
12179
- },
12180
- {
12181
- "type": "number",
12182
- "const": 512
12183
- },
12184
- {
12185
- "type": "number",
12186
- "const": 1024
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
+ }
12187
12513
  },
12188
- {
12189
- "type": "number",
12190
- "const": 2048
12191
- }
12192
- ]
12514
+ "required": [
12515
+ "name",
12516
+ "min",
12517
+ "max",
12518
+ "ownership",
12519
+ "sizing"
12520
+ ],
12521
+ "additionalProperties": false
12522
+ }
12193
12523
  }
12194
12524
  },
12195
12525
  "required": [
12196
- "mode",
12197
- "tier"
12526
+ "kind",
12527
+ "slots"
12198
12528
  ],
12199
12529
  "additionalProperties": false
12200
12530
  },
12201
12531
  {
12202
12532
  "type": "object",
12203
12533
  "properties": {
12204
- "mode": {
12534
+ "kind": {
12205
12535
  "type": "string",
12206
- "const": "auto"
12536
+ "const": "clip-wrapper"
12207
12537
  },
12208
- "maxProjectedWidthRatio": {
12209
- "type": "number",
12210
- "exclusiveMinimum": 0,
12211
- "maximum": 64
12538
+ "ordering": {
12539
+ "type": "string",
12540
+ "enum": [
12541
+ "any",
12542
+ "innermost"
12543
+ ]
12212
12544
  },
12213
- "maxProjectedHeightRatio": {
12214
- "type": "number",
12215
- "exclusiveMinimum": 0,
12216
- "maximum": 64
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"
12217
12562
  },
12218
- "minVisibleSourceWidthRatio": {
12219
- "default": 1,
12220
- "type": "number",
12221
- "exclusiveMinimum": 0,
12222
- "maximum": 1
12563
+ "scope": {
12564
+ "type": "string",
12565
+ "const": "media-lanes"
12223
12566
  },
12224
- "minVisibleSourceHeightRatio": {
12225
- "default": 1,
12226
- "type": "number",
12227
- "exclusiveMinimum": 0,
12228
- "maximum": 1
12567
+ "ordering": {
12568
+ "type": "string",
12569
+ "enum": [
12570
+ "any",
12571
+ "innermost"
12572
+ ]
12573
+ },
12574
+ "acceptsWrappedTargets": {
12575
+ "type": "boolean"
12229
12576
  }
12230
12577
  },
12231
12578
  "required": [
12232
- "mode",
12233
- "maxProjectedWidthRatio",
12234
- "maxProjectedHeightRatio",
12235
- "minVisibleSourceWidthRatio",
12236
- "minVisibleSourceHeightRatio"
12579
+ "kind",
12580
+ "scope",
12581
+ "ordering",
12582
+ "acceptsWrappedTargets"
12237
12583
  ],
12238
12584
  "additionalProperties": false
12239
12585
  }
@@ -12241,356 +12587,455 @@
12241
12587
  "type": "object"
12242
12588
  }
12243
12589
  },
12244
- "required": [
12245
- "kind",
12246
- "required"
12247
- ],
12248
- "additionalProperties": false
12249
- }
12250
- },
12251
- "graphics": {
12252
- "type": "object",
12253
- "properties": {
12254
- "api": {
12255
- "type": "string",
12256
- "enum": [
12257
- "canvas2d",
12258
- "webgl",
12259
- "webgl2",
12260
- "webgpu"
12261
- ]
12262
- },
12263
- "required": {
12264
- "type": "boolean",
12265
- "const": true
12266
- },
12267
- "accelerationPreference": {
12268
- "type": "string",
12269
- "enum": [
12270
- "hardware-preferred",
12271
- "software-allowed"
12272
- ]
12273
- }
12274
- },
12275
- "required": [
12276
- "api",
12277
- "required",
12278
- "accelerationPreference"
12279
- ],
12280
- "additionalProperties": false
12281
- },
12282
- "alphaPolicy": {
12283
- "type": "string",
12284
- "enum": [
12285
- "requires-transparency",
12286
- "allows-opaque"
12287
- ]
12288
- }
12289
- },
12290
- "required": [
12291
- "version",
12292
- "runtime",
12293
- "hfContract",
12294
- "kind",
12295
- "assets",
12296
- "graphics",
12297
- "alphaPolicy"
12298
- ],
12299
- "additionalProperties": false
12300
- },
12301
- "definition": {
12302
- "type": "object",
12303
- "properties": {
12304
- "inputSchema": {
12305
- "type": "object",
12306
- "propertyNames": {
12307
- "type": "string"
12308
- },
12309
- "additionalProperties": {}
12310
- },
12311
- "defaults": {
12312
- "type": "object",
12313
- "propertyNames": {
12314
- "type": "string"
12315
- },
12316
- "additionalProperties": {}
12317
- },
12318
- "brandBindings": {
12319
- "type": "array",
12320
- "items": {
12321
- "type": "object",
12322
- "properties": {
12323
- "propPath": {
12324
- "type": "string",
12325
- "minLength": 1,
12326
- "maxLength": 128
12327
- },
12328
- "cssVar": {
12329
- "type": "string",
12330
- "minLength": 1,
12331
- "maxLength": 128
12332
- },
12333
- "fallback": {
12334
- "type": "string"
12335
- },
12336
- "brandKitPath": {
12337
- "type": "string",
12338
- "minLength": 1,
12339
- "maxLength": 128
12340
- }
12341
- },
12342
- "required": [
12343
- "propPath",
12344
- "cssVar"
12345
- ],
12346
- "additionalProperties": false
12347
- }
12348
- },
12349
- "timing": {
12350
- "type": "object",
12351
- "properties": {
12352
- "defaultDuration": {
12353
- "type": "object",
12354
- "properties": {
12355
- "frames": {
12356
- "type": "integer",
12357
- "exclusiveMinimum": 0,
12358
- "maximum": 9007199254740991
12359
- },
12360
- "fps": {
12361
- "type": "number",
12362
- "exclusiveMinimum": 0
12363
- }
12364
- },
12365
- "required": [
12366
- "frames",
12367
- "fps"
12368
- ],
12369
- "additionalProperties": false
12370
- },
12371
- "minDurationSec": {
12372
- "type": "number",
12373
- "exclusiveMinimum": 0
12374
- },
12375
- "maxDurationSec": {
12376
- "type": "number",
12377
- "exclusiveMinimum": 0
12378
- }
12379
- },
12380
- "required": [
12381
- "defaultDuration"
12382
- ],
12383
- "additionalProperties": false
12384
- },
12385
- "capabilities": {
12386
- "minItems": 1,
12387
- "type": "array",
12388
- "items": {
12389
- "oneOf": [
12390
- {
12590
+ "mediaBindings": {
12591
+ "minItems": 1,
12592
+ "type": "array",
12593
+ "items": {
12391
12594
  "type": "object",
12392
12595
  "properties": {
12393
- "kind": {
12596
+ "name": {
12394
12597
  "type": "string",
12395
- "const": "clip"
12396
- }
12397
- },
12398
- "required": [
12399
- "kind"
12400
- ],
12401
- "additionalProperties": false
12402
- },
12403
- {
12404
- "type": "object",
12405
- "properties": {
12598
+ "minLength": 1,
12599
+ "maxLength": 128
12600
+ },
12601
+ "propPath": {
12602
+ "minItems": 1,
12603
+ "maxItems": 16,
12604
+ "type": "array",
12605
+ "items": {
12606
+ "type": "string",
12607
+ "minLength": 1,
12608
+ "maxLength": 128
12609
+ }
12610
+ },
12406
12611
  "kind": {
12407
12612
  "type": "string",
12408
- "const": "cut-transition"
12613
+ "enum": [
12614
+ "image",
12615
+ "video",
12616
+ "visual"
12617
+ ]
12409
12618
  },
12410
- "protocol": {
12411
- "type": "string",
12412
- "const": "per-child"
12413
- }
12414
- },
12415
- "required": [
12416
- "kind",
12417
- "protocol"
12418
- ],
12419
- "additionalProperties": false
12420
- },
12421
- {
12422
- "type": "object",
12423
- "properties": {
12424
- "kind": {
12619
+ "collection": {
12425
12620
  "type": "string",
12426
- "const": "content-slots"
12621
+ "enum": [
12622
+ "scalar",
12623
+ "array"
12624
+ ]
12427
12625
  },
12428
- "slots": {
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": {
12429
12646
  "minItems": 1,
12430
12647
  "type": "array",
12431
12648
  "items": {
12432
- "type": "object",
12433
- "properties": {
12434
- "name": {
12435
- "type": "string",
12436
- "minLength": 1,
12437
- "maxLength": 128
12438
- },
12439
- "min": {
12440
- "type": "integer",
12441
- "minimum": 0,
12442
- "maximum": 9007199254740991
12443
- },
12444
- "max": {
12445
- "type": "integer",
12446
- "exclusiveMinimum": 0,
12447
- "maximum": 9007199254740991
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
+ }
12448
12662
  },
12449
- "ownership": {
12450
- "type": "string",
12451
- "enum": [
12452
- "reference",
12453
- "exclusive"
12454
- ]
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
+ }
12455
12695
  },
12456
- "sizing": {
12457
- "type": "string",
12458
- "enum": [
12459
- "canvas",
12460
- "container"
12461
- ]
12462
- }
12696
+ "required": [
12697
+ "mode",
12698
+ "tier"
12699
+ ],
12700
+ "additionalProperties": false
12463
12701
  },
12464
- "required": [
12465
- "name",
12466
- "min",
12467
- "max",
12468
- "ownership",
12469
- "sizing"
12470
- ],
12471
- "additionalProperties": false
12472
- }
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"
12473
12743
  }
12474
12744
  },
12475
12745
  "required": [
12746
+ "name",
12747
+ "propPath",
12476
12748
  "kind",
12477
- "slots"
12749
+ "collection",
12750
+ "cardinality"
12478
12751
  ],
12479
12752
  "additionalProperties": false
12480
- },
12481
- {
12482
- "type": "object",
12483
- "properties": {
12484
- "kind": {
12485
- "type": "string",
12486
- "const": "clip-wrapper"
12487
- },
12488
- "ordering": {
12489
- "type": "string",
12490
- "enum": [
12491
- "any",
12492
- "innermost"
12493
- ]
12753
+ }
12754
+ },
12755
+ "preview": {
12756
+ "type": "object",
12757
+ "properties": {
12758
+ "params": {
12759
+ "type": "object",
12760
+ "propertyNames": {
12761
+ "type": "string"
12494
12762
  },
12495
- "acceptsWrappedTargets": {
12496
- "type": "boolean"
12497
- }
12763
+ "additionalProperties": {}
12498
12764
  },
12499
- "required": [
12500
- "kind",
12501
- "ordering",
12502
- "acceptsWrappedTargets"
12503
- ],
12504
- "additionalProperties": false
12505
- },
12506
- {
12507
- "type": "object",
12508
- "properties": {
12509
- "kind": {
12510
- "type": "string",
12511
- "const": "global-wrapper"
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
+ }
12512
12808
  },
12513
- "scope": {
12809
+ "required": [
12810
+ "aspectRatio"
12811
+ ],
12812
+ "additionalProperties": false
12813
+ },
12814
+ "assets": {
12815
+ "type": "object",
12816
+ "propertyNames": {
12514
12817
  "type": "string",
12515
- "const": "media-lanes"
12818
+ "minLength": 1,
12819
+ "maxLength": 128
12516
12820
  },
12517
- "ordering": {
12518
- "type": "string",
12519
- "enum": [
12520
- "any",
12521
- "innermost"
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
+ }
12522
12887
  ]
12523
- },
12524
- "acceptsWrappedTargets": {
12525
- "type": "boolean"
12526
12888
  }
12527
12889
  },
12528
- "required": [
12529
- "kind",
12530
- "scope",
12531
- "ordering",
12532
- "acceptsWrappedTargets"
12533
- ],
12534
- "additionalProperties": false
12535
- }
12536
- ],
12537
- "type": "object"
12538
- }
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
12539
13017
  },
12540
- "mediaBindings": {
12541
- "minItems": 1,
12542
- "type": "array",
12543
- "items": {
13018
+ "assets": {
13019
+ "type": "object",
13020
+ "propertyNames": {
13021
+ "type": "string",
13022
+ "minLength": 1
13023
+ },
13024
+ "additionalProperties": {
12544
13025
  "type": "object",
12545
13026
  "properties": {
12546
- "name": {
12547
- "type": "string",
12548
- "minLength": 1,
12549
- "maxLength": 128
12550
- },
12551
- "propPath": {
12552
- "minItems": 1,
12553
- "maxItems": 16,
12554
- "type": "array",
12555
- "items": {
12556
- "type": "string",
12557
- "minLength": 1,
12558
- "maxLength": 128
12559
- }
12560
- },
12561
13027
  "kind": {
12562
13028
  "type": "string",
12563
13029
  "enum": [
12564
13030
  "image",
12565
13031
  "video",
13032
+ "audio",
13033
+ "data",
12566
13034
  "visual"
12567
13035
  ]
12568
13036
  },
12569
- "collection": {
12570
- "type": "string",
12571
- "enum": [
12572
- "scalar",
12573
- "array"
12574
- ]
12575
- },
12576
- "cardinality": {
12577
- "type": "object",
12578
- "properties": {
12579
- "min": {
12580
- "type": "integer",
12581
- "minimum": 0,
12582
- "maximum": 9007199254740991
12583
- },
12584
- "max": {
12585
- "type": "integer",
12586
- "exclusiveMinimum": 0,
12587
- "maximum": 9007199254740991
12588
- }
12589
- },
12590
- "required": [
12591
- "min"
12592
- ],
12593
- "additionalProperties": false
13037
+ "required": {
13038
+ "type": "boolean"
12594
13039
  },
12595
13040
  "mimeTypes": {
12596
13041
  "minItems": 1,
@@ -12693,239 +13138,82 @@
12693
13138
  }
12694
13139
  },
12695
13140
  "required": [
12696
- "name",
12697
- "propPath",
12698
13141
  "kind",
12699
- "collection",
12700
- "cardinality"
13142
+ "required"
12701
13143
  ],
12702
13144
  "additionalProperties": false
12703
13145
  }
12704
13146
  },
12705
- "preview": {
13147
+ "graphics": {
12706
13148
  "type": "object",
12707
13149
  "properties": {
12708
- "params": {
12709
- "type": "object",
12710
- "propertyNames": {
12711
- "type": "string"
12712
- },
12713
- "additionalProperties": {}
12714
- },
12715
- "format": {
12716
- "type": "object",
12717
- "properties": {
12718
- "aspectRatio": {
12719
- "type": "string",
12720
- "enum": [
12721
- "16:9",
12722
- "9:16",
12723
- "1:1",
12724
- "4:5"
12725
- ]
12726
- },
12727
- "fps": {
12728
- "anyOf": [
12729
- {
12730
- "type": "number",
12731
- "const": 24
12732
- },
12733
- {
12734
- "type": "number",
12735
- "const": 25
12736
- },
12737
- {
12738
- "type": "number",
12739
- "const": 30
12740
- },
12741
- {
12742
- "type": "number",
12743
- "const": 60
12744
- }
12745
- ]
12746
- },
12747
- "resolution": {
12748
- "type": "string",
12749
- "enum": [
12750
- "hd",
12751
- "fhd",
12752
- "4k"
12753
- ]
12754
- },
12755
- "platform": {
12756
- "type": "string"
12757
- }
12758
- },
12759
- "required": [
12760
- "aspectRatio"
12761
- ],
12762
- "additionalProperties": false
13150
+ "api": {
13151
+ "type": "string",
13152
+ "enum": [
13153
+ "canvas2d",
13154
+ "webgl",
13155
+ "webgl2",
13156
+ "webgpu"
13157
+ ]
12763
13158
  },
12764
- "assets": {
12765
- "type": "object",
12766
- "propertyNames": {
12767
- "type": "string",
12768
- "minLength": 1,
12769
- "maxLength": 128
12770
- },
12771
- "additionalProperties": {
12772
- "anyOf": [
12773
- {
12774
- "type": "object",
12775
- "properties": {
12776
- "url": {
12777
- "type": "string",
12778
- "format": "uri",
12779
- "pattern": "^https:\\/\\/.*"
12780
- },
12781
- "sha256": {
12782
- "type": "string",
12783
- "pattern": "^[a-f0-9]{64}$"
12784
- },
12785
- "mimeType": {
12786
- "type": "string",
12787
- "minLength": 1
12788
- },
12789
- "frameRate": {
12790
- "type": "number",
12791
- "exclusiveMinimum": 0
12792
- },
12793
- "durationSec": {
12794
- "type": "number",
12795
- "exclusiveMinimum": 0
12796
- }
12797
- },
12798
- "required": [
12799
- "url",
12800
- "sha256",
12801
- "mimeType"
12802
- ],
12803
- "additionalProperties": false
12804
- },
12805
- {
12806
- "type": "object",
12807
- "properties": {
12808
- "mediaId": {
12809
- "type": "string",
12810
- "minLength": 1,
12811
- "maxLength": 128
12812
- },
12813
- "sha256": {
12814
- "type": "string",
12815
- "pattern": "^[a-f0-9]{64}$"
12816
- },
12817
- "mimeType": {
12818
- "type": "string",
12819
- "minLength": 1
12820
- },
12821
- "frameRate": {
12822
- "type": "number",
12823
- "exclusiveMinimum": 0
12824
- },
12825
- "durationSec": {
12826
- "type": "number",
12827
- "exclusiveMinimum": 0
12828
- }
12829
- },
12830
- "required": [
12831
- "mediaId",
12832
- "sha256",
12833
- "mimeType"
12834
- ],
12835
- "additionalProperties": false
12836
- }
12837
- ]
12838
- }
13159
+ "required": {
13160
+ "type": "boolean",
13161
+ "const": true
12839
13162
  },
12840
- "mediaBindings": {
12841
- "type": "object",
12842
- "propertyNames": {
12843
- "type": "string",
12844
- "minLength": 1,
12845
- "maxLength": 128
12846
- },
12847
- "additionalProperties": {
12848
- "type": "array",
12849
- "items": {
12850
- "anyOf": [
12851
- {
12852
- "type": "object",
12853
- "properties": {
12854
- "url": {
12855
- "type": "string",
12856
- "format": "uri",
12857
- "pattern": "^https:\\/\\/.*"
12858
- },
12859
- "sha256": {
12860
- "type": "string",
12861
- "pattern": "^[a-f0-9]{64}$"
12862
- },
12863
- "mimeType": {
12864
- "type": "string",
12865
- "minLength": 1
12866
- },
12867
- "frameRate": {
12868
- "type": "number",
12869
- "exclusiveMinimum": 0
12870
- },
12871
- "durationSec": {
12872
- "type": "number",
12873
- "exclusiveMinimum": 0
12874
- }
12875
- },
12876
- "required": [
12877
- "url",
12878
- "sha256",
12879
- "mimeType"
12880
- ],
12881
- "additionalProperties": false
12882
- },
12883
- {
12884
- "type": "object",
12885
- "properties": {
12886
- "mediaId": {
12887
- "type": "string",
12888
- "minLength": 1,
12889
- "maxLength": 128
12890
- },
12891
- "sha256": {
12892
- "type": "string",
12893
- "pattern": "^[a-f0-9]{64}$"
12894
- },
12895
- "mimeType": {
12896
- "type": "string",
12897
- "minLength": 1
12898
- },
12899
- "frameRate": {
12900
- "type": "number",
12901
- "exclusiveMinimum": 0
12902
- },
12903
- "durationSec": {
12904
- "type": "number",
12905
- "exclusiveMinimum": 0
12906
- }
12907
- },
12908
- "required": [
12909
- "mediaId",
12910
- "sha256",
12911
- "mimeType"
12912
- ],
12913
- "additionalProperties": false
12914
- }
12915
- ]
12916
- }
12917
- }
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
12918
13204
  }
12919
13205
  },
13206
+ "required": [
13207
+ "version"
13208
+ ],
12920
13209
  "additionalProperties": false
12921
13210
  }
12922
13211
  },
12923
13212
  "required": [
12924
- "inputSchema",
12925
- "defaults",
12926
- "brandBindings",
12927
- "timing",
12928
- "capabilities"
13213
+ "version",
13214
+ "assets",
13215
+ "graphics",
13216
+ "alphaPolicy"
12929
13217
  ],
12930
13218
  "additionalProperties": false
12931
13219
  }
@@ -12933,14 +13221,13 @@
12933
13221
  "required": [
12934
13222
  "version",
12935
13223
  "componentId",
12936
- "template",
12937
- "manifest",
12938
- "definition"
13224
+ "tsxSource",
13225
+ "manifest"
12939
13226
  ],
12940
13227
  "additionalProperties": false
12941
13228
  }
12942
13229
  ],
12943
- "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."
12944
13231
  }
12945
13232
  },
12946
13233
  "required": [
@@ -12952,7 +13239,7 @@
12952
13239
  "sourceSnapshot"
12953
13240
  ],
12954
13241
  "additionalProperties": false,
12955
- "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."
12956
13243
  },
12957
13244
  "ComponentCreateRequest": {
12958
13245
  "type": "object",
@@ -41823,6 +42110,96 @@
41823
42110
  }
41824
42111
  }
41825
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
+ },
41826
42203
  "/v1/components/builtin/resolve": {
41827
42204
  "get": {
41828
42205
  "operationId": "resolveBuiltinComponent",