<?xml version="1.0" encoding="UTF-8"?>
  <!-- PDS4 Schematron for Name Space Id:bc_mpo_bel  Version:1.0.0.1 - Mon Jul 29 12:18:30 CEST 2024 -->
  <!-- Generated from the PDS4 Information Model Version 1.22.0.0 - System Build 14.1 -->
  <!-- *** This PDS4 schematron file is an operational deliverable. *** -->
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">

  <sch:title>Schematron using XPath 2.0</sch:title>

  <sch:ns uri="http://www.w3.org/2001/XMLSchema-instance" prefix="xsi"/>
  <sch:ns uri="http://pds.nasa.gov/pds4/pds/v1" prefix="pds"/>
  <sch:ns uri="http://psa.esa.int/psa/bc/mpo/bel/v1" prefix="bc_mpo_bel"/>

		   <!-- ================================================ -->
		   <!-- NOTE:  There are two types of schematron rules.  -->
		   <!--        One type includes rules written for       -->
		   <!--        specific situations. The other type are   -->
		   <!--        generated to validate enumerated value    -->
		   <!--        lists. These two types of rules have been -->
		   <!--        merged together in the rules below.       -->
		   <!-- ================================================ -->
  <sch:pattern>
    <sch:rule context="bc_mpo_bel:Instrument_Information/bc_mpo_bel:instrument_version">
      <sch:assert test=". = ('BELA Flight Model', 'BELA Flight Spare')">
        <title>bc_mpo_bel:Instrument_Information/bc_mpo_bel:instrument_version/bc_mpo_bel:instrument_version</title>
        The attribute bc_mpo_bel:Instrument_Information/bc_mpo_bel:instrument_version must be equal to one of the following values 'BELA Flight Model', 'BELA Flight Spare'.</sch:assert>
    </sch:rule>
  </sch:pattern>
  <sch:pattern>
    <sch:rule context="bc_mpo_bel:Instrument_Information/bc_mpo_bel:instrument_version_id">
      <sch:assert test=". = ('FM', 'FS')">
        <title>bc_mpo_bel:Instrument_Information/bc_mpo_bel:instrument_version_id/bc_mpo_bel:instrument_version_id</title>
        The attribute bc_mpo_bel:Instrument_Information/bc_mpo_bel:instrument_version_id must be equal to one of the following values 'FM', 'FS'.</sch:assert>
    </sch:rule>
  </sch:pattern>
</sch:schema>
