Moved query, projection, sort, and error json schemas from crud to query-api