{
    "properties": {
        "User": {
            "_id": "/User",
            "properties": {
                "email": {
                    "_id": "/User/email",
                    "type": "string"
                },
                "firstName": {
                    "_id": "/User/firstName",
                    "type": "string"
                },
                "lastName": {
                    "_id": "/User/lastName",
                    "type": "string"
                },
                "password": {
                    "_id": "/User/password",
                    "type": "string"
                }
            },
            "required": [
                "firstName",
                "lastName",
                "password",
                "email"
            ],
            "type": "object"
        },
        "emails": {
            "_id": "/emails",
            "items": {
                "_id": "/emails/0",
                "properties": {
                    "_id": {
                        "id": "/emails/0/id",
                        "type": "string"
                    },
                    "author": {
                        "_id": "/emails/0/author",
                        "type": "string"
                    },
                    "html": {
                        "_id": "/emails/0/html",
                        "type": "string"
                    },
                    "subject": {
                        "_id": "/emails/0/subject",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "type": "array"
        }
    },
    "required": [
        "User",
        "emails"
    ],
    "type": "object"
}