Definition Type: Element
Name: module_number
Namespace: http://oval.mitre.org/XMLSchema/oval-definitions-5#catos
Type: oval-def:EntityObjectIntType
Containing Schema: catos-definitions-schema.xsd
MinOccurs 0
MaxOccurs 1
Abstract
Documentation:
A number that identifies the a specific module.
Collapse XSD Schema Diagram:
Drilldown into var_ref in schema oval-definitions-schema_xsd Drilldown into mask in schema oval-definitions-schema_xsd Drilldown into operation in schema oval-definitions-schema_xsd Drilldown into datatype in schema oval-definitions-schema_xsd Drilldown into var_check in schema oval-definitions-schema_xsd Drilldown into EntityObjectIntType in schema oval-definitions-schema_xsdXSD Diagram of module_number in schema catos-definitions-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="module_number" type="oval-def:EntityObjectIntType" minOccurs="0" maxOccurs="1">
    <xsd:annotation>
        <xsd:documentation>A number that identifies the a specific module.</xsd:documentation>
        <xsd:appinfo>
            <sch:pattern id="moduleobjmodule_number" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                <sch:rule context="catos-def:module_object/catos-def:module_number">
                    <sch:assert test="@datatype='int'">
                        <sch:value-of select="../@id" /> - datatype attribute for the module_number entity of a module_object should be 'int'</sch:assert>
                    <sch:assert test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='greater than' or @operation='greater than or equal' or @operation='less than' or @operation='less than or equal'">
                        <sch:value-of select="../@id" /> - operation attribute for the module_number entity of a module_object should be 'equals', 'not equal', 'greater than', 'greater than or equal', 'less than', or 'less than or equal'</sch:assert>
                </sch:rule>
            </sch:pattern>
        </xsd:appinfo>
    </xsd:annotation>
</xsd:element>
Collapse Child Attributes:
Name Type Default Value Use
datatype oval-def:datatype string Optional
operation oval-def:operation equals Optional
mask oval-def:mask false Optional
var_ref oval-def:var_ref Optional
var_check oval-def:var_check all Optional
Collapse Derivation Tree: