   /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/ # uuid
 )
 
+appName = Joi.string().min(1).max(100).regex(/^[\w\-]+$/)
+
 adminUser =
   id: User.ADMIN.id
   username: User.ADMIN.username

    Joi.number().integer().min(MIN_SAFE_INTEGER).max(MAX_SAFE_INTEGER)

module.exports = {
  id: id
  user
  adminUser
  accessToken

event =
  # LEGACY START
  # This should not be optional
  app: appName.optional()
  # LEGACY END
  inviterId: id.optional()
  event: Joi.string().min(1).max(100).token() # Arbitrary min and max
