{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "definitions": {
        "email": {
            "type": "string",
            "format": "email"
        },
        "password": {
            "type": "string"
        },
        "givenName": {
            "type": "string"
        },
        "familyName": {
            "type": "string"
        },
        "image": {
            "type": "string",
            "format": "url"
        }
    },
    "type": "object",
    "properties": {
        "email": {
            "$ref": "#/definitions/email"
        },
        "password": {
            "$ref": "#/definitions/password"
        },
        "givenName": {
            "$ref": "#/definitions/givenName"
        },
        "familyName": {
            "$ref": "#/definitions/familyName"
        },
        "image": {
            "$ref": "#/definitions/image"
        }
    }
}