File dump from old repo
This commit is contained in:
12
validations/UserValidation.js
Normal file
12
validations/UserValidation.js
Normal file
@@ -0,0 +1,12 @@
|
||||
const User = {
|
||||
"id": "/UserValidation",
|
||||
"type": Object,
|
||||
"properties": {
|
||||
"name": { "type": "string" },
|
||||
"mail": { "type": "string" },
|
||||
"password": { "type": "string" },
|
||||
},
|
||||
"required": ["name", "password", "mail"]
|
||||
};
|
||||
|
||||
module.exports = User;
|
||||
Reference in New Issue
Block a user