get schema from request instead of search