Module
Assets
Resources used in the output, distinct from references that specify expected appearance.
Raw schema: /schema/1.0/modules/assets.schema.json
asset
type: object · required: id, type, uri
| Property | Type | Required | Constraints |
|---|---|---|---|
id | id | yes | — |
type | "image" | "video" | "audio" | "font" | "svg" | "vector" | "raster" | "icon" | "lottie" | "model" | "texture" | "shader" | "document" | "animation" | "data" | yes | — |
uri | uri | yes | — |
mediaType | string | no | minLength 1 |
name | string | no | minLength 1 |
description | string | no | minLength 1 |
width | integer | no | min 1 |
height | integer | no | min 1 |
duration | duration | no | — |
byteLength | integer | no | min 0 |
checksum | string | no | minLength 1 |
license | string | no | minLength 1 |
attribution | string | no | minLength 1 |
colorSpace | "srgb" | "display-p3" | "rec2020" | "linear" | "unknown" | no | — |
variants | array<object> | no | — |
fallbackRef | id | no | — |
font | object | no | — |
integrity | string | no | minLength 1 |
extensions | extensions | no | — |