{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "definitions": {
        "dog": {
            "type": "string",
            "enum": [
                "Border Collie",
                "Golden Retriever"
            ]
        }
    },
    "properties": {
        "dog": {
            "$ref": "#/definitions/dog"
        }
    },
    "required": [
        "dog"
    ]
}