# Notification templates Templates define deterministic payloads per channel and locale. Template lifecycle - Create templates via API or UI. - Rule actions reference template keys. - Worker renders templates with a safe helper set. Template schema (summary) - templateId, tenantId, channelType, key, locale. - body, renderMode, format, metadata. - schemaVersion is normalized on persistence. Template context - event, scope, payload, rule, action, policy. - topFindings and digest metadata when available. Attestation lifecycle templates - Dedicated template keys for attestation failures, expiries, key rotation, and transparency anomalies. - Templates must include subject, signer, and evidence links. Related references - docs/notifications/templates.md