<?xml version="1.0" encoding="UTF-8"?>
<?xml-model 
    href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1G00.sch" 
    schematypens="http://purl.oclc.org/dsdl/schematron" ?>
<?xml-model 
    href="https://pds.nasa.gov/pds4/mission/mars2020/v1/PDS4_MARS2020_1G00_1000.sch"
    schematypens="http://purl.oclc.org/dsdl/schematron"?>  <!--RChen was PDS4_MARS2020_1G00_0100.*-->

<!-- This is a model label for Mars 2020 science data products.
     Replace sample text between _underscores_ with actual values.
     Replace sample dates, times, and other numeric values with actual values.
-->
<Product_Collection xmlns="http://pds.nasa.gov/pds4/pds/v1"
    xmlns:mars2020="http://pds.nasa.gov/pds4/mission/mars2020/v1"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://pds.nasa.gov/pds4/pds/v1     
                        https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1G00.xsd
                        http://pds.nasa.gov/pds4/mission/mars2020/v1 
                        https://pds.nasa.gov/pds4/mission/mars2020/v1/PDS4_MARS2020_1G00_1000.xsd">  <!--RChen was PDS4_MARS2020_1G00_0100.*-->

  <Identification_Area>
    <logical_identifier>urn:nasa:pds:mars2020_meda:context</logical_identifier>
    <version_id>1.0</version_id>
    <title>Mars 2020 MEDA Context Collection</title>
    <information_model_version>1.16.0.0</information_model_version>
    <product_class>Product_Collection</product_class>
    <Citation_Information>
      <author_list>Rodriguez-Manfredi, Jose A; de la Torre Juarez, Manuel</author_list>

      <editor_list>Mora Sotomayor, Luis; Huber, Lyle</editor_list>
      <publication_year>2021</publication_year>
      <keyword>Mars, weather, meteorology, environment</keyword>
      <description>Mars 2020 Mars Environmental Dynamics Analyzer (MEDA) Context Collection</description>
    </Citation_Information>
    <Modification_History>
      <Modification_Detail>
        <modification_date>2021-08-02</modification_date>
        <version_id>1.0</version_id>
        <description>First release</description>
      </Modification_Detail>
    </Modification_History>
  </Identification_Area>
  <Context_Area>
    <Investigation_Area>
      <name>Mars 2020</name>
      <type>Mission</type>
      <Internal_Reference>
        <lid_reference>urn:nasa:pds:context:investigation:mission.mars2020</lid_reference>
        <reference_type>collection_to_investigation</reference_type>
        <comment>This is the PDS4 logical identifier for the Mars 2020 Perseverance Rover Mission.</comment>
      </Internal_Reference>
    </Investigation_Area>
    <Observing_System>
      <name>Mars 2020</name>
      <Observing_System_Component>
        <name>Mars 2020</name>
        <type>Host</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument_host:spacecraft.mars2020</lid_reference>
          <reference_type>is_instrument_host</reference_type>
          <comment>
            This is the PDS4 logical identifier for the Mars 2020 Perseverance Rover.
          </comment>
        </Internal_Reference>
      </Observing_System_Component>
      <Observing_System_Component>
        <name>Mars Environmental Dynamics Analyzer</name>
        <type>Instrument</type>
        <Internal_Reference>
          <lid_reference>urn:nasa:pds:context:instrument:mars2020.meda</lid_reference>
          <reference_type>is_instrument</reference_type>
          <comment>
            This is the PDS4 logical identifier for them MEDA instrument onboard the Mars 2020 Perseverance Rover.
          </comment>
        </Internal_Reference>
      </Observing_System_Component>
    </Observing_System>
    <Target_Identification>
      <name>Mars</name>
      <type>Planet</type>
      <Internal_Reference>
        <lid_reference>urn:nasa:pds:context:target:planet.mars</lid_reference>
        <reference_type>collection_to_target</reference_type>
        <comment>Reference to the Planet - Mars target</comment>
      </Internal_Reference>
    </Target_Identification>
  </Context_Area>
  <Reference_List>
    <Internal_Reference>
      <lid_reference>urn:nasa:pds:context:resource:resource.mars2020_meda_online</lid_reference>
      <reference_type>has_resource</reference_type>
    </Internal_Reference>
  </Reference_List>
  <Collection>
    <collection_type>Context</collection_type>
  </Collection>
  <File_Area_Inventory>
    <File>
      <file_name>collection_meda_context_inventory.csv</file_name> 
      <local_identifier>context_inventory</local_identifier>
      <creation_date_time>2021-08-02T18:00</creation_date_time>
    </File>
    <Inventory>
      <local_identifier>inventory</local_identifier>
      <offset unit="byte">0</offset>
      <parsing_standard_id>PDS DSV 1</parsing_standard_id>
      <records>4</records>
      <record_delimiter>Carriage-Return Line-Feed</record_delimiter>
      <field_delimiter>Comma</field_delimiter>
      <Record_Delimited>
        <fields>2</fields>
        <groups>0</groups>
        <maximum_record_length unit="byte">256</maximum_record_length>
        <Field_Delimited>
          <name>Member Status</name>
          <field_number>1</field_number>
          <data_type>ASCII_String</data_type>
          <maximum_field_length unit="byte">1</maximum_field_length>
          <description>
            P indicates primary member of the collection
            S indicates secondary member of the collection
          </description>
        </Field_Delimited>
        <Field_Delimited>
          <name>LIDVID_LID</name>
          <field_number>2</field_number>
          <data_type>ASCII_LIDVID_LID</data_type>
          <maximum_field_length unit="byte">255</maximum_field_length>
          <description>This column specifies the LID of the files that comprise the collection.</description>
        </Field_Delimited>
      </Record_Delimited>
      <reference_type>inventory_has_member_product</reference_type>
    </Inventory>
  </File_Area_Inventory>
</Product_Collection>
