{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "id": "http://localhost:3000/schemas/register-request.json#",
    "properties": {
        "email": {
            "_format": "email",
            "type": "string"
        },
        "password": {
            "minLength": 6,
            "type": "string"
        }
    },
    "required": [
        "email",
        "password"
    ],
    "title": "Register request",
    "type": "object"
}