get_payload_schema
Get the JSON Schema and a worked example for a site payload. Use it before rendering to understand the structure; unknown keys are preserved and unknown section types degrade to generic sections.
Instructions
Return the JSON Schema for a site payload, plus a worked example.
Call this before render_site the first time. The schema is permissive:
unknown keys are preserved and shown on the page, and an unknown section
type degrades to a generic custom section rather than failing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_example | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||