{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/docuhook-com/json-schema/docuhook-com-post-api-v1-render-request-schema.json",
  "title": "PostApiV1RenderRequest",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/docuhook-com-openapi-generated.yml#/components/schemas/PostApiV1RenderRequest",
  "type": "object",
  "properties": {
    "mode": {
      "type": "string",
      "description": "\"sync\" for immediate response or \"async\" for background processing"
    },
    "data": {
      "type": "object",
      "description": "JSON data to merge into the template"
    },
    "html": {
      "type": "string",
      "description": "HTML template containing Handlebars‑style placeholders"
    },
    "filename": {
      "type": "string",
      "description": "Desired filename for the generated PDF"
    },
    "format": {
      "type": "string",
      "description": "\"pdf\" (default) or \"html\" to receive filled HTML instead of PDF"
    }
  },
  "required": [
    "mode",
    "data",
    "html"
  ]
}