<Schema name="FDTSERCOSScanIdentSchema" xmlns="urn:schemas-microsoft-com:xml-data" xmlns:dt="urn:schemas-microsoft-com:datatypes"
			   xmlns:sercosident="x-schema:FDTSERCOSIdentSchema.xml" xmlns:fdt="x-schema:FDTDataTypesSchema.xml">
	<!-- Version of the Schema -->
	<AttributeType name="schemaVersion" dt:type="number" default="1.00"/>
	<AttributeType name="resultState" dt:type="enumeration" dt:values="provisional final error"/>
    <AttributeType name="configuredState" dt:type="enumeration" dt:values="configuredAndPhysicallyAvailable  configuredAndNotPhysicallyAvailable availableButNotConfigured notApplicable"/>
	
	<!--Definition of Elements-->
	<ElementType name="IdBusProtocol" content="empty" model="closed">
		<attribute type="sercosident:busProtocol" required="yes"/>
	</ElementType>
	
	<ElementType name="IdAddress" content="empty" model="closed">
		<!-- Comma-separated SERCOS addresses (0..511) -->
		<attribute type="sercosident:sercosAddresses" required="yes"/>
	</ElementType>    
	
	<ElementType name="IdHardwareRevision" content="empty" model="closed">
		<!-- IDN/S-0-1300.0.08 -->
		<attribute type="fdt:version" required="yes"/>
	</ElementType>
	
	<ElementType name="IdSoftwareRevision" content="empty" model="closed">
		<!-- IDN/S-0-1300.0.09 -->
		<attribute type="fdt:version" required="yes"/>
	</ElementType>
	
	<ElementType name="IdManufacturer" content="empty" model="closed">
		<!-- IDN/S-0-1300.0.03 -->
		<attribute type="fdt:manufacturerId" required="no"/> 
	</ElementType>

	<ElementType name="IdTypeID" content="empty" model="closed">
		<!-- IDN/S-0-1300.0.05 -->
		<attribute type="fdt:subDeviceType" required="yes"/>
	</ElementType>

	<ElementType name="IdDeviceName" content="empty" model="closed">
		<!-- IDN/S-0-1300.0.04 -->
		<attribute type="fdt:name" required="yes"/>
	</ElementType>
	
	<ElementType name="ScanIdentification" content="eltOnly" model="closed">
        <attribute type="configuredState" required="no"/>
		<element type="fdt:CommunicationError" minOccurs="0" maxOccurs="1"/>
		<element type="IdBusProtocol" minOccurs="1" maxOccurs="1"/>
		<element type="IdManufacturer" minOccurs="1" maxOccurs="1"/>
    <element type="IdTypeID" minOccurs="1" maxOccurs="1"/>
		<element type="IdAddress" minOccurs="1" maxOccurs="1"/>
		<element type="IdDeviceName" minOccurs="0" maxOccurs="1"/>
		<element type="IdHardwareRevision" minOccurs="0" maxOccurs="1"/>
		<element type="IdSoftwareRevision" minOccurs="0" maxOccurs="1"/>
	</ElementType>	
	
	<ElementType name="ScanIdentifications" content="eltOnly" model="closed">
		<attribute type="fdt:busCategory" required="yes"/>
		<attribute type="resultState" required="yes"/>
		<element type="ScanIdentification" minOccurs="0" maxOccurs="*"/>
	</ElementType>
	
	<ElementType name="FDT" content="eltOnly" model="closed">
		<element type="ScanIdentifications" minOccurs="1" maxOccurs="1"/>
	</ElementType>
</Schema>