support for embedded schema