{ "type": "object", "description": "User object", "required": ["id", "created_on", "modified_on", "is_disabled", "email", "name", "nickname", "avatar", "roles"], "additionalProperties": false, "properties": { "id": { "$ref": "../common.json#/properties/id" }, "created_on": { "$ref": "../common.json#/properties/created_on" }, "modified_on": { "$ref": "../common.json#/properties/modified_on" }, "is_disabled": { "type": "boolean", "description": "Is user Disabled", "example": true }, "email": { "type": "string", "description": "Email", "minLength": 3, "example": "jc@jc21.com" }, "name": { "type": "string", "description": "Name", "minLength": 1, "example": "Jamie Curnow" }, "nickname": { "type": "string", "description": "Nickname", "example": "James" }, "avatar": { "type": "string", "description": "Gravatar URL based on email, without scheme", "example": "//www.gravatar.com/avatar/6193176330f8d38747f038c170ddb193?default=mm" }, "roles": { "description": "Roles applied", "example": ["admin"], "type": "array", "items": { "type": "string" } }, "permissions": { "$ref": "./permission-object.json" } } }