Validate HyperCodeMotion JSON
validate_jsonRead-onlyIdempotent
Check a composition (layers), design (elements), or improvement patch (add/change/remove/sfx) and return actionable errors and warnings. This is preliminary validation, not proof of a successful render.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | HyperCodeMotion JSON object or JSON-encoded string to validate. | |
| composition | No | Optional original composition used to resolve patch references and timings. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| valid | Yes | ||
| errors | Yes | ||
| format | Yes | ||
| warnings | Yes | ||
| fullyValidated | Yes | ||
| contractVersion | Yes |