Depend on javax.validation, not Hibernate specifics.