add view and facet validation