<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.eamxml.org/schema/Rev0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://www.eamxml.org/schema/Rev0" elementFormDefault="qualified" xsi:schemaLocation="http://www.eamxml.org/schema/Rev0 CommonTypes.xsd">
	<xs:annotation>
		<xs:documentation>
			EAMXML.org Representation of Equipment
		</xs:documentation>
	</xs:annotation>
	<xs:include schemaLocation="CommonTypes.xsd"/>
	<xs:include schemaLocation="FunctionalLocation.xsd"/>
	<xs:include schemaLocation="Manufacturer.xsd"/>
	<xs:include schemaLocation="Statistic.xsd"/>
	<xs:include schemaLocation="CostAssociation.xsd"/>
	<xs:include schemaLocation="UserDefined.xsd"/>
	<xs:include schemaLocation="Keyword.xsd"/>
	<xs:include schemaLocation="Audit.xsd"/>

	<xs:element name="Equipment" type="EquipmentType"/>
	<xs:complexType name="EquipmentType">
		<xs:sequence>
			<xs:element name="SiteId" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="Name" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="Description" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="AlternateReference" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="EquipmentGroupCode" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="EquipmentClassCode" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="EquipmentTypeCode" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="ManufacturerId" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="ManufacturerPartNumber" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="CatalogItem" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="Active" type="xs:boolean" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="Visible" type="xs:boolean" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="CostingAllowed" type="xs:boolean" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="Depth" type="xs:integer" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="PurchasePrice" type="xs:decimal" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="PurchaseDate" type="xs:date" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="WarrantyStartDate" type="xs:date" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="WarrantyEndDate" type="xs:date" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="WarrantyStatistic" type="StatisticType" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="InServiceDate" type="xs:date" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="OutOfServiceDate" type="xs:date" minOccurs="0" maxOccurs="unbounded"/>			
			<xs:element name="EstimatedUptime" type="xs:date" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="EstimatedUptimeWorkOrder" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="ComponentCode" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="ComponentPositionCode" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="ParentEquipmentId" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="EquipmentStatusCode" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="CostAssociation" type="CostAssociationType" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="FunctionalLocation" type="FunctionalLocationType" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="UserDefined" type="UserDefinedType" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="Keyword" type="KeywordType" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="Audit" type="AuditType" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attribute name="Id" type="xs:string" use="required"/>
	</xs:complexType>
</xs:schema>
