{
  "type": "object",
  "properties": {
    "draft_id": {
      "type": "string",
      "minLength": 1
    },
    "customer_email": {
      "type": "string",
      "minLength": 3
    }
  },
  "required": [
    "draft_id",
    "customer_email"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://artifacts.apis.io/captain-legal/json-schema/captain-legal-purchase-document-input-schema.json",
  "title": "Create secure payment link input",
  "description": "Purchase the final document for a given draft. Returns a secure payment link to give to the user. After payment, the final PDF is emailed to the user within minutes. E-signature is not yet available.",
  "x-source": "MCP tools/list inputSchema from https://mcp.captain.legal/connect/ (2026-11-03), verbatim apart from $id/$schema/title/description"
}