APISign · Schema

CreateContractRequest

E-SignatureArtificial IntelligenceMCPContractsDeveloper Platform

Properties

Name Type Description
name string
template_id string Active template ID (cuid). Omit for a blank contract.
content string Markdown. Required for blank contracts; rejected with template_id.
variables object Values substituted into the template. Required for every creator-completed template field. Rejected for blank contracts.
fields array Required for blank contracts; rejected with template_id.
signers array
expires_in_days integer
test_mode boolean Fixed at creation
metadata object
View JSON Schema on GitHub

JSON Schema

apisign-io-create-contract-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/apisign-io/json-schema/apisign-io-create-contract-request-schema.json",
  "title": "CreateContractRequest",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/apisign-io-openapi.yml#/components/schemas/CreateContractRequest",
  "type": "object",
  "required": [
    "name",
    "signers"
  ],
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "template_id": {
      "type": "string",
      "description": "Active template ID (cuid). Omit for a blank contract."
    },
    "content": {
      "type": "string",
      "description": "Markdown. Required for blank contracts; rejected with template_id."
    },
    "variables": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Values substituted into the template. Required for every creator-completed template field. Rejected for blank contracts."
    },
    "fields": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FieldDefinition"
      },
      "description": "Required for blank contracts; rejected with template_id."
    },
    "signers": {
      "type": "array",
      "minItems": 1,
      "items": {
        "$ref": "#/$defs/CreateSignerInput"
      }
    },
    "expires_in_days": {
      "type": "integer",
      "minimum": 1,
      "maximum": 365,
      "default": 30
    },
    "test_mode": {
      "type": "boolean",
      "default": false,
      "description": "Fixed at creation"
    },
    "metadata": {
      "type": "object"
    }
  },
  "$defs": {
    "CreateSignerInput": {
      "type": "object",
      "required": [
        "email",
        "name",
        "signing_order"
      ],
      "properties": {
        "email": {
          "type": "string",
          "format": "email"
        },
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 255
        },
        "signing_order": {
          "type": "integer",
          "minimum": 1,
          "description": "Unique per contract. Display order only; does not enforce a signing sequence."
        },
        "company": {
          "type": "string",
          "maxLength": 255
        },
        "mobile": {
          "type": "string",
          "description": "Stored only; nothing is sent to it"
        },
        "signerFields": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Variable names this signer fills in. Required on every signer when there is more than one signer; each needs a signature field no other signer has."
        }
      }
    },
    "FieldDefinition": {
      "type": "object",
      "required": [
        "name",
        "type",
        "completedBy"
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "Variable name without braces"
        },
        "type": {
          "type": "string",
          "description": "signature, initials, signer_name, timestamp, text, email, phone or date"
        },
        "completedBy": {
          "type": "string",
          "enum": [
            "signer",
            "creator"
          ]
        },
        "label": {
          "type": "string",
          "description": "Prompt shown for a text field"
        }
      }
    }
  }
}

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/apisign-io-create-contract-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.