Definition Type: Element
Name: module_item
Namespace: http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#catos
Type: oval-sc:ItemType
Containing Schema: catos-system-characteristics-schema.xsd
Abstract
Documentation:
Stores results from SHOW MODULE command.
Collapse XSD Schema Diagram:
Drilldown into firmware_individual_release in schema catos-system-characteristics-schema_xsd Drilldown into firmware_major_release in schema catos-system-characteristics-schema_xsd Drilldown into hardware_individual_release in schema catos-system-characteristics-schema_xsd Drilldown into hardware_major_release in schema catos-system-characteristics-schema_xsd Drilldown into software_version_id in schema catos-system-characteristics-schema_xsd Drilldown into software_individual_release in schema catos-system-characteristics-schema_xsd Drilldown into software_major_release in schema catos-system-characteristics-schema_xsd Drilldown into model in schema catos-system-characteristics-schema_xsd Drilldown into type in schema catos-system-characteristics-schema_xsd Drilldown into module_number in schema catos-system-characteristics-schema_xsd Drilldown into message in schema oval-system-characteristics-schema_xsd Drilldown into status in schema oval-system-characteristics-schema_xsd Drilldown into id in schema oval-system-characteristics-schema_xsd Drilldown into ItemType in schema oval-system-characteristics-schema_xsdXSD Diagram of module_item in schema catos-system-characteristics-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<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>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
message oval-sc:message 0 1
module_number catos-sc:module_number 0 1
type catos-sc:type 0 1
model catos-sc:model 0 1
software_major_release catos-sc:software_major_release 0 1
software_individual_release catos-sc:software_individual_release 0 1
software_version_id catos-sc:software_version_id 0 1
hardware_major_release catos-sc:hardware_major_release 0 1
hardware_individual_release catos-sc:hardware_individual_release 0 1
firmware_major_release catos-sc:firmware_major_release 0 1
firmware_individual_release catos-sc:firmware_individual_release 0 1
Collapse Child Attributes:
Name Type Default Value Use
id oval-sc:id Required
status oval-sc:status exists Optional
Collapse Derivation Tree:
Collapse References:
oval-sc:item