<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v4.4 (http://www.xmlspy.com) by Michael Conroy (SEMA) -->
<!-- ETSO Status Request schema Version 1 Release 0 -->
<xsd:schema xmlns:ecc="etso-core-cmpts.xsd" xmlns:ecl="etso-code-lists.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xsd:import namespace="etso-core-cmpts.xsd" schemaLocation="etso-core-cmpts.xsd"/>
    <xsd:import namespace="etso-code-lists.xsd" schemaLocation="etso-code-lists.xsd"/>
	<!--______________________________________-->
	<xsd:element name="StatusRequest">
		<xsd:annotation>
			<xsd:documentation>Object used for the transmission of status requests to the ETSO environment.</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="MessageIdentification" type="ecc:IdentificationType">
					<xsd:annotation>
						<xsd:documentation>Unique identification of the status request.</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="MessageType" type="ecc:MessageType">
					<xsd:annotation>
						<xsd:documentation>The coded type of the status request being sent. The status request message type identifies the type of the transaction to which the request is being made. </xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="ProcessType" type="ecc:ProcessType">
					<xsd:annotation>
						<xsd:documentation>The nature of the process that the status request is directed at.</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="SenderIdentification">
					<xsd:annotation>
						<xsd:documentation>Identification of the party who is sending the status request. </xsd:documentation>
					</xsd:annotation>
					<xsd:complexType>
						<xsd:complexContent>
							<xsd:extension base="ecc:IdentificationType">
								<xsd:attribute name="codingScheme" type="ecl:CodingSchemeType" use="required"/>
							</xsd:extension>
						</xsd:complexContent>
					</xsd:complexType>
				</xsd:element>
				<xsd:element name="SenderRole" type="ecc:RoleType">
					<xsd:annotation>
						<xsd:documentation>Identification of the role that is played by the sender. </xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="ReceiverIdentification">
					<xsd:annotation>
						<xsd:documentation>Identification of the party who is receiving the status request. </xsd:documentation>
					</xsd:annotation>
					<xsd:complexType>
						<xsd:complexContent>
							<xsd:extension base="ecc:IdentificationType">
								<xsd:attribute name="codingScheme" type="ecl:CodingSchemeType" use="required"/>
							</xsd:extension>
						</xsd:complexContent>
					</xsd:complexType>
				</xsd:element>
				<xsd:element name="ReceiverRole" type="ecc:RoleType">
					<xsd:annotation>
						<xsd:documentation>Identification of the role that is played by the receiver.</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="MessageDateTime" type="ecc:MessageDateTimeType">
					<xsd:annotation>
						<xsd:documentation>Date and time of the preparation of the status request. The time must be expressed in UTC as: YYYY-MM-DDTHH:MM:SSZ.</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="RequestedTimeInterval" type="ecc:TimeIntervalType">
					<xsd:annotation>
						<xsd:documentation>The beginning and ending date and time of the period that the status request is covering. This information provides the start and end date and time for which the status information is to be supplied.Typically in the case of schedule information requests the sender will make a request covering the same period as the of the submitting transaction. The receiver will discard any request, without replying for a time interval that is outside the scope of the transaction covered by the request.</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:sequence>
			<xsd:attribute name="DtdVersion" type="xsd:string" use="required">
				<xsd:annotation>
					<xsd:documentation>Version of the Schema</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="DtdRelease" type="xsd:string" use="required">
				<xsd:annotation>
					<xsd:documentation>Release of the Schema</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
		</xsd:complexType>
	</xsd:element>
</xsd:schema>
