added embedded schema