Working on the getSchema