pass spec into validators