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, type, and uri.
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"image" | "video" | "audio" | "font" | "svg" | "vector" | "raster" | "icon" | "lottie" | "model" | "texture" | "shader" | "document" | "animation" | "data"Pick one of the 15 listed values. Any other value is invalid. The list is closed on purpose so tools agree on the same words.
Exact constraints
"image""video""audio""font""svg""vector""raster""icon""lottie""model""texture""shader""document""animation""data"
urirequireduriThis is not a new shape. It reuses uri from the common module. Open that definition for the fields you can write.
mediaTypestringWrite a text value.
An empty string is not allowed.
Exact constraints
- type
string- min length
1
namestringWrite a text value.
An empty string is not allowed.
Exact constraints
- type
string- min length
1
descriptionstringWrite a text value.
An empty string is not allowed.
Exact constraints
- type
string- min length
1
widthintegerWrite a whole number.
The number must be at least 1.
Exact constraints
- type
integer- minimum
1
heightintegerWrite a whole number.
The number must be at least 1.
Exact constraints
- type
integer- minimum
1
durationdurationThis is not a new shape. It reuses duration from the common module. Open that definition for the fields you can write.
byteLengthintegerWrite a whole number.
The number must be at least 0.
Exact constraints
- type
integer- minimum
0
checksumstringWrite a text value.
An empty string is not allowed.
Exact constraints
- type
string- min length
1
licensestringWrite a text value.
An empty string is not allowed.
Exact constraints
- type
string- min length
1
attributionstringWrite a text value.
An empty string is not allowed.
Exact constraints
- type
string- min length
1
colorSpace"srgb" | "display-p3" | "rec2020" | "linear" | "unknown"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
"srgb""display-p3""rec2020""linear""unknown"
variantsarray<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 uri.
You may omit width, height, mediaType, quality, and platform. Leave a field out when you have nothing to say. Do not invent a placeholder.
Exact constraints
- type
object- additional properties
forbidden
urirequireduriThis is not a new shape. It reuses uri from the common module. Open that definition for the fields you can write.
widthintegerWrite a whole number.
The number must be at least 1.
Exact constraints
- type
integer- minimum
1
heightintegerWrite a whole number.
The number must be at least 1.
Exact constraints
- type
integer- minimum
1
mediaTypestringWrite a text value.
An empty string is not allowed.
Exact constraints
- type
string- min length
1
qualitynumberWrite a number. Decimals are allowed.
The number must sit between 0 and 1, including both ends.
Exact constraints
- type
number- minimum
0- maximum
1
platformtaxonomyThis is not a new shape. It reuses taxonomy from the common module. Open that definition for the fields you can write.
fallbackRefidThis is not a new shape. It reuses id from the common module. Open that definition for the fields you can write.
fontobjectWrite an object. Only the fields named below are allowed. Unknown fields are rejected so a typo cannot hide inside the document.
You may omit family, style, weight, and axes. Leave a field out when you have nothing to say. Do not invent a placeholder.
Exact constraints
- type
object- additional properties
forbidden
familystringWrite a text value.
An empty string is not allowed.
Exact constraints
- type
string- min length
1
style"normal" | "italic" | "oblique"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
"normal""italic""oblique"
weightinteger | objectMore than one shape is accepted. Use exactly one of the 2 alternatives below. They are different ways to say the same kind of value.
anyOf 1integerWrite a whole number.
The number must be at least 1.
Exact constraints
- type
integer- minimum
1
anyOf 2objectWrite an object. Only the fields named below are allowed. Unknown fields are rejected so a typo cannot hide inside the document.
You must include min and max.
Exact constraints
- type
object- additional properties
forbidden
minrequiredintegerWrite a whole number.
The number must be at least 1.
Exact constraints
- type
integer- minimum
1
maxrequiredintegerWrite a whole number.
The number must be at least 1.
Exact constraints
- type
integer- minimum
1
axesobjectExact constraints
- type
object- additional properties
object
additionalPropertiesobjectWrite an object. Only the fields named below are allowed. Unknown fields are rejected so a typo cannot hide inside the document.
You must include min, max, and default.
Exact constraints
- type
object- additional properties
forbidden
minrequirednumberWrite a number. Decimals are allowed.
Exact constraints
- type
number
maxrequirednumberWrite a number. Decimals are allowed.
Exact constraints
- type
number
defaultrequirednumberWrite a number. Decimals are allowed.
Exact constraints
- type
number
integritystringWrite a text value.
An empty string is not allowed.
Exact constraints
- type
string- min length
1
extensionsextensionsThis is not a new shape. It reuses extensions from the common module. Open that definition for the fields you can write.