Schematron using XPath 2.0
IMG:error:img:color_filter_array_state_check: img:color_filter_array_state must be equal to one of the following values:
'Encoded', 'Decoded', 'No CFA'.
IMG:error:color_processing_child_check: img:color must have at least 1 attribute or class specified.
IMG:error:commanded_params_child_check: img:Commanded_Parameters must have at least 1 attribute or class specified.
IMG:error:detector_params_child_check: img:Detector must have at least 1 attribute or class specified.
IMG:error:downsampling_child_check: img:Downsampling must have at least 1 attribute or class specified.
IMG:error:exposure_child_check: img:Exposure must have at least 1 attribute or class specified.
IMG:error:focus_child_check: img:Focus must have at least 1 attribute or class specified.
IMG:error:focus_stack_child_check: img:Focus_Stack must have at least 1 attribute or class specified.
IMG:error:frame_child_check: img:Frame must have at least 1 attribute or class specified.
IMG:error:icer_comprs_segment_check: img:ICER_Parameters/img:segment_count must match the number of img:Image_Compression_Segment classes.
IMG:error:icer_params_child_check: img:ICER_Parameters must have at least 1 attribute or class specified.
IMG:error:imaging_child_check: img:Imaging class must contain at least 1 attribute or class specified.
The attribute img:active_flag must be equal to one of the following values 'true', 'false'.
The attribute img:color_filter_array_state must be equal to one of the following values 'Decoded', 'Encoded', 'No CFA'.
The attribute img:color_filter_array_type must be equal to the value 'Bayer RGGB'.
The attribute img:active_flag must be equal to one of the following values 'true', 'false'.
The attribute img:companding_state must be equal to one of the following values 'Companded', 'Expanded', 'None'.
The attribute img:detector_to_image_flip must be equal to one of the following values 'Horizontal', 'None', 'Vertical'.
The attribute @unit must be equal to one of the following values 'arcmin', 'arcsec', 'deg', 'hr', 'mrad', 'rad'.
The attribute @unit must be equal to one of the following values 'Hz'.
The attribute @unit must be equal to one of the following values 'A', 'mA'.
The attribute @unit must be equal to one of the following values 'K', 'degC'.
The attribute @unit must be equal to one of the following values 'V', 'mV'.
The attribute @unit must be equal to one of the following values 'day', 'hr', 'julian day', 'microseconds', 'min', 'ms', 's', 'yr'.
The attribute img:exposure_type must be equal to one of the following values 'Auto', 'Manual', 'Test'.
The attribute @unit must be equal to one of the following values 'AU', 'Angstrom', 'cm', 'km', 'm', 'micrometer', 'mm', 'nm'.
The attribute img:focus_mode must be equal to one of the following values 'Autofocus', 'Manual', 'Relative', 'ZStack'.
The attribute @unit must be equal to one of the following values 'AU', 'Angstrom', 'cm', 'km', 'm', 'micrometer', 'mm', 'nm'.
The attribute @unit must be equal to one of the following values 'AU', 'Angstrom', 'cm', 'km', 'm', 'micrometer', 'mm', 'nm'.
The attribute @unit must be equal to one of the following values 'DN', 'electron/DN', 'pixel'.
The attribute @unit must be equal to one of the following values 'DN', 'electron/DN', 'pixel'.
The attribute @unit must be equal to one of the following values 'DN', 'electron/DN', 'pixel'.
The attribute @unit must be equal to one of the following values 'DN', 'electron/DN', 'pixel'.
The attribute @unit must be equal to one of the following values 'DN', 'electron/DN', 'pixel'.
The attribute @unit must be equal to one of the following values 'DN', 'electron/DN', 'pixel'.
The attribute @unit must be equal to one of the following values 'arcmin', 'arcsec', 'deg', 'hr', 'mrad', 'rad'.
The attribute img:mask_type must be equal to one of the following values 'description', 'image'.
The attribute img:color_subsampling_mode must be equal to one of the following values '4:2:2', '4:4:4', 'Grayscale'.
The attribute img:color_subsampling_mode must be equal to one of the following values '4:2:2', '4:4:4', 'Grayscale'.
The attribute @unit must be equal to one of the following values 'AU', 'Angstrom', 'cm', 'km', 'm', 'micrometer', 'mm', 'nm'.
The attribute img:deferred_flag must be equal to one of the following values 'true', 'false'.
The attribute img:onboard_compression_class must be equal to one of the following values 'Lossless', 'Lossy', 'Uncompressed'.
The attribute img:onboard_compression_type must be equal to one of the following values 'ICER', 'ICT', 'JPEG', 'JPEG Progressive', 'LOCO', 'MSSS Lossless', 'None'.
The attribute @unit must be equal to one of the following values 'AU', 'Angstrom', 'cm', 'km', 'm', 'micrometer', 'mm', 'nm'.
The attribute @unit must be equal to one of the following values 'AU', 'Angstrom', 'cm', 'km', 'm', 'micrometer', 'mm', 'nm'.
The attribute @unit must be equal to one of the following values 'DN', 'electron/DN', 'pixel'.
The attribute @unit must be equal to one of the following values 'DN', 'electron/DN', 'pixel'.
The attribute @unit must be equal to one of the following values 'DN', 'electron/DN', 'pixel'.
The attribute @unit must be equal to one of the following values 'DN', 'electron/DN', 'pixel'.
The attribute img:active_flag must be equal to one of the following values 'true', 'false'.
The attribute img:radiometric_type must be equal to one of the following values 'No CFA', 'Scaled Spectral Radiance', 'Spectral Radiance'.
The attribute img:active_flag must be equal to one of the following values 'true', 'false'.
The attribute img:shutter_subtraction_mode must be equal to one of the following values 'Conditional', 'True'.
The attribute @unit must be equal to one of the following values 'DN', 'electron/DN', 'pixel'.
The attribute @unit must be equal to one of the following values 'DN', 'electron/DN', 'pixel'.
The attribute @unit must be equal to one of the following values 'DN', 'electron/DN', 'pixel'.
The attribute @unit must be equal to one of the following values 'DN', 'electron/DN', 'pixel'.
The attribute @unit must be equal to one of the following values 'DN', 'electron/DN', 'pixel'.
The attribute @unit must be equal to one of the following values 'DN', 'electron/DN', 'pixel'.
The attribute @unit must be equal to one of the following values 'arcmin', 'arcsec', 'deg', 'hr', 'mrad', 'rad'.
The attribute @unit must be equal to one of the following values 'arcmin', 'arcsec', 'deg', 'hr', 'mrad', 'rad'.
The attribute img:subframe_type must be equal to one of the following values 'Hardware Compatible', 'Hardware Else Software', 'Software Only', 'Subframe Around Sun'.
The attribute img:video_flag must be equal to one of the following values 'true', 'false'.
The attribute @unit must be equal to one of the following values 'day', 'hr', 'julian day', 'microseconds', 'min', 'ms', 's', 'yr'.
The attribute @unit must be equal to one of the following values 'frames/s'.
The attribute @unit must be equal to one of the following values 'day', 'hr', 'julian day', 'microseconds', 'min', 'ms', 's', 'yr'.
IMG:error:inst_state_child_check: img:Instrument_State must have at least 1 attribute or class specified.
IMG:error:jpeg_params_child_check: img:JPEG_Parameters must have at least 1 attribute or class specified.
In img:Imaging, Local_Internal_Reference.local_reference_type must be equal to 'imaging_parameters_to_image_object'.
In img:Optical_Filter, Local_Internal_Reference.local_reference_type must be equal to 'data_to_optical_filter'.
IMG:error:loco_params_child_check: img:LOCO_Parameters must have at least 1 attribute or class specified.
IMG:error:onboard_compression_child_check: img:Onboard_Compression must have at least 1 attribute or class specified.
IMG:error:optical_filter_child_check: img:Optical_Filter must have at least 1 attribute or class specified.
In img:Brightness_Correction_Image, Internal_Reference.reference_type must be equal to 'data_to_brightness_correction'.
IMG:error:sampling_child_check: img:Sampling must have at least 1 attribute or class specified.
IMG:error:shutter_subtraction_check: if img:shutter_subtraction_mode = 'Conditional', then img:exposure_duration_threshold_count must exist.
IMG:error:subframe_child_check: img:Subframe must have at least 1 attribute or class specified.
IMG:error:video_child_check: img:Video must have at least 1 attribute or class specified.