using FluentValidation;

public class AcknowledgeAlertRequestValidator : AbstractValidator<AcknowledgeAlertRequest>
{
    public AcknowledgeAlertRequestValidator()
    {
        RuleFor(x => x.Note).MaximumLength(1000).When(x => x.Note is not null);
    }
}