Added a method to validate against a schema specified by a URL object.