<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="xs3p.xsl"?>
<xs:schema targetNamespace="VistasMapping" xmlns="VistasMapping" xmlns:vm="VistasMapping" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="VhtngClasses" elementFormDefault="qualified" version="3.0.0">
	<xs:import namespace="VhtngClasses" schemaLocation="VhtngClasses.xsd"/>
	<xs:element name="VistasMapping" type="VistasMapping"/>
	<xs:complexType name="VistasMapping">
		<xs:sequence>
			<xs:element name="VistasHardwareContainer" type="VistasHardwareContainer" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="VistasHardwareContainer" type="VistasHardwareContainer"/>
	<xs:complexType name="VistasHardwareContainer">
		<xs:annotation>
			<xs:documentation>attribute name:
Name of the referring Hardware Container within the TBC</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="vc:GeneralInformation">
				<xs:sequence>
					<xs:element name="VistasChannel" type="VistasChannel" minOccurs="0" maxOccurs="unbounded"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="VistasChannel" type="VistasChannel"/>
	<xs:complexType name="VistasChannel">
		<xs:annotation>
			<xs:documentation>Name of the Vistas IO Channel. This should refer to a Vistas message</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="vc:GeneralInformation">
				<xs:sequence>
					<xs:element name="VistasSignalMapping" type="VistasSignalMapping" minOccurs="0" maxOccurs="unbounded"/>
					<xs:element name="VistasConstant" type="VistasConstant" minOccurs="0" maxOccurs="unbounded"/>
					<xs:element name="VistasMessageMapping" type="VistasMessageMapping" minOccurs="0" maxOccurs="unbounded"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="VistasSignalMapping" type="VistasSignalMapping"/>
	<xs:complexType name="VistasSignalMapping">
		<xs:annotation>
			<xs:documentation>attribute name:
refers to the Vistas Signal name</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="vc:GeneralInformation">
				<xs:sequence/>
				<xs:attribute name="var_name" use="required" type="xs:string">
					<xs:annotation>
						<xs:documentation>refers to the TBC Variable</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="offset" use="required" type="xs:string">
					<xs:annotation>
						<xs:documentation>the offset within a vistas message</xs:documentation>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="VistasConstant" type="VistasConstant"/>
	<xs:complexType name="VistasConstant">
		<xs:annotation>
			<xs:documentation>This is used, if some vistas signals have to be set to a constant value even if we do not have in the TBC
attribute name:
refers to the Vistas Signal name</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="vc:GeneralInformation">
				<xs:sequence/>
				<xs:attribute name="value" use="required" type="xs:string">
					<xs:annotation>
						<xs:documentation>the constant value of the variable</xs:documentation>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="offset" use="required" type="xs:string">
					<xs:annotation>
						<xs:documentation>the offset within a vistas message</xs:documentation>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="VistasMessageMapping" type="VistasMessageMapping"/>
	<xs:complexType name="VistasMessageMapping">
		<xs:complexContent>
			<xs:extension base="vc:GeneralInformation">
				<xs:sequence/>
				<xs:attribute name="vl_name" use="optional" type="xs:string">
					<xs:annotation>
						<xs:documentation>refers to a vl of the hardware container</xs:documentation>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
</xs:schema>
