This validator should not validate three things. You should create a IsValidUrl hasValidMagentoUrl and HasValidApiUrl.