<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:asr30tp="http://www.asam.net/xml/fbx/tp/asr30" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ho="http://www.asam.net/xml" xmlns:fx="http://www.asam.net/xml/fbx" targetNamespace="http://www.asam.net/xml/fbx/tp/asr30" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0.0">
	<xs:import namespace="http://www.asam.net/xml/fbx" schemaLocation="fibex.xsd"/>
	<xs:complexType name="TP-CONFIG-TYPE">
		<xs:annotation>
			<xs:documentation>Contains the all configuration elements for ASR TP 3.0 (generic base class for FrTP)</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="fx:TP-CONFIG-TYPE">
				<xs:sequence>
					<xs:element name="TP-CHANNELS">
						<xs:annotation>
							<xs:documentation>ASR TP 3.0 Channels.</xs:documentation>
						</xs:annotation>
						<xs:complexType>
							<xs:sequence>
								<xs:element name="TP-CHANNEL" type="asr30tp:TP-CHANNEL-TYPE" maxOccurs="unbounded">
									<xs:annotation>
										<xs:documentation>ASR TP 3.0 Channel. A TP-channel holds a group of TP-Connections. These TP-Connections share several properties (acknowledgement, retry).</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
					<xs:element name="TP-NODES">
						<xs:annotation>
							<xs:documentation>ASR TP 3.0 Nodes</xs:documentation>
						</xs:annotation>
						<xs:complexType>
							<xs:sequence>
								<xs:element name="TP-NODE" type="asr30tp:TP-NODE-TYPE" maxOccurs="unbounded">
									<xs:annotation>
										<xs:documentation>ASR TP 3.0 Node.</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
					<xs:element name="TP-ECUS">
						<xs:annotation>
							<xs:documentation>ASR TP 3.0 ECUs</xs:documentation>
						</xs:annotation>
						<xs:complexType>
							<xs:sequence>
								<xs:element name="TP-ECU" type="asr30tp:TP-ECU-TYPE" maxOccurs="unbounded">
									<xs:annotation>
										<xs:documentation>ASR TP 3.0 ECU</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="TP-CHANNEL-TYPE">
		<xs:annotation>
			<xs:documentation>ASR TP 3.0 Channel</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="fx:REVISED-ELEMENT-TYPE">
				<xs:sequence>
					<xs:element name="CHANNEL-ID">
						<xs:annotation>
							<xs:documentation>AUTOSAR-name: FRTP_CHANNEL_ID; The id of the channel. The value of CHANNEL-ID shall be unique for each channel</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:unsignedInt">
								<xs:minInclusive value="1"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
					<xs:element name="TIMEOUT-BS" type="xs:duration">
						<xs:annotation>
							<xs:documentation>AUTOSAR-name: FRTP_TIMEOUT_BS; This parameter defines the timout for waiting for an FC or AF on the sender side in an 1:1 connection</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="TIMEOUT-CR" type="xs:duration">
						<xs:annotation>
							<xs:documentation>AUTOSAR-name: FRTP_TIMEOUT_CR; This parameter defines the timeout value for waiting for a CF or FF-x (in case of retry) after receiving the last CF or after sending an FC or AF on the receiver side. </xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="TRANSMIT-CANCELLATION" type="xs:boolean">
						<xs:annotation>
							<xs:documentation>AUTOSAR-name: FRTP_TC; With this switch Transmit Cancellation can be turned on or off for this
channel.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="TP-CONNECTIONS" type="asr30tp:TP-CONNECTIONS-TYPE">
						<xs:annotation>
							<xs:documentation>ASR TP 3.0 Connections</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="TP-PDU-USAGES">
						<xs:annotation>
							<xs:documentation>ASR TP 3.0 PDU Usages</xs:documentation>
						</xs:annotation>
						<xs:complexType>
							<xs:sequence>
								<xs:element name="TP-PDU-USAGE" type="asr30tp:TP-PDU-USAGE-TYPE" maxOccurs="unbounded">
									<xs:annotation>
										<xs:documentation>ASR TP 3.0 PDU Usage</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
					<xs:element name="TP-FC-PDU-USAGES" minOccurs="0">
						<xs:annotation>
							<xs:documentation>ASR TP 3.0 FC PDU Usages</xs:documentation>
						</xs:annotation>
						<xs:complexType>
							<xs:sequence>
								<xs:element name="TP-FC-PDU-USAGE" type="asr30tp:TP-PDU-USAGE-TYPE" maxOccurs="unbounded">
									<xs:annotation>
										<xs:documentation>ASR TP 3.0 FC PDU Usage</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="TP-NODE-TYPE">
		<xs:annotation>
			<xs:documentation>ASR TP 3.0 TP-Node. The element TP-NODE describes all node local properties. A node is part of a TP-connection within a TP-channel.</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="fx:REVISED-ELEMENT-TYPE">
				<xs:sequence>
					<xs:element name="STMIN">
						<xs:annotation>
							<xs:documentation>AUTOSAR-name: FRTP_STMIN; This parameter defines the minimum amount of time between two succeeding CFs.</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:unsignedInt">
								<xs:minInclusive value="0"/>
								<xs:maxInclusive value="255"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
					<xs:element name="TIMEOUT-AR" type="xs:duration">
						<xs:annotation>
							<xs:documentation>AUTOSAR-name: FRTP_TIMEOUT_AR; This parameter states the timeout between the PDU transmit request of the Transport Layer to the FlexRay Interface and the corresponding confirmation of the FlexRay Interface on the receiver side (for FC or AF).</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="TIMEOUT-AS" type="xs:duration">
						<xs:annotation>
							<xs:documentation>AUTOSAR-name: FRTP_TIMEOUT_AS; This parameter states the timeout between the PDU transmit request for the first PDU of the group used in the current connection of the Transport Layer to the FlexRay Interface and the corresponding confirmation of the FlexRay Interface (when having sent the last PDU of the group used in this connection) on the sender side (SF-x, FF-x, CF or FC (in case of Transmit Cancellation)).</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="CONNECTOR-REFS" type="asr30tp:CONNECTOR-REFS-TYPE">
						<xs:annotation>
							<xs:documentation>Collection of references (foreign keys)</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element ref="fx:TP-ADDRESS-REF" minOccurs="0"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="TP-CONNECTION-TYPE">
		<xs:annotation>
			<xs:documentation>ASR TP 3.0 TP-Connection. A connection belongs to only one channel and inherits all properties of that channel. A connection identifies the sender and receiver(s)</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="fx:REVISED-ELEMENT-TYPE">
				<xs:sequence>
					<xs:element name="TP-MULTICAST-CONNECTION" minOccurs="0">
						<xs:annotation>
							<xs:documentation>Set TP-address for multicast connections (functional addressing)</xs:documentation>
						</xs:annotation>
						<xs:complexType>
							<xs:sequence>
								<xs:element ref="fx:TP-ADDRESS-REF"/>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
					<xs:element name="TP-PDU-USAGE-REFS" type="asr30tp:TP-PDU-USAGE-REFS-TYPE" minOccurs="0">
						<xs:annotation>
							<xs:documentation>Collection of references (foreign keys). Assign all TP PDUs of this connection</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="TP-FC-PDU-USAGE-REFS" type="asr30tp:TP-FC-PDU-USAGE-REFS-TYPE" minOccurs="0">
						<xs:annotation>
							<xs:documentation>Collection of references (foreign keys). Assign all TP FC PDUs of this connection</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="TP-NODE-TX-REFS" minOccurs="0">
						<xs:annotation>
							<xs:documentation>transmit direction</xs:documentation>
						</xs:annotation>
						<xs:complexType>
							<xs:sequence>
								<xs:element ref="asr30tp:TP-NODE-REF">
									<xs:annotation>
										<xs:documentation>tbd</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
					<xs:element name="TP-NODE-RX-REFS" minOccurs="0">
						<xs:annotation>
							<xs:documentation>receive direction</xs:documentation>
						</xs:annotation>
						<xs:complexType>
							<xs:sequence>
								<xs:element ref="asr30tp:TP-NODE-REF" maxOccurs="unbounded">
									<xs:annotation>
										<xs:documentation>tbd</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="TP-CONNECTIONS-TYPE">
		<xs:annotation>
			<xs:documentation>Collection of ASR TP 3.0 TP-Connections</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="TP-CONNECTION" type="asr30tp:TP-CONNECTION-TYPE" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>ASR TP 3.0 Connection</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TP-PDU-USAGE-TYPE">
		<xs:annotation>
			<xs:documentation>ASR TP 3.0 reference to the used PDU-TRIGGERINGs - base type</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element ref="fx:PDU-TRIGGERING-REF">
				<xs:annotation>
					<xs:documentation/>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="ID" type="xs:ID" use="required"/>
	</xs:complexType>
	<xs:complexType name="CONNECTOR-REFS-TYPE">
		<xs:annotation>
			<xs:documentation>Collection of references (foreign keys)</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element ref="fx:CONNECTOR-REF" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TP-PDU-USAGE-REFS-TYPE">
		<xs:annotation>
			<xs:documentation>Collection of references (foreign keys)</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element ref="asr30tp:TP-PDU-USAGE-REF" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TP-FC-PDU-USAGE-REFS-TYPE">
		<xs:annotation>
			<xs:documentation>Collection of references (foreign keys)</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element ref="asr30tp:TP-FC-PDU-USAGE-REF"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="TP-CONNECTION" type="asr30tp:TP-CONNECTION-TYPE">
		<xs:annotation>
			<xs:documentation>A TP-CONNECTION element</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="TP-PDU-USAGE-REF">
		<xs:annotation>
			<xs:documentation>Referring a TP-PDU-USAGE element</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:attribute name="ID-REF" type="xs:IDREF" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="TP-FC-PDU-USAGE-REF">
		<xs:annotation>
			<xs:documentation>Referring a TP-FC-PDU-USAGE element</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:attribute name="ID-REF" type="xs:IDREF" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="TP-NODE-REF">
		<xs:annotation>
			<xs:documentation>Refering a TP-NODE</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:attribute name="ID-REF" type="xs:IDREF" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="TP-ECU-TYPE">
		<xs:annotation>
			<xs:documentation>ASR TP 3.0 TP-ECU. The element TP-ECU describes all ECU local properties.</xs:documentation>
		</xs:annotation>
		<xs:complexContent>
			<xs:extension base="fx:REVISED-ELEMENT-TYPE">
				<xs:sequence>
					<xs:element name="CYCLE-TIME-MAIN-FUNCTION" type="xs:duration">
						<xs:annotation>
							<xs:documentation>The period between successive calls to the Main Function of the ASR TP. </xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element ref="fx:ECU-REF"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
</xs:schema>
