submit pg compatible schema