package com.cameleer.server.app.alerting.dto;

import java.util.Map;

/**
 * Canned context for rendering a Mustache template preview without firing a real alert.
 * All fields are optional — missing context keys render as empty string.
 */
public record RenderPreviewRequest(Map<String, Object> context) {
    public RenderPreviewRequest {
        context = context == null ? Map.of() : Map.copyOf(context);
    }
}
