d193c9a53c
* add starred to maps API and endpoint to create/delete * add token to requests without token param * add minor version number to api version * metacode/user use uri in schema * make code climate happier
29 lines
414 B
JSON
29 lines
414 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"
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"name",
|
|
"avatar",
|
|
"generation"
|
|
]
|
|
}
|