SHARE
TWEET

Untitled

a guest Oct 23rd, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const schema = Joi.object().keys({
  2.         name: Joi.string().required(),
  3.     email: Joi.string().email().required(),
  4.     password: Joi.string().regex(/^[a-zA-Z0-9]{6,30}$/).required(),
  5.     phoneNumber: Joi.string().regex(/^[+0-9][0-9]{8,16}$/).required(),
  6.     branch: Joi.string().regex(/^[0-9A-Fa-f][0-9A-Fa-f]{22,25}$/).required(),
  7.     address:
  8.     });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top