metamaps--metamaps/doc/api/schemas/_current_user.json

35 lines
488 B
JSON
Raw Permalink Normal View History

{
"name": "User",
"type": "object",
"properties": {
"id": {
"$ref": "_id.json"
},
"name": {
"type": "string"
},
"avatar": {
"format": "uri",
"type": "string"
},
"generation": {
"type": "integer",
"minimum": 0
},
"is_admin": {
"type": "boolean"
},
"email": {
"type": "string"
}
},
"required": [
"id",
"name",
"avatar",
"generation",
"is_admin",
"email"
]
}