Added schema for viewspecs.