{ "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "_id": { "maxLength": 64, "minLength": 2, "pattern": "^[0-9a-z.@_-]*$", "title": "ID", "type": "string" }, "firstname": { "maxLength": 64, "minLength": 1, "title": "First Name", "type": "string" }, "lastname": { "maxLength": 64, "minLength": 1, "title": "Last Name", "type": "string" }, "email": { "format": "email", "title": "Email", "type": "string" }, "avatars": { "$ref": "avatars.json"}, "avatar": { "format": "uri", "title": "Avatar", "type": "string" }, "root": { "type": "boolean"}, "disabled": { "type": "boolean"}, "preferences": { "title": "Preferences", "type": "object" }, "api_key":{ "type":"object", "properties":{ "key": {"type": "string"}, "created": {"$ref":"../definitions/created-modified.json#/definitions/created"}, "last_used": {} }, "additionalProperties":false }, "user-input":{ "type":"object", "properties":{ "_id":{"$ref":"#/definitions/_id"}, "firstname":{"$ref":"#/definitions/firstname"}, "lastname":{"$ref":"#/definitions/lastname"}, "email":{"$ref":"#/definitions/email"}, "avatar":{"$ref":"#/definitions/avatar"}, "avatars":{"$ref":"#/definitions/avatars"}, "root":{"$ref":"#/definitions/root"}, "disabled":{"$ref":"#/definitions/disabled"}, "preferences":{"$ref":"#/definitions/preferences"} }, "additionalProperties":false }, "user-output":{ "type":"object", "properties":{ "_id":{"$ref":"#/definitions/_id"}, "firstname":{"$ref":"#/definitions/firstname"}, "lastname":{"$ref":"#/definitions/lastname"}, "email":{"$ref":"#/definitions/email"}, "avatar":{"$ref":"#/definitions/avatar"}, "avatars":{"$ref":"#/definitions/avatars"}, "root":{"$ref":"#/definitions/root"}, "disabled":{"$ref":"#/definitions/disabled"}, "preferences":{"$ref":"#/definitions/preferences"}, "created":{"$ref":"../definitions/created-modified.json#/definitions/created"}, "modified":{"$ref":"../definitions/created-modified.json#/definitions/modified"} }, "additionalProperties":false } } }