<?xml version = "1.0" encoding = "UTF-8"?>
<xsd:schema xmlns:xsd = "http://www.w3.org/2001/XMLSchema" 
	 version = "2004-11-08">
	<xsd:element name = "ItemRepair">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref = "RepairAction" maxOccurs = "unbounded"/>
				<xsd:element ref = "SymptomRef" minOccurs = "0" maxOccurs = "unbounded"/>
				<xsd:element ref = "IndictmentRef" minOccurs = "0" maxOccurs = "unbounded"/>
				<xsd:element ref = "DefectDetail" minOccurs = "0" maxOccurs = "unbounded"/>
				<xsd:element ref = "Operator" minOccurs = "0"/>
				<xsd:element ref = "Extensions" minOccurs = "0"/>
			</xsd:sequence>
			<xsd:attribute name = "dateTime" use = "required" type = "xsd:dateTime"/>
			<xsd:attribute name = "itemInstanceId" use = "required" type = "xsd:string"/>
			<xsd:attribute name = "itemProcessRef" use = "required" type = "xsd:string"/>
			<xsd:attribute name = "repairId" use = "required" type = "xsd:string"/>
			<xsd:attribute name = "imageId" type = "xsd:string"/>
			<xsd:attribute name = "stationId" type = "xsd:string"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name = "RepairAction">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref = "Component" minOccurs = "0" maxOccurs = "unbounded"/>
				<xsd:element ref = "Signal" minOccurs = "0" maxOccurs = "unbounded"/>
				<xsd:element ref = "Location" minOccurs = "0"/>
			</xsd:sequence>
			<xsd:attribute name = "repairKey" use = "required" type = "xsd:string"/>
			<xsd:attribute name = "comment" type = "xsd:string"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name = "Component">
		<xsd:complexType>
			<xsd:attribute name = "designator" use = "required" type = "xsd:string"/>
			<xsd:attribute name = "imageId" type = "xsd:string"/>
			<xsd:attribute name = "subassembly" type = "xsd:string"/>
			<xsd:attribute name = "type" type = "xsd:string"/>
			<xsd:attribute name = "layer">
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:enumeration value = "TOP"/>
						<xsd:enumeration value = "BOTTOM"/>
						<xsd:enumeration value = "INTERNAL"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:attribute>
			<xsd:attribute name = "subcomponent" type = "xsd:string"/>
			<xsd:attribute name = "termination" type = "xsd:string"/>
			<xsd:attribute name = "partId" type = "xsd:string"/>
			<xsd:attribute name = "package" type = "xsd:string"/>
			<xsd:attribute name = "jointType" type = "xsd:string"/>
			<xsd:attribute name = "jointSubtype" type = "xsd:string"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name = "Signal">
		<xsd:complexType>
			<xsd:attribute name = "signalId" use = "required" type = "xsd:string"/>
			<xsd:attribute name = "imageId" type = "xsd:string"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name = "Location">
		<xsd:complexType>
			<xsd:attribute name = "pointX" use = "required" type = "xsd:double"/>
			<xsd:attribute name = "pointY" use = "required" type = "xsd:double"/>
			<xsd:attribute name = "units" use = "required">
				<xsd:simpleType>
					<xsd:restriction base = "xsd:string">
						<xsd:enumeration value = "MM"/>
						<xsd:enumeration value = "INCH"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:attribute>
			<xsd:attribute name = "decade" default = "0" type = "xsd:double"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name = "IndictmentRef" type = "xsd:string"/>
	<xsd:element name = "SymptomRef" type = "xsd:string"/>
	<xsd:element name = "DefectDetail">
		<xsd:complexType>
			<xsd:attribute name = "detailKey" use = "required" type = "xsd:string"/>
			<xsd:attribute name = "category" type = "xsd:string"/>
			<xsd:attribute name = "comment" type = "xsd:string"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name = "Operator">
		<xsd:complexType>
			<xsd:attribute name = "employeeId" use = "required" type = "xsd:string"/>
			<xsd:attribute name = "givenName" type = "xsd:string"/>
			<xsd:attribute name = "familyName" type = "xsd:string"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name = "Extensions" type = "xsd:anyType"/>
</xsd:schema>
