rendry-io · Schema

BatchTaskPreview

How the table maps onto the template, and what the batch will cost — nothing is created.

CompanyImage RenderingPDF GenerationTemplate EngineAI Integration

Properties

Name Type Description
columns array Header row of the table
rows_total integer
max_cost_credits number What the batch charges up front if every row renders: rows × the page price of this template in the format passed
sample_rows array The first data rows, as cells
variables array Every {variable} the template accepts
suggested_mapping object column -> variable, by name
unmatched_variables array Variables no column feeds; they render with the template's sample value
variables_without_sample array Variables that have neither a column nor a sample: a row that leaves them unfed FAILS
inputs array Present for a template that computes some of its values (a template or formula definition): the class, mode and dependencies of every name. Absent otherwise.
View JSON Schema on GitHub

JSON Schema

rendry-io-batch-task-preview-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rendry-io/json-schema/rendry-io-batch-task-preview-schema.json",
  "title": "BatchTaskPreview",
  "description": "How the table maps onto the template, and what the batch will cost — nothing is created.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rendry-io-batch-tasks-api-openapi.yml#/components/schemas/BatchTaskPreview",
  "type": "object",
  "properties": {
    "columns": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Header row of the table"
    },
    "rows_total": {
      "type": "integer"
    },
    "max_cost_credits": {
      "type": "number",
      "description": "What the batch charges up front if every row renders: rows × the page price of this template in the format passed"
    },
    "sample_rows": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "description": "The first data rows, as cells"
    },
    "variables": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Every {variable} the template accepts"
    },
    "suggested_mapping": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "column -> variable, by name"
    },
    "unmatched_variables": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Variables no column feeds; they render with the template's sample value"
    },
    "variables_without_sample": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Variables that have neither a column nor a sample: a row that leaves them unfed FAILS"
    },
    "inputs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/InputDescriptor"
      },
      "description": "Present for a template that computes some of its values (a template or formula definition): the class, mode and dependencies of every name. Absent otherwise."
    }
  },
  "$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."
    },
    "InputDescriptor": {
      "type": "object",
      "description": "One name of a template that computes some of its values: the `inputs` of POST /presets/{id}/share, POST /batch-tasks/preview and the MCP preset tools, beside `variables` (what a caller sends). Present only for a template with a template or formula definition. Never carries a source or a value.",
      "required": [
        "name",
        "class",
        "used"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "class": {
          "type": "string",
          "enum": [
            "required",
            "defaulted",
            "computed",
            "fact"
          ],
          "description": "required: referenced and never authored — send it, or the render refuses. defaulted: an authored text a caller may replace. computed: a template or formula the template evaluates; a literal a caller sends replaces it for that call and cuts its dependencies. fact: page or pages, the engine's — cannot be supplied."
        },
        "mode": {
          "type": "string",
          "enum": [
            "text",
            "template",
            "formula"
          ],
          "description": "The authored mode of a definition; absent for a name that has none."
        },
        "dependencies": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The names a computed definition references, sorted."
        },
        "used": {
          "type": "boolean",
          "description": "Content reaches this name, directly or through computed definitions. An unused authored definition is still listed: removing one is an explicit act. Not what a render needs: every template and formula is evaluated on every render, drawn or not, so a required name that only an undrawn definition reads is still required and is listed in `variables`."
        },
        "format": {
          "$ref": "#/$defs/DisplayFormat"
        }
      }
    }
  }
}

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/rendry-io-batch-task-preview"
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.