"inputs": Validator.Input,
"startTime": "positiveInteger",
"endTime": "positiveInteger",
+ "discoTime": "positiveInteger",
+ "discoCount": "positiveInteger",
+ "totalDisco": "positiveInteger",
"password": "password",
};
"display": "alphanumeric", //"one" or "all"
"time": "integer",
"introduction": "string",
- "conclusion": "string",
"coefficient": "number",
"questions": Validator.Question,
"papers": Validator.Paper,
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",
};