metamaps--metamaps/doc/api/schemas/_current_user.json
Devin Howard 5e0e44b436 supercharge the schemas (#874)
* fix map schema - woot it works

* update other schemas to include embeddable attrs

* update current user schema/examples
2016-10-29 22:58:31 +08:00

34 lines
488 B
JSON

{
"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"
]
}