Depending on the property type I would like to include a subschema so I wrote:
type
"allOf": [ { "if": { &