Tour schema (v1)

A Neaten product tour. The only format: the dashboard, AI, REST API, MCP and CLI all read and write it. The full JSON Schema is returned by the MCP tool get_schema. Its $id is https://schema.tryneaten.com/tour/v1.json.

FieldTypeMeaning
$schemastringOptional reference to this schema, for editors.
schemaVersion required
id requiredslugStable, human-readable id, e.g. "invite-teammate".
name requiredstring
descriptionstring
defaultLocalelocaleLocale used when the user's locale has no content. Defaults to "en".
priorityintegerHigher wins when several tours are eligible at once. Defaults to 100.
trigger requiredtrigger
frequencyfrequency
goaleventNametrack() event that counts as success.
experimentexperiment
controlscontrols
themethemeOverride
steps requiredarray

step

idslug
type
targettargetRequired unless type is modal.
pageurlMatchThe route this step lives on. The SDK waits for it.
placement
contentobjectStep content keyed by locale.
advanceadvance
waitForobject
onTargetMissing

content

titlestring
bodystringMarkdown subset, rendered to DOM nodes, never HTML.
imageobject
buttonsobjectThe words on the tour's own controls, in this locale. Each is optional; an absent one uses the English default.

target

strategiesarrayTried in reliability order: attr, role, text, css, path.
signaturesignature
withintargetScope, e.g. a dialog.
lockedbooleanAuthor-locked: no fuzzy match, no auto-heal.

signature

Attribute snapshot for fuzzy matching.

tagstring
idstring
classesarray
attrsobject
rolestring
textstring
labelstring
hrefstring
parentTextstring
nearbyTextstring
siblingIndexinteger
depthinteger
rectobjectPosition and size as fractions of the viewport at capture time.

trigger

urlurlMatch
audiencecondition
eventeventName
elementPresenttarget
firstVisitboolean
delayMsinteger
manualOnlybooleanOnly via startTour().

frequency

mode
daysinteger

experiment

holdoutPercentnumber
saltstring

controls

backboolean
skipboolean
dismissibleboolean
snoozeobject
progress
keyboardboolean

themeOverride

primarycolor
primaryTextcolor
backgroundcolor
textcolor
radiusnumber
mode
motionThis tour's motion, over the workspace's (settings theme.motion). A person's reduced-motion setting always wins.