Autype icon

Autype

Interact with the Autype Developer API for document generation, PDF tools, and more

Render → Validate JSON

AI-generated

Summary

Validate a document JSON without rendering or charging credits

Inputs

  • config (required) — Complete document JSON following the Autype document schema. Must include 'document' (with 'type') and 'sections'. Use ${varName} syntax for variable placeholders to avoid conflicts with n8n expressions.
  • strict — Whether to enable strict validation mode (validates anchors, references, citations, abbreviations)

Output shape

JSON response from the Autype API at POST /render/validate, returned as { json: responseData, pairedItem: { item: i } }.

No rendering occurs; no credits are charged. Invalid JSON in 'config' throws a NodeOperationError.

Examples

Example 1: Validate a minimal Autype document

Provide config JSON with 'document.type' and 'sections' array; optionally set 'strict' to true for stricter schema checks.

Links

Discussion