{
    "$schema": "http://json-schema.org/draft-06/schema#",
    "properties": {
        "bar": {
            "$ref": "#/definitions/nonNegativeInteger"
        },
        "baz": {
            "type": "integer",
            "minimum": 0
        }
    },
    "definitions": {
        "nonNegativeInteger": {
            "type": "integer",
            "minimum": 0
        }
    }
}