{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/EmailTemplateUpdate", "title": "EmailTemplateUpdate", "type": "object", "description": "Request body for updating an email template", "required": [ "templateId" ], "properties": { "templateId": { "type": "integer", "description": "Template ID to update" }, "name": { "type": "string", "description": "Updated template name" }, "subject": { "type": "string", "description": "Updated email subject line" }, "preheaderText": { "type": "string", "description": "Updated preheader text" }, "html": { "type": "string", "description": "Updated HTML content" }, "plainText": { "type": "string", "description": "Updated plain text content" }, "fromName": { "type": "string", "description": "Updated from name" }, "fromEmail": { "type": "string", "format": "email", "description": "Updated from email address" } } }