public EditApplicationModelValidator()
        {
            RuleFor(m => m.ApplicationId).NotEmpty();
            RuleFor(m => m.ApplicationName).NotEmpty();
            RuleFor(m => m.ApplicationName)
            .Must(name => !ApplicationExtensions.IsSystemReservedApplicationName(name))
            .WithMessage(p => $"'{ p.ApplicationName}' is a reserved name and may not be used. Please choose another name.");

            RuleFor(m => m.ClaimSetName)
            .NotEmpty()
            .WithMessage("You must choose a Claim Set");

            RuleFor(m => m.EducationOrganizationIds)
            .NotEmpty()
            .WithMessage("You must choose at least one Education Organization");

            RuleFor(m => m.Environment).NotNull();
            RuleFor(m => m.VendorId).NotEmpty();
        }