validate_spec
Validate a JSON document spec without rendering, catching errors early. In strict mode, also resolve the spec via the engine to get flowable counts and warnings, ensuring spec integrity before PDF generation.
Instructions
Validate a document spec without rendering it.
With strict, also resolve the spec through the engine and report the
flowable count and engine warnings. Strict resolution needs reportlab.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| strict | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |