fetch data to schema