Validate project JSON
validate_project_jsonValidate a Zvid project payload for errors and layout warnings before rendering. Optionally run server-side validation against your plan limits.
Instructions
Validate a Zvid project payload BEFORE rendering (free, no credits). Returns { valid, errors: [{field, message}], warnings }. Warnings include LAYOUT LINT — overlapping texts, x/y ignored by position presets, boxes extending off-canvas, padding that will get cut off, low text contrast — treat every layout warning as a fix-before-render item. Local validation mirrors the backend rules; set remote: true to ALSO run the payload through the live API validator (POST /api/render/validate/api-key — resolves templates and applies your plan's real limits).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Validate as a bare "project" payload (default) or as a full "render-request" body | |
| remote | No | Also validate server-side against your account's actual plan limits (default true; set false only for offline diagnostics) | |
| payload | Yes | The project JSON to validate (the `payload` you would pass to create_render) |