view_defs for extracts