Pass spec to validator