If there is no particular reason for the validation I think it would be better to leave it on Foreman to fill validation errors.