{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/turbodocx/json-schema/turbodocx-get-template-templateid-response-schema.json",
  "title": "GetTemplateTemplateidResponse",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/turbodocx-openapi-generated.yml#/components/schemas/GetTemplateTemplateidResponse",
  "type": "object",
  "properties": {
    "data.results.id": {
      "type": "string",
      "description": "Template ID."
    },
    "data.results.name": {
      "type": "string",
      "description": "Template name."
    },
    "data.results.description": {
      "type": "string",
      "description": "Template description."
    },
    "data.results.isActive": {
      "type": "boolean",
      "description": "Whether the template is active."
    },
    "data.results.createdOn": {
      "type": "string",
      "description": "Creation timestamp."
    },
    "data.results.updatedOn": {
      "type": "string",
      "description": "Last update timestamp."
    },
    "data.results.createdBy": {
      "type": "string",
      "description": "User ID of the creator."
    },
    "data.results.firstName": {
      "type": "string",
      "description": "Creator's first name."
    },
    "data.results.lastName": {
      "type": "string",
      "description": "Creator's last name."
    },
    "data.results.email": {
      "type": "string",
      "description": "Creator's email."
    },
    "data.results.orgId": {
      "type": "string",
      "description": "Organization ID."
    },
    "data.results.templateFolderId": {
      "type": "string",
      "description": "Folder ID the template belongs to (null if none)."
    },
    "data.results.defaultFont": {
      "type": "string",
      "description": "Default font for the template."
    },
    "data.results.fonts": {
      "type": "array",
      "description": "Array of font objects."
    },
    "data.results.metadata": {
      "type": "object",
      "description": "Custom metadata."
    },
    "data.results.templateFileType": {
      "type": "string",
      "description": "MIME type of the template file."
    },
    "data.results.isTurboDocxProvided": {
      "type": "boolean",
      "description": "True if the template is read‑only TurboDocx‑provided."
    },
    "data.results.deliverableCount": {
      "type": "integer",
      "description": "Number of deliverables using this template."
    },
    "data.results.variables": {
      "type": "array",
      "description": "List of variable definitions."
    },
    "data.results.variables[].placeholder": {
      "type": "string",
      "description": "Placeholder token."
    },
    "data.results.variables[].name": {
      "type": "string",
      "description": "Variable name."
    },
    "data.results.variables[].mimeType": {
      "type": "string",
      "description": "MIME type of the variable."
    },
    "data.results.variables[].order": {
      "type": "integer",
      "description": "Order of the variable."
    },
    "data.results.variables[].count": {
      "type": "integer",
      "description": "Occurrence count."
    }
  }
}