> ## Documentation Index
> Fetch the complete documentation index at: https://docs.autype.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Variables Schema

> JSON Schema for template variable definitions — text, number, image, list, and table types.

Variables allow dynamic content replacement in documents using `{{varName}}` syntax.

<Card title="Download Schema" icon="variable" href="https://autype.com/llm-resources/variables-schema.json">
  JSON Schema (draft-07) — string, number, image, list, and table variable types
</Card>

## Variable Types

| Type     | Description                        |
| -------- | ---------------------------------- |
| `string` | Simple text replacement            |
| `number` | Numeric value                      |
| `image`  | Image URL or base64                |
| `list`   | Array of text values               |
| `table`  | Tabular data with headers and rows |

## Built-in Variables

| Variable         | Description           |
| ---------------- | --------------------- |
| `{{pageNumber}}` | Current page number   |
| `{{totalPages}}` | Total number of pages |
| `{{date}}`       | Current date          |

## Related Resources

* [JSON Syntax: Variables](/api-reference/json-syntax/variables)
* [Complete Document Schema](/automation/llm-resources/document-schema)
