Definition Type: ComplexType
Name: CriteriaType
Namespace: http://oval.mitre.org/XMLSchema/oval-definitions-5
Containing Schema: oval-definitions-schema.xsd
Abstract
Documentation:
The CriteriaType complex type describes the high level container for all the tests and represents the meat of the definition. Each criteria can contain other criteria elements in a recursive structure allowing complex logical trees to be constructed. Each referenced test is represented by a criterion element. Please refer to the description of the CriterionType for more information about and individual criterion element. The optional extend_definition element allows existing definitions to be included in the criteria. Refer to the description of the ExtendDefinitionType for more information. The required operator attribute provides the logical operator that binds the different statements inside a criteria together. The optional negate attribute signifies that the result of the criteria as a whole should be negated during analysis. For example, consider a criteria that evaluates to TRUE if a certain software is installed. By negating this test, it now evaluates to TRUE if the software is NOT installed. The optional comment attribute provides a short description of the criteria.
Collapse XSD Schema Diagram:
Drilldown into extend_definition in schema oval-definitions-schema_xsd Drilldown into criterion in schema oval-definitions-schema_xsd Drilldown into criteria in schema oval-definitions-schema_xsd Drilldown into comment in schema oval-definitions-schema_xsd Drilldown into negate in schema oval-definitions-schema_xsd Drilldown into operator in schema oval-definitions-schema_xsdXSD Diagram of CriteriaType in schema oval-definitions-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:complexType name="CriteriaType">
    <xsd:annotation>
        <xsd:documentation>The CriteriaType complex type describes the high level container for all the tests and represents the meat of the definition. Each criteria can contain other criteria elements in a recursive structure allowing complex logical trees to be constructed. Each referenced test is represented by a criterion element. Please refer to the description of the CriterionType for more information about and individual criterion element. The optional extend_definition element allows existing definitions to be included in the criteria. Refer to the description of the ExtendDefinitionType for more information.</xsd:documentation>
        <xsd:documentation>The required operator attribute provides the logical operator that binds the different statements inside a criteria together. The optional negate attribute signifies that the result of the criteria as a whole should be negated during analysis. For example, consider a criteria that evaluates to TRUE if a certain software is installed. By negating this test, it now evaluates to TRUE if the software is NOT installed. The optional comment attribute provides a short description of the criteria.</xsd:documentation>
    </xsd:annotation>
    <xsd:choice minOccurs="1" maxOccurs="unbounded">
        <xsd:element name="criteria" type="oval-def:CriteriaType" />
        <xsd:element name="criterion" type="oval-def:CriterionType" />
        <xsd:element name="extend_definition" type="oval-def:ExtendDefinitionType" />
    </xsd:choice>
    <xsd:attribute name="operator" type="oval:OperatorEnumeration" use="optional" default="AND" />
    <xsd:attribute name="negate" type="xsd:boolean" use="optional" default="false" />
    <xsd:attribute name="comment" type="oval:NonEmptyStringType" use="optional" />
</xsd:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
criteria oval-def:criteria (1) (1)
criterion oval-def:criterion (1) (1)
extend_definition oval-def:extend_definition (1) (1)
Collapse Child Attributes:
Name Type Default Value Use
operator oval-def:operator AND Optional
negate oval-def:negate false Optional
comment oval-def:comment Optional
Collapse Derivation Tree:
Collapse References:
oval-def:criteria, oval-def:criteria