expressCart/lib/schemas/editUser.json

19 lines
365 B
JSON

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