{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "EnvelopeTemplate",
  "type": "object",
  "description": "A template that defines reusable documents, recipients, tabs, and routing for envelope workflows.",
  "properties": {
    "templateId": {
      "type": "string",
      "description": "The unique identifier of the template."
    },
    "uri": {
      "type": "string",
      "description": "The URI for the template."
    },
    "name": {
      "type": "string",
      "description": "The name of the template."
    },
    "description": {
      "type": "string",
      "description": "A description of the template."
    },
    "created": {
      "type": "string",
      "description": "The date the template was created."
    },
    "lastModified": {
      "type": "string",
      "description": "The date the template was last modified."
    },
    "lastUsed": {
      "type": "string",
      "description": "The date the template was last used."
    },
    "shared": {
      "type": "string",
      "description": "Whether the template is shared."
    },
    "folderId": {
      "type": "string",
      "description": "The folder ID containing the template."
    },
    "folderName": {
      "type": "string",
      "description": "The name of the folder containing the template."
    },
    "emailSubject": {
      "type": "string",
      "description": "The default email subject for envelopes using this template."
    },
    "emailBlurb": {
      "type": "string",
      "description": "The default email body for envelopes using this template."
    },
    "signingLocation": {
      "type": "string",
      "description": "The signing location setting."
    },
    "documents": {
      "type": "array",
      "description": "The documents included in the template."
    },
    "status": {
      "type": "string",
      "description": "Template status."
    }
  }
}