<xsd:element name="module_item" substitutionGroup="oval-sc:item">
<xsd:annotation>
<xsd:documentation>Stores results from SHOW MODULE command.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="oval-sc:ItemType">
<xsd:sequence>
<xsd:element name="module_number" type="oval-sc:EntityItemIntType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="catosmoduleitemmodule_number" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="catos-sc:module_item/catos-sc:module_number">
<sch:assert test="@datatype='int'">item <sch:value-of select="../@id" /> - datatype attribute for the module_number entity of a module_item should be 'int'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="type" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="catosmoduleitemtype" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="catos-sc:module_item/catos-sc:type">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the type entity of a module_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="model" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="catosmoduleitemmodel" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="catos-sc:module_item/catos-sc:model">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the model entity of a module_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="software_major_release" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="catosmoduleitemsoftware_major_release" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="catos-sc:module_item/catos-sc:software_major_release">
<sch:assert test="@datatype='version'">item <sch:value-of select="../@id" /> - datatype attribute for the software_major_release entity of a module_item should be 'version'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="software_individual_release" type="oval-sc:EntityItemIntType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="catosmoduleitemsoftware_individual_release" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="catos-sc:module_item/catos-sc:software_individual_release">
<sch:assert test="@datatype='int'">item <sch:value-of select="../@id" /> - datatype attribute for the software_individual_release entity of a module_item should be 'int'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="software_version_id" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="catosmoduleitemsoftware_version_id" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="catos-sc:module_item/catos-sc:software_version_id">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the software_version_id entity of a module_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="hardware_major_release" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="catosmoduleitemhardware_major_release" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="catos-sc:module_item/catos-sc:hardware_major_release">
<sch:assert test="@datatype='version'">item <sch:value-of select="../@id" /> - datatype attribute for the hardware_major_release entity of a module_item should be 'version'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="hardware_individual_release" type="oval-sc:EntityItemIntType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="catosmoduleitemhardware_individual_release" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="catos-sc:module_item/catos-sc:hardware_individual_release">
<sch:assert test="@datatype='int'">item <sch:value-of select="../@id" /> - datatype attribute for the hardware_individual_release entity of a module_item should be 'int'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="firmware_major_release" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="catosmoduleitemfirmware_major_release" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="catos-sc:module_item/catos-sc:firmware_major_release">
<sch:assert test="@datatype='version'">item <sch:value-of select="../@id" /> - datatype attribute for the firmware_major_release entity of a module_item should be 'version'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="firmware_individual_release" type="oval-sc:EntityItemIntType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="catosmoduleitemfirmware_individual_release" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="catos-sc:module_item/catos-sc:firmware_individual_release">
<sch:assert test="@datatype='int'">item <sch:value-of select="../@id" /> - datatype attribute for the firmware_individual_release entity of a module_item should be 'int'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
|