{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/EmailTemplate", "title": "EmailTemplate", "type": "object", "properties": { "label": { "description": "The label of the email template", "type": "string", "example": "App registration approved" }, "name": { "$ref": "#/components/schemas/EmailTemplateName" }, "default_content": { "$ref": "#/components/schemas/DefaultEmailTemplateContent" }, "content": { "$ref": "#/components/schemas/EmailTemplateContent" }, "variables": { "type": "array", "items": { "$ref": "#/components/schemas/EmailTemplateVariableName" } }, "enabled": { "description": "Whether the email template is enabled or disabled for a portal", "type": "boolean" }, "created_at": { "$ref": "#/components/schemas/CreatedAt" }, "updated_at": { "$ref": "#/components/schemas/UpdatedAt" } }, "required": [ "name", "label", "default_content", "variables", "enabled", "created_at", "updated_at" ] }