<?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="TransducerChannel.xsd"/>
	<xs:element name="VectorGroup" type="stml:VectorGroupType">
		<xs:annotation>
			<xs:documentation>: A VectorGroup describes the mathematical or spatial relationships between TransducerChannels. VectorGroups are manufacturer specifications that define the inherent relationships between the TransducerChannels of a multi-channel TIM. This VectorGrouping information is not normally used by the TIM itself. This information is normally used by NCAP applications to properly compose human readable displays or in formulating other computations. For example, VectorGroupings may be used to indicate which TransducerChannels represent the three vector axes of a three-axis vector measurement. </xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:complexType name="VectorGroupType">
		<xs:choice>
			<xs:element name="RectangularSpatialVector">
				<xs:complexType>
					<xs:sequence>
						<xs:annotation>
							<xs:documentation>: The three transducers each supply one element of component of a right hand rectangular spatial vector.</xs:documentation>
						</xs:annotation>
						<xs:element name="xTransducer" type="stml:TransducerChannelType" minOccurs="0"/>
						<xs:element name="yTransducer" type="stml:TransducerChannelType" minOccurs="0"/>
						<xs:element name="zTransducer" type="stml:TransducerChannelType" minOccurs="0"/>
					</xs:sequence>
					<xs:attribute name="VectorGroupEnumeration" type="stml:Int8" default="1"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="CylindricalSpatialVector">
				<xs:complexType>
					<xs:sequence>
						<xs:annotation>
							<xs:documentation>: The three transducers each supply one element of component of a right hand cylindrical spatial vector.</xs:documentation>
						</xs:annotation>
						<xs:element name="RoTransducer" type="stml:TransducerChannelType" minOccurs="0"/>
						<xs:element name="PhiTransducer" type="stml:TransducerChannelType" minOccurs="0"/>
						<xs:element name="zTransducer" type="stml:TransducerChannelType" minOccurs="0"/>
					</xs:sequence>
					<xs:attribute name="VectorGroupEnumeration" type="stml:Int8" default="2"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="SphericalSpatialVector">
				<xs:complexType>
					<xs:sequence>
						<xs:annotation>
							<xs:documentation>: The three transducers each supply one element of component of a right hand spherical spatial vector.</xs:documentation>
						</xs:annotation>
						<xs:element name="rTransducer" type="stml:TransducerChannelType" minOccurs="0"/>
						<xs:element name="ThetaTransducer" type="stml:TransducerChannelType" minOccurs="0"/>
						<xs:element name="PhiTransducer" type="stml:TransducerChannelType" minOccurs="0"/>
					</xs:sequence>
					<xs:attribute name="VectorGroupEnumeration" type="stml:Int8" default="3"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="LatLongSpatialVector">
				<xs:complexType>
					<xs:sequence>
						<xs:annotation>
							<xs:documentation>: The three transducers each supply one element of component of a planetary coordinate system.</xs:documentation>
						</xs:annotation>
						<xs:element name="LatitudeTransducer" type="stml:TransducerChannelType" minOccurs="0"/>
						<xs:element name="LongitudeTransducer" type="stml:TransducerChannelType" minOccurs="0"/>
						<xs:element name="AltitudeTransducer" type="stml:TransducerChannelType" minOccurs="0"/>
					</xs:sequence>
					<xs:attribute name="VectorGroupEnumeration" type="stml:Int8" default="4"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="TwoDimensionalVectorGroup">
				<xs:complexType>
					<xs:sequence>
						<xs:annotation>
							<xs:documentation>: The first element is the in-phase componemt. The second element is quadrature.</xs:documentation>
						</xs:annotation>
						<xs:element name="InPhaseTransducer" type="stml:TransducerChannelType"/>
						<xs:element name="QuadratureTransducer" type="stml:TransducerChannelType"/>
					</xs:sequence>
					<xs:attribute name="VectorGroupEnumeration" type="stml:Int8" default="5"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="RGBColorVector">
				<xs:complexType>
					<xs:sequence>
						<xs:annotation>
							<xs:documentation>: The three transducers each supply one element of the color vector.</xs:documentation>
						</xs:annotation>
						<xs:element name="RedTransducer" type="stml:TransducerChannelType" minOccurs="0"/>
						<xs:element name="GreenTransducer" type="stml:TransducerChannelType" minOccurs="0"/>
						<xs:element name="BlueTransducer" type="stml:TransducerChannelType" minOccurs="0"/>
					</xs:sequence>
					<xs:attribute name="VectorGroupEnumeration" type="stml:Int8" default="6"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="ComplexNumberGroup">
				<xs:complexType>
					<xs:sequence>
						<xs:annotation>
							<xs:documentation>: These two transducer either provide or use one of the two elements of a complex number.</xs:documentation>
						</xs:annotation>
						<xs:element name="RealComponentTransducer" type="stml:TransducerChannelType"/>
						<xs:element name="ImaginaryComponentTransducer" type="stml:TransducerChannelType" maxOccurs="16362"/>
					</xs:sequence>
					<xs:attribute name="VectorGroupEnumeration" type="stml:Int8" default="7"/>
				</xs:complexType>
			</xs:element>
		</xs:choice>
	</xs:complexType>
</xs:schema>
