Skip to main content

MoveSpec YAML reference

MoveSpec definitions are authored in YAML. This page documents the schema structure with well-commented examples covering all available features.

Minimal example

The simplest valid MoveSpec defines a single movement with two phases:
This example demonstrates all supported schema features:

Schema reference

Top-level fields

detection object

movement object

phase object

criteria object

feedback object

timing object

thresholds object

Validation

Always validate your MoveSpec draft before creating a version:
  • Errors block version creation and must be resolved.
  • Warnings flag risky but non-blocking YAML patterns.
Use validateDraft() (SDKs) or POST /api/movespecs/{id}/validate (API) to check your YAML before versioning. See MoveSpec validation troubleshooting if validation fails.