AirSign · Schema

CreateTemplateRequest

Provide exactly one of `document` or `files`.

CompanyE-SignatureDigital SignatureAustralia

Properties

Name Type Description
name string
document object
files array
recipients array
variables array Every `{{{token}}}` used in the document must be declared here.
activate boolean `true` creates the template as `active`; `false` creates a `draft` to review and activate in the editor.
expiryDays integer Default for sessions created from this template. Requires the Session Expiry plan feature.
reminderEnabled boolean Default for sessions created from this template. Requires the Session Expiry plan feature.
reminderFrequency object
View JSON Schema on GitHub

JSON Schema

airsign-com-au-create-template-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/airsign-com-au/json-schema/airsign-com-au-create-template-request-schema.json",
  "title": "CreateTemplateRequest",
  "description": "Provide exactly one of `document` or `files`.",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/airsign-com-au-api-docs-openapi.json#/components/schemas/CreateTemplateRequest",
  "type": "object",
  "required": [
    "name",
    "recipients"
  ],
  "oneOf": [
    {
      "required": [
        "document"
      ]
    },
    {
      "required": [
        "files"
      ]
    }
  ],
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 50
    },
    "document": {
      "$ref": "#/$defs/BlockDocument"
    },
    "files": {
      "type": "array",
      "minItems": 1,
      "maxItems": 10,
      "items": {
        "$ref": "#/$defs/FileEntry"
      }
    },
    "recipients": {
      "type": "array",
      "minItems": 1,
      "maxItems": 20,
      "items": {
        "$ref": "#/$defs/TemplateRecipientInput"
      }
    },
    "variables": {
      "type": "array",
      "maxItems": 50,
      "description": "Every `{{{token}}}` used in the document must be declared here.",
      "items": {
        "$ref": "#/$defs/TemplateVariableInput"
      }
    },
    "activate": {
      "type": "boolean",
      "default": false,
      "description": "`true` creates the template as `active`; `false` creates a `draft` to review and activate in the editor."
    },
    "expiryDays": {
      "type": "integer",
      "minimum": 1,
      "maximum": 730,
      "description": "Default for sessions created from this template. Requires the Session Expiry plan feature."
    },
    "reminderEnabled": {
      "type": "boolean",
      "description": "Default for sessions created from this template. Requires the Session Expiry plan feature."
    },
    "reminderFrequency": {
      "$ref": "#/$defs/ReminderFrequency"
    }
  },
  "$defs": {
    "Align": {
      "type": "string",
      "enum": [
        "left",
        "center",
        "right"
      ]
    },
    "Block": {
      "description": "One block of a block document, selected by `type`.",
      "oneOf": [
        {
          "$ref": "#/$defs/HeadingBlock"
        },
        {
          "$ref": "#/$defs/ParagraphBlock"
        },
        {
          "$ref": "#/$defs/BulletListBlock"
        },
        {
          "$ref": "#/$defs/SpacerBlock"
        },
        {
          "$ref": "#/$defs/PageBreakBlock"
        },
        {
          "$ref": "#/$defs/ImageBlock"
        },
        {
          "$ref": "#/$defs/FieldBlock"
        },
        {
          "$ref": "#/$defs/FieldRowBlock"
        },
        {
          "$ref": "#/$defs/SignatureBlock"
        }
      ]
    },
    "BlockDocument": {
      "type": "object",
      "description": "A document described as a flow of blocks, laid out by AirSign on A4 portrait pages\nwith automatic wrapping, page breaks and field placement. See\nhttps://airsign.com.au/api-docs/block-document-format\n",
      "required": [
        "format",
        "title",
        "blocks"
      ],
      "properties": {
        "format": {
          "type": "string",
          "enum": [
            "blocks"
          ]
        },
        "title": {
          "type": "string",
          "description": "Shown in the header band of every page. Must fit on one line (roughly 30 characters) or the request is rejected."
        },
        "subtitle": {
          "type": "string",
          "maxLength": 200
        },
        "footerLabel": {
          "type": "string",
          "description": "Footer text; page numbers are appended automatically. Defaults to the title."
        },
        "theme": {
          "$ref": "#/$defs/Theme"
        },
        "logo": {
          "$ref": "#/$defs/Logo"
        },
        "blocks": {
          "type": "array",
          "minItems": 1,
          "maxItems": 500,
          "items": {
            "$ref": "#/$defs/Block"
          }
        }
      }
    },
    "BlocksFileEntry": {
      "type": "object",
      "required": [
        "type",
        "document"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "blocks"
          ]
        },
        "document": {
          "$ref": "#/$defs/BlockDocument"
        }
      }
    },
    "BulletListBlock": {
      "type": "object",
      "required": [
        "type",
        "items"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "bulletList"
          ]
        },
        "items": {
          "type": "array",
          "minItems": 1,
          "maxItems": 50,
          "items": {
            "type": "string"
          }
        }
      }
    },
    "DateFormat": {
      "type": "string",
      "enum": [
        "DD/MM/YYYY",
        "DD/MM/YY",
        "MM/DD/YYYY",
        "MM/DD/YY",
        "YYYY-MM-DD",
        "MM/YYYY",
        "MM/YY"
      ],
      "default": "DD/MM/YYYY"
    },
    "FieldBlock": {
      "description": "A single input field spanning the content width.",
      "allOf": [
        {
          "type": "object",
          "required": [
            "type"
          ],
          "properties": {
            "type": {
              "type": "string",
              "enum": [
                "field"
              ]
            }
          }
        },
        {
          "$ref": "#/$defs/FieldProperties"
        }
      ]
    },
    "FieldProperties": {
      "type": "object",
      "description": "An input the recipient fills in while signing.",
      "required": [
        "fieldType",
        "label",
        "recipient"
      ],
      "properties": {
        "fieldType": {
          "$ref": "#/$defs/FieldType"
        },
        "label": {
          "type": "string",
          "description": "Printed above the input (beside it for a single checkbox). Required fields get a `*`."
        },
        "recipient": {
          "type": "string",
          "description": "Key of the recipient who fills the field in."
        },
        "name": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_-]+$",
          "description": "Stable key the value is stored under. Defaults to a slug of the label; must be unique within the document."
        },
        "required": {
          "type": "boolean",
          "description": "Defaults to `true` for every type except `checkbox`."
        },
        "placeholder": {
          "type": "string"
        },
        "options": {
          "type": "array",
          "minItems": 1,
          "maxItems": 20,
          "items": {
            "type": "string"
          },
          "description": "Required for `radio` and `dropdown` (at least 2); optional on `checkbox` to make a multi-select group."
        },
        "dateFormat": {
          "$ref": "#/$defs/DateFormat"
        }
      }
    },
    "FieldRowBlock": {
      "type": "object",
      "description": "Two or three inputs side by side in equal columns, kept whole on one page.",
      "required": [
        "type",
        "fields"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "fieldRow"
          ]
        },
        "fields": {
          "type": "array",
          "minItems": 2,
          "maxItems": 3,
          "items": {
            "$ref": "#/$defs/FieldProperties"
          }
        }
      }
    },
    "FieldType": {
      "type": "string",
      "description": "Input field type.",
      "enum": [
        "text",
        "multilineText",
        "date",
        "number",
        "email",
        "auMobile",
        "checkbox",
        "radio",
        "dropdown",
        "initials"
      ]
    },
    "FileEntry": {
      "description": "A document in a session or template - a block document or a previously uploaded PDF.",
      "oneOf": [
        {
          "$ref": "#/$defs/BlocksFileEntry"
        },
        {
          "$ref": "#/$defs/UploadedPdfFileEntry"
        }
      ]
    },
    "HeadingBlock": {
      "type": "object",
      "description": "A bold section heading, never left orphaned at the bottom of a page.",
      "required": [
        "type",
        "text"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "heading"
          ]
        },
        "text": {
          "type": "string",
          "maxLength": 500
        }
      }
    },
    "HexColor": {
      "type": "string",
      "pattern": "^#[0-9a-fA-F]{6}$"
    },
    "ImageBlock": {
      "type": "object",
      "description": "An inline picture uploaded with Upload Image. Height follows the aspect ratio.",
      "required": [
        "type",
        "fileId"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "image"
          ]
        },
        "fileId": {
          "type": "string"
        },
        "width": {
          "type": "number",
          "minimum": 20,
          "maximum": 483,
          "description": "Points. Defaults to the pixel width capped at the content width (483 points)."
        },
        "align": {
          "$ref": "#/$defs/Align"
        }
      }
    },
    "Logo": {
      "type": "object",
      "description": "An image from Upload Image, shown at the right of the header band on every page (fits a 130 x 60 point slot).",
      "required": [
        "fileId"
      ],
      "properties": {
        "fileId": {
          "type": "string"
        },
        "width": {
          "type": "number",
          "minimum": 20,
          "maximum": 130
        }
      }
    },
    "PageBreakBlock": {
      "type": "object",
      "description": "Forces the next block onto a new page.",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "pageBreak"
          ]
        },
        "header": {
          "type": [
            "object",
            "null"
          ],
          "description": "Omit to keep the document header, `null` for no header band, or an object to retitle that page.",
          "properties": {
            "title": {
              "type": "string"
            },
            "subtitle": {
              "type": "string"
            }
          }
        }
      }
    },
    "ParagraphBlock": {
      "type": "object",
      "description": "Body text with automatic wrapping. Use `\\n` for line breaks.",
      "required": [
        "type",
        "text"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "paragraph"
          ]
        },
        "text": {
          "type": "string"
        },
        "fontSize": {
          "type": "number",
          "minimum": 7,
          "maximum": 24
        },
        "bold": {
          "type": "boolean"
        },
        "muted": {
          "type": "boolean",
          "description": "Renders in grey for fine print."
        },
        "align": {
          "$ref": "#/$defs/Align"
        }
      }
    },
    "PdfField": {
      "type": "object",
      "description": "A field placed on an uploaded PDF, either by anchor (`anchor`, `placement`, ...) or\nabsolutely (`page`, `x`, `y` in PDF points from the top-left; A4 is 595 x 842).\nField names must be unique within a file (imported names count).\n",
      "required": [
        "fieldType"
      ],
      "properties": {
        "fieldType": {
          "type": "string",
          "enum": [
            "text",
            "multilineText",
            "date",
            "number",
            "email",
            "auMobile",
            "checkbox",
            "radio",
            "dropdown",
            "initials",
            "signature",
            "dateSigned",
            "signerName"
          ]
        },
        "label": {
          "type": "string"
        },
        "recipient": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "required": {
          "type": "boolean"
        },
        "placeholder": {
          "type": "string"
        },
        "options": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "dateFormat": {
          "$ref": "#/$defs/DateFormat"
        },
        "anchor": {
          "type": "string",
          "description": "Text to find in the PDF (case-insensitive); the field is placed relative to it."
        },
        "placement": {
          "type": "string",
          "enum": [
            "right",
            "below",
            "above",
            "left",
            "over"
          ],
          "default": "right"
        },
        "anchorOccurrence": {
          "type": "integer"
        },
        "offsetX": {
          "type": "number"
        },
        "offsetY": {
          "type": "number"
        },
        "page": {
          "type": "integer",
          "minimum": 1
        },
        "x": {
          "type": "number"
        },
        "y": {
          "type": "number"
        },
        "w": {
          "type": "number",
          "description": "Width. Defaults: signature 100, text 200, checkbox/radio 12, initials 60."
        },
        "h": {
          "type": "number",
          "description": "Height. Defaults: signature 50, text 15, checkbox/radio 12, initials 40."
        },
        "optionSpacing": {
          "type": "number",
          "default": 60
        },
        "optionDirection": {
          "type": "string",
          "enum": [
            "row",
            "column"
          ]
        }
      }
    },
    "ReminderFrequency": {
      "type": "string",
      "enum": [
        "daily",
        "weekly",
        "monthly",
        "quarterly"
      ]
    },
    "SignatureBlock": {
      "type": "object",
      "description": "A signature area with name, date-signed and signature fields bound to one recipient. Every signer should get exactly one.",
      "required": [
        "type",
        "recipient",
        "label"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "signatureBlock"
          ]
        },
        "recipient": {
          "type": "string",
          "description": "Must match a `key` in the request's `recipients`."
        },
        "label": {
          "type": "string",
          "maxLength": 100
        }
      }
    },
    "SpacerBlock": {
      "type": "object",
      "description": "A vertical gap.",
      "required": [
        "type",
        "height"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "spacer"
          ]
        },
        "height": {
          "type": "number",
          "minimum": 1,
          "maximum": 600,
          "description": "Height in points."
        }
      }
    },
    "TemplateRecipientInput": {
      "type": "object",
      "required": [
        "key"
      ],
      "properties": {
        "key": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_-]+$"
        },
        "name": {
          "type": "string",
          "description": "May be a `{{{variable}}}` token or left blank to fill in at session creation."
        },
        "email": {
          "type": "string",
          "description": "May be a `{{{variable}}}` token or left blank to fill in at session creation."
        },
        "signingOrder": {
          "type": "integer"
        },
        "requireAccessPassword": {
          "type": "boolean",
          "default": false,
          "description": "Each session created from the template gets its own password."
        }
      }
    },
    "TemplateVariableInput": {
      "type": "object",
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "text",
            "date",
            "number"
          ],
          "default": "text"
        },
        "required": {
          "type": "boolean",
          "default": true
        },
        "defaultValue": {
          "type": "string"
        },
        "description": {
          "type": "string"
        }
      }
    },
    "Theme": {
      "type": "object",
      "description": "Every value is optional. Omit the theme for the classic look.",
      "properties": {
        "headerStyle": {
          "type": "string",
          "enum": [
            "line",
            "band"
          ],
          "default": "line",
          "description": "`line`: coloured title with a rule under it. `band`: a solid `primaryColor` band across the top of every page."
        },
        "primaryColor": {
          "$ref": "#/$defs/HexColor"
        },
        "accentColor": {
          "$ref": "#/$defs/HexColor"
        },
        "textColor": {
          "$ref": "#/$defs/HexColor"
        },
        "bandTextColor": {
          "$ref": "#/$defs/HexColor"
        }
      }
    },
    "UploadedPdfFileEntry": {
      "type": "object",
      "description": "References a file from Upload File. The PDF's own form fields are imported as\nAirSign fields, and fields the PDF lacks (typically the signature) are placed with\n`fields`, by anchor text or page coordinates.\n",
      "required": [
        "type",
        "fileId"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "uploadedPdf"
          ]
        },
        "fileId": {
          "type": "string",
          "description": "The uploaded file."
        },
        "fileName": {
          "type": "string",
          "description": "Display name; defaults to the uploaded name."
        },
        "importFields": {
          "type": "boolean",
          "default": true,
          "description": "Import the PDF's own form fields."
        },
        "recipient": {
          "type": "string",
          "description": "Recipient key who fills the imported fields. Defaults to the first recipient."
        },
        "importedFields": {
          "type": "object",
          "description": "Per-field tweaks keyed by the PDF field name from the upload response.",
          "additionalProperties": {
            "type": "object",
            "properties": {
              "recipient": {
                "type": "string"
              },
              "required": {
                "type": "boolean"
              },
              "exclude": {
                "type": "boolean"
              }
            }
          }
        },
        "fields": {
          "type": "array",
          "maxItems": 100,
          "items": {
            "$ref": "#/$defs/PdfField"
          }
        }
      }
    }
  }
}

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/airsign-com-au-create-template-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.