@cueframe/api-contract 7.0.1 → 7.0.2
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/contract-manifest.json +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +10 -10
- package/dist/manifest.json +14 -14
- package/dist/openapi.json +127540 -4145
- package/dist/public-surface.json +9 -0
- package/dist/scene-examples.json +4 -2
- package/dist/scene-schema.json +1242 -24
- package/package.json +2 -2
package/dist/scene-schema.json
CHANGED
|
@@ -134,6 +134,39 @@
|
|
|
134
134
|
"kind"
|
|
135
135
|
],
|
|
136
136
|
"additionalProperties": false
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"type": "object",
|
|
140
|
+
"properties": {
|
|
141
|
+
"kind": {
|
|
142
|
+
"type": "string",
|
|
143
|
+
"const": "owned-hdr-v1"
|
|
144
|
+
},
|
|
145
|
+
"assetSlot": {
|
|
146
|
+
"type": "string",
|
|
147
|
+
"minLength": 1,
|
|
148
|
+
"maxLength": 64,
|
|
149
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_-]*$",
|
|
150
|
+
"description": "Image asset slot name bound by the clip assets map; never a URL."
|
|
151
|
+
},
|
|
152
|
+
"intensity": {
|
|
153
|
+
"default": 1,
|
|
154
|
+
"type": "number",
|
|
155
|
+
"minimum": 0,
|
|
156
|
+
"maximum": 100
|
|
157
|
+
},
|
|
158
|
+
"rotation": {
|
|
159
|
+
"default": 0,
|
|
160
|
+
"type": "number",
|
|
161
|
+
"minimum": -6.283185307179586,
|
|
162
|
+
"maximum": 6.283185307179586
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"required": [
|
|
166
|
+
"kind",
|
|
167
|
+
"assetSlot"
|
|
168
|
+
],
|
|
169
|
+
"additionalProperties": false
|
|
137
170
|
}
|
|
138
171
|
]
|
|
139
172
|
},
|
|
@@ -407,6 +440,19 @@
|
|
|
407
440
|
"kind"
|
|
408
441
|
],
|
|
409
442
|
"additionalProperties": false
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"type": "object",
|
|
446
|
+
"properties": {
|
|
447
|
+
"kind": {
|
|
448
|
+
"type": "string",
|
|
449
|
+
"const": "bloom"
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
"required": [
|
|
453
|
+
"kind"
|
|
454
|
+
],
|
|
455
|
+
"additionalProperties": false
|
|
410
456
|
}
|
|
411
457
|
]
|
|
412
458
|
},
|
|
@@ -429,7 +475,11 @@
|
|
|
429
475
|
"intensity",
|
|
430
476
|
"distance",
|
|
431
477
|
"range",
|
|
432
|
-
"maxBlur"
|
|
478
|
+
"maxBlur",
|
|
479
|
+
"strength",
|
|
480
|
+
"threshold",
|
|
481
|
+
"smoothing",
|
|
482
|
+
"radius"
|
|
433
483
|
]
|
|
434
484
|
},
|
|
435
485
|
"keyframes": {
|
|
@@ -535,7 +585,8 @@
|
|
|
535
585
|
"default": {
|
|
536
586
|
"grain": 0,
|
|
537
587
|
"vignette": 0,
|
|
538
|
-
"focus": null
|
|
588
|
+
"focus": null,
|
|
589
|
+
"bloom": null
|
|
539
590
|
},
|
|
540
591
|
"type": "object",
|
|
541
592
|
"properties": {
|
|
@@ -582,6 +633,49 @@
|
|
|
582
633
|
"type": "null"
|
|
583
634
|
}
|
|
584
635
|
]
|
|
636
|
+
},
|
|
637
|
+
"bloom": {
|
|
638
|
+
"default": null,
|
|
639
|
+
"anyOf": [
|
|
640
|
+
{
|
|
641
|
+
"type": "object",
|
|
642
|
+
"properties": {
|
|
643
|
+
"profile": {
|
|
644
|
+
"default": "display-linear-bloom-v1",
|
|
645
|
+
"type": "string",
|
|
646
|
+
"const": "display-linear-bloom-v1"
|
|
647
|
+
},
|
|
648
|
+
"strength": {
|
|
649
|
+
"default": 0.3,
|
|
650
|
+
"type": "number",
|
|
651
|
+
"minimum": 0,
|
|
652
|
+
"maximum": 1
|
|
653
|
+
},
|
|
654
|
+
"threshold": {
|
|
655
|
+
"default": 0.8,
|
|
656
|
+
"type": "number",
|
|
657
|
+
"minimum": 0,
|
|
658
|
+
"maximum": 1
|
|
659
|
+
},
|
|
660
|
+
"smoothing": {
|
|
661
|
+
"default": 0.03,
|
|
662
|
+
"type": "number",
|
|
663
|
+
"exclusiveMinimum": 0,
|
|
664
|
+
"maximum": 1
|
|
665
|
+
},
|
|
666
|
+
"radius": {
|
|
667
|
+
"default": 0.85,
|
|
668
|
+
"type": "number",
|
|
669
|
+
"minimum": 0,
|
|
670
|
+
"maximum": 1
|
|
671
|
+
}
|
|
672
|
+
},
|
|
673
|
+
"additionalProperties": false
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"type": "null"
|
|
677
|
+
}
|
|
678
|
+
]
|
|
585
679
|
}
|
|
586
680
|
},
|
|
587
681
|
"additionalProperties": false
|
|
@@ -907,6 +1001,76 @@
|
|
|
907
1001
|
"type": "number",
|
|
908
1002
|
"minimum": 0,
|
|
909
1003
|
"maximum": 1
|
|
1004
|
+
},
|
|
1005
|
+
"emissive": {
|
|
1006
|
+
"anyOf": [
|
|
1007
|
+
{
|
|
1008
|
+
"type": "string",
|
|
1009
|
+
"pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
"type": "string",
|
|
1013
|
+
"enum": [
|
|
1014
|
+
"$brand:colors.background",
|
|
1015
|
+
"$brand:colors.surface",
|
|
1016
|
+
"$brand:colors.text",
|
|
1017
|
+
"$brand:colors.textMuted",
|
|
1018
|
+
"$brand:colors.accent",
|
|
1019
|
+
"$brand:colors.accentStrong",
|
|
1020
|
+
"$brand:colors.accentSoft",
|
|
1021
|
+
"$brand:colors.success",
|
|
1022
|
+
"$brand:colors.warning",
|
|
1023
|
+
"$brand:colors.danger"
|
|
1024
|
+
]
|
|
1025
|
+
}
|
|
1026
|
+
]
|
|
1027
|
+
},
|
|
1028
|
+
"emissiveIntensity": {
|
|
1029
|
+
"type": "number",
|
|
1030
|
+
"minimum": 0
|
|
1031
|
+
},
|
|
1032
|
+
"transmission": {
|
|
1033
|
+
"description": "Nonzero transmission uses the measured pinned single-camera half-float/MSAA4 profile with canonical preparation and observed target allocations; unsupported renderer profiles refuse.",
|
|
1034
|
+
"type": "number",
|
|
1035
|
+
"minimum": 0,
|
|
1036
|
+
"maximum": 1
|
|
1037
|
+
},
|
|
1038
|
+
"thickness": {
|
|
1039
|
+
"description": "Optical thickness in scene reference pixels.",
|
|
1040
|
+
"type": "number",
|
|
1041
|
+
"minimum": 0
|
|
1042
|
+
},
|
|
1043
|
+
"attenuationColor": {
|
|
1044
|
+
"anyOf": [
|
|
1045
|
+
{
|
|
1046
|
+
"type": "string",
|
|
1047
|
+
"pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"type": "string",
|
|
1051
|
+
"enum": [
|
|
1052
|
+
"$brand:colors.background",
|
|
1053
|
+
"$brand:colors.surface",
|
|
1054
|
+
"$brand:colors.text",
|
|
1055
|
+
"$brand:colors.textMuted",
|
|
1056
|
+
"$brand:colors.accent",
|
|
1057
|
+
"$brand:colors.accentStrong",
|
|
1058
|
+
"$brand:colors.accentSoft",
|
|
1059
|
+
"$brand:colors.success",
|
|
1060
|
+
"$brand:colors.warning",
|
|
1061
|
+
"$brand:colors.danger"
|
|
1062
|
+
]
|
|
1063
|
+
}
|
|
1064
|
+
]
|
|
1065
|
+
},
|
|
1066
|
+
"attenuationDistance": {
|
|
1067
|
+
"description": "Attenuation distance in scene reference pixels.",
|
|
1068
|
+
"type": "number",
|
|
1069
|
+
"exclusiveMinimum": 0
|
|
1070
|
+
},
|
|
1071
|
+
"dispersion": {
|
|
1072
|
+
"type": "number",
|
|
1073
|
+
"minimum": 0
|
|
910
1074
|
}
|
|
911
1075
|
},
|
|
912
1076
|
"required": [
|
|
@@ -1280,6 +1444,76 @@
|
|
|
1280
1444
|
"type": "number",
|
|
1281
1445
|
"minimum": 0,
|
|
1282
1446
|
"maximum": 1
|
|
1447
|
+
},
|
|
1448
|
+
"emissive": {
|
|
1449
|
+
"anyOf": [
|
|
1450
|
+
{
|
|
1451
|
+
"type": "string",
|
|
1452
|
+
"pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
"type": "string",
|
|
1456
|
+
"enum": [
|
|
1457
|
+
"$brand:colors.background",
|
|
1458
|
+
"$brand:colors.surface",
|
|
1459
|
+
"$brand:colors.text",
|
|
1460
|
+
"$brand:colors.textMuted",
|
|
1461
|
+
"$brand:colors.accent",
|
|
1462
|
+
"$brand:colors.accentStrong",
|
|
1463
|
+
"$brand:colors.accentSoft",
|
|
1464
|
+
"$brand:colors.success",
|
|
1465
|
+
"$brand:colors.warning",
|
|
1466
|
+
"$brand:colors.danger"
|
|
1467
|
+
]
|
|
1468
|
+
}
|
|
1469
|
+
]
|
|
1470
|
+
},
|
|
1471
|
+
"emissiveIntensity": {
|
|
1472
|
+
"type": "number",
|
|
1473
|
+
"minimum": 0
|
|
1474
|
+
},
|
|
1475
|
+
"transmission": {
|
|
1476
|
+
"description": "Nonzero transmission uses the measured pinned single-camera half-float/MSAA4 profile with canonical preparation and observed target allocations; unsupported renderer profiles refuse.",
|
|
1477
|
+
"type": "number",
|
|
1478
|
+
"minimum": 0,
|
|
1479
|
+
"maximum": 1
|
|
1480
|
+
},
|
|
1481
|
+
"thickness": {
|
|
1482
|
+
"description": "Optical thickness in scene reference pixels.",
|
|
1483
|
+
"type": "number",
|
|
1484
|
+
"minimum": 0
|
|
1485
|
+
},
|
|
1486
|
+
"attenuationColor": {
|
|
1487
|
+
"anyOf": [
|
|
1488
|
+
{
|
|
1489
|
+
"type": "string",
|
|
1490
|
+
"pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
"type": "string",
|
|
1494
|
+
"enum": [
|
|
1495
|
+
"$brand:colors.background",
|
|
1496
|
+
"$brand:colors.surface",
|
|
1497
|
+
"$brand:colors.text",
|
|
1498
|
+
"$brand:colors.textMuted",
|
|
1499
|
+
"$brand:colors.accent",
|
|
1500
|
+
"$brand:colors.accentStrong",
|
|
1501
|
+
"$brand:colors.accentSoft",
|
|
1502
|
+
"$brand:colors.success",
|
|
1503
|
+
"$brand:colors.warning",
|
|
1504
|
+
"$brand:colors.danger"
|
|
1505
|
+
]
|
|
1506
|
+
}
|
|
1507
|
+
]
|
|
1508
|
+
},
|
|
1509
|
+
"attenuationDistance": {
|
|
1510
|
+
"description": "Attenuation distance in scene reference pixels.",
|
|
1511
|
+
"type": "number",
|
|
1512
|
+
"exclusiveMinimum": 0
|
|
1513
|
+
},
|
|
1514
|
+
"dispersion": {
|
|
1515
|
+
"type": "number",
|
|
1516
|
+
"minimum": 0
|
|
1283
1517
|
}
|
|
1284
1518
|
},
|
|
1285
1519
|
"required": [
|
|
@@ -1681,6 +1915,76 @@
|
|
|
1681
1915
|
"type": "number",
|
|
1682
1916
|
"minimum": 0,
|
|
1683
1917
|
"maximum": 1
|
|
1918
|
+
},
|
|
1919
|
+
"emissive": {
|
|
1920
|
+
"anyOf": [
|
|
1921
|
+
{
|
|
1922
|
+
"type": "string",
|
|
1923
|
+
"pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
"type": "string",
|
|
1927
|
+
"enum": [
|
|
1928
|
+
"$brand:colors.background",
|
|
1929
|
+
"$brand:colors.surface",
|
|
1930
|
+
"$brand:colors.text",
|
|
1931
|
+
"$brand:colors.textMuted",
|
|
1932
|
+
"$brand:colors.accent",
|
|
1933
|
+
"$brand:colors.accentStrong",
|
|
1934
|
+
"$brand:colors.accentSoft",
|
|
1935
|
+
"$brand:colors.success",
|
|
1936
|
+
"$brand:colors.warning",
|
|
1937
|
+
"$brand:colors.danger"
|
|
1938
|
+
]
|
|
1939
|
+
}
|
|
1940
|
+
]
|
|
1941
|
+
},
|
|
1942
|
+
"emissiveIntensity": {
|
|
1943
|
+
"type": "number",
|
|
1944
|
+
"minimum": 0
|
|
1945
|
+
},
|
|
1946
|
+
"transmission": {
|
|
1947
|
+
"description": "Nonzero transmission uses the measured pinned single-camera half-float/MSAA4 profile with canonical preparation and observed target allocations; unsupported renderer profiles refuse.",
|
|
1948
|
+
"type": "number",
|
|
1949
|
+
"minimum": 0,
|
|
1950
|
+
"maximum": 1
|
|
1951
|
+
},
|
|
1952
|
+
"thickness": {
|
|
1953
|
+
"description": "Optical thickness in scene reference pixels.",
|
|
1954
|
+
"type": "number",
|
|
1955
|
+
"minimum": 0
|
|
1956
|
+
},
|
|
1957
|
+
"attenuationColor": {
|
|
1958
|
+
"anyOf": [
|
|
1959
|
+
{
|
|
1960
|
+
"type": "string",
|
|
1961
|
+
"pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
"type": "string",
|
|
1965
|
+
"enum": [
|
|
1966
|
+
"$brand:colors.background",
|
|
1967
|
+
"$brand:colors.surface",
|
|
1968
|
+
"$brand:colors.text",
|
|
1969
|
+
"$brand:colors.textMuted",
|
|
1970
|
+
"$brand:colors.accent",
|
|
1971
|
+
"$brand:colors.accentStrong",
|
|
1972
|
+
"$brand:colors.accentSoft",
|
|
1973
|
+
"$brand:colors.success",
|
|
1974
|
+
"$brand:colors.warning",
|
|
1975
|
+
"$brand:colors.danger"
|
|
1976
|
+
]
|
|
1977
|
+
}
|
|
1978
|
+
]
|
|
1979
|
+
},
|
|
1980
|
+
"attenuationDistance": {
|
|
1981
|
+
"description": "Attenuation distance in scene reference pixels.",
|
|
1982
|
+
"type": "number",
|
|
1983
|
+
"exclusiveMinimum": 0
|
|
1984
|
+
},
|
|
1985
|
+
"dispersion": {
|
|
1986
|
+
"type": "number",
|
|
1987
|
+
"minimum": 0
|
|
1684
1988
|
}
|
|
1685
1989
|
},
|
|
1686
1990
|
"required": [
|
|
@@ -2088,27 +2392,97 @@
|
|
|
2088
2392
|
"type": "number",
|
|
2089
2393
|
"minimum": 0,
|
|
2090
2394
|
"maximum": 1
|
|
2091
|
-
}
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2395
|
+
},
|
|
2396
|
+
"emissive": {
|
|
2397
|
+
"anyOf": [
|
|
2398
|
+
{
|
|
2399
|
+
"type": "string",
|
|
2400
|
+
"pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
2401
|
+
},
|
|
2402
|
+
{
|
|
2403
|
+
"type": "string",
|
|
2404
|
+
"enum": [
|
|
2405
|
+
"$brand:colors.background",
|
|
2406
|
+
"$brand:colors.surface",
|
|
2407
|
+
"$brand:colors.text",
|
|
2408
|
+
"$brand:colors.textMuted",
|
|
2409
|
+
"$brand:colors.accent",
|
|
2410
|
+
"$brand:colors.accentStrong",
|
|
2411
|
+
"$brand:colors.accentSoft",
|
|
2412
|
+
"$brand:colors.success",
|
|
2413
|
+
"$brand:colors.warning",
|
|
2414
|
+
"$brand:colors.danger"
|
|
2415
|
+
]
|
|
2416
|
+
}
|
|
2417
|
+
]
|
|
2418
|
+
},
|
|
2419
|
+
"emissiveIntensity": {
|
|
2420
|
+
"type": "number",
|
|
2421
|
+
"minimum": 0
|
|
2422
|
+
},
|
|
2423
|
+
"transmission": {
|
|
2424
|
+
"description": "Nonzero transmission uses the measured pinned single-camera half-float/MSAA4 profile with canonical preparation and observed target allocations; unsupported renderer profiles refuse.",
|
|
2425
|
+
"type": "number",
|
|
2426
|
+
"minimum": 0,
|
|
2427
|
+
"maximum": 1
|
|
2428
|
+
},
|
|
2429
|
+
"thickness": {
|
|
2430
|
+
"description": "Optical thickness in scene reference pixels.",
|
|
2431
|
+
"type": "number",
|
|
2432
|
+
"minimum": 0
|
|
2433
|
+
},
|
|
2434
|
+
"attenuationColor": {
|
|
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
|
+
"attenuationDistance": {
|
|
2458
|
+
"description": "Attenuation distance in scene reference pixels.",
|
|
2459
|
+
"type": "number",
|
|
2460
|
+
"exclusiveMinimum": 0
|
|
2461
|
+
},
|
|
2462
|
+
"dispersion": {
|
|
2463
|
+
"type": "number",
|
|
2464
|
+
"minimum": 0
|
|
2465
|
+
}
|
|
2466
|
+
},
|
|
2467
|
+
"required": [
|
|
2468
|
+
"role",
|
|
2469
|
+
"type"
|
|
2470
|
+
],
|
|
2471
|
+
"additionalProperties": false
|
|
2472
|
+
}
|
|
2473
|
+
},
|
|
2474
|
+
"surfaces": {
|
|
2475
|
+
"type": "object",
|
|
2476
|
+
"propertyNames": {
|
|
2477
|
+
"type": "string"
|
|
2478
|
+
},
|
|
2479
|
+
"additionalProperties": {
|
|
2480
|
+
"oneOf": [
|
|
2481
|
+
{
|
|
2482
|
+
"type": "object",
|
|
2483
|
+
"properties": {
|
|
2484
|
+
"source": {
|
|
2485
|
+
"type": "string",
|
|
2112
2486
|
"const": "image"
|
|
2113
2487
|
},
|
|
2114
2488
|
"assetSlot": {
|
|
@@ -2292,6 +2666,850 @@
|
|
|
2292
2666
|
],
|
|
2293
2667
|
"additionalProperties": false
|
|
2294
2668
|
},
|
|
2669
|
+
{
|
|
2670
|
+
"type": "object",
|
|
2671
|
+
"properties": {
|
|
2672
|
+
"kind": {
|
|
2673
|
+
"type": "string",
|
|
2674
|
+
"const": "mesh"
|
|
2675
|
+
},
|
|
2676
|
+
"id": {
|
|
2677
|
+
"type": "string",
|
|
2678
|
+
"minLength": 1,
|
|
2679
|
+
"maxLength": 64,
|
|
2680
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]*$"
|
|
2681
|
+
},
|
|
2682
|
+
"transform": {
|
|
2683
|
+
"default": {
|
|
2684
|
+
"position": [
|
|
2685
|
+
0,
|
|
2686
|
+
0,
|
|
2687
|
+
0
|
|
2688
|
+
],
|
|
2689
|
+
"rotation": [
|
|
2690
|
+
0,
|
|
2691
|
+
0,
|
|
2692
|
+
0
|
|
2693
|
+
],
|
|
2694
|
+
"scale": 1
|
|
2695
|
+
},
|
|
2696
|
+
"type": "object",
|
|
2697
|
+
"properties": {
|
|
2698
|
+
"position": {
|
|
2699
|
+
"default": [
|
|
2700
|
+
0,
|
|
2701
|
+
0,
|
|
2702
|
+
0
|
|
2703
|
+
],
|
|
2704
|
+
"type": "array",
|
|
2705
|
+
"prefixItems": [
|
|
2706
|
+
{
|
|
2707
|
+
"type": "number"
|
|
2708
|
+
},
|
|
2709
|
+
{
|
|
2710
|
+
"type": "number"
|
|
2711
|
+
},
|
|
2712
|
+
{
|
|
2713
|
+
"type": "number"
|
|
2714
|
+
}
|
|
2715
|
+
],
|
|
2716
|
+
"items": false,
|
|
2717
|
+
"minItems": 3,
|
|
2718
|
+
"maxItems": 3
|
|
2719
|
+
},
|
|
2720
|
+
"rotation": {
|
|
2721
|
+
"default": [
|
|
2722
|
+
0,
|
|
2723
|
+
0,
|
|
2724
|
+
0
|
|
2725
|
+
],
|
|
2726
|
+
"type": "array",
|
|
2727
|
+
"prefixItems": [
|
|
2728
|
+
{
|
|
2729
|
+
"type": "number"
|
|
2730
|
+
},
|
|
2731
|
+
{
|
|
2732
|
+
"type": "number"
|
|
2733
|
+
},
|
|
2734
|
+
{
|
|
2735
|
+
"type": "number"
|
|
2736
|
+
}
|
|
2737
|
+
],
|
|
2738
|
+
"items": false,
|
|
2739
|
+
"minItems": 3,
|
|
2740
|
+
"maxItems": 3
|
|
2741
|
+
},
|
|
2742
|
+
"scale": {
|
|
2743
|
+
"default": 1,
|
|
2744
|
+
"type": "number",
|
|
2745
|
+
"exclusiveMinimum": 0
|
|
2746
|
+
}
|
|
2747
|
+
},
|
|
2748
|
+
"additionalProperties": false
|
|
2749
|
+
},
|
|
2750
|
+
"opacity": {
|
|
2751
|
+
"default": 1,
|
|
2752
|
+
"type": "number",
|
|
2753
|
+
"minimum": 0,
|
|
2754
|
+
"maximum": 1
|
|
2755
|
+
},
|
|
2756
|
+
"geometry": {
|
|
2757
|
+
"oneOf": [
|
|
2758
|
+
{
|
|
2759
|
+
"type": "object",
|
|
2760
|
+
"properties": {
|
|
2761
|
+
"kind": {
|
|
2762
|
+
"type": "string",
|
|
2763
|
+
"const": "buffer"
|
|
2764
|
+
},
|
|
2765
|
+
"positions": {
|
|
2766
|
+
"minItems": 9,
|
|
2767
|
+
"maxItems": 196605,
|
|
2768
|
+
"type": "array",
|
|
2769
|
+
"items": {
|
|
2770
|
+
"type": "number",
|
|
2771
|
+
"minimum": -1000000,
|
|
2772
|
+
"maximum": 1000000
|
|
2773
|
+
}
|
|
2774
|
+
},
|
|
2775
|
+
"normals": {
|
|
2776
|
+
"minItems": 9,
|
|
2777
|
+
"maxItems": 196605,
|
|
2778
|
+
"type": "array",
|
|
2779
|
+
"items": {
|
|
2780
|
+
"type": "number",
|
|
2781
|
+
"minimum": -1,
|
|
2782
|
+
"maximum": 1
|
|
2783
|
+
}
|
|
2784
|
+
},
|
|
2785
|
+
"uvs": {
|
|
2786
|
+
"minItems": 6,
|
|
2787
|
+
"maxItems": 131070,
|
|
2788
|
+
"type": "array",
|
|
2789
|
+
"items": {
|
|
2790
|
+
"type": "number",
|
|
2791
|
+
"minimum": -1000000,
|
|
2792
|
+
"maximum": 1000000
|
|
2793
|
+
}
|
|
2794
|
+
},
|
|
2795
|
+
"indices": {
|
|
2796
|
+
"minItems": 3,
|
|
2797
|
+
"maxItems": 750000,
|
|
2798
|
+
"type": "array",
|
|
2799
|
+
"items": {
|
|
2800
|
+
"type": "integer",
|
|
2801
|
+
"minimum": 0,
|
|
2802
|
+
"maximum": 9007199254740991
|
|
2803
|
+
}
|
|
2804
|
+
}
|
|
2805
|
+
},
|
|
2806
|
+
"required": [
|
|
2807
|
+
"kind",
|
|
2808
|
+
"positions",
|
|
2809
|
+
"normals",
|
|
2810
|
+
"uvs",
|
|
2811
|
+
"indices"
|
|
2812
|
+
],
|
|
2813
|
+
"additionalProperties": false
|
|
2814
|
+
},
|
|
2815
|
+
{
|
|
2816
|
+
"type": "object",
|
|
2817
|
+
"properties": {
|
|
2818
|
+
"kind": {
|
|
2819
|
+
"type": "string",
|
|
2820
|
+
"const": "tube"
|
|
2821
|
+
},
|
|
2822
|
+
"points": {
|
|
2823
|
+
"minItems": 2,
|
|
2824
|
+
"maxItems": 256,
|
|
2825
|
+
"type": "array",
|
|
2826
|
+
"items": {
|
|
2827
|
+
"type": "array",
|
|
2828
|
+
"prefixItems": [
|
|
2829
|
+
{
|
|
2830
|
+
"type": "number",
|
|
2831
|
+
"minimum": -1000000,
|
|
2832
|
+
"maximum": 1000000
|
|
2833
|
+
},
|
|
2834
|
+
{
|
|
2835
|
+
"type": "number",
|
|
2836
|
+
"minimum": -1000000,
|
|
2837
|
+
"maximum": 1000000
|
|
2838
|
+
},
|
|
2839
|
+
{
|
|
2840
|
+
"type": "number",
|
|
2841
|
+
"minimum": -1000000,
|
|
2842
|
+
"maximum": 1000000
|
|
2843
|
+
}
|
|
2844
|
+
],
|
|
2845
|
+
"items": false,
|
|
2846
|
+
"minItems": 3,
|
|
2847
|
+
"maxItems": 3
|
|
2848
|
+
}
|
|
2849
|
+
},
|
|
2850
|
+
"radius": {
|
|
2851
|
+
"type": "number",
|
|
2852
|
+
"exclusiveMinimum": 0,
|
|
2853
|
+
"maximum": 1000000
|
|
2854
|
+
},
|
|
2855
|
+
"closed": {
|
|
2856
|
+
"type": "boolean"
|
|
2857
|
+
},
|
|
2858
|
+
"tubularSegments": {
|
|
2859
|
+
"type": "integer",
|
|
2860
|
+
"minimum": 1,
|
|
2861
|
+
"maximum": 1024
|
|
2862
|
+
},
|
|
2863
|
+
"radialSegments": {
|
|
2864
|
+
"type": "integer",
|
|
2865
|
+
"minimum": 3,
|
|
2866
|
+
"maximum": 64
|
|
2867
|
+
}
|
|
2868
|
+
},
|
|
2869
|
+
"required": [
|
|
2870
|
+
"kind",
|
|
2871
|
+
"points",
|
|
2872
|
+
"radius",
|
|
2873
|
+
"closed",
|
|
2874
|
+
"tubularSegments",
|
|
2875
|
+
"radialSegments"
|
|
2876
|
+
],
|
|
2877
|
+
"additionalProperties": false
|
|
2878
|
+
}
|
|
2879
|
+
]
|
|
2880
|
+
},
|
|
2881
|
+
"materials": {
|
|
2882
|
+
"maxItems": 16,
|
|
2883
|
+
"type": "array",
|
|
2884
|
+
"items": {
|
|
2885
|
+
"type": "object",
|
|
2886
|
+
"properties": {
|
|
2887
|
+
"role": {
|
|
2888
|
+
"type": "string",
|
|
2889
|
+
"minLength": 1,
|
|
2890
|
+
"maxLength": 64
|
|
2891
|
+
},
|
|
2892
|
+
"type": {
|
|
2893
|
+
"type": "string",
|
|
2894
|
+
"enum": [
|
|
2895
|
+
"physical",
|
|
2896
|
+
"unlit"
|
|
2897
|
+
]
|
|
2898
|
+
},
|
|
2899
|
+
"color": {
|
|
2900
|
+
"anyOf": [
|
|
2901
|
+
{
|
|
2902
|
+
"type": "string",
|
|
2903
|
+
"pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
2904
|
+
},
|
|
2905
|
+
{
|
|
2906
|
+
"type": "string",
|
|
2907
|
+
"enum": [
|
|
2908
|
+
"$brand:colors.background",
|
|
2909
|
+
"$brand:colors.surface",
|
|
2910
|
+
"$brand:colors.text",
|
|
2911
|
+
"$brand:colors.textMuted",
|
|
2912
|
+
"$brand:colors.accent",
|
|
2913
|
+
"$brand:colors.accentStrong",
|
|
2914
|
+
"$brand:colors.accentSoft",
|
|
2915
|
+
"$brand:colors.success",
|
|
2916
|
+
"$brand:colors.warning",
|
|
2917
|
+
"$brand:colors.danger"
|
|
2918
|
+
]
|
|
2919
|
+
}
|
|
2920
|
+
]
|
|
2921
|
+
},
|
|
2922
|
+
"roughness": {
|
|
2923
|
+
"type": "number",
|
|
2924
|
+
"minimum": 0,
|
|
2925
|
+
"maximum": 1
|
|
2926
|
+
},
|
|
2927
|
+
"metalness": {
|
|
2928
|
+
"type": "number",
|
|
2929
|
+
"minimum": 0,
|
|
2930
|
+
"maximum": 1
|
|
2931
|
+
},
|
|
2932
|
+
"clearcoat": {
|
|
2933
|
+
"type": "number",
|
|
2934
|
+
"minimum": 0,
|
|
2935
|
+
"maximum": 1
|
|
2936
|
+
},
|
|
2937
|
+
"clearcoatRoughness": {
|
|
2938
|
+
"type": "number",
|
|
2939
|
+
"minimum": 0,
|
|
2940
|
+
"maximum": 1
|
|
2941
|
+
},
|
|
2942
|
+
"anisotropy": {
|
|
2943
|
+
"type": "number",
|
|
2944
|
+
"minimum": 0,
|
|
2945
|
+
"maximum": 1
|
|
2946
|
+
},
|
|
2947
|
+
"anisotropyRotation": {
|
|
2948
|
+
"type": "number"
|
|
2949
|
+
},
|
|
2950
|
+
"ior": {
|
|
2951
|
+
"type": "number",
|
|
2952
|
+
"minimum": 1,
|
|
2953
|
+
"maximum": 2.333
|
|
2954
|
+
},
|
|
2955
|
+
"reflectivity": {
|
|
2956
|
+
"type": "number",
|
|
2957
|
+
"minimum": 0,
|
|
2958
|
+
"maximum": 1
|
|
2959
|
+
},
|
|
2960
|
+
"emissive": {
|
|
2961
|
+
"anyOf": [
|
|
2962
|
+
{
|
|
2963
|
+
"type": "string",
|
|
2964
|
+
"pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
2965
|
+
},
|
|
2966
|
+
{
|
|
2967
|
+
"type": "string",
|
|
2968
|
+
"enum": [
|
|
2969
|
+
"$brand:colors.background",
|
|
2970
|
+
"$brand:colors.surface",
|
|
2971
|
+
"$brand:colors.text",
|
|
2972
|
+
"$brand:colors.textMuted",
|
|
2973
|
+
"$brand:colors.accent",
|
|
2974
|
+
"$brand:colors.accentStrong",
|
|
2975
|
+
"$brand:colors.accentSoft",
|
|
2976
|
+
"$brand:colors.success",
|
|
2977
|
+
"$brand:colors.warning",
|
|
2978
|
+
"$brand:colors.danger"
|
|
2979
|
+
]
|
|
2980
|
+
}
|
|
2981
|
+
]
|
|
2982
|
+
},
|
|
2983
|
+
"emissiveIntensity": {
|
|
2984
|
+
"type": "number",
|
|
2985
|
+
"minimum": 0
|
|
2986
|
+
},
|
|
2987
|
+
"transmission": {
|
|
2988
|
+
"description": "Nonzero transmission uses the measured pinned single-camera half-float/MSAA4 profile with canonical preparation and observed target allocations; unsupported renderer profiles refuse.",
|
|
2989
|
+
"type": "number",
|
|
2990
|
+
"minimum": 0,
|
|
2991
|
+
"maximum": 1
|
|
2992
|
+
},
|
|
2993
|
+
"thickness": {
|
|
2994
|
+
"description": "Optical thickness in scene reference pixels.",
|
|
2995
|
+
"type": "number",
|
|
2996
|
+
"minimum": 0
|
|
2997
|
+
},
|
|
2998
|
+
"attenuationColor": {
|
|
2999
|
+
"anyOf": [
|
|
3000
|
+
{
|
|
3001
|
+
"type": "string",
|
|
3002
|
+
"pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
3003
|
+
},
|
|
3004
|
+
{
|
|
3005
|
+
"type": "string",
|
|
3006
|
+
"enum": [
|
|
3007
|
+
"$brand:colors.background",
|
|
3008
|
+
"$brand:colors.surface",
|
|
3009
|
+
"$brand:colors.text",
|
|
3010
|
+
"$brand:colors.textMuted",
|
|
3011
|
+
"$brand:colors.accent",
|
|
3012
|
+
"$brand:colors.accentStrong",
|
|
3013
|
+
"$brand:colors.accentSoft",
|
|
3014
|
+
"$brand:colors.success",
|
|
3015
|
+
"$brand:colors.warning",
|
|
3016
|
+
"$brand:colors.danger"
|
|
3017
|
+
]
|
|
3018
|
+
}
|
|
3019
|
+
]
|
|
3020
|
+
},
|
|
3021
|
+
"attenuationDistance": {
|
|
3022
|
+
"description": "Attenuation distance in scene reference pixels.",
|
|
3023
|
+
"type": "number",
|
|
3024
|
+
"exclusiveMinimum": 0
|
|
3025
|
+
},
|
|
3026
|
+
"dispersion": {
|
|
3027
|
+
"type": "number",
|
|
3028
|
+
"minimum": 0
|
|
3029
|
+
}
|
|
3030
|
+
},
|
|
3031
|
+
"required": [
|
|
3032
|
+
"role",
|
|
3033
|
+
"type"
|
|
3034
|
+
],
|
|
3035
|
+
"additionalProperties": false
|
|
3036
|
+
}
|
|
3037
|
+
},
|
|
3038
|
+
"shader": {
|
|
3039
|
+
"type": "object",
|
|
3040
|
+
"properties": {
|
|
3041
|
+
"profile": {
|
|
3042
|
+
"default": "stateless-fragment-display-linear-v1",
|
|
3043
|
+
"type": "string",
|
|
3044
|
+
"const": "stateless-fragment-display-linear-v1"
|
|
3045
|
+
},
|
|
3046
|
+
"source": {
|
|
3047
|
+
"type": "string",
|
|
3048
|
+
"minLength": 1,
|
|
3049
|
+
"maxLength": 32768
|
|
3050
|
+
},
|
|
3051
|
+
"uniforms": {
|
|
3052
|
+
"default": {},
|
|
3053
|
+
"type": "object",
|
|
3054
|
+
"propertyNames": {
|
|
3055
|
+
"type": "string",
|
|
3056
|
+
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$"
|
|
3057
|
+
},
|
|
3058
|
+
"additionalProperties": {
|
|
3059
|
+
"type": "object",
|
|
3060
|
+
"properties": {
|
|
3061
|
+
"type": {
|
|
3062
|
+
"type": "string",
|
|
3063
|
+
"enum": [
|
|
3064
|
+
"float",
|
|
3065
|
+
"int",
|
|
3066
|
+
"uint",
|
|
3067
|
+
"bool",
|
|
3068
|
+
"vec2",
|
|
3069
|
+
"vec3",
|
|
3070
|
+
"vec4",
|
|
3071
|
+
"mat2",
|
|
3072
|
+
"mat3",
|
|
3073
|
+
"mat4"
|
|
3074
|
+
]
|
|
3075
|
+
},
|
|
3076
|
+
"value": {
|
|
3077
|
+
"anyOf": [
|
|
3078
|
+
{
|
|
3079
|
+
"type": "number"
|
|
3080
|
+
},
|
|
3081
|
+
{
|
|
3082
|
+
"type": "boolean"
|
|
3083
|
+
},
|
|
3084
|
+
{
|
|
3085
|
+
"minItems": 1,
|
|
3086
|
+
"maxItems": 16,
|
|
3087
|
+
"type": "array",
|
|
3088
|
+
"items": {
|
|
3089
|
+
"type": "number"
|
|
3090
|
+
}
|
|
3091
|
+
}
|
|
3092
|
+
]
|
|
3093
|
+
}
|
|
3094
|
+
},
|
|
3095
|
+
"required": [
|
|
3096
|
+
"type",
|
|
3097
|
+
"value"
|
|
3098
|
+
],
|
|
3099
|
+
"additionalProperties": false
|
|
3100
|
+
}
|
|
3101
|
+
},
|
|
3102
|
+
"samplers": {
|
|
3103
|
+
"default": {},
|
|
3104
|
+
"type": "object",
|
|
3105
|
+
"propertyNames": {
|
|
3106
|
+
"type": "string",
|
|
3107
|
+
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$"
|
|
3108
|
+
},
|
|
3109
|
+
"additionalProperties": {
|
|
3110
|
+
"type": "object",
|
|
3111
|
+
"properties": {
|
|
3112
|
+
"assetSlot": {
|
|
3113
|
+
"type": "string",
|
|
3114
|
+
"minLength": 1,
|
|
3115
|
+
"maxLength": 64,
|
|
3116
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_-]*$",
|
|
3117
|
+
"description": "Image asset slot name bound by the clip assets map; never a URL."
|
|
3118
|
+
},
|
|
3119
|
+
"colorSpace": {
|
|
3120
|
+
"type": "string",
|
|
3121
|
+
"enum": [
|
|
3122
|
+
"srgb",
|
|
3123
|
+
"data"
|
|
3124
|
+
]
|
|
3125
|
+
}
|
|
3126
|
+
},
|
|
3127
|
+
"required": [
|
|
3128
|
+
"assetSlot",
|
|
3129
|
+
"colorSpace"
|
|
3130
|
+
],
|
|
3131
|
+
"additionalProperties": false
|
|
3132
|
+
}
|
|
3133
|
+
}
|
|
3134
|
+
},
|
|
3135
|
+
"required": [
|
|
3136
|
+
"source"
|
|
3137
|
+
],
|
|
3138
|
+
"additionalProperties": false
|
|
3139
|
+
},
|
|
3140
|
+
"instances": {
|
|
3141
|
+
"minItems": 1,
|
|
3142
|
+
"maxItems": 1024,
|
|
3143
|
+
"type": "array",
|
|
3144
|
+
"items": {
|
|
3145
|
+
"type": "object",
|
|
3146
|
+
"properties": {
|
|
3147
|
+
"id": {
|
|
3148
|
+
"type": "string",
|
|
3149
|
+
"minLength": 1,
|
|
3150
|
+
"maxLength": 64,
|
|
3151
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]*$"
|
|
3152
|
+
},
|
|
3153
|
+
"transform": {
|
|
3154
|
+
"default": {
|
|
3155
|
+
"position": [
|
|
3156
|
+
0,
|
|
3157
|
+
0,
|
|
3158
|
+
0
|
|
3159
|
+
],
|
|
3160
|
+
"rotation": [
|
|
3161
|
+
0,
|
|
3162
|
+
0,
|
|
3163
|
+
0
|
|
3164
|
+
],
|
|
3165
|
+
"scale": 1
|
|
3166
|
+
},
|
|
3167
|
+
"type": "object",
|
|
3168
|
+
"properties": {
|
|
3169
|
+
"position": {
|
|
3170
|
+
"default": [
|
|
3171
|
+
0,
|
|
3172
|
+
0,
|
|
3173
|
+
0
|
|
3174
|
+
],
|
|
3175
|
+
"type": "array",
|
|
3176
|
+
"prefixItems": [
|
|
3177
|
+
{
|
|
3178
|
+
"type": "number"
|
|
3179
|
+
},
|
|
3180
|
+
{
|
|
3181
|
+
"type": "number"
|
|
3182
|
+
},
|
|
3183
|
+
{
|
|
3184
|
+
"type": "number"
|
|
3185
|
+
}
|
|
3186
|
+
],
|
|
3187
|
+
"items": false,
|
|
3188
|
+
"minItems": 3,
|
|
3189
|
+
"maxItems": 3
|
|
3190
|
+
},
|
|
3191
|
+
"rotation": {
|
|
3192
|
+
"default": [
|
|
3193
|
+
0,
|
|
3194
|
+
0,
|
|
3195
|
+
0
|
|
3196
|
+
],
|
|
3197
|
+
"type": "array",
|
|
3198
|
+
"prefixItems": [
|
|
3199
|
+
{
|
|
3200
|
+
"type": "number"
|
|
3201
|
+
},
|
|
3202
|
+
{
|
|
3203
|
+
"type": "number"
|
|
3204
|
+
},
|
|
3205
|
+
{
|
|
3206
|
+
"type": "number"
|
|
3207
|
+
}
|
|
3208
|
+
],
|
|
3209
|
+
"items": false,
|
|
3210
|
+
"minItems": 3,
|
|
3211
|
+
"maxItems": 3
|
|
3212
|
+
},
|
|
3213
|
+
"scale": {
|
|
3214
|
+
"default": 1,
|
|
3215
|
+
"type": "number",
|
|
3216
|
+
"exclusiveMinimum": 0
|
|
3217
|
+
}
|
|
3218
|
+
},
|
|
3219
|
+
"additionalProperties": false
|
|
3220
|
+
}
|
|
3221
|
+
},
|
|
3222
|
+
"required": [
|
|
3223
|
+
"id"
|
|
3224
|
+
],
|
|
3225
|
+
"additionalProperties": false
|
|
3226
|
+
}
|
|
3227
|
+
}
|
|
3228
|
+
},
|
|
3229
|
+
"required": [
|
|
3230
|
+
"kind",
|
|
3231
|
+
"id",
|
|
3232
|
+
"geometry"
|
|
3233
|
+
],
|
|
3234
|
+
"additionalProperties": false
|
|
3235
|
+
},
|
|
3236
|
+
{
|
|
3237
|
+
"type": "object",
|
|
3238
|
+
"properties": {
|
|
3239
|
+
"kind": {
|
|
3240
|
+
"type": "string",
|
|
3241
|
+
"const": "model"
|
|
3242
|
+
},
|
|
3243
|
+
"profile": {
|
|
3244
|
+
"default": "static-glb-untextured-v1",
|
|
3245
|
+
"type": "string",
|
|
3246
|
+
"enum": [
|
|
3247
|
+
"static-glb-untextured-v1",
|
|
3248
|
+
"static-glb-textured-v1"
|
|
3249
|
+
]
|
|
3250
|
+
},
|
|
3251
|
+
"id": {
|
|
3252
|
+
"type": "string",
|
|
3253
|
+
"minLength": 1,
|
|
3254
|
+
"maxLength": 64,
|
|
3255
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9_-]*$"
|
|
3256
|
+
},
|
|
3257
|
+
"transform": {
|
|
3258
|
+
"default": {
|
|
3259
|
+
"position": [
|
|
3260
|
+
0,
|
|
3261
|
+
0,
|
|
3262
|
+
0
|
|
3263
|
+
],
|
|
3264
|
+
"rotation": [
|
|
3265
|
+
0,
|
|
3266
|
+
0,
|
|
3267
|
+
0
|
|
3268
|
+
],
|
|
3269
|
+
"scale": 1
|
|
3270
|
+
},
|
|
3271
|
+
"type": "object",
|
|
3272
|
+
"properties": {
|
|
3273
|
+
"position": {
|
|
3274
|
+
"default": [
|
|
3275
|
+
0,
|
|
3276
|
+
0,
|
|
3277
|
+
0
|
|
3278
|
+
],
|
|
3279
|
+
"type": "array",
|
|
3280
|
+
"prefixItems": [
|
|
3281
|
+
{
|
|
3282
|
+
"type": "number"
|
|
3283
|
+
},
|
|
3284
|
+
{
|
|
3285
|
+
"type": "number"
|
|
3286
|
+
},
|
|
3287
|
+
{
|
|
3288
|
+
"type": "number"
|
|
3289
|
+
}
|
|
3290
|
+
],
|
|
3291
|
+
"items": false,
|
|
3292
|
+
"minItems": 3,
|
|
3293
|
+
"maxItems": 3
|
|
3294
|
+
},
|
|
3295
|
+
"rotation": {
|
|
3296
|
+
"default": [
|
|
3297
|
+
0,
|
|
3298
|
+
0,
|
|
3299
|
+
0
|
|
3300
|
+
],
|
|
3301
|
+
"type": "array",
|
|
3302
|
+
"prefixItems": [
|
|
3303
|
+
{
|
|
3304
|
+
"type": "number"
|
|
3305
|
+
},
|
|
3306
|
+
{
|
|
3307
|
+
"type": "number"
|
|
3308
|
+
},
|
|
3309
|
+
{
|
|
3310
|
+
"type": "number"
|
|
3311
|
+
}
|
|
3312
|
+
],
|
|
3313
|
+
"items": false,
|
|
3314
|
+
"minItems": 3,
|
|
3315
|
+
"maxItems": 3
|
|
3316
|
+
},
|
|
3317
|
+
"scale": {
|
|
3318
|
+
"default": 1,
|
|
3319
|
+
"type": "number",
|
|
3320
|
+
"exclusiveMinimum": 0
|
|
3321
|
+
}
|
|
3322
|
+
},
|
|
3323
|
+
"additionalProperties": false
|
|
3324
|
+
},
|
|
3325
|
+
"opacity": {
|
|
3326
|
+
"default": 1,
|
|
3327
|
+
"type": "number",
|
|
3328
|
+
"minimum": 0,
|
|
3329
|
+
"maximum": 1
|
|
3330
|
+
},
|
|
3331
|
+
"assetSlot": {
|
|
3332
|
+
"type": "string",
|
|
3333
|
+
"minLength": 1,
|
|
3334
|
+
"maxLength": 64,
|
|
3335
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_-]*$",
|
|
3336
|
+
"description": "Image asset slot name bound by the clip assets map; never a URL."
|
|
3337
|
+
},
|
|
3338
|
+
"size": {
|
|
3339
|
+
"type": "number",
|
|
3340
|
+
"exclusiveMinimum": 0,
|
|
3341
|
+
"maximum": 1000000
|
|
3342
|
+
},
|
|
3343
|
+
"materials": {
|
|
3344
|
+
"maxItems": 16,
|
|
3345
|
+
"type": "array",
|
|
3346
|
+
"items": {
|
|
3347
|
+
"type": "object",
|
|
3348
|
+
"properties": {
|
|
3349
|
+
"role": {
|
|
3350
|
+
"type": "string",
|
|
3351
|
+
"minLength": 1,
|
|
3352
|
+
"maxLength": 64
|
|
3353
|
+
},
|
|
3354
|
+
"type": {
|
|
3355
|
+
"type": "string",
|
|
3356
|
+
"enum": [
|
|
3357
|
+
"physical",
|
|
3358
|
+
"unlit"
|
|
3359
|
+
]
|
|
3360
|
+
},
|
|
3361
|
+
"color": {
|
|
3362
|
+
"anyOf": [
|
|
3363
|
+
{
|
|
3364
|
+
"type": "string",
|
|
3365
|
+
"pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
3366
|
+
},
|
|
3367
|
+
{
|
|
3368
|
+
"type": "string",
|
|
3369
|
+
"enum": [
|
|
3370
|
+
"$brand:colors.background",
|
|
3371
|
+
"$brand:colors.surface",
|
|
3372
|
+
"$brand:colors.text",
|
|
3373
|
+
"$brand:colors.textMuted",
|
|
3374
|
+
"$brand:colors.accent",
|
|
3375
|
+
"$brand:colors.accentStrong",
|
|
3376
|
+
"$brand:colors.accentSoft",
|
|
3377
|
+
"$brand:colors.success",
|
|
3378
|
+
"$brand:colors.warning",
|
|
3379
|
+
"$brand:colors.danger"
|
|
3380
|
+
]
|
|
3381
|
+
}
|
|
3382
|
+
]
|
|
3383
|
+
},
|
|
3384
|
+
"roughness": {
|
|
3385
|
+
"type": "number",
|
|
3386
|
+
"minimum": 0,
|
|
3387
|
+
"maximum": 1
|
|
3388
|
+
},
|
|
3389
|
+
"metalness": {
|
|
3390
|
+
"type": "number",
|
|
3391
|
+
"minimum": 0,
|
|
3392
|
+
"maximum": 1
|
|
3393
|
+
},
|
|
3394
|
+
"clearcoat": {
|
|
3395
|
+
"type": "number",
|
|
3396
|
+
"minimum": 0,
|
|
3397
|
+
"maximum": 1
|
|
3398
|
+
},
|
|
3399
|
+
"clearcoatRoughness": {
|
|
3400
|
+
"type": "number",
|
|
3401
|
+
"minimum": 0,
|
|
3402
|
+
"maximum": 1
|
|
3403
|
+
},
|
|
3404
|
+
"anisotropy": {
|
|
3405
|
+
"type": "number",
|
|
3406
|
+
"minimum": 0,
|
|
3407
|
+
"maximum": 1
|
|
3408
|
+
},
|
|
3409
|
+
"anisotropyRotation": {
|
|
3410
|
+
"type": "number"
|
|
3411
|
+
},
|
|
3412
|
+
"ior": {
|
|
3413
|
+
"type": "number",
|
|
3414
|
+
"minimum": 1,
|
|
3415
|
+
"maximum": 2.333
|
|
3416
|
+
},
|
|
3417
|
+
"reflectivity": {
|
|
3418
|
+
"type": "number",
|
|
3419
|
+
"minimum": 0,
|
|
3420
|
+
"maximum": 1
|
|
3421
|
+
},
|
|
3422
|
+
"emissive": {
|
|
3423
|
+
"anyOf": [
|
|
3424
|
+
{
|
|
3425
|
+
"type": "string",
|
|
3426
|
+
"pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
3427
|
+
},
|
|
3428
|
+
{
|
|
3429
|
+
"type": "string",
|
|
3430
|
+
"enum": [
|
|
3431
|
+
"$brand:colors.background",
|
|
3432
|
+
"$brand:colors.surface",
|
|
3433
|
+
"$brand:colors.text",
|
|
3434
|
+
"$brand:colors.textMuted",
|
|
3435
|
+
"$brand:colors.accent",
|
|
3436
|
+
"$brand:colors.accentStrong",
|
|
3437
|
+
"$brand:colors.accentSoft",
|
|
3438
|
+
"$brand:colors.success",
|
|
3439
|
+
"$brand:colors.warning",
|
|
3440
|
+
"$brand:colors.danger"
|
|
3441
|
+
]
|
|
3442
|
+
}
|
|
3443
|
+
]
|
|
3444
|
+
},
|
|
3445
|
+
"emissiveIntensity": {
|
|
3446
|
+
"type": "number",
|
|
3447
|
+
"minimum": 0
|
|
3448
|
+
},
|
|
3449
|
+
"transmission": {
|
|
3450
|
+
"description": "Nonzero transmission uses the measured pinned single-camera half-float/MSAA4 profile with canonical preparation and observed target allocations; unsupported renderer profiles refuse.",
|
|
3451
|
+
"type": "number",
|
|
3452
|
+
"minimum": 0,
|
|
3453
|
+
"maximum": 1
|
|
3454
|
+
},
|
|
3455
|
+
"thickness": {
|
|
3456
|
+
"description": "Optical thickness in scene reference pixels.",
|
|
3457
|
+
"type": "number",
|
|
3458
|
+
"minimum": 0
|
|
3459
|
+
},
|
|
3460
|
+
"attenuationColor": {
|
|
3461
|
+
"anyOf": [
|
|
3462
|
+
{
|
|
3463
|
+
"type": "string",
|
|
3464
|
+
"pattern": "^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
3465
|
+
},
|
|
3466
|
+
{
|
|
3467
|
+
"type": "string",
|
|
3468
|
+
"enum": [
|
|
3469
|
+
"$brand:colors.background",
|
|
3470
|
+
"$brand:colors.surface",
|
|
3471
|
+
"$brand:colors.text",
|
|
3472
|
+
"$brand:colors.textMuted",
|
|
3473
|
+
"$brand:colors.accent",
|
|
3474
|
+
"$brand:colors.accentStrong",
|
|
3475
|
+
"$brand:colors.accentSoft",
|
|
3476
|
+
"$brand:colors.success",
|
|
3477
|
+
"$brand:colors.warning",
|
|
3478
|
+
"$brand:colors.danger"
|
|
3479
|
+
]
|
|
3480
|
+
}
|
|
3481
|
+
]
|
|
3482
|
+
},
|
|
3483
|
+
"attenuationDistance": {
|
|
3484
|
+
"description": "Attenuation distance in scene reference pixels.",
|
|
3485
|
+
"type": "number",
|
|
3486
|
+
"exclusiveMinimum": 0
|
|
3487
|
+
},
|
|
3488
|
+
"dispersion": {
|
|
3489
|
+
"type": "number",
|
|
3490
|
+
"minimum": 0
|
|
3491
|
+
}
|
|
3492
|
+
},
|
|
3493
|
+
"required": [
|
|
3494
|
+
"role",
|
|
3495
|
+
"type"
|
|
3496
|
+
],
|
|
3497
|
+
"additionalProperties": false
|
|
3498
|
+
}
|
|
3499
|
+
},
|
|
3500
|
+
"materialSourceSha256": {
|
|
3501
|
+
"type": "string",
|
|
3502
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
3503
|
+
}
|
|
3504
|
+
},
|
|
3505
|
+
"required": [
|
|
3506
|
+
"kind",
|
|
3507
|
+
"id",
|
|
3508
|
+
"assetSlot",
|
|
3509
|
+
"size"
|
|
3510
|
+
],
|
|
3511
|
+
"additionalProperties": false
|
|
3512
|
+
},
|
|
2295
3513
|
{
|
|
2296
3514
|
"type": "object",
|
|
2297
3515
|
"properties": {
|
|
@@ -2771,5 +3989,5 @@
|
|
|
2771
3989
|
]
|
|
2772
3990
|
}
|
|
2773
3991
|
},
|
|
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.
|
|
3992
|
+
"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. World coordinates are REFERENCE PIXELS: origin at frame centre, +X right, +Y up, +Z toward the viewer. World rotations, camera fov and laptop openAngle are radians. 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 and owned static GLB models with bounded embedded PNG/JPEG textures (static-glb-untextured-v1 or static-glb-textured-v1; model-level transforms and digest-scoped scalar material edits), screen- and world-space text, admitted image/component/video surfaces, fixed photographic, generated studio and owned RGBE 1024x512 environment data assets (up to 8 MiB encoded; intensity 0–100 and rotation ±2π radians), transparent/solid/linear/radial backdrops, constraints, focus, bounded display-linear-bloom-v1 before grain/vignette, measured single-camera half-float/MSAA4 physical transmission, and opaque stateless-fragment-display-linear-v1 mesh.shader fields. mesh.shader owns vec3 field(vec2 uv, vec3 localPosition), at most32 finite typed uniforms and4 owned PNG/JPEG image samplers, deterministic cfFrame/cfRate/cfTime/cfSeed/cfResolution inputs; source is parsed and locally compiled/drawn before first playback or exact frame. It requires non-instanced UV geometry and effective world opacity1. Raw HTML, arbitrary custom shader props or full GLSL, loops/recursion/macros/extensions/derivatives/scene sampling/feedback/depth writes, animated/compressed/skeletal GLB profiles, subnode editing, arbitrary external HDR environments, skeletal animation and physics are refused with an exact field path."
|
|
2775
3993
|
}
|