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

30 lines
414 B
JSON
Raw Permalink Normal View History

2016-10-04 14:24:47 +00:00
{
"name": "User",
"type": "object",
"properties": {
"id": {
"$ref": "_id.json"
},
"name": {
"type": "string"
},
"avatar": {
"format": "uri",
2016-10-04 14:24:47 +00:00
"type": "string"
},
"generation": {
"type": "integer",
"minimum": 0
},
"is_admin": {
"type": "boolean"
}
},
"required": [
"id",
"name",
"avatar",
"generation"
]
}