Write an object. Only the fields named below are allowed. Unknown fields are rejected so a typo cannot hide inside the document.
You may omit text, assetRef, alt, runs, fit, objectPosition, and chart. Leave a field out when you have nothing to say. Do not invent a placeholder.
Exact constraints
- type
object- additional properties
forbidden
textstringWrite a text value.
An empty string is not allowed.
Exact constraints
- type
string- min length
1
assetRefidThis is not a new shape. It reuses id from the common module. Open that definition for the fields you can write.
altstringWrite a text value.
An empty string is not allowed.
Exact constraints
- type
string- min length
1
runsarray<object>Write a list. Each item follows the shape described under items.
Exact constraints
- type
array
itemsobjectWrite an object. Only the fields named below are allowed. Unknown fields are rejected so a typo cannot hide inside the document.
You must include text.
You may omit typography and color. Leave a field out when you have nothing to say. Do not invent a placeholder.
Exact constraints
- type
object- additional properties
forbidden
textrequiredstringWrite a text value.
Exact constraints
- type
string
typographytypographyThis is not a new shape. It reuses typography from the appearance module. Open that definition for the fields you can write.
colorcolorThis is not a new shape. It reuses color from the appearance module. Open that definition for the fields you can write.
fit"contain" | "cover" | "fill" | "none" | "scale-down"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
"contain""cover""fill""none""scale-down"
objectPositionvector2This is not a new shape. It reuses vector2 from the common module. Open that definition for the fields you can write.
chartchartThis is not a new shape. It reuses chart from the media module. Open that definition for the fields you can write.