{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "nestedtest",
    "type": "object",
    "properties": {},
    "required": [
        "top"
    ],
    "definitions": {
        "top": {
            "type": "object",
            "properties": {
                "basic": {
                    "type": "string"
                },
                "nested": {
                    "$ref": "#/definitions/top/definitions/defnested"
                }
            },
            "definitions": {
                "defnested": {
                    "type": "object",
                    "properties": {
                        "append": {
                            "type": "string"
                        }
                    }
                }
            }
        }
    }
}