expressCart/lib/schemas/editUser.json

24 lines
450 B
JSON

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