Module

Tokens

Typed design tokens, aliases, modes and provenance. Alias cycles require semantic validation.

Raw schema: /schema/1.0/modules/tokens.schema.json

token

type: object

PropertyTypeRequiredConstraints
type "color" | "dimension" | "spacing" | "radius" | "border" | "shadow" | "typography" | "font" | "gradient" | "opacity" | "duration" | "easing" | "motion" | "material" | "breakpoint" | "z-index" | "number" | "string" no —
value string | number | boolean | array<jsonValue> | object | typography | gradient | shadow | color | spring no minLength 1
description string no minLength 1
modes object no —
confidence number no min 0 · max 1
provenance provenance no —
extensions extensions no —
$type "color" | "dimension" | "spacing" | "radius" | "border" | "shadow" | "typography" | "font" | "gradient" | "opacity" | "duration" | "easing" | "motion" | "material" | "breakpoint" | "z-index" | "number" | "string" no —
$value string | number | boolean | array<jsonValue> | object | typography | gradient | shadow | color | spring no minLength 1

tokenRegistry

type: object

No object properties on this definition.

visualLanguage

type: object

PropertyTypeRequiredConstraints
personality array<string> no minLength 1
principles array<string> no minLength 1
palette object no —
typography object no —
spacing object no —
density "compact" | "comfortable" | "spacious" no —
geometry object no —
surface appearance no —
iconography object no —
photography object no —
illustration object no —
motion object no —
composition object no —
externalTokens array<object> no —
extensions extensions no —