5e0e44b436
* fix map schema - woot it works * update other schemas to include embeddable attrs * update current user schema/examples
34 lines
488 B
JSON
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"
|
|
]
|
|
}
|