Mongoose validator for Elfrant Framework