"inputs": Validator.Input,
"startTime": "positiveInteger",
"endTime": "positiveInteger",
+ "discoTime": "positiveInteger",
+ "discoCount": "positiveInteger",
+ "totalDisco": "positiveInteger",
"password": "password",
};
Validator.User = {
"_id": "bson",
"email": "email",
- "forename": "name",
"name": "name",
"initials": "unchecked", //not a user input
"loginToken": "unchecked",
Validator.Student = {
"number": "code",
- "forename": "name",
"name": "name",
"group": "positiveInteger",
};