implement of shwoShema and getSchema