remake the schemas as references