<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2006 rel. 3 U (http://www.altova.com) by Eugene Song (NIST) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:stml="http://localhost/1451HTTPAPI" targetNamespace="http://localhost/1451HTTPAPI" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:include schemaLocation="SmartTransducerDataModel.xsd"/>
	<xs:include schemaLocation="MetaTEDS.xsd"/>
	<xs:include schemaLocation="TransducerChannelTEDS.xsd"/>
	<xs:include schemaLocation="UserTransducerNameTEDS.xsd"/>
	<xs:include schemaLocation="CalibrationTEDS.xsd"/>
	<xs:include schemaLocation="FrequencyResponseTEDS.xsd"/>
	<xs:include schemaLocation="TransferFunctionTEDS.xsd"/>
	<xs:include schemaLocation="EndUserApplicationSpecificTEDS.xsd"/>
	<xs:include schemaLocation="ManufacturerDefinedTEDS.xsd"/>
	<xs:include schemaLocation="MetaIdentificationTEDS.xsd"/>
	<xs:include schemaLocation="TransducerChannelIdentificationTEDS.xsd"/>
	<xs:include schemaLocation="CalibrationIdentificationTEDS.xsd"/>
	<xs:element name="TransducerChannel" type="stml:TransducerChannelType">
		<xs:annotation>
			<xs:documentation>A TransducerChannel includes a transducer and all of the signal conditioning and conversion components associated with that transducer.</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:complexType name="TransducerChannelType">
		<xs:sequence>
			<xs:element name="channelId" type="stml:UInt16">
				<xs:annotation>
					<xs:documentation>In the Draft this is called the TransducerChannel number. It is a sixteen bit number but only the least significant 14 bits can be used for the TransducerChannel number.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="channelName" type="stml:_String">
				<xs:annotation>
					<xs:documentation>The TransducerChannel is not named in the standard. It is left to the user to name it according to it's function in the users system. We could define the type of transducer here. i.e. Sensor, Event Sensor or Actuator.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="channelType" type="stml:_String">
				<xs:annotation>
					<xs:documentation>channelType includes sensor, actuator, event sensor.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="channelNumber" type="stml:UInt16">
				<xs:annotation>
					<xs:documentation>channelNumber is the number of transducer channel in TransducerChannelList</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:sequence>
				<xs:element name="transducerChannelTEDS" type="stml:TransducerChannelTEDSType"/>
				<xs:element name="userTransducerNameTEDS" type="stml:UserTransducerNameTEDSType"/>
			</xs:sequence>
			<xs:sequence>
				<xs:element name="calibrationTEDS" type="stml:CalibrationTEDSType" minOccurs="0"/>
				<xs:element name="frequencyResponseTEDS" type="stml:FrequencyResponseTEDSType" minOccurs="0"/>
				<xs:element name="transferFunctionTEDS" type="stml:TransferFunctionTEDSType" minOccurs="0"/>
				<xs:element name="enduserApplicationSpecificTEDS" type="stml:EndUserApplicationSpecificTEDSType" minOccurs="0"/>
				<xs:element name="manufacturerDefinedTEDS" type="stml:ManufacturerDefinedTEDSType" minOccurs="0"/>
			</xs:sequence>
			<xs:sequence>
				<xs:element name="meta-IdentificationTEDS" type="stml:Meta-IdentificationTEDSType" minOccurs="0"/>
				<xs:element name="transducerChannelIdentificationTEDS" type="stml:TransducerChannelIdentificationTEDSType" minOccurs="0"/>
				<xs:element name="calibrationIdentificationTEDS" type="stml:CalibrationIdentificationTEDSType" minOccurs="0"/>
			</xs:sequence>
		</xs:sequence>
	</xs:complexType>
</xs:schema>

