Definition Type: ComplexType
Name: SystemType
Namespace: http://oval.mitre.org/XMLSchema/oval-results-5
Containing Schema: oval-results-schema.xsd
Abstract
Documentation:
The SystemType complex type holds the evaluation results of the definitions and tests, as well as a copy of the OVAL System Characteristics used to perform the evaluation. The definitions section holds the results of the definitions and the tests section holds the results of the tests. The oval_system_characteristics section is a copy of the system characteristics file used to perform the evaluation of the OVAL Definitions. Note that the oval_definitions part of the system characteristics file should be left out as the definition information has already been included at the top of the results file.
Collapse XSD Schema Diagram:
Drilldown into oval_system_characteristics in schema oval-system-characteristics-schema_xsd Drilldown into tests in schema oval-results-schema_xsd Drilldown into definitions in schema oval-results-schema_xsdXSD Diagram of SystemType in schema oval-results-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:complexType name="SystemType">
    <xsd:annotation>
        <xsd:documentation>The SystemType complex type holds the evaluation results of the definitions and tests, as well as a copy of the OVAL System Characteristics used to perform the evaluation. The definitions section holds the results of the definitions and the tests section holds the results of the tests. The oval_system_characteristics section is a copy of the system characteristics file used to perform the evaluation of the OVAL Definitions. Note that the oval_definitions part of the system characteristics file should be left out as the definition information has already been included at the top of the results file.</xsd:documentation>
        <xsd:appinfo>
            <sch:pattern id="system" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                <sch:rule context="oval-res:system[oval-res:tests]">
                    <sch:assert test="/oval-res:oval_results/oval-res:directives/oval-res:definition_true/@content='full' or /oval-res:oval_results/oval-res:directives/oval-res:definition_false/@content='full' or /oval-res:oval_results/oval-res:directives/oval-res:definition_unknown/@content='full' or /oval-res:oval_results/oval-res:directives/oval-res:definition_error/@content='full' or /oval-res:oval_results/oval-res:directives/oval-res:definition_not_evaluated/@content='full' or /oval-res:oval_results/oval-res:directives/oval-res:definition_not_applicable/@content='full'">the tests element should not be included unless full results are to be provided (see directives)</sch:assert>
                </sch:rule>
                <sch:rule context="oval-res:system[not(oval-res:tests)]">
                    <sch:assert test="/oval-res:oval_results/oval-res:directives/oval-res:definition_true/@content='thin' and /oval-res:oval_results/oval-res:directives/oval-res:definition_false/@content='thin' and /oval-res:oval_results/oval-res:directives/oval-res:definition_unknown/@content='thin' and /oval-res:oval_results/oval-res:directives/oval-res:definition_error/@content='thin' and /oval-res:oval_results/oval-res:directives/oval-res:definition_not_evaluated/@content='thin' and /oval-res:oval_results/oval-res:directives/oval-res:definition_not_applicable/@content='thin'">the tests element should be included when full results are specified (see directives)</sch:assert>
                </sch:rule>
            </sch:pattern>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:sequence>
        <xsd:element name="definitions" type="oval-res:DefinitionsType" minOccurs="0" maxOccurs="1" />
        <xsd:element name="tests" type="oval-res:TestsType" minOccurs="0" maxOccurs="1" />
        <xsd:element ref="oval-sc:oval_system_characteristics" minOccurs="1" maxOccurs="1" />
    </xsd:sequence>
</xsd:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
definitions oval-res:definitions 0 1
tests oval-res:tests 0 1
oval_system_characteristics oval-sc:oval_system_characteristics 1 1
Collapse Derivation Tree:
Collapse References:
oval-res:system