var joi = require('joi') // check if not empty string const notEmptyString = joi.string().regex(/^[^s]+$/).required()