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

27 lines
365 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
}
},
"required": [
"id",
"name",
"avatar",
"generation"
]
}