DocumentCreateInput
Create with authored content, or copy one complete document starter. template_id is request-only; it cannot be combined with pages, master, id or document_id.
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/rendry-io/json-schema/rendry-io-document-create-input-schema.json",
"title": "DocumentCreateInput",
"description": "Create with authored content, or copy one complete document starter. template_id is request-only; it cannot be combined with pages, master, id or document_id.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/rendry-io-documents-api-openapi.yml#/components/schemas/DocumentCreateInput",
"oneOf": [
{
"$ref": "#/$defs/DocumentTemplate"
},
{
"type": "object",
"required": [
"template_id"
],
"additionalProperties": false,
"properties": {
"template_id": {
"type": "string",
"minLength": 1,
"description": "A kind:document ID from GET /templates"
},
"name": {
"type": "string",
"description": "Optional owned-copy name; defaults to the starter name"
}
}
}
],
"$defs": {
"DisplayFormat": {
"type": "object",
"additionalProperties": false,
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"number",
"currency",
"percent",
"date",
"upper",
"lower"
]
},
"decimals": {
"type": "integer",
"minimum": 0,
"maximum": 34,
"default": 0
},
"grouping": {
"type": "boolean",
"default": false
},
"decimal_mark": {
"type": "string",
"minLength": 1,
"maxLength": 1,
"default": "."
},
"group_mark": {
"type": "string",
"minLength": 1,
"maxLength": 1,
"default": ","
},
"symbol": {
"type": "string",
"maxLength": 32
},
"symbol_position": {
"type": "string",
"enum": [
"prefix",
"suffix"
],
"default": "prefix"
},
"prefix": {
"type": "string",
"maxLength": 32
},
"suffix": {
"type": "string",
"maxLength": 32
},
"pattern": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"default": "YYYY-MM-DD"
}
},
"description": "One deterministic display vocabulary. Numbers use exact arithmetic and half away from zero rounding. Currency needs symbol (a symbol or ISO code), with explicit spacing in that text. Percent multiplies a raw ratio by 100. Dates accept strict YYYY-MM-DD only and patterns D, DD, M, MM, MMM, MMMM, YY, YYYY with English month names. upper/lower use Unicode simple case mapping; no locale or multi-character expansions. No format leaves existing text untouched. Fields unrelated to the selected type are refused."
},
"DocumentCanvas": {
"type": "object",
"description": "Canvas for a PDF or HTML page. Raster-only finish_profile is intentionally unavailable and rejected by the server.",
"properties": {
"width": {
"type": "integer"
},
"height": {
"type": "integer"
},
"background_color": {
"type": "string"
},
"output_format": {
"type": "string",
"description": "The enclosing document render selects PDF or HTML."
},
"dpi": {
"type": "integer"
},
"bleed": {
"type": "integer"
},
"safe_area": {
"type": "integer"
},
"crop_marks": {
"type": "boolean"
}
},
"not": {
"required": [
"finish_profile"
]
},
"additionalProperties": true
},
"DocumentPageRef": {
"type": "object",
"description": "A page of a STORED document. On input a page may name preset_id; the server copies that template's canvas and layers in and stores the copy, so a stored page always carries its own content and later edits of the template never change the document.",
"properties": {
"canvas": {
"$ref": "#/$defs/DocumentCanvas"
},
"layers": {
"type": "array",
"items": {
"type": "object"
},
"description": "Ordinary DSL layers. Text may use text_overflow:\"clip_lines\" with positive integer max_lines and explicit width. It keeps complete native lines without an ellipsis after full-source auto_fit/fit_group; height is optional and never a second line cap. Plates size retained content; text_flow cannot truncate. Every layer, including nested children, accepts an optional literal printable single-line Unicode name label. Absent, null or empty is unnamed; duplicate labels are allowed. C0 controls (U+0000–U+001F), DEL (U+007F), and line/paragraph separators (U+2028/U+2029) are refused. Emoji, RTL and combining marks are preserved. Names never render, substitute variables, or define output IDs or metadata."
},
"modifications": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This page's sample values; a render's dynamic_data overrides them"
},
"variable_modes": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "name -> text | template | formula, as on a preset"
},
"derived": {
"type": "array",
"items": {
"type": "object"
},
"description": "Colours derived from an image layer, as on a preset"
},
"sample_rows": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"description": "Sample rows of the page's repeat groups and tables"
},
"palettes": {
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"preset_id": {
"type": "string",
"description": "Input only: the template to copy in. Not stored — the copied canvas and layers are"
},
"label": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"fixed"
],
"description": "repeat_over_rows is reserved for when per-item arrays arrive"
},
"variable_formats": {
"type": [
"object",
"null"
],
"additionalProperties": {
"$ref": "#/$defs/DisplayFormat"
},
"description": "Sparse name -> display format beside modifications and variable_modes. A name needs a source in modifications and cannot be page, pages or row.*. Applied after source evaluation and also to caller overrides; formulas consume raw exact values while templates insert formatted text. Invalid schema refuses save; invalid data refuses dry run and render before any charge, without echoing values. update_preset patches: absent or {} keeps; name:null removes; top-level null clears. Whole preset and document saves replace the map."
}
}
},
"DocumentTemplate": {
"type": "object",
"description": "A stored document as POST, GET and PUT /documents/{id} return it. Pages carry their own content: a page sent as {preset_id} is copied in at save time (see DocumentPageRef). GET /documents lists DocumentOverview rows instead, where `pages` is a count.",
"required": [
"name",
"pages"
],
"properties": {
"id": {
"type": "string"
},
"user_id": {
"type": "string"
},
"name": {
"type": "string"
},
"pages": {
"type": "array",
"maxItems": 20,
"items": {
"$ref": "#/$defs/DocumentPageRef"
}
},
"master": {
"type": "array",
"items": {
"type": "object"
},
"description": "Layers under EVERY page: logo, footer, page number ({page}/{pages} are filled in) Every layer, including nested children, accepts an optional literal printable single-line Unicode name label. Absent, null or empty is unnamed; duplicate labels are allowed. C0 controls (U+0000–U+001F), DEL (U+007F), and line/paragraph separators (U+2028/U+2029) are refused. Emoji, RTL and combining marks are preserved. Names never render, substitute variables, or define output IDs or metadata."
},
"master_first": {
"type": [
"array",
"null"
],
"items": {
"type": "object"
},
"description": "Replacement master for physical page 1, selected after pagination. Omitted/null inherits default; [] is blank. With document_id, omitted/null keeps the saved variant; reset inheritance by saving the document. Every layer, including nested children, accepts an optional literal printable single-line Unicode name label. Absent, null or empty is unnamed; duplicate labels are allowed. C0 controls (U+0000–U+001F), DEL (U+007F), and line/paragraph separators (U+2028/U+2029) are refused. Emoji, RTL and combining marks are preserved. Names never render, substitute variables, or define output IDs or metadata."
},
"master_even": {
"type": [
"array",
"null"
],
"items": {
"type": "object"
},
"description": "Replacement master for other even physical pages, selected after pagination. Omitted/null inherits default; [] is blank. With document_id, omitted/null keeps the saved variant; reset inheritance by saving the document. Every layer, including nested children, accepts an optional literal printable single-line Unicode name label. Absent, null or empty is unnamed; duplicate labels are allowed. C0 controls (U+0000–U+001F), DEL (U+007F), and line/paragraph separators (U+2028/U+2029) are refused. Emoji, RTL and combining marks are preserved. Names never render, substitute variables, or define output IDs or metadata."
},
"variables": {
"description": "Shared authored definitions, evaluated independently in each page context. Page definitions replace complete source/mode/format tuples. Literal page dynamic_data overrides request dynamic_data, which overrides authored definitions; final page/pages facts win. document_id inherits omitted/null variables; a supplied list replaces, [] clears. Full saves replace; no dynamic_data is persisted.",
"items": {
"$ref": "#/$defs/DocumentVariableDefinition"
},
"maxItems": 256,
"type": [
"array",
"null"
]
}
}
},
"DocumentVariableDefinition": {
"additionalProperties": false,
"properties": {
"format": {
"description": "Existing variable display format vocabulary, unchanged.",
"type": "object"
},
"mode": {
"default": "text",
"enum": [
"text",
"template",
"formula"
],
"type": "string"
},
"name": {
"description": "Existing variable reference grammar; names are unique within this list.",
"maxLength": 128,
"type": "string"
},
"source": {
"maxLength": 8000,
"type": "string"
}
},
"required": [
"name",
"source"
],
"type": "object"
}
}
}
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.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/rendry-io-document-create-input"
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.