<Schema name="FDTSERCOSChannelParameterSchema" xmlns="urn:schemas-microsoft-com:xml-data" xmlns:dt="urn:schemas-microsoft-com:datatypes" xmlns:fdt="x-schema:FDTDataTypesSchema.xml">
	<!--Definition of Attributes-->

  <!-- Element 1 of IDN Data block, 32 bits IDN, e.g. "66836" (0x00010514, S-0-1300.0.1) -->
  <AttributeType name="idn" dt:type="ui4"/>
  
  <!-- IDN notation, Text format for Element 1 of IDN Data block. e.g. "S-0-1300.0.1" -->
  <AttributeType name="idnNotation" dt:type="ui4"/>
  	
	<AttributeType name="bitLength" dt:type="ui4"/>
	<AttributeType name="bitPosition" dt:type="ui4"/>
	  	
	<AttributeType name="frameApplicationTag" dt:type="string"/>
	<AttributeType name="gatewayBusCategory" dt:type="uuid"/>
	<AttributeType name="protectedByChannelAssignment" dt:type="boolean"/>
	
	<ElementType name="FSP_IO" content="empty" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<attribute type="idn" required="yes"/>
		<attribute type="idnNotation" required="no"/>
		<attribute type="bitPosition" required="yes"/>
		<attribute type="bitLength" required="yes"/>
	</ElementType>
	
	<!-- TODO: data type -->
	<ElementType name="FSP_Drive" content="mixed" model="open">
		<attribute type="fdt:nodeId" required="no"/>	
	</ElementType>

	<ElementType name="FDTChannel" content="mixed" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<attribute type="fdt:tag" required="yes"/>
		<attribute type="fdt:id" required="yes"/>
		<attribute type="protectedByChannelAssignment" required="yes"/>	
		<attribute type="fdt:dataType" required="yes"/>
		<attribute type="fdt:signalType" required="yes"/>		
		<attribute type="frameApplicationTag" required="no"/>
    <group>
			<element type="FSP_IO" minOccurs="0" maxOccurs="1"/>
			<element type="FSP_Drive" minOccurs="0" maxOccurs="1"/>
		</group>
				
	</ElementType>	

	<ElementType name="FDTChannelType" content="eltOnly" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<element type="fdt:VersionInformation" minOccurs="1" maxOccurs="1"/>	
		<attribute type="gatewayBusCategory" required="no"/>	
	</ElementType>
	
	<ElementType name="FDT" content="eltOnly" model="closed">
		<attribute type="fdt:nodeId" required="no"/>
		<element type="FDTChannelType"/>
		<element type="FDTChannel"/>
	</ElementType>
		
</Schema>