Casa Intelligence · Schema

RenderPdfRequest

The HTML+CSS payload Casa Daily POSTs to us. `html` is the FULL document — DOCTYPE, ``, ``, `

JSON Schema

casaintelligence-com-au-render-pdf-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/casaintelligence-com-au/json-schema/casaintelligence-com-au-render-pdf-request-schema.json",
  "title": "RenderPdfRequest",
  "description": "The HTML+CSS payload Casa Daily POSTs to us.\n\n`html` is the FULL document — DOCTYPE, `<html>`, `<head>`,\n`<style>`/`<link>`, `<body>`. WeasyPrint parses it as-is.\n\n`base_css` is an optional extra stylesheet appended to the\ndocument. We support it as a separate field so Casa Daily can\nkeep its print-grade brand CSS in one file and reuse it across\nboth report templates — it doesn't have to inline it into every\nHTML string. If present, it's added as a WeasyPrint\n`CSS(string=...)` stylesheet alongside the document's own\nembedded styles.\n\n`page_size` / `orientation` drive the `@page` rule we prepend\nso the caller doesn't have to re-state it in every template.\nThe caller's own CSS can still override these via its own\n`@page` rule (last one wins per CSS cascade).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/casaintelligence-com-au-casa-daily-render-api-openapi.yml#/components/schemas/RenderPdfRequest",
  "properties": {
    "html": {
      "type": "string",
      "maxLength": 5242880,
      "minLength": 1,
      "title": "Html",
      "description": "Full HTML document — DOCTYPE through </html>."
    },
    "base_css": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 262144
        },
        {
          "type": "null"
        }
      ],
      "title": "Base Css",
      "description": "Optional extra stylesheet, appended to the document."
    },
    "page_size": {
      "type": "string",
      "enum": [
        "A4",
        "Letter"
      ],
      "title": "Page Size",
      "description": "WeasyPrint page size — A4 or Letter.",
      "default": "A4"
    },
    "orientation": {
      "type": "string",
      "enum": [
        "portrait",
        "landscape"
      ],
      "title": "Orientation",
      "description": "Page orientation — portrait or landscape.",
      "default": "portrait"
    }
  },
  "type": "object",
  "required": [
    "html"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/casaintelligence-com-au-render-pdf-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.