 (defn- generate-and-validate-xml
   "Returns a vector of errors (empty if none) from attempting to convert the given UMM record
   to valid XML in the given format."
-  [record metadata-format concept-type]
+  [concept-type metadata-format record]
   (let [metadata-xml (core/generate-metadata concept-type metadata-format record)]
     (core/validate-xml concept-type metadata-format metadata-xml)))
 

  (js/parse-umm-c {:ShortName "foo" :Version "bar"}))

(deftest minimal-dif10
  (is (empty? (generate-and-validate-xml :dif10 minimal-umm-c))))

(comment


      (is (= expected-projects-keywords
             (parse-iso19115-projects-keywords metadata-xml))))))

(def minimal-umm-c
  "UMM-C with the bare minimum number of fields. It does not include all required fields because
  there is existing data in the system which does not contain all of the required UMM-C fields. We
