add support for local subschemas and oneOf