Share via


Test Collection File schema

The Test Collection File schema is described below.

Test Collection File definition

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xsd:schema xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance">
<xsd:attribute name="Guid" type="xsd:string"/>
<xsd:attribute name="Name" type="xsd:string"/>
<xsd:attribute name="TargetType">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="System"/>
<xsd:enumeration value="Device"/>
<xsd:enumeration value="Filter"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="TargetName" type="xsd:string"/>
<xsd:attribute name="TestPassIdentifier" type="xsd:string"/>
<xsd:attribute name="TargetId" type="xsd:string"/>
<xsd:attribute name="HckBuildVersion" type="xsd:string"/>
<xsd:attribute name="OsPlatform" type="xsd:string"/>
<xsd:attribute name="FeatureDetected" type="xsd:string"/>
<xsd:attribute name="StartTime" type="xsd:dateTime"/>
<xsd:attribute name="SourcePath" type="xsd:string"/>
<xsd:attribute name="Status">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="Pass"/>
<xsd:enumeration value="Fail"/>
<xsd:enumeration value="Nodata"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="FiltersAppliedCount" type="xsd:nonNegativeInteger"/>
<xsd:attribute name="InstanceId" type="xsd:string"/>
<xsd:element name="ArrayOfTestCollectionRecord">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="TestCollectionRecord" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="TestCollectionRecord">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="ContentLevelSet" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="ScheduleOptionSet" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="FeatureMapped" minOccurs="0"/>
<xsd:element ref="Result" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute ref="Guid"/>
<xsd:attribute ref="Name"/>
<xsd:attribute ref="TargetType"/>
<xsd:attribute ref="TargetName"/>
<xsd:attribute ref="TestPassIdentifier"/>
<xsd:attribute ref="TargetId"/>
<xsd:attribute ref="HckBuildVersion"/>
<xsd:attribute ref="OsPlatform"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="ContentLevelSet">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="Basic"/>
<xsd:enumeration value="Functional"/>
<xsd:enumeration value="Reliability"/>
<xsd:enumeration value="Certification"/>
<xsd:enumeration value="Experiences"/>
<xsd:enumeration value="Optional"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ScheduleOptionSet">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="Manual"/>
<xsd:enumeration value="Distributable"/>
<xsd:enumeration value="MultipleDevices"/>
<xsd:enumeration value="MultipleMachines"/>
<xsd:enumeration value="SpecialConfiguration"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="FeatureMapped" type="xsd:string"/>
<xsd:element name="Result">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute ref="FeatureDetected"/>
<xsd:attribute ref="StartTime"/>
<xsd:attribute ref="SourcePath"/>
<xsd:attribute ref="Status"/>
<xsd:attribute ref="FiltersAppliedCount"/>
<xsd:attribute ref="InstanceId"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
</xsd:schema>

 

 

Send comments about this topic to Microsoft