     "C1214604063-SCIOPS" ;;Line 291 - cvc-datatype-valid.1.2.1: '<http://pubs.usgs.gov/of/2014/1040/data/undersea_features.zip>' is not a valid value for 'anyURI'.
     "C1214595389-SCIOPS" ;;Line 108 - cvc-datatype-valid.1.2.1: 'IPY  http://ipy.antarcticanz.govt.nz/projects/southern-victoria-land-geology/' is not a valid value for 'anyURI'.
     "C1214608487-SCIOPS" ;;Line 303 - cvc-datatype-valid.1.2.1: 'Scanned images: http://atlas.gc.ca/site/english/maps/archives' is not a valid value for 'anyURI'.
-    "C1214603723-SCIOPS" ;;Line 132 - cvc-datatype-valid.1.2.1: '<http://sofia.usgs.gov/projects/workplans12/jem.html>' is not a valid value for 'anyURI'.
+    "C1214603723-SCIOPS"}) ;;Line 132 - cvc-datatype-valid.1.2.1: '<http://sofia.usgs.gov/projects/workplans12/jem.html>' is not a valid value for 'anyURI'.
 
     ;; The following collections failed ingest validation, but not xml schema validation.
     ;; I have changed the validation from ingest validation to xml validation, so we don't

           (cx/elements-at-path parsed [:result])
           metadatas))))

;; Comment out this test so that it will not be run as part of the build.
#_(deftest ops-collections-translation)
  (testing "Translate OPS collections into various supported metadata formats and make sure they pass validation."
    (loop [page-num starting-page-num]
      (let [colls (get-collections search-page-size page-num)]
        (info "Translating collections on page-num: " page-num)
        (doseq [coll colls]
          (verify-translation-via-schema-validation coll))
        ;; We will turn on ingest validation later when ingest is backed by umm-spec-lib
        ; (verify-translation-via-ingest-validation coll))
        (when (>= (count colls) search-page-size)
          (recur (+ page-num 1)))))
    (info "Finished OPS collections translation."))

(ns cmr.system-int-test.ingest.ops-collections-translation-test
  "Translate OPS collections into various supported metadata formats."
  (:require
    [clj-http.client :as client]
    [clojure.string :as str]
    [clojure.test :refer :all]
    [cmr.common.concepts :as concepts]
    [cmr.common.log :refer [error info]]
    [cmr.common.mime-types :as mt]
    [cmr.common.xml :as cx]
    [cmr.system-int-test.system :as s]
    [cmr.system-int-test.utils.fast-xml :as fx]
    [cmr.system-int-test.utils.ingest-util :as ingest]
    [cmr.system-int-test.utils.search-util :as search]
    [cmr.system-int-test.utils.url-helper :as url]
    [cmr.umm-spec.json-schema :as json-schema]
    [cmr.umm-spec.test.location-keywords-helper :as lkt]
    [cmr.umm-spec.umm-json :as umm-json]
    [cmr.umm-spec.umm-spec-core :as umm]
    [cmr.umm-spec.validation.umm-spec-validation-core :as umm-validation]))

(use-fixtures :each (ingest/reset-fixture {"provguid1" "PROV1"}))

(def context (lkt/setup-context-for-test lkt/sample-keyword-map))

(def starting-page-num
  "The starting page-num to retrieve collections for the translation test."
