{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "definitions": {
        "dog": {
            "type": "string",
            "maxLength": 10
        }
    },
    "properties": {
        "dog": {
            "$ref": "#/definitions/dog"
        }
    },
    "required": [
        "dog"
    ]
}