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 assetRef.
You may omit channel, coordinateSet, scale, offset, rotation, wrap, filter, and strength. Leave a field out when you have nothing to say. Do not invent a placeholder.
Exact constraints
- type
object- additional properties
forbidden
assetRefrequiredidThis is not a new shape. It reuses id from the common module. Open that definition for the fields you can write.
channel"r" | "g" | "b" | "a" | "rgb" | "rgba"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
"r""g""b""a""rgb""rgba"
coordinateSetintegerWrite a whole number.
The number must be at least 0.
Exact constraints
- type
integer- minimum
0
scalevector2This is not a new shape. It reuses vector2 from the common module. Open that definition for the fields you can write.
offsetvector2This is not a new shape. It reuses vector2 from the common module. Open that definition for the fields you can write.
rotationnumberWrite a number. Decimals are allowed.
Exact constraints
- type
number
wrap"repeat" | "clamp" | "mirror"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
"repeat""clamp""mirror"
filter"nearest" | "linear" | "anisotropic"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
"nearest""linear""anisotropic"
strengthnumberWrite a number. Decimals are allowed.
The number must be at least 0.
Exact constraints
- type
number- minimum
0