add schema if missing in resource url