Get schema from config instead of hard coded