<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1600.sch"
  schematypens="http://purl.oclc.org/dsdl/schematron"?>

<Ingest_LDD xmlns="http://pds.nasa.gov/pds4/pds/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_1600.xsd">
  
  <name>Imaging Local Dictionary</name>
  <ldd_version_id>1.0</ldd_version_id>
  <full_name>Elizabeth D. Rye</full_name>
  <steward_id>img</steward_id>
  <namespace_id>img</namespace_id>
  <comment>This is the PDS4 Imaging discipline level data dictionary.</comment>
  <last_modification_date_time>2011-10-13T10:13:30Z</last_modification_date_time>

  <DD_Attribute>
    <name>application_process_id</name>
    <version_id>0.1</version_id>
    <local_identifier>img.Telemetry_Parameters.application_process_id</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>Elizabeth D. Rye</submitter_name>
    <definition>The application_process_id attribute identifies the process, or source, which created the data.</definition>

    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Integer</value_data_type>
      <minimum_value>0</minimum_value>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
     </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>application_process_name</name>
    <version_id>0.1</version_id>
    <local_identifier>img.Telemetry_Parameters.application_process_name</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>Elizabeth D. Rye</submitter_name>
    <definition>The application_process_name attribute provides the name associated with the source or process which created the data.</definition>

    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
      <minimum_characters>1</minimum_characters>
      <maximum_characters>127</maximum_characters>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>earth_received_start_date_time</name>
    <version_id>0.1</version_id>
    <local_identifier>img.Telemetry_Parameters.earth_received_start_date_time</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>Elizabeth D. Rye</submitter_name>
    <definition>The earth_received_start_date_time attribute provides the earliest time at which any component telemetry data for a particular product was received.</definition>
    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Date_Time_YMD</value_data_type>
      <formation_rule>yyyy-mm-ddThh:mm:ss.sssZ</formation_rule>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>earth_received_stop_date_time</name>
    <version_id>0.1</version_id>
    <local_identifier>img.Telemetry_Parameters.earth_received_stop_date_time</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>Elizabeth D. Rye</submitter_name>
    <definition>The earth_received_stop_date_time attribute provides the latest time at which any component telemetry data for a particular product was received.</definition>
    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Date_Time_YMD</value_data_type>
      <formation_rule>yyyy-mm-ddThh:mm:ss.sssZ</formation_rule>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>expected_packets</name>
    <version_id>0.1</version_id>
    <local_identifier>img.Telemetry_Parameters.expected_packets</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>Elizabeth D. Rye</submitter_name>
    <definition>The expected_packets attribute provides the total number of telemetry packets which constitute a complete data product, i.e., a data product without missing data.</definition>
    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Integer</value_data_type>
      <minimum_value>0</minimum_value>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>packet_map_mask</name>
    <version_id>0.1</version_id>
    <local_identifier>img.Telemetry_Parameters.packet_map_mask</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>Elizabeth D. Rye</submitter_name>
    <definition>The packet_map_mask attribute is a binary or hexadecimal number identifying which of a data file's expected packets were actually received.  The digits correspond positionally with the relative packet numbers of the data file.  The bits are to be read left to right; i.e., the first (left-most) digit of the number corresponds to the first packet of the data file.  A bit value of 1 indicates that the packet was received; a value of 0 indicates that it was not received.</definition>
    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Numeric_Base16</value_data_type>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>received_packets</name>
    <version_id>0.1</version_id>
    <local_identifier>img.Telemetry_Parameters.received_packets</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>Elizabeth D. Rye</submitter_name>
    <definition>The received_packets attribute provides the total number of telemetry packets which constitute a reconstructed data product, cf. expected_packets.</definition>
    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Integer</value_data_type>
      <minimum_value>0</minimum_value>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>spice_file_name</name>
    <version_id>0.1</version_id>
    <local_identifier>img.Telemetry_Parameters.spice_file_name</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>Elizabeth D. Rye</submitter_name>
    <definition>The spice_file_name attribute provides the names of the SPICE files used in processing the data.</definition>
    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>telemetry_format_id</name>
    <version_id>0.1</version_id>
    <local_identifier>img.Telemetry_Parameters.telemetry_format_id</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>Elizabeth D. Rye</submitter_name>
    <definition>The telemetry_format_id attribute supplies a telemetry format code.</definition>
    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
      <minimum_characters>1</minimum_characters>
      <maximum_characters>4</maximum_characters>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>telemetry_provider_id</name>
    <version_id>0.1</version_id>
    <local_identifier>img.Telemetry_Parameters.telemetry_provider_id</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>Elizabeth D. Rye</submitter_name>
    <definition>The telemetry_provider_id attribute identifies the provider and or version of the telemetry data used in the generation of this data.</definition>
    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
      <maximum_characters>20</maximum_characters>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>telemetry_source_name</name>
    <version_id>0.1</version_id>
    <local_identifier>img.Telemetry_Parameters.telemetry_source_name</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>Elizabeth D. Rye</submitter_name>
    <definition>The telemetry_source_name attribute identifies the telemetry source used in creation of a data set.</definition>
    <DD_Value_Domain>
      <enumeration_flag>false</enumeration_flag>
      <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
      <minimum_characters>1</minimum_characters>
      <maximum_characters>60</maximum_characters>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Attribute>
    <name>telemetry_source_type</name>
    <version_id>0.1</version_id>
    <local_identifier>img.Telemetry_Parameters.telemetry_source_type</local_identifier>
    <nillable_flag>false</nillable_flag>
    <submitter_name>Elizabeth D. Rye</submitter_name>
    <definition>The telemetry_source_type attribute classifies the source of the telemetry used in creation of this data collection.</definition>
    <DD_Value_Domain>
      <enumeration_flag>true</enumeration_flag>
      <value_data_type>ASCII_Short_String_Collapsed</value_data_type>
      <unit_of_measure_type>Units_of_None</unit_of_measure_type>
      <DD_Permissible_Value>
        <value>SFDU</value>
        <value_meaning>this is where some meaningful definition goes</value_meaning>
      </DD_Permissible_Value>
      <DD_Permissible_Value>
        <value>DATA PRODUCT</value>
        <value_meaning>this is where some meaningful definition goes</value_meaning>
      </DD_Permissible_Value>
    </DD_Value_Domain>
  </DD_Attribute>

  <DD_Class>
    <name>Telemetry_Parameters</name>
    <version_id>0.1</version_id>
    <local_identifier>img.Telemetry_Parameters</local_identifier>
    <submitter_name>Elizabeth D. Rye</submitter_name>
    <definition>The Telemetry_Parameters class contains downlink-related attributes used primarily during mission operations.</definition>
    <DD_Association>
      <local_identifier>img.Telemetry_Parameters.application_process_id</local_identifier>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <local_identifier>img.Telemetry_Parameters.application_process_name</local_identifier>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <local_identifier>img.Telemetry_Parameters.earth_received_start_date_time</local_identifier>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <local_identifier>img.Telemetry_Parameters.earth_received_stop_date_time</local_identifier>
      <reference_type>attribute_of</reference_type>
       <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <local_identifier>img.Telemetry_Parameters.expected_packets</local_identifier>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <local_identifier>img.Telemetry_Parameters.packet_map_mask</local_identifier>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <local_identifier>img.Telemetry_Parameters.received_packets</local_identifier>
      <reference_type>attribute_of</reference_type>
       <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <local_identifier>img.Telemetry_Parameters.spice_file_name</local_identifier>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <local_identifier>img.Telemetry_Parameters.telemetry_format_id</local_identifier>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <local_identifier>img.Telemetry_Parameters.telemetry_provider_id</local_identifier>
      <reference_type>attribute_of</reference_type>
       <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <local_identifier>img.Telemetry_Parameters.telemetry_source_name</local_identifier>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <DD_Association>
      <local_identifier>img.Telemetry_Parameters.telemetry_source_type</local_identifier>
      <reference_type>attribute_of</reference_type>
      <minimum_occurrences>0</minimum_occurrences>
      <maximum_occurrences>1</maximum_occurrences>
    </DD_Association>
    <Terminological_Entry>
      <name>Telemetry_Parameters</name>
      <definition>The Telemetry_Parameters class contains downlink-related attributes used primarily during mission operations.</definition>
      <language>English</language>
      <preferred_flag>true</preferred_flag>
      <External_Reference_Extended>
        <reference_text>PDS4 Data Design Working Group. V.0.4.1.2.Beta PDS4 Data Dictionary - Unabridged. Jet Propulsion Laboratory, California Institute of Technology. Pasadena, CA.</reference_text>
        <description>Planetary Data System, version 4</description>
        <name>PDS4</name>
        <url>http://pds-engineering.jpl.nasa.gov/pds2010/design/data_design/pds4datadictionary_unabridged_beta.pdf</url>
       </External_Reference_Extended>
    </Terminological_Entry>
  </DD_Class>

</Ingest_LDD>
