Write an object. Only the fields named below are allowed. Unknown fields are rejected so a typo cannot hide inside the document.
You must include id and type.
16 other fields are optional. Include one only when you have a real value for it.
Exact constraints
- type
object- additional properties
forbidden
idrequiredidThis is not a new shape. It reuses id from the common module. Open that definition for the fields you can write.
typerequired"directional" | "point" | "spot" | "area" | "environment" | "natural"Pick one of the 6 listed values. Any other value is invalid. The list is closed on purpose so tools agree on the same words.
Exact constraints
"directional""point""spot""area""environment""natural"
colorcolorThis is not a new shape. It reuses color from the appearance module. Open that definition for the fields you can write.
intensitynumberWrite a number. Decimals are allowed.
The number must be at least 0.
Exact constraints
- type
number- minimum
0
intensityUnit"normalized" | "lux" | "lumens" | "candela" | "watts"Pick one of the 5 listed values. Any other value is invalid. The list is closed on purpose so tools agree on the same words.
Exact constraints
"normalized""lux""lumens""candela""watts"
temperaturenumberWrite a number. Decimals are allowed.
The number must be at least 0.
Exact constraints
- type
number- minimum
0
positionvector3This is not a new shape. It reuses vector3 from the common module. Open that definition for the fields you can write.
directionvector3This is not a new shape. It reuses vector3 from the common module. Open that definition for the fields you can write.
targetRefidThis is not a new shape. It reuses id from the common module. Open that definition for the fields you can write.
softnessnumberWrite a number. Decimals are allowed.
The number must sit between 0 and 1, including both ends.
Exact constraints
- type
number- minimum
0- maximum
1
falloff"none" | "linear" | "inverse-square"Pick one of the 3 listed values. Any other value is invalid. The list is closed on purpose so tools agree on the same words.
Exact constraints
"none""linear""inverse-square"
rangenumberWrite a number. Decimals are allowed.
The number must be at least 0.
Exact constraints
- type
number- minimum
0
coneAnglenumberWrite a number. Decimals are allowed.
The number must sit between 0 and 180, including both ends.
Exact constraints
- type
number- minimum
0- maximum
180
sizevector2This is not a new shape. It reuses vector2 from the common module. Open that definition for the fields you can write.
shadowobjectWrite an object. Only the fields named below are allowed. Unknown fields are rejected so a typo cannot hide inside the document.
You may omit enabled, bias, softness, and resolution. Leave a field out when you have nothing to say. Do not invent a placeholder.
Exact constraints
- type
object- additional properties
forbidden
enabledbooleanWrite true or false.
Exact constraints
- type
boolean
biasnumberWrite a number. Decimals are allowed.
Exact constraints
- type
number
softnessnumberWrite a number. Decimals are allowed.
The number must sit between 0 and 1, including both ends.
Exact constraints
- type
number- minimum
0- maximum
1
resolutionintegerWrite a whole number.
The number must be at least 1.
Exact constraints
- type
integer- minimum
1
assetRefidThis is not a new shape. It reuses id from the common module. Open that definition for the fields you can write.
role"key" | "fill" | "rim" | "background" | "ambient" | "practical"Pick one of the 6 listed values. Any other value is invalid. The list is closed on purpose so tools agree on the same words.
Exact constraints
"key""fill""rim""background""ambient""practical"
extensionsextensionsThis is not a new shape. It reuses extensions from the common module. Open that definition for the fields you can write.