@cueframe/api-contract 0.0.0-stage → 1.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.
@@ -0,0 +1,2775 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "version": {
6
+ "type": "number",
7
+ "const": 2
8
+ },
9
+ "referenceSize": {
10
+ "type": "object",
11
+ "properties": {
12
+ "width": {
13
+ "type": "integer",
14
+ "minimum": 16,
15
+ "maximum": 8192
16
+ },
17
+ "height": {
18
+ "type": "integer",
19
+ "minimum": 16,
20
+ "maximum": 8192
21
+ }
22
+ },
23
+ "required": [
24
+ "width",
25
+ "height"
26
+ ],
27
+ "additionalProperties": false
28
+ },
29
+ "camera": {
30
+ "type": "object",
31
+ "properties": {
32
+ "position": {
33
+ "type": "array",
34
+ "prefixItems": [
35
+ {
36
+ "type": "number"
37
+ },
38
+ {
39
+ "type": "number"
40
+ },
41
+ {
42
+ "type": "number"
43
+ }
44
+ ],
45
+ "items": false,
46
+ "minItems": 3,
47
+ "maxItems": 3
48
+ },
49
+ "rotation": {
50
+ "type": "array",
51
+ "prefixItems": [
52
+ {
53
+ "type": "number"
54
+ },
55
+ {
56
+ "type": "number"
57
+ },
58
+ {
59
+ "type": "number"
60
+ }
61
+ ],
62
+ "items": false,
63
+ "minItems": 3,
64
+ "maxItems": 3
65
+ },
66
+ "fov": {
67
+ "type": "number",
68
+ "minimum": 0.3141592653589793,
69
+ "maximum": 1.3962634015954636
70
+ }
71
+ },
72
+ "additionalProperties": false
73
+ },
74
+ "environment": {
75
+ "default": {
76
+ "lightingProfile": "studio",
77
+ "preset": "soft",
78
+ "intensity": 1,
79
+ "floorY": -420,
80
+ "shadowOpacity": 0.5
81
+ },
82
+ "anyOf": [
83
+ {
84
+ "type": "object",
85
+ "properties": {
86
+ "kind": {
87
+ "type": "string",
88
+ "const": "studio"
89
+ },
90
+ "lightingProfile": {
91
+ "default": "studio",
92
+ "type": "string",
93
+ "enum": [
94
+ "studio",
95
+ "studio-edge"
96
+ ]
97
+ },
98
+ "preset": {
99
+ "default": "soft",
100
+ "type": "string",
101
+ "enum": [
102
+ "soft",
103
+ "key",
104
+ "rim"
105
+ ]
106
+ },
107
+ "intensity": {
108
+ "default": 1,
109
+ "type": "number",
110
+ "minimum": 0
111
+ },
112
+ "floorY": {
113
+ "default": -420,
114
+ "type": "number"
115
+ },
116
+ "shadowOpacity": {
117
+ "default": 0.5,
118
+ "type": "number",
119
+ "minimum": 0,
120
+ "maximum": 1
121
+ }
122
+ },
123
+ "additionalProperties": false
124
+ },
125
+ {
126
+ "type": "object",
127
+ "properties": {
128
+ "kind": {
129
+ "type": "string",
130
+ "const": "photographic-studio-v1"
131
+ }
132
+ },
133
+ "required": [
134
+ "kind"
135
+ ],
136
+ "additionalProperties": false
137
+ }
138
+ ]
139
+ },
140
+ "backdrop": {
141
+ "default": {
142
+ "kind": "transparent"
143
+ },
144
+ "oneOf": [
145
+ {
146
+ "type": "object",
147
+ "properties": {
148
+ "kind": {
149
+ "type": "string",
150
+ "const": "transparent"
151
+ }
152
+ },
153
+ "required": [
154
+ "kind"
155
+ ],
156
+ "additionalProperties": false
157
+ },
158
+ {
159
+ "type": "object",
160
+ "properties": {
161
+ "kind": {
162
+ "type": "string",
163
+ "const": "solid"
164
+ },
165
+ "color": {
166
+ "anyOf": [
167
+ {
168
+ "type": "string",
169
+ "pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
170
+ },
171
+ {
172
+ "type": "string",
173
+ "enum": [
174
+ "$brand:colors.background",
175
+ "$brand:colors.surface",
176
+ "$brand:colors.text",
177
+ "$brand:colors.textMuted",
178
+ "$brand:colors.accent",
179
+ "$brand:colors.accentStrong",
180
+ "$brand:colors.accentSoft",
181
+ "$brand:colors.success",
182
+ "$brand:colors.warning",
183
+ "$brand:colors.danger"
184
+ ]
185
+ }
186
+ ]
187
+ }
188
+ },
189
+ "required": [
190
+ "kind",
191
+ "color"
192
+ ],
193
+ "additionalProperties": false
194
+ },
195
+ {
196
+ "type": "object",
197
+ "properties": {
198
+ "kind": {
199
+ "type": "string",
200
+ "const": "linear"
201
+ },
202
+ "angle": {
203
+ "default": 0,
204
+ "type": "number"
205
+ },
206
+ "stops": {
207
+ "minItems": 2,
208
+ "maxItems": 8,
209
+ "type": "array",
210
+ "items": {
211
+ "type": "object",
212
+ "properties": {
213
+ "at": {
214
+ "type": "number",
215
+ "minimum": 0,
216
+ "maximum": 1
217
+ },
218
+ "color": {
219
+ "anyOf": [
220
+ {
221
+ "type": "string",
222
+ "pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
223
+ },
224
+ {
225
+ "type": "string",
226
+ "enum": [
227
+ "$brand:colors.background",
228
+ "$brand:colors.surface",
229
+ "$brand:colors.text",
230
+ "$brand:colors.textMuted",
231
+ "$brand:colors.accent",
232
+ "$brand:colors.accentStrong",
233
+ "$brand:colors.accentSoft",
234
+ "$brand:colors.success",
235
+ "$brand:colors.warning",
236
+ "$brand:colors.danger"
237
+ ]
238
+ }
239
+ ]
240
+ }
241
+ },
242
+ "required": [
243
+ "at",
244
+ "color"
245
+ ],
246
+ "additionalProperties": false
247
+ }
248
+ }
249
+ },
250
+ "required": [
251
+ "kind",
252
+ "stops"
253
+ ],
254
+ "additionalProperties": false
255
+ },
256
+ {
257
+ "type": "object",
258
+ "properties": {
259
+ "kind": {
260
+ "type": "string",
261
+ "const": "radial"
262
+ },
263
+ "at": {
264
+ "default": [
265
+ 0.5,
266
+ 0.5
267
+ ],
268
+ "type": "array",
269
+ "prefixItems": [
270
+ {
271
+ "type": "number",
272
+ "minimum": 0,
273
+ "maximum": 1
274
+ },
275
+ {
276
+ "type": "number",
277
+ "minimum": 0,
278
+ "maximum": 1
279
+ }
280
+ ],
281
+ "items": false,
282
+ "minItems": 2,
283
+ "maxItems": 2
284
+ },
285
+ "stops": {
286
+ "minItems": 2,
287
+ "maxItems": 8,
288
+ "type": "array",
289
+ "items": {
290
+ "type": "object",
291
+ "properties": {
292
+ "at": {
293
+ "type": "number",
294
+ "minimum": 0,
295
+ "maximum": 1
296
+ },
297
+ "color": {
298
+ "anyOf": [
299
+ {
300
+ "type": "string",
301
+ "pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
302
+ },
303
+ {
304
+ "type": "string",
305
+ "enum": [
306
+ "$brand:colors.background",
307
+ "$brand:colors.surface",
308
+ "$brand:colors.text",
309
+ "$brand:colors.textMuted",
310
+ "$brand:colors.accent",
311
+ "$brand:colors.accentStrong",
312
+ "$brand:colors.accentSoft",
313
+ "$brand:colors.success",
314
+ "$brand:colors.warning",
315
+ "$brand:colors.danger"
316
+ ]
317
+ }
318
+ ]
319
+ }
320
+ },
321
+ "required": [
322
+ "at",
323
+ "color"
324
+ ],
325
+ "additionalProperties": false
326
+ }
327
+ }
328
+ },
329
+ "required": [
330
+ "kind",
331
+ "stops"
332
+ ],
333
+ "additionalProperties": false
334
+ }
335
+ ]
336
+ },
337
+ "layers": {
338
+ "minItems": 1,
339
+ "type": "array",
340
+ "items": {
341
+ "$ref": "#/$defs/__schema0"
342
+ }
343
+ },
344
+ "animation": {
345
+ "default": [],
346
+ "type": "array",
347
+ "items": {
348
+ "type": "object",
349
+ "properties": {
350
+ "target": {
351
+ "oneOf": [
352
+ {
353
+ "type": "object",
354
+ "properties": {
355
+ "kind": {
356
+ "type": "string",
357
+ "const": "camera"
358
+ }
359
+ },
360
+ "required": [
361
+ "kind"
362
+ ],
363
+ "additionalProperties": false
364
+ },
365
+ {
366
+ "type": "object",
367
+ "properties": {
368
+ "kind": {
369
+ "type": "string",
370
+ "const": "layer"
371
+ },
372
+ "layerId": {
373
+ "type": "string",
374
+ "minLength": 1,
375
+ "maxLength": 64,
376
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]*$"
377
+ }
378
+ },
379
+ "required": [
380
+ "kind",
381
+ "layerId"
382
+ ],
383
+ "additionalProperties": false
384
+ },
385
+ {
386
+ "type": "object",
387
+ "properties": {
388
+ "kind": {
389
+ "type": "string",
390
+ "const": "environment"
391
+ }
392
+ },
393
+ "required": [
394
+ "kind"
395
+ ],
396
+ "additionalProperties": false
397
+ },
398
+ {
399
+ "type": "object",
400
+ "properties": {
401
+ "kind": {
402
+ "type": "string",
403
+ "const": "focus"
404
+ }
405
+ },
406
+ "required": [
407
+ "kind"
408
+ ],
409
+ "additionalProperties": false
410
+ }
411
+ ]
412
+ },
413
+ "property": {
414
+ "type": "string",
415
+ "enum": [
416
+ "positionX",
417
+ "positionY",
418
+ "positionZ",
419
+ "rotationX",
420
+ "rotationY",
421
+ "rotationZ",
422
+ "fov",
423
+ "scale",
424
+ "opacity",
425
+ "openAngle",
426
+ "x",
427
+ "y",
428
+ "rotation",
429
+ "intensity",
430
+ "distance",
431
+ "range",
432
+ "maxBlur"
433
+ ]
434
+ },
435
+ "keyframes": {
436
+ "minItems": 1,
437
+ "maxItems": 256,
438
+ "type": "array",
439
+ "items": {
440
+ "type": "object",
441
+ "properties": {
442
+ "at": {
443
+ "type": "number",
444
+ "minimum": 0,
445
+ "maximum": 1
446
+ },
447
+ "value": {
448
+ "type": "number"
449
+ },
450
+ "easing": {
451
+ "oneOf": [
452
+ {
453
+ "type": "object",
454
+ "properties": {
455
+ "kind": {
456
+ "type": "string",
457
+ "const": "linear"
458
+ }
459
+ },
460
+ "required": [
461
+ "kind"
462
+ ],
463
+ "additionalProperties": false
464
+ },
465
+ {
466
+ "type": "object",
467
+ "properties": {
468
+ "kind": {
469
+ "type": "string",
470
+ "const": "hold"
471
+ }
472
+ },
473
+ "required": [
474
+ "kind"
475
+ ],
476
+ "additionalProperties": false
477
+ },
478
+ {
479
+ "type": "object",
480
+ "properties": {
481
+ "kind": {
482
+ "type": "string",
483
+ "const": "bezier"
484
+ },
485
+ "x1": {
486
+ "type": "number",
487
+ "minimum": 0,
488
+ "maximum": 1
489
+ },
490
+ "y1": {
491
+ "type": "number",
492
+ "minimum": -4,
493
+ "maximum": 5
494
+ },
495
+ "x2": {
496
+ "type": "number",
497
+ "minimum": 0,
498
+ "maximum": 1
499
+ },
500
+ "y2": {
501
+ "type": "number",
502
+ "minimum": -4,
503
+ "maximum": 5
504
+ }
505
+ },
506
+ "required": [
507
+ "kind",
508
+ "x1",
509
+ "y1",
510
+ "x2",
511
+ "y2"
512
+ ],
513
+ "additionalProperties": false
514
+ }
515
+ ]
516
+ }
517
+ },
518
+ "required": [
519
+ "at",
520
+ "value"
521
+ ],
522
+ "additionalProperties": false
523
+ }
524
+ }
525
+ },
526
+ "required": [
527
+ "target",
528
+ "property",
529
+ "keyframes"
530
+ ],
531
+ "additionalProperties": false
532
+ }
533
+ },
534
+ "post": {
535
+ "default": {
536
+ "grain": 0,
537
+ "vignette": 0,
538
+ "focus": null
539
+ },
540
+ "type": "object",
541
+ "properties": {
542
+ "grain": {
543
+ "default": 0,
544
+ "type": "number",
545
+ "minimum": 0,
546
+ "maximum": 0.5
547
+ },
548
+ "vignette": {
549
+ "default": 0,
550
+ "type": "number",
551
+ "minimum": 0,
552
+ "maximum": 1
553
+ },
554
+ "focus": {
555
+ "default": null,
556
+ "anyOf": [
557
+ {
558
+ "type": "object",
559
+ "properties": {
560
+ "distance": {
561
+ "type": "number",
562
+ "exclusiveMinimum": 0
563
+ },
564
+ "range": {
565
+ "type": "number",
566
+ "exclusiveMinimum": 0
567
+ },
568
+ "maxBlur": {
569
+ "type": "number",
570
+ "minimum": 0,
571
+ "maximum": 64
572
+ }
573
+ },
574
+ "required": [
575
+ "distance",
576
+ "range",
577
+ "maxBlur"
578
+ ],
579
+ "additionalProperties": false
580
+ },
581
+ {
582
+ "type": "null"
583
+ }
584
+ ]
585
+ }
586
+ },
587
+ "additionalProperties": false
588
+ },
589
+ "constraints": {
590
+ "default": [],
591
+ "type": "array",
592
+ "items": {
593
+ "type": "object",
594
+ "properties": {
595
+ "kind": {
596
+ "type": "string",
597
+ "const": "minSeparation"
598
+ },
599
+ "objects": {
600
+ "minItems": 2,
601
+ "type": "array",
602
+ "items": {
603
+ "type": "string",
604
+ "minLength": 1,
605
+ "maxLength": 64,
606
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]*$"
607
+ }
608
+ },
609
+ "gap": {
610
+ "type": "number",
611
+ "exclusiveMinimum": 0
612
+ }
613
+ },
614
+ "required": [
615
+ "kind",
616
+ "objects",
617
+ "gap"
618
+ ],
619
+ "additionalProperties": false
620
+ }
621
+ }
622
+ },
623
+ "required": [
624
+ "version",
625
+ "referenceSize",
626
+ "layers"
627
+ ],
628
+ "additionalProperties": false,
629
+ "$defs": {
630
+ "__schema0": {
631
+ "anyOf": [
632
+ {
633
+ "type": "object",
634
+ "properties": {
635
+ "kind": {
636
+ "type": "string",
637
+ "const": "group"
638
+ },
639
+ "id": {
640
+ "type": "string",
641
+ "minLength": 1,
642
+ "maxLength": 64,
643
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]*$"
644
+ },
645
+ "transform": {
646
+ "default": {
647
+ "position": [
648
+ 0,
649
+ 0,
650
+ 0
651
+ ],
652
+ "rotation": [
653
+ 0,
654
+ 0,
655
+ 0
656
+ ],
657
+ "scale": 1
658
+ },
659
+ "type": "object",
660
+ "properties": {
661
+ "position": {
662
+ "default": [
663
+ 0,
664
+ 0,
665
+ 0
666
+ ],
667
+ "type": "array",
668
+ "prefixItems": [
669
+ {
670
+ "type": "number"
671
+ },
672
+ {
673
+ "type": "number"
674
+ },
675
+ {
676
+ "type": "number"
677
+ }
678
+ ],
679
+ "items": false,
680
+ "minItems": 3,
681
+ "maxItems": 3
682
+ },
683
+ "rotation": {
684
+ "default": [
685
+ 0,
686
+ 0,
687
+ 0
688
+ ],
689
+ "type": "array",
690
+ "prefixItems": [
691
+ {
692
+ "type": "number"
693
+ },
694
+ {
695
+ "type": "number"
696
+ },
697
+ {
698
+ "type": "number"
699
+ }
700
+ ],
701
+ "items": false,
702
+ "minItems": 3,
703
+ "maxItems": 3
704
+ },
705
+ "scale": {
706
+ "default": 1,
707
+ "type": "number",
708
+ "exclusiveMinimum": 0
709
+ }
710
+ },
711
+ "additionalProperties": false
712
+ },
713
+ "opacity": {
714
+ "default": 1,
715
+ "type": "number",
716
+ "minimum": 0,
717
+ "maximum": 1
718
+ },
719
+ "children": {
720
+ "minItems": 1,
721
+ "maxItems": 16,
722
+ "type": "array",
723
+ "items": {
724
+ "$ref": "#/$defs/__schema0"
725
+ }
726
+ }
727
+ },
728
+ "required": [
729
+ "kind",
730
+ "id",
731
+ "children"
732
+ ],
733
+ "additionalProperties": false
734
+ },
735
+ {
736
+ "type": "object",
737
+ "properties": {
738
+ "kind": {
739
+ "type": "string",
740
+ "const": "laptop"
741
+ },
742
+ "id": {
743
+ "type": "string",
744
+ "minLength": 1,
745
+ "maxLength": 64,
746
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]*$"
747
+ },
748
+ "transform": {
749
+ "default": {
750
+ "position": [
751
+ 0,
752
+ 0,
753
+ 0
754
+ ],
755
+ "rotation": [
756
+ 0,
757
+ 0,
758
+ 0
759
+ ],
760
+ "scale": 1
761
+ },
762
+ "type": "object",
763
+ "properties": {
764
+ "position": {
765
+ "default": [
766
+ 0,
767
+ 0,
768
+ 0
769
+ ],
770
+ "type": "array",
771
+ "prefixItems": [
772
+ {
773
+ "type": "number"
774
+ },
775
+ {
776
+ "type": "number"
777
+ },
778
+ {
779
+ "type": "number"
780
+ }
781
+ ],
782
+ "items": false,
783
+ "minItems": 3,
784
+ "maxItems": 3
785
+ },
786
+ "rotation": {
787
+ "default": [
788
+ 0,
789
+ 0,
790
+ 0
791
+ ],
792
+ "type": "array",
793
+ "prefixItems": [
794
+ {
795
+ "type": "number"
796
+ },
797
+ {
798
+ "type": "number"
799
+ },
800
+ {
801
+ "type": "number"
802
+ }
803
+ ],
804
+ "items": false,
805
+ "minItems": 3,
806
+ "maxItems": 3
807
+ },
808
+ "scale": {
809
+ "default": 1,
810
+ "type": "number",
811
+ "exclusiveMinimum": 0
812
+ }
813
+ },
814
+ "additionalProperties": false
815
+ },
816
+ "opacity": {
817
+ "default": 1,
818
+ "type": "number",
819
+ "minimum": 0,
820
+ "maximum": 1
821
+ },
822
+ "width": {
823
+ "type": "number",
824
+ "minimum": 200,
825
+ "maximum": 4000
826
+ },
827
+ "openAngle": {
828
+ "type": "number",
829
+ "minimum": 0,
830
+ "maximum": 3.141592653589793
831
+ },
832
+ "materials": {
833
+ "maxItems": 16,
834
+ "type": "array",
835
+ "items": {
836
+ "type": "object",
837
+ "properties": {
838
+ "role": {
839
+ "type": "string",
840
+ "minLength": 1,
841
+ "maxLength": 64
842
+ },
843
+ "type": {
844
+ "type": "string",
845
+ "enum": [
846
+ "physical",
847
+ "unlit"
848
+ ]
849
+ },
850
+ "color": {
851
+ "anyOf": [
852
+ {
853
+ "type": "string",
854
+ "pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
855
+ },
856
+ {
857
+ "type": "string",
858
+ "enum": [
859
+ "$brand:colors.background",
860
+ "$brand:colors.surface",
861
+ "$brand:colors.text",
862
+ "$brand:colors.textMuted",
863
+ "$brand:colors.accent",
864
+ "$brand:colors.accentStrong",
865
+ "$brand:colors.accentSoft",
866
+ "$brand:colors.success",
867
+ "$brand:colors.warning",
868
+ "$brand:colors.danger"
869
+ ]
870
+ }
871
+ ]
872
+ },
873
+ "roughness": {
874
+ "type": "number",
875
+ "minimum": 0,
876
+ "maximum": 1
877
+ },
878
+ "metalness": {
879
+ "type": "number",
880
+ "minimum": 0,
881
+ "maximum": 1
882
+ },
883
+ "clearcoat": {
884
+ "type": "number",
885
+ "minimum": 0,
886
+ "maximum": 1
887
+ },
888
+ "clearcoatRoughness": {
889
+ "type": "number",
890
+ "minimum": 0,
891
+ "maximum": 1
892
+ },
893
+ "anisotropy": {
894
+ "type": "number",
895
+ "minimum": 0,
896
+ "maximum": 1
897
+ },
898
+ "anisotropyRotation": {
899
+ "type": "number"
900
+ },
901
+ "ior": {
902
+ "type": "number",
903
+ "minimum": 1,
904
+ "maximum": 2.333
905
+ },
906
+ "reflectivity": {
907
+ "type": "number",
908
+ "minimum": 0,
909
+ "maximum": 1
910
+ }
911
+ },
912
+ "required": [
913
+ "role",
914
+ "type"
915
+ ],
916
+ "additionalProperties": false
917
+ }
918
+ },
919
+ "surfaces": {
920
+ "type": "object",
921
+ "propertyNames": {
922
+ "type": "string"
923
+ },
924
+ "additionalProperties": {
925
+ "oneOf": [
926
+ {
927
+ "type": "object",
928
+ "properties": {
929
+ "source": {
930
+ "type": "string",
931
+ "const": "image"
932
+ },
933
+ "assetSlot": {
934
+ "type": "string",
935
+ "minLength": 1,
936
+ "maxLength": 64,
937
+ "pattern": "^[A-Za-z_][A-Za-z0-9_-]*$",
938
+ "description": "Image asset slot name bound by the clip assets map; never a URL."
939
+ }
940
+ },
941
+ "required": [
942
+ "source",
943
+ "assetSlot"
944
+ ],
945
+ "additionalProperties": false
946
+ },
947
+ {
948
+ "type": "object",
949
+ "properties": {
950
+ "source": {
951
+ "type": "string",
952
+ "const": "color"
953
+ },
954
+ "color": {
955
+ "anyOf": [
956
+ {
957
+ "type": "string",
958
+ "pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
959
+ },
960
+ {
961
+ "type": "string",
962
+ "enum": [
963
+ "$brand:colors.background",
964
+ "$brand:colors.surface",
965
+ "$brand:colors.text",
966
+ "$brand:colors.textMuted",
967
+ "$brand:colors.accent",
968
+ "$brand:colors.accentStrong",
969
+ "$brand:colors.accentSoft",
970
+ "$brand:colors.success",
971
+ "$brand:colors.warning",
972
+ "$brand:colors.danger"
973
+ ]
974
+ }
975
+ ]
976
+ }
977
+ },
978
+ "required": [
979
+ "source",
980
+ "color"
981
+ ],
982
+ "additionalProperties": false
983
+ },
984
+ {
985
+ "type": "object",
986
+ "properties": {
987
+ "source": {
988
+ "type": "string",
989
+ "const": "component"
990
+ },
991
+ "component": {
992
+ "type": "object",
993
+ "properties": {
994
+ "version": {
995
+ "type": "number",
996
+ "const": 1
997
+ },
998
+ "componentId": {
999
+ "type": "string",
1000
+ "minLength": 1,
1001
+ "maxLength": 256
1002
+ },
1003
+ "sourceVersionId": {
1004
+ "type": "string",
1005
+ "pattern": "^[a-f0-9]{64}$"
1006
+ }
1007
+ },
1008
+ "required": [
1009
+ "version",
1010
+ "componentId",
1011
+ "sourceVersionId"
1012
+ ],
1013
+ "additionalProperties": false
1014
+ },
1015
+ "captureFrame": {
1016
+ "type": "integer",
1017
+ "minimum": 0,
1018
+ "maximum": 9007199254740991
1019
+ },
1020
+ "layout": {
1021
+ "type": "object",
1022
+ "properties": {
1023
+ "width": {
1024
+ "type": "integer",
1025
+ "exclusiveMinimum": 0,
1026
+ "maximum": 9007199254740991
1027
+ },
1028
+ "height": {
1029
+ "type": "integer",
1030
+ "exclusiveMinimum": 0,
1031
+ "maximum": 9007199254740991
1032
+ }
1033
+ },
1034
+ "required": [
1035
+ "width",
1036
+ "height"
1037
+ ],
1038
+ "additionalProperties": false
1039
+ },
1040
+ "bakeScale": {
1041
+ "description": "Optional authored scale. Preparation defaults omission to 2 and may auto-raise it to 3.",
1042
+ "anyOf": [
1043
+ {
1044
+ "type": "number",
1045
+ "const": 2
1046
+ },
1047
+ {
1048
+ "type": "number",
1049
+ "const": 3
1050
+ }
1051
+ ]
1052
+ },
1053
+ "params": {
1054
+ "type": "object",
1055
+ "propertyNames": {
1056
+ "type": "string"
1057
+ },
1058
+ "additionalProperties": {
1059
+ "$ref": "#/$defs/__schema1"
1060
+ }
1061
+ }
1062
+ },
1063
+ "required": [
1064
+ "source",
1065
+ "component",
1066
+ "captureFrame",
1067
+ "layout"
1068
+ ],
1069
+ "additionalProperties": false
1070
+ },
1071
+ {
1072
+ "type": "object",
1073
+ "properties": {
1074
+ "source": {
1075
+ "type": "string",
1076
+ "const": "video"
1077
+ },
1078
+ "mediaId": {
1079
+ "type": "string",
1080
+ "minLength": 1,
1081
+ "maxLength": 256
1082
+ },
1083
+ "startFrame": {
1084
+ "default": 0,
1085
+ "type": "integer",
1086
+ "minimum": 0,
1087
+ "maximum": 9007199254740991
1088
+ },
1089
+ "endFrame": {
1090
+ "type": "integer",
1091
+ "exclusiveMinimum": 0,
1092
+ "maximum": 9007199254740991
1093
+ }
1094
+ },
1095
+ "required": [
1096
+ "source",
1097
+ "mediaId"
1098
+ ],
1099
+ "additionalProperties": false
1100
+ }
1101
+ ]
1102
+ }
1103
+ }
1104
+ },
1105
+ "required": [
1106
+ "kind",
1107
+ "id",
1108
+ "width",
1109
+ "openAngle"
1110
+ ],
1111
+ "additionalProperties": false
1112
+ },
1113
+ {
1114
+ "type": "object",
1115
+ "properties": {
1116
+ "kind": {
1117
+ "type": "string",
1118
+ "const": "phone"
1119
+ },
1120
+ "id": {
1121
+ "type": "string",
1122
+ "minLength": 1,
1123
+ "maxLength": 64,
1124
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]*$"
1125
+ },
1126
+ "transform": {
1127
+ "default": {
1128
+ "position": [
1129
+ 0,
1130
+ 0,
1131
+ 0
1132
+ ],
1133
+ "rotation": [
1134
+ 0,
1135
+ 0,
1136
+ 0
1137
+ ],
1138
+ "scale": 1
1139
+ },
1140
+ "type": "object",
1141
+ "properties": {
1142
+ "position": {
1143
+ "default": [
1144
+ 0,
1145
+ 0,
1146
+ 0
1147
+ ],
1148
+ "type": "array",
1149
+ "prefixItems": [
1150
+ {
1151
+ "type": "number"
1152
+ },
1153
+ {
1154
+ "type": "number"
1155
+ },
1156
+ {
1157
+ "type": "number"
1158
+ }
1159
+ ],
1160
+ "items": false,
1161
+ "minItems": 3,
1162
+ "maxItems": 3
1163
+ },
1164
+ "rotation": {
1165
+ "default": [
1166
+ 0,
1167
+ 0,
1168
+ 0
1169
+ ],
1170
+ "type": "array",
1171
+ "prefixItems": [
1172
+ {
1173
+ "type": "number"
1174
+ },
1175
+ {
1176
+ "type": "number"
1177
+ },
1178
+ {
1179
+ "type": "number"
1180
+ }
1181
+ ],
1182
+ "items": false,
1183
+ "minItems": 3,
1184
+ "maxItems": 3
1185
+ },
1186
+ "scale": {
1187
+ "default": 1,
1188
+ "type": "number",
1189
+ "exclusiveMinimum": 0
1190
+ }
1191
+ },
1192
+ "additionalProperties": false
1193
+ },
1194
+ "opacity": {
1195
+ "default": 1,
1196
+ "type": "number",
1197
+ "minimum": 0,
1198
+ "maximum": 1
1199
+ },
1200
+ "width": {
1201
+ "type": "number",
1202
+ "minimum": 80,
1203
+ "maximum": 2000
1204
+ },
1205
+ "materials": {
1206
+ "maxItems": 16,
1207
+ "type": "array",
1208
+ "items": {
1209
+ "type": "object",
1210
+ "properties": {
1211
+ "role": {
1212
+ "type": "string",
1213
+ "minLength": 1,
1214
+ "maxLength": 64
1215
+ },
1216
+ "type": {
1217
+ "type": "string",
1218
+ "enum": [
1219
+ "physical",
1220
+ "unlit"
1221
+ ]
1222
+ },
1223
+ "color": {
1224
+ "anyOf": [
1225
+ {
1226
+ "type": "string",
1227
+ "pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1228
+ },
1229
+ {
1230
+ "type": "string",
1231
+ "enum": [
1232
+ "$brand:colors.background",
1233
+ "$brand:colors.surface",
1234
+ "$brand:colors.text",
1235
+ "$brand:colors.textMuted",
1236
+ "$brand:colors.accent",
1237
+ "$brand:colors.accentStrong",
1238
+ "$brand:colors.accentSoft",
1239
+ "$brand:colors.success",
1240
+ "$brand:colors.warning",
1241
+ "$brand:colors.danger"
1242
+ ]
1243
+ }
1244
+ ]
1245
+ },
1246
+ "roughness": {
1247
+ "type": "number",
1248
+ "minimum": 0,
1249
+ "maximum": 1
1250
+ },
1251
+ "metalness": {
1252
+ "type": "number",
1253
+ "minimum": 0,
1254
+ "maximum": 1
1255
+ },
1256
+ "clearcoat": {
1257
+ "type": "number",
1258
+ "minimum": 0,
1259
+ "maximum": 1
1260
+ },
1261
+ "clearcoatRoughness": {
1262
+ "type": "number",
1263
+ "minimum": 0,
1264
+ "maximum": 1
1265
+ },
1266
+ "anisotropy": {
1267
+ "type": "number",
1268
+ "minimum": 0,
1269
+ "maximum": 1
1270
+ },
1271
+ "anisotropyRotation": {
1272
+ "type": "number"
1273
+ },
1274
+ "ior": {
1275
+ "type": "number",
1276
+ "minimum": 1,
1277
+ "maximum": 2.333
1278
+ },
1279
+ "reflectivity": {
1280
+ "type": "number",
1281
+ "minimum": 0,
1282
+ "maximum": 1
1283
+ }
1284
+ },
1285
+ "required": [
1286
+ "role",
1287
+ "type"
1288
+ ],
1289
+ "additionalProperties": false
1290
+ }
1291
+ },
1292
+ "surfaces": {
1293
+ "type": "object",
1294
+ "propertyNames": {
1295
+ "type": "string"
1296
+ },
1297
+ "additionalProperties": {
1298
+ "oneOf": [
1299
+ {
1300
+ "type": "object",
1301
+ "properties": {
1302
+ "source": {
1303
+ "type": "string",
1304
+ "const": "image"
1305
+ },
1306
+ "assetSlot": {
1307
+ "type": "string",
1308
+ "minLength": 1,
1309
+ "maxLength": 64,
1310
+ "pattern": "^[A-Za-z_][A-Za-z0-9_-]*$",
1311
+ "description": "Image asset slot name bound by the clip assets map; never a URL."
1312
+ }
1313
+ },
1314
+ "required": [
1315
+ "source",
1316
+ "assetSlot"
1317
+ ],
1318
+ "additionalProperties": false
1319
+ },
1320
+ {
1321
+ "type": "object",
1322
+ "properties": {
1323
+ "source": {
1324
+ "type": "string",
1325
+ "const": "color"
1326
+ },
1327
+ "color": {
1328
+ "anyOf": [
1329
+ {
1330
+ "type": "string",
1331
+ "pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1332
+ },
1333
+ {
1334
+ "type": "string",
1335
+ "enum": [
1336
+ "$brand:colors.background",
1337
+ "$brand:colors.surface",
1338
+ "$brand:colors.text",
1339
+ "$brand:colors.textMuted",
1340
+ "$brand:colors.accent",
1341
+ "$brand:colors.accentStrong",
1342
+ "$brand:colors.accentSoft",
1343
+ "$brand:colors.success",
1344
+ "$brand:colors.warning",
1345
+ "$brand:colors.danger"
1346
+ ]
1347
+ }
1348
+ ]
1349
+ }
1350
+ },
1351
+ "required": [
1352
+ "source",
1353
+ "color"
1354
+ ],
1355
+ "additionalProperties": false
1356
+ },
1357
+ {
1358
+ "type": "object",
1359
+ "properties": {
1360
+ "source": {
1361
+ "type": "string",
1362
+ "const": "component"
1363
+ },
1364
+ "component": {
1365
+ "type": "object",
1366
+ "properties": {
1367
+ "version": {
1368
+ "type": "number",
1369
+ "const": 1
1370
+ },
1371
+ "componentId": {
1372
+ "type": "string",
1373
+ "minLength": 1,
1374
+ "maxLength": 256
1375
+ },
1376
+ "sourceVersionId": {
1377
+ "type": "string",
1378
+ "pattern": "^[a-f0-9]{64}$"
1379
+ }
1380
+ },
1381
+ "required": [
1382
+ "version",
1383
+ "componentId",
1384
+ "sourceVersionId"
1385
+ ],
1386
+ "additionalProperties": false
1387
+ },
1388
+ "captureFrame": {
1389
+ "type": "integer",
1390
+ "minimum": 0,
1391
+ "maximum": 9007199254740991
1392
+ },
1393
+ "layout": {
1394
+ "type": "object",
1395
+ "properties": {
1396
+ "width": {
1397
+ "type": "integer",
1398
+ "exclusiveMinimum": 0,
1399
+ "maximum": 9007199254740991
1400
+ },
1401
+ "height": {
1402
+ "type": "integer",
1403
+ "exclusiveMinimum": 0,
1404
+ "maximum": 9007199254740991
1405
+ }
1406
+ },
1407
+ "required": [
1408
+ "width",
1409
+ "height"
1410
+ ],
1411
+ "additionalProperties": false
1412
+ },
1413
+ "bakeScale": {
1414
+ "description": "Optional authored scale. Preparation defaults omission to 2 and may auto-raise it to 3.",
1415
+ "anyOf": [
1416
+ {
1417
+ "type": "number",
1418
+ "const": 2
1419
+ },
1420
+ {
1421
+ "type": "number",
1422
+ "const": 3
1423
+ }
1424
+ ]
1425
+ },
1426
+ "params": {
1427
+ "type": "object",
1428
+ "propertyNames": {
1429
+ "type": "string"
1430
+ },
1431
+ "additionalProperties": {
1432
+ "$ref": "#/$defs/__schema1"
1433
+ }
1434
+ }
1435
+ },
1436
+ "required": [
1437
+ "source",
1438
+ "component",
1439
+ "captureFrame",
1440
+ "layout"
1441
+ ],
1442
+ "additionalProperties": false
1443
+ },
1444
+ {
1445
+ "type": "object",
1446
+ "properties": {
1447
+ "source": {
1448
+ "type": "string",
1449
+ "const": "video"
1450
+ },
1451
+ "mediaId": {
1452
+ "type": "string",
1453
+ "minLength": 1,
1454
+ "maxLength": 256
1455
+ },
1456
+ "startFrame": {
1457
+ "default": 0,
1458
+ "type": "integer",
1459
+ "minimum": 0,
1460
+ "maximum": 9007199254740991
1461
+ },
1462
+ "endFrame": {
1463
+ "type": "integer",
1464
+ "exclusiveMinimum": 0,
1465
+ "maximum": 9007199254740991
1466
+ }
1467
+ },
1468
+ "required": [
1469
+ "source",
1470
+ "mediaId"
1471
+ ],
1472
+ "additionalProperties": false
1473
+ }
1474
+ ]
1475
+ }
1476
+ }
1477
+ },
1478
+ "required": [
1479
+ "kind",
1480
+ "id",
1481
+ "width"
1482
+ ],
1483
+ "additionalProperties": false
1484
+ },
1485
+ {
1486
+ "type": "object",
1487
+ "properties": {
1488
+ "kind": {
1489
+ "type": "string",
1490
+ "const": "slab"
1491
+ },
1492
+ "id": {
1493
+ "type": "string",
1494
+ "minLength": 1,
1495
+ "maxLength": 64,
1496
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]*$"
1497
+ },
1498
+ "transform": {
1499
+ "default": {
1500
+ "position": [
1501
+ 0,
1502
+ 0,
1503
+ 0
1504
+ ],
1505
+ "rotation": [
1506
+ 0,
1507
+ 0,
1508
+ 0
1509
+ ],
1510
+ "scale": 1
1511
+ },
1512
+ "type": "object",
1513
+ "properties": {
1514
+ "position": {
1515
+ "default": [
1516
+ 0,
1517
+ 0,
1518
+ 0
1519
+ ],
1520
+ "type": "array",
1521
+ "prefixItems": [
1522
+ {
1523
+ "type": "number"
1524
+ },
1525
+ {
1526
+ "type": "number"
1527
+ },
1528
+ {
1529
+ "type": "number"
1530
+ }
1531
+ ],
1532
+ "items": false,
1533
+ "minItems": 3,
1534
+ "maxItems": 3
1535
+ },
1536
+ "rotation": {
1537
+ "default": [
1538
+ 0,
1539
+ 0,
1540
+ 0
1541
+ ],
1542
+ "type": "array",
1543
+ "prefixItems": [
1544
+ {
1545
+ "type": "number"
1546
+ },
1547
+ {
1548
+ "type": "number"
1549
+ },
1550
+ {
1551
+ "type": "number"
1552
+ }
1553
+ ],
1554
+ "items": false,
1555
+ "minItems": 3,
1556
+ "maxItems": 3
1557
+ },
1558
+ "scale": {
1559
+ "default": 1,
1560
+ "type": "number",
1561
+ "exclusiveMinimum": 0
1562
+ }
1563
+ },
1564
+ "additionalProperties": false
1565
+ },
1566
+ "opacity": {
1567
+ "default": 1,
1568
+ "type": "number",
1569
+ "minimum": 0,
1570
+ "maximum": 1
1571
+ },
1572
+ "width": {
1573
+ "type": "number",
1574
+ "minimum": 40,
1575
+ "maximum": 8000
1576
+ },
1577
+ "height": {
1578
+ "type": "number",
1579
+ "minimum": 40,
1580
+ "maximum": 8000
1581
+ },
1582
+ "thickness": {
1583
+ "default": 32,
1584
+ "type": "number",
1585
+ "minimum": 4,
1586
+ "maximum": 200
1587
+ },
1588
+ "cornerRadius": {
1589
+ "default": 32,
1590
+ "type": "number",
1591
+ "minimum": 0
1592
+ },
1593
+ "edgeRadius": {
1594
+ "default": 15,
1595
+ "type": "number",
1596
+ "minimum": 0
1597
+ },
1598
+ "finish": {
1599
+ "default": "satin",
1600
+ "type": "string",
1601
+ "enum": [
1602
+ "satin",
1603
+ "brushed"
1604
+ ]
1605
+ },
1606
+ "materials": {
1607
+ "maxItems": 16,
1608
+ "type": "array",
1609
+ "items": {
1610
+ "type": "object",
1611
+ "properties": {
1612
+ "role": {
1613
+ "type": "string",
1614
+ "minLength": 1,
1615
+ "maxLength": 64
1616
+ },
1617
+ "type": {
1618
+ "type": "string",
1619
+ "enum": [
1620
+ "physical",
1621
+ "unlit"
1622
+ ]
1623
+ },
1624
+ "color": {
1625
+ "anyOf": [
1626
+ {
1627
+ "type": "string",
1628
+ "pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1629
+ },
1630
+ {
1631
+ "type": "string",
1632
+ "enum": [
1633
+ "$brand:colors.background",
1634
+ "$brand:colors.surface",
1635
+ "$brand:colors.text",
1636
+ "$brand:colors.textMuted",
1637
+ "$brand:colors.accent",
1638
+ "$brand:colors.accentStrong",
1639
+ "$brand:colors.accentSoft",
1640
+ "$brand:colors.success",
1641
+ "$brand:colors.warning",
1642
+ "$brand:colors.danger"
1643
+ ]
1644
+ }
1645
+ ]
1646
+ },
1647
+ "roughness": {
1648
+ "type": "number",
1649
+ "minimum": 0,
1650
+ "maximum": 1
1651
+ },
1652
+ "metalness": {
1653
+ "type": "number",
1654
+ "minimum": 0,
1655
+ "maximum": 1
1656
+ },
1657
+ "clearcoat": {
1658
+ "type": "number",
1659
+ "minimum": 0,
1660
+ "maximum": 1
1661
+ },
1662
+ "clearcoatRoughness": {
1663
+ "type": "number",
1664
+ "minimum": 0,
1665
+ "maximum": 1
1666
+ },
1667
+ "anisotropy": {
1668
+ "type": "number",
1669
+ "minimum": 0,
1670
+ "maximum": 1
1671
+ },
1672
+ "anisotropyRotation": {
1673
+ "type": "number"
1674
+ },
1675
+ "ior": {
1676
+ "type": "number",
1677
+ "minimum": 1,
1678
+ "maximum": 2.333
1679
+ },
1680
+ "reflectivity": {
1681
+ "type": "number",
1682
+ "minimum": 0,
1683
+ "maximum": 1
1684
+ }
1685
+ },
1686
+ "required": [
1687
+ "role",
1688
+ "type"
1689
+ ],
1690
+ "additionalProperties": false
1691
+ }
1692
+ },
1693
+ "surfaces": {
1694
+ "type": "object",
1695
+ "propertyNames": {
1696
+ "type": "string"
1697
+ },
1698
+ "additionalProperties": {
1699
+ "oneOf": [
1700
+ {
1701
+ "type": "object",
1702
+ "properties": {
1703
+ "source": {
1704
+ "type": "string",
1705
+ "const": "image"
1706
+ },
1707
+ "assetSlot": {
1708
+ "type": "string",
1709
+ "minLength": 1,
1710
+ "maxLength": 64,
1711
+ "pattern": "^[A-Za-z_][A-Za-z0-9_-]*$",
1712
+ "description": "Image asset slot name bound by the clip assets map; never a URL."
1713
+ }
1714
+ },
1715
+ "required": [
1716
+ "source",
1717
+ "assetSlot"
1718
+ ],
1719
+ "additionalProperties": false
1720
+ },
1721
+ {
1722
+ "type": "object",
1723
+ "properties": {
1724
+ "source": {
1725
+ "type": "string",
1726
+ "const": "color"
1727
+ },
1728
+ "color": {
1729
+ "anyOf": [
1730
+ {
1731
+ "type": "string",
1732
+ "pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1733
+ },
1734
+ {
1735
+ "type": "string",
1736
+ "enum": [
1737
+ "$brand:colors.background",
1738
+ "$brand:colors.surface",
1739
+ "$brand:colors.text",
1740
+ "$brand:colors.textMuted",
1741
+ "$brand:colors.accent",
1742
+ "$brand:colors.accentStrong",
1743
+ "$brand:colors.accentSoft",
1744
+ "$brand:colors.success",
1745
+ "$brand:colors.warning",
1746
+ "$brand:colors.danger"
1747
+ ]
1748
+ }
1749
+ ]
1750
+ }
1751
+ },
1752
+ "required": [
1753
+ "source",
1754
+ "color"
1755
+ ],
1756
+ "additionalProperties": false
1757
+ },
1758
+ {
1759
+ "type": "object",
1760
+ "properties": {
1761
+ "source": {
1762
+ "type": "string",
1763
+ "const": "component"
1764
+ },
1765
+ "component": {
1766
+ "type": "object",
1767
+ "properties": {
1768
+ "version": {
1769
+ "type": "number",
1770
+ "const": 1
1771
+ },
1772
+ "componentId": {
1773
+ "type": "string",
1774
+ "minLength": 1,
1775
+ "maxLength": 256
1776
+ },
1777
+ "sourceVersionId": {
1778
+ "type": "string",
1779
+ "pattern": "^[a-f0-9]{64}$"
1780
+ }
1781
+ },
1782
+ "required": [
1783
+ "version",
1784
+ "componentId",
1785
+ "sourceVersionId"
1786
+ ],
1787
+ "additionalProperties": false
1788
+ },
1789
+ "captureFrame": {
1790
+ "type": "integer",
1791
+ "minimum": 0,
1792
+ "maximum": 9007199254740991
1793
+ },
1794
+ "layout": {
1795
+ "type": "object",
1796
+ "properties": {
1797
+ "width": {
1798
+ "type": "integer",
1799
+ "exclusiveMinimum": 0,
1800
+ "maximum": 9007199254740991
1801
+ },
1802
+ "height": {
1803
+ "type": "integer",
1804
+ "exclusiveMinimum": 0,
1805
+ "maximum": 9007199254740991
1806
+ }
1807
+ },
1808
+ "required": [
1809
+ "width",
1810
+ "height"
1811
+ ],
1812
+ "additionalProperties": false
1813
+ },
1814
+ "bakeScale": {
1815
+ "description": "Optional authored scale. Preparation defaults omission to 2 and may auto-raise it to 3.",
1816
+ "anyOf": [
1817
+ {
1818
+ "type": "number",
1819
+ "const": 2
1820
+ },
1821
+ {
1822
+ "type": "number",
1823
+ "const": 3
1824
+ }
1825
+ ]
1826
+ },
1827
+ "params": {
1828
+ "type": "object",
1829
+ "propertyNames": {
1830
+ "type": "string"
1831
+ },
1832
+ "additionalProperties": {
1833
+ "$ref": "#/$defs/__schema1"
1834
+ }
1835
+ }
1836
+ },
1837
+ "required": [
1838
+ "source",
1839
+ "component",
1840
+ "captureFrame",
1841
+ "layout"
1842
+ ],
1843
+ "additionalProperties": false
1844
+ },
1845
+ {
1846
+ "type": "object",
1847
+ "properties": {
1848
+ "source": {
1849
+ "type": "string",
1850
+ "const": "video"
1851
+ },
1852
+ "mediaId": {
1853
+ "type": "string",
1854
+ "minLength": 1,
1855
+ "maxLength": 256
1856
+ },
1857
+ "startFrame": {
1858
+ "default": 0,
1859
+ "type": "integer",
1860
+ "minimum": 0,
1861
+ "maximum": 9007199254740991
1862
+ },
1863
+ "endFrame": {
1864
+ "type": "integer",
1865
+ "exclusiveMinimum": 0,
1866
+ "maximum": 9007199254740991
1867
+ }
1868
+ },
1869
+ "required": [
1870
+ "source",
1871
+ "mediaId"
1872
+ ],
1873
+ "additionalProperties": false
1874
+ }
1875
+ ]
1876
+ }
1877
+ }
1878
+ },
1879
+ "required": [
1880
+ "kind",
1881
+ "id",
1882
+ "width",
1883
+ "height"
1884
+ ],
1885
+ "additionalProperties": false
1886
+ },
1887
+ {
1888
+ "type": "object",
1889
+ "properties": {
1890
+ "kind": {
1891
+ "type": "string",
1892
+ "const": "page"
1893
+ },
1894
+ "id": {
1895
+ "type": "string",
1896
+ "minLength": 1,
1897
+ "maxLength": 64,
1898
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]*$"
1899
+ },
1900
+ "transform": {
1901
+ "default": {
1902
+ "position": [
1903
+ 0,
1904
+ 0,
1905
+ 0
1906
+ ],
1907
+ "rotation": [
1908
+ 0,
1909
+ 0,
1910
+ 0
1911
+ ],
1912
+ "scale": 1
1913
+ },
1914
+ "type": "object",
1915
+ "properties": {
1916
+ "position": {
1917
+ "default": [
1918
+ 0,
1919
+ 0,
1920
+ 0
1921
+ ],
1922
+ "type": "array",
1923
+ "prefixItems": [
1924
+ {
1925
+ "type": "number"
1926
+ },
1927
+ {
1928
+ "type": "number"
1929
+ },
1930
+ {
1931
+ "type": "number"
1932
+ }
1933
+ ],
1934
+ "items": false,
1935
+ "minItems": 3,
1936
+ "maxItems": 3
1937
+ },
1938
+ "rotation": {
1939
+ "default": [
1940
+ 0,
1941
+ 0,
1942
+ 0
1943
+ ],
1944
+ "type": "array",
1945
+ "prefixItems": [
1946
+ {
1947
+ "type": "number"
1948
+ },
1949
+ {
1950
+ "type": "number"
1951
+ },
1952
+ {
1953
+ "type": "number"
1954
+ }
1955
+ ],
1956
+ "items": false,
1957
+ "minItems": 3,
1958
+ "maxItems": 3
1959
+ },
1960
+ "scale": {
1961
+ "default": 1,
1962
+ "type": "number",
1963
+ "exclusiveMinimum": 0
1964
+ }
1965
+ },
1966
+ "additionalProperties": false
1967
+ },
1968
+ "opacity": {
1969
+ "default": 1,
1970
+ "type": "number",
1971
+ "minimum": 0,
1972
+ "maximum": 1
1973
+ },
1974
+ "width": {
1975
+ "type": "number",
1976
+ "minimum": 40,
1977
+ "maximum": 8000
1978
+ },
1979
+ "height": {
1980
+ "type": "number",
1981
+ "minimum": 40,
1982
+ "maximum": 8000
1983
+ },
1984
+ "fit": {
1985
+ "default": "contain",
1986
+ "type": "string",
1987
+ "enum": [
1988
+ "contain",
1989
+ "cover"
1990
+ ]
1991
+ },
1992
+ "transparency": {
1993
+ "default": "straight",
1994
+ "type": "string",
1995
+ "enum": [
1996
+ "straight",
1997
+ "premultiplied",
1998
+ "opaque"
1999
+ ]
2000
+ },
2001
+ "depthWrite": {
2002
+ "default": true,
2003
+ "type": "boolean"
2004
+ },
2005
+ "backface": {
2006
+ "default": "hidden",
2007
+ "type": "string",
2008
+ "enum": [
2009
+ "hidden",
2010
+ "visible"
2011
+ ]
2012
+ },
2013
+ "materials": {
2014
+ "maxItems": 16,
2015
+ "type": "array",
2016
+ "items": {
2017
+ "type": "object",
2018
+ "properties": {
2019
+ "role": {
2020
+ "type": "string",
2021
+ "minLength": 1,
2022
+ "maxLength": 64
2023
+ },
2024
+ "type": {
2025
+ "type": "string",
2026
+ "enum": [
2027
+ "physical",
2028
+ "unlit"
2029
+ ]
2030
+ },
2031
+ "color": {
2032
+ "anyOf": [
2033
+ {
2034
+ "type": "string",
2035
+ "pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
2036
+ },
2037
+ {
2038
+ "type": "string",
2039
+ "enum": [
2040
+ "$brand:colors.background",
2041
+ "$brand:colors.surface",
2042
+ "$brand:colors.text",
2043
+ "$brand:colors.textMuted",
2044
+ "$brand:colors.accent",
2045
+ "$brand:colors.accentStrong",
2046
+ "$brand:colors.accentSoft",
2047
+ "$brand:colors.success",
2048
+ "$brand:colors.warning",
2049
+ "$brand:colors.danger"
2050
+ ]
2051
+ }
2052
+ ]
2053
+ },
2054
+ "roughness": {
2055
+ "type": "number",
2056
+ "minimum": 0,
2057
+ "maximum": 1
2058
+ },
2059
+ "metalness": {
2060
+ "type": "number",
2061
+ "minimum": 0,
2062
+ "maximum": 1
2063
+ },
2064
+ "clearcoat": {
2065
+ "type": "number",
2066
+ "minimum": 0,
2067
+ "maximum": 1
2068
+ },
2069
+ "clearcoatRoughness": {
2070
+ "type": "number",
2071
+ "minimum": 0,
2072
+ "maximum": 1
2073
+ },
2074
+ "anisotropy": {
2075
+ "type": "number",
2076
+ "minimum": 0,
2077
+ "maximum": 1
2078
+ },
2079
+ "anisotropyRotation": {
2080
+ "type": "number"
2081
+ },
2082
+ "ior": {
2083
+ "type": "number",
2084
+ "minimum": 1,
2085
+ "maximum": 2.333
2086
+ },
2087
+ "reflectivity": {
2088
+ "type": "number",
2089
+ "minimum": 0,
2090
+ "maximum": 1
2091
+ }
2092
+ },
2093
+ "required": [
2094
+ "role",
2095
+ "type"
2096
+ ],
2097
+ "additionalProperties": false
2098
+ }
2099
+ },
2100
+ "surfaces": {
2101
+ "type": "object",
2102
+ "propertyNames": {
2103
+ "type": "string"
2104
+ },
2105
+ "additionalProperties": {
2106
+ "oneOf": [
2107
+ {
2108
+ "type": "object",
2109
+ "properties": {
2110
+ "source": {
2111
+ "type": "string",
2112
+ "const": "image"
2113
+ },
2114
+ "assetSlot": {
2115
+ "type": "string",
2116
+ "minLength": 1,
2117
+ "maxLength": 64,
2118
+ "pattern": "^[A-Za-z_][A-Za-z0-9_-]*$",
2119
+ "description": "Image asset slot name bound by the clip assets map; never a URL."
2120
+ }
2121
+ },
2122
+ "required": [
2123
+ "source",
2124
+ "assetSlot"
2125
+ ],
2126
+ "additionalProperties": false
2127
+ },
2128
+ {
2129
+ "type": "object",
2130
+ "properties": {
2131
+ "source": {
2132
+ "type": "string",
2133
+ "const": "color"
2134
+ },
2135
+ "color": {
2136
+ "anyOf": [
2137
+ {
2138
+ "type": "string",
2139
+ "pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
2140
+ },
2141
+ {
2142
+ "type": "string",
2143
+ "enum": [
2144
+ "$brand:colors.background",
2145
+ "$brand:colors.surface",
2146
+ "$brand:colors.text",
2147
+ "$brand:colors.textMuted",
2148
+ "$brand:colors.accent",
2149
+ "$brand:colors.accentStrong",
2150
+ "$brand:colors.accentSoft",
2151
+ "$brand:colors.success",
2152
+ "$brand:colors.warning",
2153
+ "$brand:colors.danger"
2154
+ ]
2155
+ }
2156
+ ]
2157
+ }
2158
+ },
2159
+ "required": [
2160
+ "source",
2161
+ "color"
2162
+ ],
2163
+ "additionalProperties": false
2164
+ },
2165
+ {
2166
+ "type": "object",
2167
+ "properties": {
2168
+ "source": {
2169
+ "type": "string",
2170
+ "const": "component"
2171
+ },
2172
+ "component": {
2173
+ "type": "object",
2174
+ "properties": {
2175
+ "version": {
2176
+ "type": "number",
2177
+ "const": 1
2178
+ },
2179
+ "componentId": {
2180
+ "type": "string",
2181
+ "minLength": 1,
2182
+ "maxLength": 256
2183
+ },
2184
+ "sourceVersionId": {
2185
+ "type": "string",
2186
+ "pattern": "^[a-f0-9]{64}$"
2187
+ }
2188
+ },
2189
+ "required": [
2190
+ "version",
2191
+ "componentId",
2192
+ "sourceVersionId"
2193
+ ],
2194
+ "additionalProperties": false
2195
+ },
2196
+ "captureFrame": {
2197
+ "type": "integer",
2198
+ "minimum": 0,
2199
+ "maximum": 9007199254740991
2200
+ },
2201
+ "layout": {
2202
+ "type": "object",
2203
+ "properties": {
2204
+ "width": {
2205
+ "type": "integer",
2206
+ "exclusiveMinimum": 0,
2207
+ "maximum": 9007199254740991
2208
+ },
2209
+ "height": {
2210
+ "type": "integer",
2211
+ "exclusiveMinimum": 0,
2212
+ "maximum": 9007199254740991
2213
+ }
2214
+ },
2215
+ "required": [
2216
+ "width",
2217
+ "height"
2218
+ ],
2219
+ "additionalProperties": false
2220
+ },
2221
+ "bakeScale": {
2222
+ "description": "Optional authored scale. Preparation defaults omission to 2 and may auto-raise it to 3.",
2223
+ "anyOf": [
2224
+ {
2225
+ "type": "number",
2226
+ "const": 2
2227
+ },
2228
+ {
2229
+ "type": "number",
2230
+ "const": 3
2231
+ }
2232
+ ]
2233
+ },
2234
+ "params": {
2235
+ "type": "object",
2236
+ "propertyNames": {
2237
+ "type": "string"
2238
+ },
2239
+ "additionalProperties": {
2240
+ "$ref": "#/$defs/__schema1"
2241
+ }
2242
+ }
2243
+ },
2244
+ "required": [
2245
+ "source",
2246
+ "component",
2247
+ "captureFrame",
2248
+ "layout"
2249
+ ],
2250
+ "additionalProperties": false
2251
+ },
2252
+ {
2253
+ "type": "object",
2254
+ "properties": {
2255
+ "source": {
2256
+ "type": "string",
2257
+ "const": "video"
2258
+ },
2259
+ "mediaId": {
2260
+ "type": "string",
2261
+ "minLength": 1,
2262
+ "maxLength": 256
2263
+ },
2264
+ "startFrame": {
2265
+ "default": 0,
2266
+ "type": "integer",
2267
+ "minimum": 0,
2268
+ "maximum": 9007199254740991
2269
+ },
2270
+ "endFrame": {
2271
+ "type": "integer",
2272
+ "exclusiveMinimum": 0,
2273
+ "maximum": 9007199254740991
2274
+ }
2275
+ },
2276
+ "required": [
2277
+ "source",
2278
+ "mediaId"
2279
+ ],
2280
+ "additionalProperties": false
2281
+ }
2282
+ ]
2283
+ }
2284
+ }
2285
+ },
2286
+ "required": [
2287
+ "kind",
2288
+ "id",
2289
+ "width",
2290
+ "height",
2291
+ "surfaces"
2292
+ ],
2293
+ "additionalProperties": false
2294
+ },
2295
+ {
2296
+ "type": "object",
2297
+ "properties": {
2298
+ "id": {
2299
+ "type": "string",
2300
+ "minLength": 1,
2301
+ "maxLength": 64,
2302
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]*$"
2303
+ },
2304
+ "kind": {
2305
+ "type": "string",
2306
+ "const": "text"
2307
+ },
2308
+ "opacity": {
2309
+ "default": 1,
2310
+ "type": "number",
2311
+ "minimum": 0,
2312
+ "maximum": 1
2313
+ },
2314
+ "lines": {
2315
+ "minItems": 1,
2316
+ "maxItems": 24,
2317
+ "type": "array",
2318
+ "items": {
2319
+ "type": "object",
2320
+ "properties": {
2321
+ "runs": {
2322
+ "minItems": 1,
2323
+ "maxItems": 16,
2324
+ "type": "array",
2325
+ "items": {
2326
+ "type": "object",
2327
+ "properties": {
2328
+ "text": {
2329
+ "type": "string",
2330
+ "minLength": 1,
2331
+ "maxLength": 512,
2332
+ "pattern": "^[^\\r\\n]+$"
2333
+ },
2334
+ "color": {
2335
+ "anyOf": [
2336
+ {
2337
+ "type": "string",
2338
+ "pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
2339
+ },
2340
+ {
2341
+ "type": "string",
2342
+ "enum": [
2343
+ "$brand:colors.background",
2344
+ "$brand:colors.surface",
2345
+ "$brand:colors.text",
2346
+ "$brand:colors.textMuted",
2347
+ "$brand:colors.accent",
2348
+ "$brand:colors.accentStrong",
2349
+ "$brand:colors.accentSoft",
2350
+ "$brand:colors.success",
2351
+ "$brand:colors.warning",
2352
+ "$brand:colors.danger"
2353
+ ]
2354
+ }
2355
+ ]
2356
+ },
2357
+ "emphasis": {
2358
+ "type": "boolean"
2359
+ }
2360
+ },
2361
+ "required": [
2362
+ "text"
2363
+ ],
2364
+ "additionalProperties": false
2365
+ }
2366
+ }
2367
+ },
2368
+ "required": [
2369
+ "runs"
2370
+ ],
2371
+ "additionalProperties": false
2372
+ }
2373
+ },
2374
+ "fontFamily": {
2375
+ "anyOf": [
2376
+ {
2377
+ "type": "string",
2378
+ "minLength": 1,
2379
+ "maxLength": 128,
2380
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9 _.\\-]*$"
2381
+ },
2382
+ {
2383
+ "type": "string",
2384
+ "enum": [
2385
+ "$brand:fonts.heading",
2386
+ "$brand:fonts.body",
2387
+ "$brand:fonts.caption"
2388
+ ]
2389
+ }
2390
+ ]
2391
+ },
2392
+ "fontWeight": {
2393
+ "type": "integer",
2394
+ "minimum": 100,
2395
+ "maximum": 900
2396
+ },
2397
+ "fontStyle": {
2398
+ "type": "string",
2399
+ "enum": [
2400
+ "normal",
2401
+ "italic"
2402
+ ]
2403
+ },
2404
+ "fontSize": {
2405
+ "type": "number",
2406
+ "minimum": 8,
2407
+ "maximum": 800
2408
+ },
2409
+ "lineHeight": {
2410
+ "default": 1.2,
2411
+ "type": "number",
2412
+ "minimum": 0.6,
2413
+ "maximum": 3
2414
+ },
2415
+ "letterSpacing": {
2416
+ "default": 0,
2417
+ "type": "number",
2418
+ "minimum": -20,
2419
+ "maximum": 40
2420
+ },
2421
+ "align": {
2422
+ "default": "center",
2423
+ "type": "string",
2424
+ "enum": [
2425
+ "left",
2426
+ "center",
2427
+ "right"
2428
+ ]
2429
+ },
2430
+ "maxWidth": {
2431
+ "type": "number",
2432
+ "exclusiveMinimum": 0
2433
+ },
2434
+ "color": {
2435
+ "anyOf": [
2436
+ {
2437
+ "type": "string",
2438
+ "pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
2439
+ },
2440
+ {
2441
+ "type": "string",
2442
+ "enum": [
2443
+ "$brand:colors.background",
2444
+ "$brand:colors.surface",
2445
+ "$brand:colors.text",
2446
+ "$brand:colors.textMuted",
2447
+ "$brand:colors.accent",
2448
+ "$brand:colors.accentStrong",
2449
+ "$brand:colors.accentSoft",
2450
+ "$brand:colors.success",
2451
+ "$brand:colors.warning",
2452
+ "$brand:colors.danger"
2453
+ ]
2454
+ }
2455
+ ]
2456
+ },
2457
+ "space": {
2458
+ "type": "string",
2459
+ "const": "world"
2460
+ },
2461
+ "transform": {
2462
+ "default": {
2463
+ "position": [
2464
+ 0,
2465
+ 0,
2466
+ 0
2467
+ ],
2468
+ "rotation": [
2469
+ 0,
2470
+ 0,
2471
+ 0
2472
+ ],
2473
+ "scale": 1
2474
+ },
2475
+ "type": "object",
2476
+ "properties": {
2477
+ "position": {
2478
+ "default": [
2479
+ 0,
2480
+ 0,
2481
+ 0
2482
+ ],
2483
+ "type": "array",
2484
+ "prefixItems": [
2485
+ {
2486
+ "type": "number"
2487
+ },
2488
+ {
2489
+ "type": "number"
2490
+ },
2491
+ {
2492
+ "type": "number"
2493
+ }
2494
+ ],
2495
+ "items": false,
2496
+ "minItems": 3,
2497
+ "maxItems": 3
2498
+ },
2499
+ "rotation": {
2500
+ "default": [
2501
+ 0,
2502
+ 0,
2503
+ 0
2504
+ ],
2505
+ "type": "array",
2506
+ "prefixItems": [
2507
+ {
2508
+ "type": "number"
2509
+ },
2510
+ {
2511
+ "type": "number"
2512
+ },
2513
+ {
2514
+ "type": "number"
2515
+ }
2516
+ ],
2517
+ "items": false,
2518
+ "minItems": 3,
2519
+ "maxItems": 3
2520
+ },
2521
+ "scale": {
2522
+ "default": 1,
2523
+ "type": "number",
2524
+ "exclusiveMinimum": 0
2525
+ }
2526
+ },
2527
+ "additionalProperties": false
2528
+ }
2529
+ },
2530
+ "required": [
2531
+ "id",
2532
+ "kind",
2533
+ "lines",
2534
+ "fontFamily",
2535
+ "fontWeight",
2536
+ "fontStyle",
2537
+ "fontSize",
2538
+ "color",
2539
+ "space"
2540
+ ],
2541
+ "additionalProperties": false
2542
+ },
2543
+ {
2544
+ "type": "object",
2545
+ "properties": {
2546
+ "id": {
2547
+ "type": "string",
2548
+ "minLength": 1,
2549
+ "maxLength": 64,
2550
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]*$"
2551
+ },
2552
+ "kind": {
2553
+ "type": "string",
2554
+ "const": "text"
2555
+ },
2556
+ "opacity": {
2557
+ "default": 1,
2558
+ "type": "number",
2559
+ "minimum": 0,
2560
+ "maximum": 1
2561
+ },
2562
+ "lines": {
2563
+ "minItems": 1,
2564
+ "maxItems": 24,
2565
+ "type": "array",
2566
+ "items": {
2567
+ "type": "object",
2568
+ "properties": {
2569
+ "runs": {
2570
+ "minItems": 1,
2571
+ "maxItems": 16,
2572
+ "type": "array",
2573
+ "items": {
2574
+ "type": "object",
2575
+ "properties": {
2576
+ "text": {
2577
+ "type": "string",
2578
+ "minLength": 1,
2579
+ "maxLength": 512,
2580
+ "pattern": "^[^\\r\\n]+$"
2581
+ },
2582
+ "color": {
2583
+ "anyOf": [
2584
+ {
2585
+ "type": "string",
2586
+ "pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
2587
+ },
2588
+ {
2589
+ "type": "string",
2590
+ "enum": [
2591
+ "$brand:colors.background",
2592
+ "$brand:colors.surface",
2593
+ "$brand:colors.text",
2594
+ "$brand:colors.textMuted",
2595
+ "$brand:colors.accent",
2596
+ "$brand:colors.accentStrong",
2597
+ "$brand:colors.accentSoft",
2598
+ "$brand:colors.success",
2599
+ "$brand:colors.warning",
2600
+ "$brand:colors.danger"
2601
+ ]
2602
+ }
2603
+ ]
2604
+ },
2605
+ "emphasis": {
2606
+ "type": "boolean"
2607
+ }
2608
+ },
2609
+ "required": [
2610
+ "text"
2611
+ ],
2612
+ "additionalProperties": false
2613
+ }
2614
+ }
2615
+ },
2616
+ "required": [
2617
+ "runs"
2618
+ ],
2619
+ "additionalProperties": false
2620
+ }
2621
+ },
2622
+ "fontFamily": {
2623
+ "anyOf": [
2624
+ {
2625
+ "type": "string",
2626
+ "minLength": 1,
2627
+ "maxLength": 128,
2628
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9 _.\\-]*$"
2629
+ },
2630
+ {
2631
+ "type": "string",
2632
+ "enum": [
2633
+ "$brand:fonts.heading",
2634
+ "$brand:fonts.body",
2635
+ "$brand:fonts.caption"
2636
+ ]
2637
+ }
2638
+ ]
2639
+ },
2640
+ "fontWeight": {
2641
+ "type": "integer",
2642
+ "minimum": 100,
2643
+ "maximum": 900
2644
+ },
2645
+ "fontStyle": {
2646
+ "type": "string",
2647
+ "enum": [
2648
+ "normal",
2649
+ "italic"
2650
+ ]
2651
+ },
2652
+ "fontSize": {
2653
+ "type": "number",
2654
+ "minimum": 8,
2655
+ "maximum": 800
2656
+ },
2657
+ "lineHeight": {
2658
+ "default": 1.2,
2659
+ "type": "number",
2660
+ "minimum": 0.6,
2661
+ "maximum": 3
2662
+ },
2663
+ "letterSpacing": {
2664
+ "default": 0,
2665
+ "type": "number",
2666
+ "minimum": -20,
2667
+ "maximum": 40
2668
+ },
2669
+ "align": {
2670
+ "default": "center",
2671
+ "type": "string",
2672
+ "enum": [
2673
+ "left",
2674
+ "center",
2675
+ "right"
2676
+ ]
2677
+ },
2678
+ "maxWidth": {
2679
+ "type": "number",
2680
+ "exclusiveMinimum": 0
2681
+ },
2682
+ "color": {
2683
+ "anyOf": [
2684
+ {
2685
+ "type": "string",
2686
+ "pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
2687
+ },
2688
+ {
2689
+ "type": "string",
2690
+ "enum": [
2691
+ "$brand:colors.background",
2692
+ "$brand:colors.surface",
2693
+ "$brand:colors.text",
2694
+ "$brand:colors.textMuted",
2695
+ "$brand:colors.accent",
2696
+ "$brand:colors.accentStrong",
2697
+ "$brand:colors.accentSoft",
2698
+ "$brand:colors.success",
2699
+ "$brand:colors.warning",
2700
+ "$brand:colors.danger"
2701
+ ]
2702
+ }
2703
+ ]
2704
+ },
2705
+ "space": {
2706
+ "type": "string",
2707
+ "const": "screen"
2708
+ },
2709
+ "x": {
2710
+ "type": "number"
2711
+ },
2712
+ "y": {
2713
+ "type": "number"
2714
+ },
2715
+ "rotation": {
2716
+ "default": 0,
2717
+ "type": "number"
2718
+ },
2719
+ "scale": {
2720
+ "default": 1,
2721
+ "type": "number",
2722
+ "exclusiveMinimum": 0
2723
+ }
2724
+ },
2725
+ "required": [
2726
+ "id",
2727
+ "kind",
2728
+ "lines",
2729
+ "fontFamily",
2730
+ "fontWeight",
2731
+ "fontStyle",
2732
+ "fontSize",
2733
+ "color",
2734
+ "space",
2735
+ "x",
2736
+ "y"
2737
+ ],
2738
+ "additionalProperties": false
2739
+ }
2740
+ ]
2741
+ },
2742
+ "__schema1": {
2743
+ "anyOf": [
2744
+ {
2745
+ "type": "null"
2746
+ },
2747
+ {
2748
+ "type": "boolean"
2749
+ },
2750
+ {
2751
+ "type": "number"
2752
+ },
2753
+ {
2754
+ "type": "string"
2755
+ },
2756
+ {
2757
+ "type": "array",
2758
+ "items": {
2759
+ "$ref": "#/$defs/__schema1"
2760
+ }
2761
+ },
2762
+ {
2763
+ "type": "object",
2764
+ "propertyNames": {
2765
+ "type": "string"
2766
+ },
2767
+ "additionalProperties": {
2768
+ "$ref": "#/$defs/__schema1"
2769
+ }
2770
+ }
2771
+ ]
2772
+ }
2773
+ },
2774
+ "description": "A version-2 scene shot: a self-contained 3D world-object shot that scene.add / scene.update materializes into an ordinary component clip. The shot owns its layers, camera, lighting, backdrop and normalized local animation; the composition owns start, duration, ordering, cuts and transitions. Coordinates are REFERENCE PIXELS: origin at frame centre, +X right, +Y down, +Z toward the viewer. referenceSize must have the SAME aspect ratio as the composition format; mismatch fails instead of cropping. At equal aspect ratio the shot scales uniformly by outputWidth/referenceWidth. A segment's easing belongs to the keyframe it ARRIVES at; the first keyframe has no easing. Authoring limits: 32 layers, 4 devices, 16 distinct image slots, 256 keyframes per channel, 2048 keyframes per shot. Version 2 supports nested groups, procedural slab/page/phone/laptop objects, screen- and world-space text, admitted image/component/video surfaces, fixed photographic and generated studio environments, transparent/solid/linear/radial backdrops, constraints, focus, grain and vignette. Raw HTML, custom shader props, imported GLB models, arbitrary external HDR environments, skeletal animation and physics are refused with an exact field path."
2775
+ }