<commit_before>(ns cmr.umm.mime-types
  "Provides a mapping of all supported mime-types.")

;; body element (metadata) of a request arriving at ingest app should be in xml format and mime type
;; should be of the items in this def.

;; Need to determine which ISO types will be supported when implementing ISO user stories.
(def concept-type->valid-mime-types
  {:collection #{"application/echo10+xml", "application/iso_prototype+xml", "application/iso:smap+xml",
                 "application/iso19115+xml", "application/dif+xml"}
   :granule #{"application/echo10+xml", "application/iso_prototype+xml", "application/iso:smap+xml",
              "application/iso19115+xml"}})
<commit_msg>CMR-294: Updated valid mime-types to include MENDS ISO.<commit_after>(ns cmr.umm.mime-types
  "Provides a mapping of all supported mime-types.")

;; body element (metadata) of a request arriving at ingest app should be in xml format and mime type
;; should be of the items in this def.

;; Need to determine which ISO types will be supported when implementing ISO user stories.
(def concept-type->valid-mime-types
  {:collection #{"application/echo10+xml", "application/iso+xml", "application/iso-smap+xml",
                 "application/iso-mends+xml", "application/iso19115+xml", "application/dif+xml"}
   :granule #{"application/echo10+xml", "application/iso+xml", "application/iso-smap+xml",
              "application/iso19115+xml"}})

{'fraction_non_alphanumeric': 0.1245626312106368, 'fraction_numerical': 0.021693491952414275, 'mean_word_length': 4.37593984962406, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 21}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '90938', 'n_tokens_mistral': 439, 'n_tokens_neox': 414, 'n_words': 132}