{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/snapforge-org/json-schema/snapforge-org-post-v1-pdf-request-schema.json",
  "title": "PostV1PdfRequest",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/snapforge-org-openapi-generated.yml#/components/schemas/PostV1PdfRequest",
  "type": "object",
  "properties": {
    "html": {
      "type": "string",
      "description": "or \"url\": \"https://...\""
    },
    "url": {
      "type": "string",
      "description": "or \"html\": \"<h1>Invoice #42</h1>\""
    },
    "singlePage": {
      "type": "boolean",
      "description": "true = one tall page fit to content (no pagination)"
    },
    "pageFormat": {
      "type": "string",
      "description": "A0–A6, Letter, Legal, Tabloid"
    },
    "landscape": {
      "type": "boolean"
    },
    "margin": {
      "type": "string"
    },
    "printBackground": {
      "type": "boolean"
    }
  }
}