<?xml version="1.0" encoding="UTF-8"?>
  <!-- PDS4 XML/Schema for Name Space Id:hyb2  Version:1.0.0.0 - Wed Dec 09 13:33:56 JST 2020 -->
  <!-- Generated from the PDS4 Information Model Version 1.14.0.0 - System Build 10b -->
  <!-- *** This PDS4 product schema is an operational deliverable. *** -->
  <!--                                                                           -->
  <!--               Dictionary Stack                                            -->
  <!-- 1.14.0.0 - pds: - Common Dictionary                                       -->
  <!-- 1.0.0.0 - hyb2: - Hayabusa2 Local Data Dictionary                         -->
  <!--   file:PDS4_HYB2_LDD.xml                                                  -->
  <!--                                                                           -->
  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://darts.isas.jaxa.jp/pds4/mission/hyb2/v1"
    xmlns:hyb2="http://darts.isas.jaxa.jp/pds4/mission/hyb2/v1"
    xmlns:pds="http://pds.nasa.gov/pds4/pds/v1"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    version="1.0.0.0">
 
    <xs:import namespace="http://pds.nasa.gov/pds4/pds/v1" schemaLocation="https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1E00.xsd"/>
 
  <xs:annotation>
    <xs:documentation>
This is the Hayabusa2 Mission Specific Data Dictionary.
    </xs:documentation>
  </xs:annotation>
 
  <xs:element name="Image_Observation_Information" type="hyb2:Image_Observation_Information"> </xs:element>
  <xs:element name="Mission_Information" type="hyb2:Mission_Information"> </xs:element>
  <xs:element name="NIRS3_Instrument_Attributes" type="hyb2:NIRS3_Instrument_Attributes"> </xs:element>
  <xs:element name="ONC_Calibration_Data_Information" type="hyb2:ONC_Calibration_Data_Information"> </xs:element>
  <xs:element name="ONC_Image_Information" type="hyb2:ONC_Image_Information"> </xs:element>
  <xs:element name="ONC_Image_Processing_Parameters" type="hyb2:ONC_Image_Processing_Parameters"> </xs:element>
  <xs:element name="ONC_Instrument_Attributes" type="hyb2:ONC_Instrument_Attributes"> </xs:element>
  <xs:element name="ONC_Multiband_Observation_Information" type="hyb2:ONC_Multiband_Observation_Information"> </xs:element>
  <xs:element name="Observation_Geometry" type="hyb2:Observation_Geometry"> </xs:element>
  <xs:element name="Observation_Information" type="hyb2:Observation_Information"> </xs:element>
  <xs:element name="TIR_Instrument_Attributes" type="hyb2:TIR_Instrument_Attributes"> </xs:element>

  <xs:complexType name="Image_Observation_Information">
    <xs:annotation>
      <xs:documentation>This class contains observation information for
        image data.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="exposure_duration" type="hyb2:exposure_duration" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="filter_name" type="hyb2:filter_name" minOccurs="0" maxOccurs="8"> </xs:element>
      <xs:element name="band_center" type="hyb2:band_center" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="bandwidth" type="hyb2:bandwidth" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="horizontal_instantaneous_field_of_view" type="hyb2:horizontal_instantaneous_field_of_view" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="vertical_instantaneous_field_of_view" type="hyb2:vertical_instantaneous_field_of_view" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="number_of_binning" type="hyb2:number_of_binning" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="x_lower_left_corner" type="hyb2:x_lower_left_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="y_lower_left_corner" type="hyb2:y_lower_left_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="x_upper_right_corner" type="hyb2:x_upper_right_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="y_upper_right_corner" type="hyb2:y_upper_right_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="image_compression_type" type="hyb2:image_compression_type" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="image_compression_algorithm" type="hyb2:image_compression_algorithm" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="image_compression_initial_subsampling_interval" type="hyb2:image_compression_initial_subsampling_interval" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="image_compression_quality" type="hyb2:image_compression_quality" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="image_processing_return_status" type="hyb2:image_processing_return_status" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="actual_bitdepth" type="hyb2:actual_bitdepth" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="right_ascension_at_center" type="hyb2:right_ascension_at_center" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="declination_at_center" type="hyb2:declination_at_center" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="right_ascension_at_lower_left_corner" type="hyb2:right_ascension_at_lower_left_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="declination_at_lower_left_corner" type="hyb2:declination_at_lower_left_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="right_ascension_at_lower_right_corner" type="hyb2:right_ascension_at_lower_right_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="declination_at_lower_right_corner" type="hyb2:declination_at_lower_right_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="right_ascension_at_upper_left_corner" type="hyb2:right_ascension_at_upper_left_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="declination_at_upper_left_corner" type="hyb2:declination_at_upper_left_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="right_ascension_at_upper_right_corner" type="hyb2:right_ascension_at_upper_right_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="declination_at_upper_right_corner" type="hyb2:declination_at_upper_right_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="unit_count_value" type="hyb2:unit_count_value" minOccurs="0" maxOccurs="1"> </xs:element>
    </xs:sequence>
    <!-- Begin assert statements for schematron - Enumerated Values -->
    <!-- <xs:assert test="hyb2:filter_name = ('8 - 12 micrometer', 'No. 1: 390 nm', 'No. 2: Wide', 'No. 3: 550 nm', 'No. 4: 700 nm', 'No. 5: 860 nm', 'No. 6: 589 nm', 'No. 7: 950 nm', 'No. 8: 480 nm', 'None')"/> -->
    <!-- <xs:assert test="hyb2:number_of_binning = ('1', '2', '4', '8')"/> -->
    <!-- <xs:assert test="hyb2:image_compression_type = ('Lossless', 'Lossy', 'Not Compressed')"/> -->
    <!-- <xs:assert test="hyb2:image_compression_algorithm = ('None', 'StarPixel Flexible', 'StarPixel Lossless')"/> -->
    <!-- <xs:assert test="hyb2:image_processing_return_status = ('Buffer Size Error', 'Hardware Operation Error', 'Normal End', 'Operation Interruption', 'Overflow', 'Overflow and Underflow', 'Parameter Error', 'Underflow', 'Zero Division')"/> -->
    <!-- <xs:assert test="hyb2:actual_bitdepth = ('10', '12', '8')"/> -->
    <!-- <xs:assert test=")"/> -->
    <!-- End assert statements for schematron - Enumerated Values -->
  </xs:complexType>

  <xs:complexType name="Mission_Information">
    <xs:annotation>
      <xs:documentation>This class contains information about the
        Hayabusa2 mission. The attributes in this class are common to
        all mission data products.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="mission_phase_name" type="hyb2:mission_phase_name" minOccurs="1" maxOccurs="unbounded"> </xs:element>
    </xs:sequence>
    <!-- Begin assert statements for schematron - Enumerated Values -->
    <!-- <xs:assert test="hyb2:mission_phase_name = ('Approach Phase', 'Asteroid Proximity Phase', 'Commissioning Phase', 'EDVEGA Phase', 'Earth Swing-by Phase', 'Return Phase', 'Transfer Phase')"/> -->
    <!-- End assert statements for schematron - Enumerated Values -->
  </xs:complexType>

  <xs:complexType name="NIRS3_Instrument_Attributes">
    <xs:annotation>
      <xs:documentation>NIRS3 instrument-specific
        parameters</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="exposure_duration" type="hyb2:exposure_duration" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="detector_gain" type="hyb2:detector_gain" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="number_of_stack" type="hyb2:number_of_stack" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="sampling_mode" type="hyb2:sampling_mode" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="chopper_status" type="hyb2:chopper_status" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="heater_status" type="hyb2:heater_status" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="radiometric_calibration_lamp_status" type="hyb2:radiometric_calibration_lamp_status" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="wavelength_calibration_lamp_status" type="hyb2:wavelength_calibration_lamp_status" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="optics_temperature_average" type="hyb2:optics_temperature_average" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="optics_temperature_maximum" type="hyb2:optics_temperature_maximum" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="optics_temperature_minimum" type="hyb2:optics_temperature_minimum" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="detector_temperature_average" type="hyb2:detector_temperature_average" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="detector_temperature_maximum" type="hyb2:detector_temperature_maximum" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="detector_temperature_minimum" type="hyb2:detector_temperature_minimum" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="s_base_plate_temperature_average" type="hyb2:s_base_plate_temperature_average" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="s_base_plate_temperature_maximum" type="hyb2:s_base_plate_temperature_maximum" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="s_base_plate_temperature_minimum" type="hyb2:s_base_plate_temperature_minimum" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="analog_electronics_base_plate_temperature_average" type="hyb2:analog_electronics_base_plate_temperature_average" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="analog_electronics_base_plate_temperature_maximum" type="hyb2:analog_electronics_base_plate_temperature_maximum" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="analog_electronics_base_plate_temperature_minimum" type="hyb2:analog_electronics_base_plate_temperature_minimum" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="chopper_frequency_average" type="hyb2:chopper_frequency_average" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="chopper_frequency_maximum" type="hyb2:chopper_frequency_maximum" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="chopper_frequency_minimum" type="hyb2:chopper_frequency_minimum" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="chopper_amplitude_average" type="hyb2:chopper_amplitude_average" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="chopper_amplitude_maximum" type="hyb2:chopper_amplitude_maximum" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="chopper_amplitude_minimum" type="hyb2:chopper_amplitude_minimum" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="chopper_current_average" type="hyb2:chopper_current_average" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="chopper_current_maximum" type="hyb2:chopper_current_maximum" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="chopper_current_minimum" type="hyb2:chopper_current_minimum" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="preamplifier_current_average" type="hyb2:preamplifier_current_average" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="preamplifier_current_maximum" type="hyb2:preamplifier_current_maximum" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="preamplifier_current_minimum" type="hyb2:preamplifier_current_minimum" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="heater_current_average" type="hyb2:heater_current_average" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="heater_current_maximum" type="hyb2:heater_current_maximum" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="heater_current_minimum" type="hyb2:heater_current_minimum" minOccurs="0" maxOccurs="1"> </xs:element>
    </xs:sequence>
    <!-- Begin assert statements for schematron - Enumerated Values -->
    <!-- <xs:assert test="hyb2:detector_gain = ('High', 'Low')"/> -->
    <!-- <xs:assert test="hyb2:sampling_mode = ('C11', 'C31', 'C42', 'FPGA')"/> -->
    <!-- <xs:assert test="hyb2:chopper_status = ('Off', 'On')"/> -->
    <!-- <xs:assert test="hyb2:heater_status = ('Off', 'On')"/> -->
    <!-- <xs:assert test="hyb2:radiometric_calibration_lamp_status = ('Off', 'On')"/> -->
    <!-- <xs:assert test="hyb2:wavelength_calibration_lamp_status = ('Off', 'On')"/> -->
    <!-- End assert statements for schematron - Enumerated Values -->
  </xs:complexType>

  <xs:complexType name="ONC_Band_Information">
    <xs:annotation>
      <xs:documentation>Each band Information for co-registered
        data.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="filter_axis_number" type="hyb2:filter_axis_number" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="band_file_name" type="hyb2:band_file_name" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="exposure_duration" type="hyb2:exposure_duration" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="filter_name" type="hyb2:filter_name" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="observation_start_date_time" type="hyb2:observation_start_date_time" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="observation_date_time" type="hyb2:observation_date_time" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="observation_stop_date_time" type="hyb2:observation_stop_date_time" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="flat_field_lamp_a_status" type="hyb2:flat_field_lamp_a_status" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="flat_field_lamp_b_status" type="hyb2:flat_field_lamp_b_status" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="data_maximum" type="hyb2:data_maximum" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="data_mininimum" type="hyb2:data_mininimum" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="data_mean" type="hyb2:data_mean" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="data_standard_deviation" type="hyb2:data_standard_deviation" minOccurs="0" maxOccurs="1"> </xs:element>
    </xs:sequence>
    <!-- Begin assert statements for schematron - Enumerated Values -->
    <!-- <xs:assert test="hyb2:filter_name = ('8 - 12 micrometer', 'No. 1: 390 nm', 'No. 2: Wide', 'No. 3: 550 nm', 'No. 4: 700 nm', 'No. 5: 860 nm', 'No. 6: 589 nm', 'No. 7: 950 nm', 'No. 8: 480 nm', 'None')"/> -->
    <!-- <xs:assert test="hyb2:flat_field_lamp_a_status = ('High', 'Low', 'Off')"/> -->
    <!-- <xs:assert test="hyb2:flat_field_lamp_b_status = ('High', 'Low', 'Off')"/> -->
    <!-- End assert statements for schematron - Enumerated Values -->
  </xs:complexType>

  <xs:complexType name="ONC_Calibration_Data_Information">
    <xs:annotation>
      <xs:documentation>Calibration data information for ONC
        image</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="naif_instrument_name" type="hyb2:naif_instrument_name" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="filter_name" type="hyb2:filter_name" minOccurs="0" maxOccurs="8"> </xs:element>
      <xs:element name="ccd_temperature" type="hyb2:ccd_temperature" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="normalization" type="hyb2:normalization" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="image_area_trimming" type="hyb2:image_area_trimming" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="sensitivity_calibration_period" type="hyb2:sensitivity_calibration_period" minOccurs="0" maxOccurs="1"> </xs:element>
    </xs:sequence>
    <!-- Begin assert statements for schematron - Enumerated Values -->
    <!-- <xs:assert test="hyb2:naif_instrument_name = ('HAYABUSA2_LIDAR', 'HAYABUSA2_NIRS3-S', 'HAYABUSA2_ONC-T', 'HAYABUSA2_ONC-W1', 'HAYABUSA2_ONC-W2', 'HAYABUSA2_TIR-S')"/> -->
    <!-- <xs:assert test="hyb2:filter_name = ('8 - 12 micrometer', 'No. 1: 390 nm', 'No. 2: Wide', 'No. 3: 550 nm', 'No. 4: 700 nm', 'No. 5: 860 nm', 'No. 6: 589 nm', 'No. 7: 950 nm', 'No. 8: 480 nm', 'None')"/> -->
    <!-- <xs:assert test="hyb2:normalization = ('Normalized', 'Not Normalized')"/> -->
    <!-- <xs:assert test="hyb2:sensitivity_calibration_period = ('After Touch Down 2', 'All Periods', 'Before Touch Down 1', 'Between Touch Down 1 and Touch Down 2')"/> -->
    <!-- End assert statements for schematron - Enumerated Values -->
  </xs:complexType>

  <xs:complexType name="ONC_Image_Information">
    <xs:annotation>
      <xs:documentation>This class contains ONC-specific image
        observation information.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="dynamic_range" type="hyb2:dynamic_range" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="linearity_guaranteed_range" type="hyb2:linearity_guaranteed_range" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="observation_mode" type="hyb2:observation_mode" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="stray_light_status" type="hyb2:stray_light_status" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="first_rotation_angle_for_stray_light" type="hyb2:first_rotation_angle_for_stray_light" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="second_rotation_angle_for_stray_light" type="hyb2:second_rotation_angle_for_stray_light" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="number_of_subimage" type="hyb2:number_of_subimage" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="Sub_Image_Information" type="hyb2:Sub_Image_Information" minOccurs="0" maxOccurs="unbounded"> </xs:element>
    </xs:sequence>
    <!-- Begin assert statements for schematron - Enumerated Values -->
    <!-- <xs:assert test="hyb2:observation_mode = ('Navigation Dump', 'Science')"/> -->
    <!-- <xs:assert test="hyb2:stray_light_status = ('Affected', 'Not Affected', 'Not Available')"/> -->
    <!-- End assert statements for schematron - Enumerated Values -->
  </xs:complexType>

  <xs:complexType name="ONC_Image_Processing_Parameters">
    <xs:annotation>
      <xs:documentation>This class contains ONC-specific image
        processing parameters</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="smear_correction_status" type="hyb2:smear_correction_status" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="bias_correction_status" type="hyb2:bias_correction_status" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="dark_correction_status" type="hyb2:dark_correction_status" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="radiance_conversion_status" type="hyb2:radiance_conversion_status" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="hardware_correction_status" type="hyb2:hardware_correction_status" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="hardware_correction_file_name" type="hyb2:hardware_correction_file_name" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="nonlinearity_correction_status" type="hyb2:nonlinearity_correction_status" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="nonlinearity_correction_file_name" type="hyb2:nonlinearity_correction_file_name" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="flat_field_correction_status" type="hyb2:flat_field_correction_status" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="flat_field_correction_file_name" type="hyb2:flat_field_correction_file_name" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="flat_field_correction_parameter_file_name" type="hyb2:flat_field_correction_parameter_file_name" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="temperature_dependent_flat_field_correction_status" type="hyb2:temperature_dependent_flat_field_correction_status" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="temperature_dependent_flat_field_correction_file_name" type="hyb2:temperature_dependent_flat_field_correction_file_name" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="stray_light_correction_status" type="hyb2:stray_light_correction_status" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="stray_light_mean_file_name" type="hyb2:stray_light_mean_file_name" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="stray_light_first_principal_component_file_name" type="hyb2:stray_light_first_principal_component_file_name" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="stray_light_second_principal_component_file_name" type="hyb2:stray_light_second_principal_component_file_name" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="alignment_offset_correction_status" type="hyb2:alignment_offset_correction_status" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="distortion_correction_status" type="hyb2:distortion_correction_status" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="distortion_correction_file_name" type="hyb2:distortion_correction_file_name" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="radiometric_calibration_status" type="hyb2:radiometric_calibration_status" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="radiometric_calibration_file_name" type="hyb2:radiometric_calibration_file_name" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ccd_sensitivity_calibration_status" type="hyb2:ccd_sensitivity_calibration_status" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ccd_sensitivity_calibration_file_name" type="hyb2:ccd_sensitivity_calibration_file_name" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ccd_sensitivity" type="hyb2:ccd_sensitivity" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="sensitivity_calibration_period" type="hyb2:sensitivity_calibration_period" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="elapsed_time_for_sensitivity_calibration" type="hyb2:elapsed_time_for_sensitivity_calibration" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="solar_distance_correction_status" type="hyb2:solar_distance_correction_status" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="solar_distance_for_calibration" type="hyb2:solar_distance_for_calibration" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="effective_solar_irradiance" type="hyb2:effective_solar_irradiance" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="photometric_correction_status" type="hyb2:photometric_correction_status" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="photometric_correction_file_name" type="hyb2:photometric_correction_file_name" minOccurs="0" maxOccurs="1"> </xs:element>
    </xs:sequence>
    <!-- Begin assert statements for schematron - Enumerated Values -->
    <!-- <xs:assert test="hyb2:smear_correction_status = ('Applied on ground', 'Applied onboard', 'Not Applied')"/> -->
    <!-- <xs:assert test="hyb2:bias_correction_status = ('Applied on ground', 'Applied onboard', 'Not Applied')"/> -->
    <!-- <xs:assert test="hyb2:dark_correction_status = ('Applied', 'Not Applied')"/> -->
    <!-- <xs:assert test="hyb2:radiance_conversion_status = ('Applied', 'Not Applied')"/> -->
    <!-- <xs:assert test="hyb2:hardware_correction_status = ('Applied', 'Not Applied')"/> -->
    <!-- <xs:assert test="hyb2:nonlinearity_correction_status = ('Applied', 'Not Applied')"/> -->
    <!-- <xs:assert test="hyb2:flat_field_correction_status = ('Applied', 'Not Applied')"/> -->
    <!-- <xs:assert test="hyb2:temperature_dependent_flat_field_correction_status = ('Applied', 'Not Applied')"/> -->
    <!-- <xs:assert test="hyb2:stray_light_correction_status = ('Applied', 'Not Applied')"/> -->
    <!-- <xs:assert test="hyb2:alignment_offset_correction_status = ('Conducted', 'Not Conducted')"/> -->
    <!-- <xs:assert test="hyb2:distortion_correction_status = ('Applied', 'Not Applied')"/> -->
    <!-- <xs:assert test="hyb2:radiometric_calibration_status = ('Applied', 'Not Applied')"/> -->
    <!-- <xs:assert test="hyb2:ccd_sensitivity_calibration_status = ('Applied', 'Not Applied')"/> -->
    <!-- <xs:assert test="hyb2:sensitivity_calibration_period = ('After Touch Down 2', 'All Periods', 'Before Touch Down 1', 'Between Touch Down 1 and Touch Down 2')"/> -->
    <!-- <xs:assert test="hyb2:solar_distance_correction_status = ('Applied', 'Not Applied')"/> -->
    <!-- <xs:assert test="hyb2:photometric_correction_status = ('Applied', 'Not Applied')"/> -->
    <!-- End assert statements for schematron - Enumerated Values -->
  </xs:complexType>

  <xs:complexType name="ONC_Instrument_Attributes">
    <xs:annotation>
      <xs:documentation>This class contains ONC instrument-specific
        parameters.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="bus_line_voltage" type="hyb2:bus_line_voltage" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="onc_electric_current" type="hyb2:onc_electric_current" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="fla_c_electric_current" type="hyb2:fla_c_electric_current" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="onc_analog_electronics_temperature" type="hyb2:onc_analog_electronics_temperature" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="t_optics_temperature" type="hyb2:t_optics_temperature" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="t_ccd_temperature" type="hyb2:t_ccd_temperature" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="t_electric_circuit_temperature" type="hyb2:t_electric_circuit_temperature" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="w1_optics_temperature" type="hyb2:w1_optics_temperature" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="w1_ccd_temperature" type="hyb2:w1_ccd_temperature" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="w1_electric_circuit_temperature" type="hyb2:w1_electric_circuit_temperature" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="w2_optics_temperature" type="hyb2:w2_optics_temperature" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="w2_ccd_temperature" type="hyb2:w2_ccd_temperature" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="w2_electric_circuit_temperature" type="hyb2:w2_electric_circuit_temperature" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="fla_c_temperature" type="hyb2:fla_c_temperature" minOccurs="1" maxOccurs="1"> </xs:element>
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="ONC_Multiband_Observation_Information">
    <xs:annotation>
      <xs:documentation>This class contains ONC Multiband observation
        information for co-registered image data.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="reference_frame_filter_axis_number" type="hyb2:reference_frame_filter_axis_number" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="reference_frame_filter_name" type="hyb2:reference_frame_filter_name" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="reference_frame_date_time" type="hyb2:reference_frame_date_time" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="x_lower_left_corner" type="hyb2:x_lower_left_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="y_lower_left_corner" type="hyb2:y_lower_left_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="x_upper_right_corner" type="hyb2:x_upper_right_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="y_upper_right_corner" type="hyb2:y_upper_right_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="stray_light_status" type="hyb2:stray_light_status" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="alignment_offset_correction_status" type="hyb2:alignment_offset_correction_status" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="distortion_correction_status" type="hyb2:distortion_correction_status" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ryugu_latitude_at_center" type="hyb2:ryugu_latitude_at_center" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ryugu_longitude_at_center" type="hyb2:ryugu_longitude_at_center" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="distance_to_ryugu_at_center" type="hyb2:distance_to_ryugu_at_center" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="spatial_resolution_of_ryugu_at_center" type="hyb2:spatial_resolution_of_ryugu_at_center" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ryugu_latitude_at_lower_left_corner" type="hyb2:ryugu_latitude_at_lower_left_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ryugu_longitude_at_lower_left_corner" type="hyb2:ryugu_longitude_at_lower_left_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ryugu_latitude_at_lower_right_corner" type="hyb2:ryugu_latitude_at_lower_right_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ryugu_longitude_at_lower_right_corner" type="hyb2:ryugu_longitude_at_lower_right_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ryugu_latitude_at_upper_left_corner" type="hyb2:ryugu_latitude_at_upper_left_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ryugu_longitude_at_upper_left_corner" type="hyb2:ryugu_longitude_at_upper_left_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ryugu_latitude_at_upper_right_corner" type="hyb2:ryugu_latitude_at_upper_right_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ryugu_longitude_at_upper_right_corner" type="hyb2:ryugu_longitude_at_upper_right_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="backplane_data_version" type="hyb2:backplane_data_version" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="backplane_spice_kernel_file_name" type="hyb2:backplane_spice_kernel_file_name" minOccurs="0" maxOccurs="unbounded"> </xs:element>
      <xs:element name="backplane_shape_model_spice_kernel_file_name" type="hyb2:backplane_shape_model_spice_kernel_file_name" minOccurs="0" maxOccurs="unbounded"> </xs:element>
      <xs:element name="backplane_file_name" type="hyb2:backplane_file_name" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ONC_Band_Information" type="hyb2:ONC_Band_Information" minOccurs="1" maxOccurs="unbounded"> </xs:element>
    </xs:sequence>
    <!-- Begin assert statements for schematron - Enumerated Values -->
    <!-- <xs:assert test="hyb2:stray_light_status = ('Affected', 'Not Affected', 'Not Available')"/> -->
    <!-- <xs:assert test="hyb2:alignment_offset_correction_status = ('Conducted', 'Not Conducted')"/> -->
    <!-- <xs:assert test="hyb2:distortion_correction_status = ('Applied', 'Not Applied')"/> -->
    <!-- End assert statements for schematron - Enumerated Values -->
  </xs:complexType>

  <xs:complexType name="Observation_Geometry">
    <xs:annotation>
      <xs:documentation>This class contains information about
        observation geometry. The attributes in this class are common to
        all mission data products.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ryugu_distance_from_spacecraft" type="hyb2:ryugu_distance_from_spacecraft" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="earth_distance_from_spacecraft" type="hyb2:earth_distance_from_spacecraft" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="sun_distance_from_spacecraft" type="hyb2:sun_distance_from_spacecraft" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="sun_distance_from_ryugu" type="hyb2:sun_distance_from_ryugu" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="spacecraft_x_position" type="hyb2:spacecraft_x_position" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="spacecraft_y_position" type="hyb2:spacecraft_y_position" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="spacecraft_z_position" type="hyb2:spacecraft_z_position" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="sun_direction_spacecraft_x_axis_angle" type="hyb2:sun_direction_spacecraft_x_axis_angle" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="sun_direction_spacecraft_y_axis_angle" type="hyb2:sun_direction_spacecraft_y_axis_angle" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="sun_direction_spacecraft_z_axis_angle" type="hyb2:sun_direction_spacecraft_z_axis_angle" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ryugu_latitude_at_center" type="hyb2:ryugu_latitude_at_center" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ryugu_longitude_at_center" type="hyb2:ryugu_longitude_at_center" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="distance_to_ryugu_at_center" type="hyb2:distance_to_ryugu_at_center" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="spatial_resolution_of_ryugu_at_center" type="hyb2:spatial_resolution_of_ryugu_at_center" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ryugu_latitude_at_lower_left_corner" type="hyb2:ryugu_latitude_at_lower_left_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ryugu_longitude_at_lower_left_corner" type="hyb2:ryugu_longitude_at_lower_left_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ryugu_latitude_at_lower_right_corner" type="hyb2:ryugu_latitude_at_lower_right_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ryugu_longitude_at_lower_right_corner" type="hyb2:ryugu_longitude_at_lower_right_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ryugu_latitude_at_upper_left_corner" type="hyb2:ryugu_latitude_at_upper_left_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ryugu_longitude_at_upper_left_corner" type="hyb2:ryugu_longitude_at_upper_left_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ryugu_latitude_at_upper_right_corner" type="hyb2:ryugu_latitude_at_upper_right_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="ryugu_longitude_at_upper_right_corner" type="hyb2:ryugu_longitude_at_upper_right_corner" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="backplane_data_version" type="hyb2:backplane_data_version" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="backplane_spice_kernel_file_name" type="hyb2:backplane_spice_kernel_file_name" minOccurs="0" maxOccurs="unbounded"> </xs:element>
      <xs:element name="backplane_shape_model_spice_kernel_file_name" type="hyb2:backplane_shape_model_spice_kernel_file_name" minOccurs="0" maxOccurs="unbounded"> </xs:element>
      <xs:element name="backplane_file_name" type="hyb2:backplane_file_name" minOccurs="0" maxOccurs="1"> </xs:element>
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="Observation_Information">
    <xs:annotation>
      <xs:documentation>This class contains information about
        observation. The attributes in this class are common to all
        mission data products.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="observation_start_date_time" type="hyb2:observation_start_date_time" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="observation_date_time" type="hyb2:observation_date_time" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="observation_stop_date_time" type="hyb2:observation_stop_date_time" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="spacecraft_clock_start_count" type="hyb2:spacecraft_clock_start_count" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="spacecraft_clock_stop_count" type="hyb2:spacecraft_clock_stop_count" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="naif_instrument_name" type="hyb2:naif_instrument_name" minOccurs="0" maxOccurs="1"> </xs:element>
      <xs:element name="raw_file_name" type="hyb2:raw_file_name" minOccurs="0" maxOccurs="1"> </xs:element>
    </xs:sequence>
    <!-- Begin assert statements for schematron - Enumerated Values -->
    <!-- <xs:assert test="hyb2:naif_instrument_name = ('HAYABUSA2_LIDAR', 'HAYABUSA2_NIRS3-S', 'HAYABUSA2_ONC-T', 'HAYABUSA2_ONC-W1', 'HAYABUSA2_ONC-W2', 'HAYABUSA2_TIR-S')"/> -->
    <!-- End assert statements for schematron - Enumerated Values -->
  </xs:complexType>

  <xs:complexType name="Sub_Image_Information">
    <xs:annotation>
      <xs:documentation>This class contains ONC sub image
        parameters.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="sequence_number" type="hyb2:sequence_number" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="spacecraft_clock_count" type="hyb2:spacecraft_clock_count" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="analog_electronics_mode" type="hyb2:analog_electronics_mode" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="digital_electronics_selection" type="hyb2:digital_electronics_selection" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="t_driving_status" type="hyb2:t_driving_status" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="t_camera_selection_status" type="hyb2:t_camera_selection_status" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="t_exposure_duration" type="hyb2:t_exposure_duration" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="t_filter_name" type="hyb2:t_filter_name" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="flat_field_lamp_a_status" type="hyb2:flat_field_lamp_a_status" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="flat_field_lamp_b_status" type="hyb2:flat_field_lamp_b_status" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="w1_driving_status" type="hyb2:w1_driving_status" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="w1_camera_selection_status" type="hyb2:w1_camera_selection_status" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="w1_exposure_duration" type="hyb2:w1_exposure_duration" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="flash_lamp_status" type="hyb2:flash_lamp_status" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="w2_driving_status" type="hyb2:w2_driving_status" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="w2_camera_selection_status" type="hyb2:w2_camera_selection_status" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="w2_exposure_duration" type="hyb2:w2_exposure_duration" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="filter_wheel_driver_timeout_error_count" type="hyb2:filter_wheel_driver_timeout_error_count" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="filter_wheel_driver_null_position_flag" type="hyb2:filter_wheel_driver_null_position_flag" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="filter_wheel_driver_position_sensor_status" type="hyb2:filter_wheel_driver_position_sensor_status" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="filter_wheel_driver_reset_status" type="hyb2:filter_wheel_driver_reset_status" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="filter_wheel_driver_driving_status" type="hyb2:filter_wheel_driver_driving_status" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="filter_wheel_driver_step_counter" type="hyb2:filter_wheel_driver_step_counter" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="filter_wheel_driver_step_counter_error_count" type="hyb2:filter_wheel_driver_step_counter_error_count" minOccurs="1" maxOccurs="1"> </xs:element>
    </xs:sequence>
    <!-- Begin assert statements for schematron - Enumerated Values -->
    <!-- <xs:assert test="hyb2:analog_electronics_mode = ('Shot', 'Standby')"/> -->
    <!-- <xs:assert test="hyb2:digital_electronics_selection = ('DE', 'ONC-E')"/> -->
    <!-- <xs:assert test="hyb2:t_driving_status = ('Off', 'On')"/> -->
    <!-- <xs:assert test="hyb2:t_camera_selection_status = ('Off', 'On')"/> -->
    <!-- <xs:assert test="hyb2:t_filter_name = ('No. 1: 390 nm', 'No. 2: Wide', 'No. 3: 550 nm', 'No. 4: 700 nm', 'No. 5: 860 nm', 'No. 6: 589 nm', 'No. 7: 950 nm', 'No. 8: 480 nm')"/> -->
    <!-- <xs:assert test="hyb2:flat_field_lamp_a_status = ('High', 'Low', 'Off')"/> -->
    <!-- <xs:assert test="hyb2:flat_field_lamp_b_status = ('High', 'Low', 'Off')"/> -->
    <!-- <xs:assert test="hyb2:w1_driving_status = ('Off', 'On')"/> -->
    <!-- <xs:assert test="hyb2:w1_camera_selection_status = ('Off', 'On')"/> -->
    <!-- <xs:assert test="hyb2:flash_lamp_status = ('Disable', 'Enable')"/> -->
    <!-- <xs:assert test="hyb2:w2_driving_status = ('Off', 'On')"/> -->
    <!-- <xs:assert test="hyb2:w2_camera_selection_status = ('Off', 'On')"/> -->
    <!-- <xs:assert test="hyb2:filter_wheel_driver_null_position_flag = ('Detected', 'Not Detected')"/> -->
    <!-- <xs:assert test="hyb2:filter_wheel_driver_position_sensor_status = ('Off', 'On')"/> -->
    <!-- <xs:assert test="hyb2:filter_wheel_driver_reset_status = ('In Reset Sequence', 'Not In Reset Sequence')"/> -->
    <!-- <xs:assert test="hyb2:filter_wheel_driver_driving_status = ('Driving', 'Stop')"/> -->
    <!-- End assert statements for schematron - Enumerated Values -->
  </xs:complexType>

  <xs:complexType name="TIR_Instrument_Attributes">
    <xs:annotation>
      <xs:documentation>TIR instrument-specific
        parameters.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="tir_image_type" type="hyb2:tir_image_type" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="number_of_accumulated_images" type="hyb2:number_of_accumulated_images" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="number_of_bit_shift" type="hyb2:number_of_bit_shift" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="peltier_power_status" type="hyb2:peltier_power_status" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="peltier_desired_temperature" type="hyb2:peltier_desired_temperature" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="coarse_grained_temperature_status" type="hyb2:coarse_grained_temperature_status" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="fine_grained_temperature_status" type="hyb2:fine_grained_temperature_status" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="bolometer_temperature" type="hyb2:bolometer_temperature" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="package_temperature" type="hyb2:package_temperature" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="case_temperature" type="hyb2:case_temperature" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="shutter_temperature" type="hyb2:shutter_temperature" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="lens_temperature" type="hyb2:lens_temperature" minOccurs="1" maxOccurs="1"> </xs:element>
      <xs:element name="calibration_lookup_table_file_name" type="hyb2:calibration_lookup_table_file_name" minOccurs="0" maxOccurs="1"> </xs:element>
    </xs:sequence>
    <!-- Begin assert statements for schematron - Enumerated Values -->
    <!-- <xs:assert test="hyb2:tir_image_type = ('OPN', 'PIC', 'SHT')"/> -->
    <!-- <xs:assert test="hyb2:number_of_accumulated_images = ('1', '128', '16', '2', '32', '4', '64', '8')"/> -->
    <!-- <xs:assert test="hyb2:number_of_bit_shift = ('0', '1', '2', '3', '4')"/> -->
    <!-- <xs:assert test="hyb2:peltier_power_status = ('Off', 'On')"/> -->
    <!-- <xs:assert test="hyb2:peltier_desired_temperature = ('10', '40')"/> -->
    <!-- <xs:assert test="hyb2:coarse_grained_temperature_status = ('Not ready', 'Ready')"/> -->
    <!-- <xs:assert test="hyb2:fine_grained_temperature_status = ('Ready', 'Standby')"/> -->
    <!-- End assert statements for schematron - Enumerated Values -->
  </xs:complexType>

    <xs:annotation>
      <xs:documentation>This section contains the simpleTypes that provide more constraints
        than those at the base data type level. The simpleTypes defined here build on the base data
        types. This is another component of the common dictionary and therefore falls within the
        common namespace.
      </xs:documentation>
    </xs:annotation>

  <xs:simpleType name="actual_bitdepth">
    <xs:annotation>
      <xs:documentation>This value shall contain a positive integer that
        gives the actual bit-depth for each pixel. This is corresponding
        to a dynamic range of the raw (l2a) image for ONC. Although the
        l2a data is stored in a 16-bit integer image array, the bit
        depth used for nominal image acquisition is 12. A bit depth is
        reduced to 10 or 8 bit for some images during digital processing
        in DE or ONC-E dividing the original data by 2 or
        4.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_NonNegative_Integer">
    	<xs:pattern value='[0-9]+'/>
     <xs:minInclusive value="0"/>
     <xs:maxInclusive value="18446744073709551615"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="alignment_offset_correction_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a status of alignment offset correction. This value is
        only valid for the product that is equal to or higher than
        l2c.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="analog_electronics_base_plate_temperature_average_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="analog_electronics_base_plate_temperature_average">
    <xs:annotation>
      <xs:documentation>Average of AE base plate temperature
        (degC)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:analog_electronics_base_plate_temperature_average_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="analog_electronics_base_plate_temperature_maximum_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="analog_electronics_base_plate_temperature_maximum">
    <xs:annotation>
      <xs:documentation>Maximum of AE base plate temperature
        (degC)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:analog_electronics_base_plate_temperature_maximum_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="analog_electronics_base_plate_temperature_minimum_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="analog_electronics_base_plate_temperature_minimum">
    <xs:annotation>
      <xs:documentation>Minimum of AE base plate temperature
        (degC)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:analog_electronics_base_plate_temperature_minimum_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="analog_electronics_mode">
    <xs:annotation>
      <xs:documentation>This value shall contain a string that gives a
        mode of ONC-AE, ONC analogue data processing
        unit.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="backplane_data_version">
    <xs:annotation>
      <xs:documentation>The value field shall contain a character string
        that gives version of backplane data.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="backplane_file_name">
    <xs:annotation>
      <xs:documentation>The value field shall contain a character string
        that gives backplane file name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_File_Name">
  <!-- format="file_name.file_extension" -->
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="backplane_shape_model_spice_kernel_file_name">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a name of a SPICE DSK file including shape model necessary
        to create backplane data for photometric correction required to
        create l2e product.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_File_Name">
  <!-- format="file_name.file_extension" -->
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="backplane_spice_kernel_file_name">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string the
        gives a SPICE kernel file name used to calculate the backplanes
        such as the longitude, latitude, and viewing geometories of
        Ryugu using a shape model specified by
        backplane_shape_model_spice_kernel_file_name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_File_Name">
  <!-- format="file_name.file_extension" -->
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="band_center_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="band_center">
    <xs:annotation>
      <xs:documentation>This value shall contain an real number that
        gives an effective band center of a selected band or camera in
        micrometers. For ONC, this value is calculated using the system
        efficiency of a specific camera or band, and this value is used
        to calculate the sensitivity and effective solar irradiance
        utilized in creation of l2c and l2d.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:band_center_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Length" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="band_file_name">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives source file name of this band.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_File_Name">
  <!-- format="file_name.file_extension" -->
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="bandwidth_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="bandwidth">
    <xs:annotation>
      <xs:documentation>This value shall contain an real number that
        gives an effective band with of a selected band or camera in
        micrometers. For ONC, this value is calculated using the system
        efficiency of a specific camera or band, and this value is used
        to calculate the sensitivity and effective solar irradiance
        utilized in creation of l2c and l2d.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:bandwidth_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Length" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="bias_correction_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives the status of bias correction. This value is only valid
        for the product that is equal to or higher than l2b. The bias
        correction is included in smear correction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="bolometer_temperature_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="bolometer_temperature">
    <xs:annotation>
      <xs:documentation>Uncooled micro-bolometer array temperature in
        the detector package of TIR-S. This is kept at a temperature of
        peltier_desired_temperature (nominally 40 degrees Celsius) +/-
        0.5 degrees Celsius during observation period. This temperature
        is sampled in the timing of acquiring image.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:bolometer_temperature_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="bus_line_voltage_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.23"/>
     <xs:maxInclusive value="74.68"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="bus_line_voltage">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives a bus line voltage in volts. This value is estimated at
        the time of value of observation_date_time attribute from House
        keeping data by interpolation.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:bus_line_voltage_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Voltage" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="calibration_lookup_table_file_name">
    <xs:annotation>
      <xs:documentation>Lookup table file name for conversion between
        radiant flux and DN of image.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_File_Name">
  <!-- format="file_name.file_extension" -->
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="case_temperature_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="case_temperature">
    <xs:annotation>
      <xs:documentation>Case temperature of TIR-S. This is kept at a
        constant temperature during observation period. This temperature
        is sampled in the timing of acquiring image.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:case_temperature_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="ccd_sensitivity">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives a sensitivity of selected band or camera in
        (counts/s)/(W/m2/micrometer/str) used to create
        l2c.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="ccd_sensitivity_calibration_file_name">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a name of a file including necessary data for calibration
        of CCD sensitivity dependence on CCD
        temperature.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_File_Name">
  <!-- format="file_name.file_extension" -->
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="ccd_sensitivity_calibration_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a status of CCD sensitivity calibration that depends on
        CCD temperature.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="ccd_temperature_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="ccd_temperature">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives assumed CCD temperature for the calibration
        data.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:ccd_temperature_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="chopper_amplitude_average">
    <xs:annotation>
<xs:documentation>Average of chopper amplitude</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="chopper_amplitude_maximum">
    <xs:annotation>
<xs:documentation>Maximum of chopper amplitude</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="chopper_amplitude_minimum">
    <xs:annotation>
<xs:documentation>Minimum of chopper amplitude</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="chopper_current_average_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="chopper_current_average">
    <xs:annotation>
      <xs:documentation>Average of chopper current
        (mA)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:chopper_current_average_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Current" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="chopper_current_maximum_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="chopper_current_maximum">
    <xs:annotation>
      <xs:documentation>Maximum of chopper current
        (mA)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:chopper_current_maximum_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Current" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="chopper_current_minimum_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="chopper_current_minimum">
    <xs:annotation>
      <xs:documentation>Minimum of chopper current
        (mA)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:chopper_current_minimum_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Current" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="chopper_frequency_average_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="chopper_frequency_average">
    <xs:annotation>
      <xs:documentation>Average of chopper frequency
        (Hz)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:chopper_frequency_average_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Frequency" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="chopper_frequency_maximum_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="chopper_frequency_maximum">
    <xs:annotation>
      <xs:documentation>Maximum of chopper frequency
        (Hz)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:chopper_frequency_maximum_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Frequency" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="chopper_frequency_minimum_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="chopper_frequency_minimum">
    <xs:annotation>
      <xs:documentation>Minimum of chopper frequency
        (Hz)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:chopper_frequency_minimum_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Frequency" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="chopper_status">
    <xs:annotation>
<xs:documentation>Chopper power status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="coarse_grained_temperature_status">
    <xs:annotation>
      <xs:documentation>Coarse-grained temperature
        status.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="dark_correction_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives the status of dark correction. This value is only valid
        for the product that is equal to or higher than
        l2b.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="data_maximum">
    <xs:annotation>
      <xs:documentation>This value shall contain a maximum value of the
        data of the context.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="data_mean">
    <xs:annotation>
      <xs:documentation>This value shall contain a mean value of the
        data of the context.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="data_mininimum">
    <xs:annotation>
      <xs:documentation>This value shall contain a minimum value of the
        data of the context.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="data_standard_deviation">
    <xs:annotation>
      <xs:documentation>This value shall contain a standard deviation
        value of the data of the context.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="declination_at_center_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-90.0"/>
     <xs:maxInclusive value="90.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="declination_at_center">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives declination of the center of the image in degrees, in
        J2000 frame.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:declination_at_center_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="declination_at_lower_left_corner_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-90.0"/>
     <xs:maxInclusive value="90.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="declination_at_lower_left_corner">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives declination of the lower-left corner of the image in
        degrees, in J2000 frame.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:declination_at_lower_left_corner_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="declination_at_lower_right_corner_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-90.0"/>
     <xs:maxInclusive value="90.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="declination_at_lower_right_corner">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives declination of the lower-right corner of the image in
        degrees, in J2000 frame.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:declination_at_lower_right_corner_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="declination_at_upper_left_corner_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-90.0"/>
     <xs:maxInclusive value="90.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="declination_at_upper_left_corner">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives declination of the upper-left corner of the image in
        degrees, in J2000 frame.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:declination_at_upper_left_corner_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="declination_at_upper_right_corner_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-90.0"/>
     <xs:maxInclusive value="90.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="declination_at_upper_right_corner">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives declination of the upper-right corner of the image in
        degrees, in J2000 frame.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:declination_at_upper_right_corner_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="detector_gain">
    <xs:annotation>
<xs:documentation>InAs detector gain (High/Low)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="detector_temperature_average_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="detector_temperature_average">
    <xs:annotation>
      <xs:documentation>Average of InAs detector temperature
        (degC)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:detector_temperature_average_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="detector_temperature_maximum_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="detector_temperature_maximum">
    <xs:annotation>
      <xs:documentation>Maximum of InAs detector temperature
        (degC)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:detector_temperature_maximum_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="detector_temperature_minimum_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="detector_temperature_minimum">
    <xs:annotation>
      <xs:documentation>Minimum of InAs detector temperature
        (degC)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:detector_temperature_minimum_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="digital_electronics_selection">
    <xs:annotation>
      <xs:documentation>This value shall contain a string that gives
        which digital electronics, either of ONC-E or DE is selected for
        n-th sub image, where n is sequence_number. Basically, DE is
        selected for digital processing for scientific purpose, whereas
        ONC-E is selected for optical navigation.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="distance_to_ryugu_at_center_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="distance_to_ryugu_at_center">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives distance to the surface of Ryugu at the center of the
        image in kilometres.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:distance_to_ryugu_at_center_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Length" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="distortion_correction_file_name">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a name of a file including necessary data for distortion
        correction required to create l2c.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_File_Name">
  <!-- format="file_name.file_extension" -->
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="distortion_correction_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a status of distortion correction. This value is only
        valid for the product that is equal to or higher than
        l2c.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="dynamic_range">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives a full dynamic range of pixel value at the center of
        field-of-view, that is 4095 DU - bias, where bias is typically
        about 300 DU. A dynamic range of pixel value at other place on
        the detector is less than the value at the center of
        field-of-view due to vignetting effect. When lineaity correction
        is not conducted, values between linearity_guaranteed_range and
        this value are not trustworthy.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="earth_distance_from_spacecraft_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="earth_distance_from_spacecraft">
    <xs:annotation>
      <xs:documentation>The value field shall contain a non-negative
        real number that gives the distance between center of the
        spacecraft and center of the Earth in
        kilometres.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:earth_distance_from_spacecraft_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Length" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="effective_solar_irradiance_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="effective_solar_irradiance">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives a effective solar irradiance calclulated at the solar
        distance of 1 AU for a selected band or camera in [W/m2/um]
        .</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:effective_solar_irradiance_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Spectral_Irradiance" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="elapsed_time_for_sensitivity_calibration_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="elapsed_time_for_sensitivity_calibration">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives elapsed time for sensitivity calibration from the start of
        the calibration period specified by
        sensitivity_calibration_period, because the sensitivity has time
        dependence after the second touchdown.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:elapsed_time_for_sensitivity_calibration_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Time" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="exposure_duration_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="178.26"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="exposure_duration">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number
        giving the exposure time of the observation in units of seconds.
        When the number of sub images is 2 for ONC image, this value is
        for main image. When the number of sub images is more than 2 for
        ONC image, this value indicates an exposure time for each
        image.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:exposure_duration_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Time" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="filter_axis_number">
    <xs:annotation>
      <xs:documentation>This value shall contain a non-negative integer
        that gives filter axis number for this band.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_NonNegative_Integer">
    	<xs:pattern value='[0-9]+'/>
     <xs:minInclusive value="0"/>
     <xs:maxInclusive value="18446744073709551615"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="filter_name">
    <xs:annotation>
      <xs:documentation>The value field shall contain a character string
        that gives the name of the filter that was used during the
        observation to select or modify the radiation that was
        transmitted to the detector. The value 'None' indicates that no
        filter was used.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="filter_wheel_driver_driving_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives the driving status of the ONC-T filter wheel driver for
        n-th sub image, where n is sequence_number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="filter_wheel_driver_null_position_flag">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a filter wheel driver null position flag for n-th sub
        image, where n is sequence_number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="filter_wheel_driver_position_sensor_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives the status of "filter wheel position sensor" for n-th sub
        image, where n is sequence_number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="filter_wheel_driver_reset_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string to
        describe whether filter wheel driver is in reset sequence or not
        for n-th sub image, where n is
        sequence_number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="filter_wheel_driver_step_counter">
    <xs:annotation>
      <xs:documentation>This value shall contain an integer that gives
        the step counter of filter wheel driver for n-th sub image,
        where n is sequence_counter. This value increases every 1/4800
        rotation, thus this value becomes 4800 after one filter wheel
        rotation.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Integer">
     <xs:minInclusive value="-32768"/>
     <xs:maxInclusive value="32767"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="filter_wheel_driver_step_counter_error_count">
    <xs:annotation>
      <xs:documentation>This value shall contain a non-negative integer
        that gives a error counter of filter wheel driver step
        counter.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_NonNegative_Integer">
    	<xs:pattern value='[0-9]+'/>
     <xs:minInclusive value="0"/>
     <xs:maxInclusive value="15"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="filter_wheel_driver_timeout_error_count">
    <xs:annotation>
      <xs:documentation>This value shall contain an integer number that
        gives a filter wheel driver timeout error count in 4 bits for
        n-th sub image, where n is sequence_number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_NonNegative_Integer">
    	<xs:pattern value='[0-9]+'/>
     <xs:minInclusive value="0"/>
     <xs:maxInclusive value="15"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="fine_grained_temperature_status">
    <xs:annotation>
      <xs:documentation>Fine-grained temperature
        status.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="first_rotation_angle_for_stray_light_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-180.0"/>
     <xs:maxInclusive value="180.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="first_rotation_angle_for_stray_light">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives a rotation angle around the spacecraft +Y-axis from the
        reference spacecraft attitude which has the spacecraft +Z-axis
        is same as the Sun direction vector. This angle is utilized to
        define the magnitude of the radiator stray light of ONC-T. When
        second_rotation_angle_for_stray_light is larger than -7 degrees
        and first_rotation_angle_for_stray_light is smaller than -5
        degrees, the radiator stray light of ONC-T exceeds 1 count per
        second.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:first_rotation_angle_for_stray_light_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="fla_c_electric_current_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.00"/>
     <xs:maxInclusive value="5.81"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="fla_c_electric_current">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives a FLA-C (capacitor bank of flash lamp) current value in
        amperes. This value is estimated at the time of value of
        observation_date_time attribute from House keeping data by
        interpolation.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:fla_c_electric_current_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Current" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="fla_c_temperature_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-52.27"/>
     <xs:maxInclusive value="80.62"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="fla_c_temperature">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives a FLA-C temperature in degrees Celsius. This value is
        estimated at the time of value of observation_date_time
        attribute from House keeping data by
        interpolation.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:fla_c_temperature_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="flash_lamp_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a string that gives the
        status of the flash lamp for n-th sub image, where n is
        sequence_number. The flash lamp is attached to illuminate target
        marker for ONC-W1 image. This value is usually set to be
        "Disable", and is switched to "Enable" for target marker
        tracking.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="flat_field_correction_file_name">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a file name of flat field that is an independent component
        with CCD temperature.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_File_Name">
  <!-- format="file_name.file_extension" -->
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="flat_field_correction_parameter_file_name">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a file name of flat field parameters.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_File_Name">
  <!-- format="file_name.file_extension" -->
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="flat_field_correction_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives the status of flat-field correction. This value is only
        valid for the product that is equal to or higher than
        l2b.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="flat_field_lamp_a_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a status of flat field (FF) lamp A for n-th sub image,
        where n is sequence_number. FF lamps are attached in front of
        ONC-T lens system for calibration.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="flat_field_lamp_b_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a status of flat field (FF) lamp B for n-th sub image,
        where n is sequence_number. FF lamps are attached in front of
        ONC-T lens system for calibration.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="hardware_correction_file_name">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a name of a file including necessary parameters related
        hardware correction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_File_Name">
  <!-- format="file_name.file_extension" -->
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="hardware_correction_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a status of hardware correction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="heater_current_average_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="heater_current_average">
    <xs:annotation>
<xs:documentation>Average of heater current (mA)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:heater_current_average_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Current" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="heater_current_maximum_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="heater_current_maximum">
    <xs:annotation>
<xs:documentation>Maximum of heater current (mA)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:heater_current_maximum_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Current" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="heater_current_minimum_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="heater_current_minimum">
    <xs:annotation>
<xs:documentation>Minimum of heater current (mA)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:heater_current_minimum_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Current" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="heater_status">
    <xs:annotation>
<xs:documentation>Heater power status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="horizontal_instantaneous_field_of_view_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="horizontal_instantaneous_field_of_view">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives the horizontal instantaneous field of
        view.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:horizontal_instantaneous_field_of_view_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="image_area_trimming">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives whether image area of calibration data is trimmed or not
        for image co-registration.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="image_compression_algorithm">
    <xs:annotation>
      <xs:documentation>The value field shall contain a character string
        identifying the algorithm of image
        compression.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="image_compression_initial_subsampling_interval">
    <xs:annotation>
      <xs:documentation>The value field shall contain a non-negative
        integer that gives value of exponent n for initial subsampling
        interval that is 2**n (see Takada+2007).</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_NonNegative_Integer">
    	<xs:pattern value='[0-9]+'/>
     <xs:minInclusive value="0"/>
     <xs:maxInclusive value="8"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="image_compression_quality">
    <xs:annotation>
      <xs:documentation>The value field shall contain a non-negative
        real number that gives the value of quality degradation
        parameter. The value of quality degradation parameter is set by
        command from the ground in 8 bits, but only upper 4 bits are
        included in the telemetry. The value of quality parameter should
        be within the range from 0 to 31.875 (= 0.125*2**8) if value of
        observation_mode is Science, and from 0 to 15.875 (= 0.125*2**7)
        if value of observation_mode is Navigation Dump. The value of
        quality degradation parameter is higher, quality of lossy
        compressed image will be worse, and the value is lower, the
        quality will be fine. If value of quality degradation parameter
        is 0, there will be no quality degradation.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0"/>
     <xs:maxInclusive value="31.875"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="image_compression_type">
    <xs:annotation>
      <xs:documentation>The value field shall contain a character string
        identifying the type of image compression on the onboard
        computer of the spacecraft.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="image_processing_return_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives an image processing error log.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="lens_temperature_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="lens_temperature">
    <xs:annotation>
      <xs:documentation>Lens temperature of TIR-S. The lens of TIR-S is
        kept at a constant temperature during observation period. This
        temperature is sampled in the timing of acquiring
        image.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:lens_temperature_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="linearity_guaranteed_range">
    <xs:annotation>
      <xs:documentation>This value shall contain a positive real number
        that gives a maximum value of the linearity guaranteed range at
        the center of field-of-view. This value corresponds to about
        3100 counts at the center of field-of-view. A maximum value of
        the linearity guaranteed range at other place on the detector is
        less than the value at the center of field-of-view due to
        vignetting effect. The values less than this value are
        trustworthy even if the nonlinearity correction is not
        conducted.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="mission_phase_name">
    <xs:annotation>
      <xs:documentation>The value field shall contain a character string
        that describes the mission phase name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="naif_instrument_name">
    <xs:annotation>
      <xs:documentation>The value field shall contain a character string
        that gives NAIF name of the instrument.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="nonlinearity_correction_file_name">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a name of a file including necessary parameters related
        nonlinearity correction.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_File_Name">
  <!-- format="file_name.file_extension" -->
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="nonlinearity_correction_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives the status of nonlinearity correction. This value is only
        valid for the product that is equal to or higher than
        l2b.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="normalization">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives whether data is normalized or not. This value shall
        contain a character string that gives a status of normalization.
        This normalization is conducted only for flat fields. All pixel
        values of the flat fields are divided by the average of the
        pixels in the central area (300 x 300 pixels).</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="number_of_accumulated_images">
    <xs:annotation>
      <xs:documentation>This value means the scacking frame number of
        images.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_NonNegative_Integer">
    	<xs:pattern value='[0-9]+'/>
     <xs:minInclusive value="1"/>
     <xs:maxInclusive value="128"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="number_of_binning">
    <xs:annotation>
      <xs:documentation>The value field shall contain a positive integer
        that gives the size of the area used for onboard binning. For
        example, if this value is 1, no binning was conducted. If this
        value is 2, the area of 2 x 2 pixels is binned to one
        pixel.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_NonNegative_Integer">
    	<xs:pattern value='[0-9]+'/>
     <xs:minInclusive value="0"/>
     <xs:maxInclusive value="18446744073709551615"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="number_of_bit_shift">
    <xs:annotation>
      <xs:documentation>This value means number of bit shifts applied to
        the image onboard. The raw image is 12-bit data without bit
        shift. The stacked images are 16-, 17-, 18-, and 19-bits before
        bit shift, and are applied bit shift of 1, 2, 3, and 4,
        respectively, to acquire data with bitdepth of
        15-bit.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Integer">
     <xs:minInclusive value="-9223372036854775808"/>
     <xs:maxInclusive value="9223372036854775807"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="number_of_stack">
    <xs:annotation>
      <xs:documentation>This value shall contain a positive integer that
        indicates number of stack of data for each
        spectrum.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_NonNegative_Integer">
    	<xs:pattern value='[0-9]+'/>
     <xs:minInclusive value="1"/>
     <xs:maxInclusive value="1024"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="number_of_subimage">
    <xs:annotation>
      <xs:documentation>This value shall contain the number of sub
        images used to create image onboard. For ONC-T image, typical
        numbers are 1 for a raw image, 2 for a onboard smear reduction
        image, and more than 2 for onboard stacking
        image.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_NonNegative_Integer">
    	<xs:pattern value='[0-9]+'/>
     <xs:minInclusive value="1"/>
     <xs:maxInclusive value="32"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="observation_date_time">
    <xs:annotation>
      <xs:documentation>The value field shall contain a character string
        that gives the reference observation time in
        UTC.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Date_Time_YMD_UTC">
  <!-- format="YYYY-MM-DDTHH:MM:SS.SSSSSSZ" -->
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="observation_mode">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives the name of the observation mode.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="observation_start_date_time">
    <xs:annotation>
      <xs:documentation>The value field shall contain a character string
        that gives the start of observation time in
        UTC.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Date_Time_YMD_UTC">
  <!-- format="YYYY-MM-DDTHH:MM:SS.SSSSSSZ" -->
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="observation_stop_date_time">
    <xs:annotation>
      <xs:documentation>The value field shall contain a character string
        that gives the stop of observation time in
        UTC.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Date_Time_YMD_UTC">
  <!-- format="YYYY-MM-DDTHH:MM:SS.SSSSSSZ" -->
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="onc_analog_electronics_temperature_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-52.67045737"/>
     <xs:maxInclusive value="80.21838988"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="onc_analog_electronics_temperature">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives a ONC-AE temperature in degrees Celsius. This value is
        estimated at the time of value of observation_date_time
        attribute from House keeping data by
        interpolation.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:onc_analog_electronics_temperature_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="onc_electric_current_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.00"/>
     <xs:maxInclusive value="2.93"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="onc_electric_current">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives a ONC current value in amperes. This value is estimated at
        the time of value of observation_date_time attribute from House
        keeping data by interpolation.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:onc_electric_current_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Current" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="optics_temperature_average_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="optics_temperature_average">
    <xs:annotation>
      <xs:documentation>Average of optics temperature
        (degC)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:optics_temperature_average_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="optics_temperature_maximum_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="optics_temperature_maximum">
    <xs:annotation>
      <xs:documentation>Maximum of optics temperature
        (degC)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:optics_temperature_maximum_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="optics_temperature_minimum_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="optics_temperature_minimum">
    <xs:annotation>
      <xs:documentation>Minimum of optics temperature
        (degC)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:optics_temperature_minimum_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="package_temperature_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="package_temperature">
    <xs:annotation>
      <xs:documentation>Detector package temperature of TIR-S. This is
        kept at a constant temperature during observation period. This
        temperature is sampled in the timing of acquiring
        image.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:package_temperature_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="peltier_desired_temperature_WO_Units">
    <xs:restriction base="pds:ASCII_NonNegative_Integer">
    	<xs:pattern value='[0-9]+'/>
     <xs:minInclusive value="0"/>
     <xs:maxInclusive value="18446744073709551615"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="peltier_desired_temperature">
    <xs:annotation>
      <xs:documentation>Setting of desired temprerature by Peltier
        temperature controller.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:peltier_desired_temperature_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="peltier_power_status">
    <xs:annotation>
      <xs:documentation>Peltier cooler/heater power
        status.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="photometric_correction_file_name">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a name of a file including necessary data for photometric
        correction required to create l2e.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_File_Name">
  <!-- format="file_name.file_extension" -->
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="photometric_correction_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a status of photometric correction. This value is only
        valid for the product that is equal to or higher than
        l2e.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="preamplifier_current_average_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="preamplifier_current_average">
    <xs:annotation>
      <xs:documentation>Average of preamplifier current
        (mA)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:preamplifier_current_average_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Current" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="preamplifier_current_maximum_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="preamplifier_current_maximum">
    <xs:annotation>
      <xs:documentation>Maximum of preamplifier current
        (mA)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:preamplifier_current_maximum_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Current" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="preamplifier_current_minimum_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="preamplifier_current_minimum">
    <xs:annotation>
      <xs:documentation>Minimum of preamplifier current
        (mA)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:preamplifier_current_minimum_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Current" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="radiance_conversion_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives the status of conversion to radiance. This value is only
        valid for the product that is equal to or higher than
        l2c.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="radiometric_calibration_file_name">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a name of a file including necessary data for radiometric
        correction required to create l2c and parameters required for
        l2d (I/F) creation.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_File_Name">
  <!-- format="file_name.file_extension" -->
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="radiometric_calibration_lamp_status">
    <xs:annotation>
      <xs:documentation>Radiometric calibration lamp power
        status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="radiometric_calibration_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a status of radiometric correction. This value is only
        valid for the product that is equal to or higher than
        l2c.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="raw_file_name">
    <xs:annotation>
      <xs:documentation>The value field shall contain a character string
        giving the file name of the raw data in level 0 that is the
        source of this file.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_File_Name">
  <!-- format="file_name.file_extension" -->
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="reference_frame_date_time">
    <xs:annotation>
      <xs:documentation>The value field shall contain a character string
        that gives the reference observation time of reference frame in
        UTC.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Date_Time_YMD_UTC">
  <!-- format="YYYY-MM-DDTHH:MM:SS.SSSSSSZ" -->
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="reference_frame_filter_axis_number">
    <xs:annotation>
      <xs:documentation>This value shall contain a non-negative integer
        that gives filter axis number of reference
        frame.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_NonNegative_Integer">
    	<xs:pattern value='[0-9]+'/>
     <xs:minInclusive value="0"/>
     <xs:maxInclusive value="18446744073709551615"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="reference_frame_filter_name">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives filter name of reference frame.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="right_ascension_at_center_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="360.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="right_ascension_at_center">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives right ascension of the center of the image in degrees, in
        J2000 frame.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:right_ascension_at_center_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="right_ascension_at_lower_left_corner_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="360.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="right_ascension_at_lower_left_corner">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives right ascension of the lower-left corner of the image in
        degrees, in J2000 frame.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:right_ascension_at_lower_left_corner_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="right_ascension_at_lower_right_corner_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="360.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="right_ascension_at_lower_right_corner">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives right ascension of the lower-right corner of the image in
        degrees, in J2000 frame.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:right_ascension_at_lower_right_corner_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="right_ascension_at_upper_left_corner_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="360.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="right_ascension_at_upper_left_corner">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives right ascension of the upper-left corner of the image in
        degrees, in J2000 frame.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:right_ascension_at_upper_left_corner_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="right_ascension_at_upper_right_corner_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="360.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="right_ascension_at_upper_right_corner">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives right ascension of the upper-right corner of the image in
        degrees, in J2000 frame.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:right_ascension_at_upper_right_corner_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="ryugu_distance_from_spacecraft_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="ryugu_distance_from_spacecraft">
    <xs:annotation>
      <xs:documentation>The value field shall contain a non-negative
        real number that gives the distance between center of the
        spacecraft and center of the Ryugu in
        kilometres.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:ryugu_distance_from_spacecraft_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Length" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="ryugu_latitude_at_center_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-90.0"/>
     <xs:maxInclusive value="90.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="ryugu_latitude_at_center">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives latitude of Ryugu at the center of the image in
        degrees.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:ryugu_latitude_at_center_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="ryugu_latitude_at_lower_left_corner_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-90.0"/>
     <xs:maxInclusive value="90.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="ryugu_latitude_at_lower_left_corner">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives latitude of Ryugu's surface at the lower-left corner pixel
        of the image in degrees. Note that this value represents value
        at the center of the pixel, instead of value at the lower-left
        vertex of the pixel.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:ryugu_latitude_at_lower_left_corner_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="ryugu_latitude_at_lower_right_corner_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-90.0"/>
     <xs:maxInclusive value="90.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="ryugu_latitude_at_lower_right_corner">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives latitude of Ryugu's surface at the lower-right corner
        pixel of the image in degrees. Note that this value represents
        value at the center of the pixel, instead of value at the
        lower-right vertex of the pixel.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:ryugu_latitude_at_lower_right_corner_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="ryugu_latitude_at_upper_left_corner_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-90.0"/>
     <xs:maxInclusive value="90.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="ryugu_latitude_at_upper_left_corner">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives latitude of Ryugu's surface at the upper-left corner pixel
        of the image in degrees. Note that this value represents value
        at the center of the pixel, instead of value at the upper-left
        vertex of the pixel.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:ryugu_latitude_at_upper_left_corner_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="ryugu_latitude_at_upper_right_corner_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-90.0"/>
     <xs:maxInclusive value="90.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="ryugu_latitude_at_upper_right_corner">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives latitude of Ryugu's surface at the upper-right corner
        pixel of the image in degrees. Note that this value represents
        value at the center of the pixel, instead of value at the
        upper-right vertex of the pixel.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:ryugu_latitude_at_upper_right_corner_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="ryugu_longitude_at_center_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="360.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="ryugu_longitude_at_center">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives longitude of Ryugu at the center of the image in
        degrees.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:ryugu_longitude_at_center_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="ryugu_longitude_at_lower_left_corner_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="360.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="ryugu_longitude_at_lower_left_corner">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives longitude of Ryugu's surface at the lower-left corner
        pixel of the image in degrees. Note that this value represents
        value at the center of the pixel, instead of value at the
        lower-left vertex of the pixel.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:ryugu_longitude_at_lower_left_corner_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="ryugu_longitude_at_lower_right_corner_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="360.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="ryugu_longitude_at_lower_right_corner">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives longitude of Ryugu's surface at the lower-right corner
        pixel of the image in degrees. Note that this value represents
        value at the center of the pixel, instead of value at the
        lower-right vertex of the pixel.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:ryugu_longitude_at_lower_right_corner_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="ryugu_longitude_at_upper_left_corner_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="360.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="ryugu_longitude_at_upper_left_corner">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives longitude of Ryugu's surface at the upper-left corner
        pixel of the image in degrees. Note that this value represents
        value at the center of the pixel, instead of value at the
        upper-left vertex of the pixel.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:ryugu_longitude_at_upper_left_corner_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="ryugu_longitude_at_upper_right_corner_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="360.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="ryugu_longitude_at_upper_right_corner">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives longitude of Ryugu's surface at the upper-right corner
        pixel of the image in degrees. Note that this value represents
        value at the center of the pixel, instead of value at the
        upper-right vertex of the pixel.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:ryugu_longitude_at_upper_right_corner_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="s_base_plate_temperature_average_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="s_base_plate_temperature_average">
    <xs:annotation>
      <xs:documentation>Average of S base plate temperature
        (degC)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:s_base_plate_temperature_average_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="s_base_plate_temperature_maximum_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="s_base_plate_temperature_maximum">
    <xs:annotation>
      <xs:documentation>Maximum of S base plate temperature
        (degC)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:s_base_plate_temperature_maximum_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="s_base_plate_temperature_minimum_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="s_base_plate_temperature_minimum">
    <xs:annotation>
      <xs:documentation>Minimum of S base plate temperature
        (degC)</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:s_base_plate_temperature_minimum_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="sampling_mode">
    <xs:annotation>
      <xs:documentation>Sampling mode
        (FPGA/C11/C31/C42)</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="second_rotation_angle_for_stray_light_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-180.0"/>
     <xs:maxInclusive value="180.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="second_rotation_angle_for_stray_light">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives an rotation angle around the spacecraft +Z-axis from the
        spacecraft attitude after rotation around the spacecraft +Y-axis
        of first_rotation_angle_for_stray_light from the reference
        spacecraft attitude which has the spacecraft +Z-axis is same as
        the Sun direction vector. This angle is utilized to define the
        magnitude of the radiator stray light of ONC-T. When
        second_rotation_angle_for_stray_light is larger than -7 degrees
        and first_rotation_angle_for_stray_light is smaller than -5
        degrees, the radiator stray light of ONC-T exceeds 1 count per
        second.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:second_rotation_angle_for_stray_light_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="sensitivity_calibration_period">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a sensitivity calibration period to describe sensitivity
        variation after two touch down events.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="sequence_number">
    <xs:annotation>
      <xs:documentation>This value shall contain a non-negative integer
        that gives a sequence number of a series of sub
        images.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_NonNegative_Integer">
    	<xs:pattern value='[0-9]+'/>
     <xs:minInclusive value="1"/>
     <xs:maxInclusive value="32"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="shutter_temperature_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="shutter_temperature">
    <xs:annotation>
      <xs:documentation>Shutter temperature of TIR-S. The shutter as a
        blackbody calibration target of TIR-S is kept at a constant
        temperature during observation period. This temperature is
        sampled in the timing of acquiring image.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:shutter_temperature_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="smear_correction_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives the status of smear correction. This value is only valid
        for the product that is equal to or higher than
        l2b.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="solar_distance_correction_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a status of solar distance correction nominally conducted
        during creation of l2d.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="solar_distance_for_calibration_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="solar_distance_for_calibration">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives solar distance used to create l2d. This value is
        considered to be consistent with value of
        sun_distance_from_spacecraft.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:solar_distance_for_calibration_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Length" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="spacecraft_clock_count">
    <xs:annotation>
      <xs:documentation>This value shall contain a hexadecimal number
        that gives a spacecraft clock count at the end of image
        acquisition for n-th sub image, where n is
        sequence_number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
    	<xs:pattern value='[1-9][0-9]*\/[0-9]{10}'/>
     <xs:minLength value="12"/>
     <xs:maxLength value="12"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="spacecraft_clock_start_count">
    <xs:annotation>
      <xs:documentation>The value field shall contain a character string
        that gives the spacecraft clock start count.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
    	<xs:pattern value='[1-9][0-9]*\/[0-9]{10}'/>
     <xs:minLength value="12"/>
     <xs:maxLength value="12"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="spacecraft_clock_stop_count">
    <xs:annotation>
      <xs:documentation>The value field shall contain a character string
        that gives the spacecraft clock stop count.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
    	<xs:pattern value='[1-9][0-9]*\/[0-9]{10}'/>
     <xs:minLength value="12"/>
     <xs:maxLength value="12"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="spacecraft_x_position_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="spacecraft_x_position">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives spacecraft x-position in kilometres from the Sun in J2000
        coordinates. This value is calculated without light time
        correction nor stellar aberration.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:spacecraft_x_position_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Length" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="spacecraft_y_position_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="spacecraft_y_position">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives spacecraft y-position in kilometres from the Sun in J2000
        coordinates. This value is calculated without light time
        correction nor stellar aberration.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:spacecraft_y_position_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Length" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="spacecraft_z_position_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-1.7976931348623157e308"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="spacecraft_z_position">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives spacecraft z-position in kilometres from the Sun in J2000
        coordinates. This value is calculated without light time
        correction nor stellar aberration.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:spacecraft_z_position_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Length" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="spatial_resolution_of_ryugu_at_center_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="spatial_resolution_of_ryugu_at_center">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives spatial resolution of the Ryugu's surface at the center of
        the image in kilometres.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:spatial_resolution_of_ryugu_at_center_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Pixel_Resolution_Linear" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="stray_light_correction_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives the status of stray light correction of ONC-T image. This
        value is only valid for the product that is equal to or higher
        than l2b of ONC-T image when the stray_light_status is
        "AFFECTED".</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="stray_light_first_principal_component_file_name">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a file name of first principal component of stray light
        pattern image.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_File_Name">
  <!-- format="file_name.file_extension" -->
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="stray_light_mean_file_name">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a file name of average of stray light pattern
        image.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_File_Name">
  <!-- format="file_name.file_extension" -->
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="stray_light_second_principal_component_file_name">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a file name of second principal component of stray light
        pattern image.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_File_Name">
  <!-- format="file_name.file_extension" -->
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="stray_light_status">
    <xs:annotation>
      <xs:documentation>The value field shall contain a character string
        that gives whether stray light from the backward space of ONC-T
        exists or not. This value is only applied to ONC-T image. This
        value is estimated from the values of
        first_rotation_angle_for_stray_light,
        second_rotation_angle_for_stray_light, and empirical formula.
        See Suzuki+2018 and Tatsumi+2019 for the
        details.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="sun_direction_spacecraft_x_axis_angle_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="180.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="sun_direction_spacecraft_x_axis_angle">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives angle of spacecraft's X-axis and Sun direction in
        degrees.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:sun_direction_spacecraft_x_axis_angle_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="sun_direction_spacecraft_y_axis_angle_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="180.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="sun_direction_spacecraft_y_axis_angle">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives angle of spacecraft's Y-axis and Sun direction in
        degrees.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:sun_direction_spacecraft_y_axis_angle_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="sun_direction_spacecraft_z_axis_angle_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="180.0"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="sun_direction_spacecraft_z_axis_angle">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives angle of spacecraft's Z-axis and Sun direction in
        degrees.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:sun_direction_spacecraft_z_axis_angle_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="sun_distance_from_ryugu_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="sun_distance_from_ryugu">
    <xs:annotation>
      <xs:documentation>The value field shall contain a non-negative
        real number that gives the distance between center of the Sun
        and center of the Ryugu in kilometres.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:sun_distance_from_ryugu_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Length" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="sun_distance_from_spacecraft_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="sun_distance_from_spacecraft">
    <xs:annotation>
      <xs:documentation>The value field shall contain a non-negative
        real number that gives the distance between center of the
        spacecraft and center of the Sun in
        kilometres.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:sun_distance_from_spacecraft_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Length" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="t_camera_selection_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a string that gives a
        selection status of ONC-T camera head by ONC-AE for n-th sub
        image, where n is sequence_number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="t_ccd_temperature_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-52.17"/>
     <xs:maxInclusive value="80.72"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="t_ccd_temperature">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives a ONC-T CCD temperature in degrees Celsius. This value is
        estimated at the time of value of observation_date_time
        attribute from House keeping data by
        interpolation.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:t_ccd_temperature_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="t_driving_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a string that gives a
        driving status of ONC-T camera head for n-th sub image, where n
        is sequence_number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="t_electric_circuit_temperature_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-52.62"/>
     <xs:maxInclusive value="80.27"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="t_electric_circuit_temperature">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives a ONC-T electric circuit temperature in degrees Celsius.
        This value is estimated at the time of value of
        observation_date_time attribute from House keeping data by
        interpolation.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:t_electric_circuit_temperature_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="t_exposure_duration_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="178.26"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="t_exposure_duration">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives an exposure time in seconds for ONC-T for n-th sub image,
        where n is sequence_number. This value is valid when ONC-T is
        selected as a valid camera, i.e., value of
        t_camera_selection_status is 'On'. The list of values is 0,
        0.00544, 0.00820, 0.01088, 0.01640, 0.02176, 0.03280, 0.04352,
        0.06560, 0.08704, 0.13120, 0.17408, 0.26240, 0.34816, 0.52480,
        0.69632, 1.04960, 1.39264, 2.09920, 2.78528, 4.19840, 5.57056,
        8.39680, 11.14112, 16.79360, 22.28224, 33.58720, 44.56448,
        67.17440, 89.12896, 134.34880, and 178.25792.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:t_exposure_duration_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Time" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="t_filter_name">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a name of selected filter of ONC-T for n-th sub image,
        where n is sequence_number. This value should be neglected when
        ONC-T is not selected.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="t_optics_temperature_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-53.40"/>
     <xs:maxInclusive value="79.49"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="t_optics_temperature">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives a ONC-T optics temperature in degrees Celsius. This value
        is estimated at the time of value of observation_date_time
        attribute from House keeping data by
        interpolation.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:t_optics_temperature_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="temperature_dependent_flat_field_correction_file_name">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a file name of flatfield that is a dependent component
        with CCD temperature. This calibration is only applied to x- and
        p-filters image of ONC-T.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_File_Name">
  <!-- format="file_name.file_extension" -->
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="temperature_dependent_flat_field_correction_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a character string that
        gives a status of correction of a CCD temperature dependent
        component of flat-field. This calibration is only applied to x-
        and p-filters image of ONC-T.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="tir_image_type">
    <xs:annotation>
<xs:documentation>Type of TIR image.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="unit_count_value">
    <xs:annotation>
      <xs:documentation>This value shall contain a positive real number
        that gives value corresponding to unit count at original data.
        This indicates resolution of the value.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="vertical_instantaneous_field_of_view_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0"/>
     <xs:maxInclusive value="1.7976931348623157e308"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="vertical_instantaneous_field_of_view">
    <xs:annotation>
      <xs:documentation>The value field shall contain a real number that
        gives the vertical instantaneous field of
        view.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:vertical_instantaneous_field_of_view_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Angle" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="w1_camera_selection_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a string that gives the
        selection status of ONC-W1 camera head by ONC-AE for n-th sub
        image, where n is sequence_number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="w1_ccd_temperature_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-50.69"/>
     <xs:maxInclusive value="82.20"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="w1_ccd_temperature">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives a ONC-W1 CCD temperature in degrees Celsius. This value is
        estimated at the time of value of observation_date_time
        attribute from House keeping data by
        interpolation.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:w1_ccd_temperature_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="w1_driving_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a string that gives a
        driving status of ONC-W1 camera head for n-th image, where n is
        sequence_number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="w1_electric_circuit_temperature_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-51.03"/>
     <xs:maxInclusive value="81.86"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="w1_electric_circuit_temperature">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives a ONC-W1 electric circuit temperature in degrees Celsius.
        This value is estimated at the time of value of
        observation_date_time attribute from House keeping data by
        interpolation.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:w1_electric_circuit_temperature_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="w1_exposure_duration_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="5.57056"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="w1_exposure_duration">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives the exposure time in seconds for ONC-W1 for n-th sub
        image, where n is sequence_number. This values is valid when
        ONC-W1 is selected as a valid camera, i.e., value of
        w1_camera_selection_status is 'On'. The list is 0, 0.00017000,
        0.00025625, 0.00034000, 0.00051250, 0.00068000, 0.00102500,
        0.00136, 0.00205, 0.00272, 0.00410, 0.00544, 0.00820, 0.01088,
        0.01640, 0.02176, 0.03280, 0.04352, 0.06560, 0.08704, 0.13120,
        0.17408, 0.26240, 0.34816, 0.52480, 0.69632, 1.04960, 1.39264,
        2.09920, 2.78528, 4.19840, and 5.57056.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:w1_exposure_duration_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Time" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="w1_optics_temperature_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-52.16"/>
     <xs:maxInclusive value="80.73"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="w1_optics_temperature">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives a ONC-W1 optics temperature in degrees Celsius. This value
        is estimated at the time of observation_date_time attribute from
        House keeping data by interpolation.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:w1_optics_temperature_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="w2_camera_selection_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a string that gives the
        selection status of ONC-W2 by ONC-AE for n-th sub image, where n
        is sequence_number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="w2_ccd_temperature_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-52.98"/>
     <xs:maxInclusive value="79.90"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="w2_ccd_temperature">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives a ONC-W2 CCD temperature in degrees Celsius. This value is
        estimated at the time of value of observation_date_time
        attribute from House keeping data by
        interpolation.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:w2_ccd_temperature_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="w2_driving_status">
    <xs:annotation>
      <xs:documentation>This value shall contain a string that gives the
        ON/OFF status of ONC-W2 driver for n-th sub image, where n is
        sequence_number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="w2_electric_circuit_temperature_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-53.10"/>
     <xs:maxInclusive value="79.79"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="w2_electric_circuit_temperature">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives a ONC-W2 electric circuit temperature in degrees Celsius.
        This value is estimated at the time of value of
        observation_date_time attribute from House keeping data by
        interpolation.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:w2_electric_circuit_temperature_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="w2_exposure_duration_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="0.0"/>
     <xs:maxInclusive value="44.56448"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="w2_exposure_duration">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives the exposure time in seconds for ONC-W2 for n-th sub
        image, where n is sequence_number. This values is valid when
        ONC-W2 is selected as a valid camera, i.e., value of
        w2_camera_selection_status is 'On'. The list is 0, 0.00136,
        0.00205, 0.00272, 0.00410, 0.00544, 0.00820, 0.01088, 0.01640,
        0.02176, 0.03280, 0.04352, 0.06560, 0.08704, 0.13120, 0.17408,
        0.26240, 0.34816, 0.52480, 0.69632, 1.04960, 1.39264, 2.09920,
        2.78528, 4.19840, 5.57056, 8.39680, 11.14112, 16.79360,
        22.28224, 33.58720, and 44.56448.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:w2_exposure_duration_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Time" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="w2_optics_temperature_WO_Units">
    <xs:restriction base="pds:ASCII_Real">
     <xs:minInclusive value="-52.37"/>
     <xs:maxInclusive value="80.52"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="w2_optics_temperature">
    <xs:annotation>
      <xs:documentation>This value shall contain a real number that
        gives a ONC-W2 optics temperature in degrees Celsius. This value
        is estimated at the time of value of observation_date_time
        attribute from House keeping data by
        interpolation.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:w2_optics_temperature_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Temperature" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="wavelength_calibration_lamp_status">
    <xs:annotation>
      <xs:documentation>Wavelength calibration lamp power
        status</xs:documentation>
    </xs:annotation>
    <xs:restriction base="pds:ASCII_Short_String_Collapsed">
     <xs:minLength value="1"/>
     <xs:maxLength value="255"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="x_lower_left_corner_WO_Units">
    <xs:restriction base="pds:ASCII_NonNegative_Integer">
    	<xs:pattern value='[0-9]+'/>
     <xs:minInclusive value="1"/>
     <xs:maxInclusive value="897"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="x_lower_left_corner">
    <xs:annotation>
      <xs:documentation>The value field shall contain a positive integer
        that gives the horizontal position of lower-left corner of the
        area selected as ROI (region of interest) in the full-size image
        coordinate system. Note that the origin is (1, 1) and the
        position in integer means center of the pixel. Possible values
        are 1, 129, 385, 513, 641, 769, and 897 for ONC
        image.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:x_lower_left_corner_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Misc" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="x_upper_right_corner_WO_Units">
    <xs:restriction base="pds:ASCII_NonNegative_Integer">
    	<xs:pattern value='[0-9]+'/>
     <xs:minInclusive value="1"/>
     <xs:maxInclusive value="1024"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="x_upper_right_corner">
    <xs:annotation>
      <xs:documentation>The value field shall contain a positive integer
        that gives the horizontal position of upper right corner of the
        area selected as ROI (region of interest) in the full-size image
        coordinate system. Note that the origin is (1, 1) and the
        position in integer means center of the pixel. Possible values
        are 129, 385, 513, 641, 769, 897, and 1024 for ONC frame image,
        and 32 for ONC optical black image.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:x_upper_right_corner_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Misc" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="y_lower_left_corner_WO_Units">
    <xs:restriction base="pds:ASCII_NonNegative_Integer">
    	<xs:pattern value='[0-9]+'/>
     <xs:minInclusive value="1"/>
     <xs:maxInclusive value="897"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="y_lower_left_corner">
    <xs:annotation>
      <xs:documentation>The value field shall contain a positive integer
        that gives vertical-position of the lower-left corner of the
        area selected as ROI (region of interest) in the full-size image
        coordinate system. Note that the origin is (1, 1) and the
        position in integer means center of the pixel. Possible values
        are 1, 129, 385, 513, 641, 769, and 897 for ONC
        image.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:y_lower_left_corner_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Misc" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>

  <xs:simpleType name="y_upper_right_corner_WO_Units">
    <xs:restriction base="pds:ASCII_NonNegative_Integer">
    	<xs:pattern value='[0-9]+'/>
     <xs:minInclusive value="129"/>
     <xs:maxInclusive value="1024"/>
	   </xs:restriction>
  </xs:simpleType>

  <xs:complexType name="y_upper_right_corner">
    <xs:annotation>
      <xs:documentation>The value field shall contain a positive integer
        that gives the vertical position of upper right corner of the
        area selected as ROI (region of interest) in the full-size image
        coordinate system. Note that the origin is (1, 1) and the
        position in integer means center of the pixel. Possbile values
        are 129, 385, 513, 641, 769, 897, 1024 for ONC
        image.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
      <xs:extension base="hyb2:y_upper_right_corner_WO_Units">
        <xs:attribute name="unit" type="pds:Units_of_Misc" use="required" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:schema>
