<xsd:complexType name="ResultsType">
<xsd:annotation>
<xsd:documentation>The ResultsType complex type is a container for one or more system elements. Each system element defines the results associated with an individual system. Please refer to the description of SystemType for more information about an individual system element.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="system" type="oval-res:SystemType" minOccurs="1" maxOccurs="unbounded">
<xsd:key name="definitionInstanceKey">
<xsd:annotation>
<xsd:documentation>Enforce uniqueness in the combination of OVAL id, version, and variable_instance in order to differentiate the individual definition elements.</xsd:documentation>
</xsd:annotation>
<xsd:selector xpath="oval-res:definitions/oval-res:definition" />
<xsd:field xpath="@definition_id" />
<xsd:field xpath="@version" />
<xsd:field xpath="@variable_instance" />
</xsd:key>
<xsd:key name="testVersionKey">
<xsd:annotation>
<xsd:documentation>Enforce uniqueness in the combination of the individual test ids, version, and the variable_instance of the test.</xsd:documentation>
</xsd:annotation>
<xsd:selector xpath="oval-res:tests/oval-res:test" />
<xsd:field xpath="@test_id" />
<xsd:field xpath="@version" />
<xsd:field xpath="@variable_instance" />
</xsd:key>
<xsd:keyref name="definitionInstanceKeyRef" refer="oval-res:definitionInstanceKey">
<xsd:annotation>
<xsd:documentation>Requires each definition reference (used by extend_definitions) to refer to a valid definition id.</xsd:documentation>
</xsd:annotation>
<xsd:selector xpath=".//*" />
<xsd:field xpath="@definition_ref" />
<xsd:field xpath="@version" />
<xsd:field xpath="@variable_instance" />
</xsd:keyref>
<xsd:keyref name="testVersionKeyRef" refer="oval-res:testVersionKey">
<xsd:annotation>
<xsd:documentation>Requires each test reference to refer to a valid test id.</xsd:documentation>
</xsd:annotation>
<xsd:selector xpath=".//*" />
<xsd:field xpath="@test_ref" />
<xsd:field xpath="@version" />
<xsd:field xpath="@variable_instance" />
</xsd:keyref>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
|