expressCart/lib/schemas/newUser.json

25 lines
473 B
JSON

{
"$id": "newUser",
"type": "object",
"properties": {
"usersName": {
"type": "string"
},
"userEmail": {
"type": "string",
"format": "emailAddress"
},
"userPassword": {
"type": "string"
},
"isAdmin": {
"type": "boolean"
}
},
"required": [
"usersName",
"userEmail",
"userPassword",
"isAdmin"
]
}