Module

Interaction

Observable events, declarative visual actions and visual state graphs. No executable business logic.

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

event

type: object · required: id, type

PropertyTypeRequiredConstraints
id id yes —
type taxonomy yes —
targetRef id no —
key string no minLength 1
modifiers array<"alt" | "ctrl" | "meta" | "shift"> no —
pointer "mouse" | "touch" | "pen" | "any" no —
gesture object no —
markerRef id no —
externalName string no minLength 1
actionRefs array<id> no —
once boolean no —
debounce duration no —
extensions extensions no —

action

type: object · required: id, verb

PropertyTypeRequiredConstraints
id id yes —
verb taxonomy yes —
targetRef id no —
targetRefs array<id> no —
intent string no minLength 1
eventRef id no —
stateRef id no —
motionRef id no —
parameters object no —
composition "sequence" | "parallel" | "conditional" | "stagger" no —
actionRefs array<id> no —
condition condition no —
delay duration no —
stagger duration no —
onComplete array<id> no —
onCancel array<id> no —
extensions extensions no —

state

type: object · required: id, name

PropertyTypeRequiredConstraints
id id yes —
name string yes minLength 1
targetRef id no —
initial boolean no —
appearance appearance no —
layout layout no —
visible boolean no —
variant string no minLength 1
motionRef id no —
accessibility accessibility no —
onEnter array<id> no —
onExit array<id> no —
transitions array<object> no —
extensions extensions no —

flow

type: object · required: id, initial, states

PropertyTypeRequiredConstraints
id id yes —
name string no minLength 1
initial id yes —
sceneRef id no —
states array<object> yes minItems 1
transitions array<object> no —
extensions extensions no —