     Joi.number().integer().min(MIN_SAFE_INTEGER).max(MAX_SAFE_INTEGER)
 
 module.exports = {
-  id: id
+  id
+  appName
   user
   adminUser
   accessToken

  /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/ # uuid
)

adminUser =
  id: User.ADMIN.id
  username: User.ADMIN.username

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
