{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "allOf Schema",
    "description": "An example of a schema with an allOf property",
    "type": "object",
    "allOf": [
        {
            "properties": {
                "foo": {
                    "description": "Fooing",
                    "type": "string",
                    "example": "Foo"
                }
            }
        },
        {
            "properties": {
                "bar": {
                    "description": "A place to get a drink",
                    "type": "object"
                }
            }
        }
    ]
}