<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mcdataloc="urn:3gpp:ns:mcdataLocationInfo:1.0" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" targetNamespace="urn:3gpp:ns:mcdataLocationInfo:1.0" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="http://www.w3.org/2001/04/xmlenc#"/>
	<xs:element name="location-info" id="loc">
		<xs:annotation>
			<xs:documentation>Root element, contains all information related to location configuration, location request and location reporting for the MCPTT service</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:choice>
				<xs:element name="Configuration" type="mcdataloc:tConfigurationType"/>
				<xs:element name="Request" type="mcdataloc:tRequestType"/>
				<xs:element name="Report" type="mcdataloc:tReportType"/>
				<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="anyExt" type="mcdataloc:anyExtType" minOccurs="0"/>
			</xs:choice>
			<xs:anyAttribute namespace="##any" processContents="lax"/>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="tConfigurationType">
		<xs:sequence>
			<xs:element name="NonEmergencyLocationInformation" type="mcdataloc:tRequestedLocationType" minOccurs="0"/>
			<xs:element name="EmergencyLocationInformation" type="mcdataloc:tRequestedLocationType" minOccurs="0"/>
			<xs:element name="TriggeringCriteria" type="mcdataloc:TriggeringCriteriaType"/>
			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="anyExt" type="mcdataloc:anyExtType" minOccurs="0"/>
		</xs:sequence>
		<xs:attribute name="ConfigScope">
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:enumeration value="Full"/>
					<xs:enumeration value="Update"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:anyAttribute namespace="##any" processContents="lax"/>
	</xs:complexType>
	<xs:complexType name="tRequestType">
		<xs:complexContent>
			<xs:extension base="mcdataloc:tEmptyType">
				<xs:attribute name="RequestId" type="xs:string" use="required"/>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="tReportType">
		<xs:sequence>
			<xs:element name="TriggerId" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="CurrentLocation" type="mcdataloc:tCurrentLocationType"/>
			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="anyExt" type="mcdataloc:anyExtType" minOccurs="0"/>
		</xs:sequence>
		<xs:attribute name="ReportID" type="xs:string" use="optional"/>
		<xs:attribute name="ReportType" use="required">
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:enumeration value="Emergency"/>
					<xs:enumeration value="NonEmergency"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:anyAttribute namespace="##any" processContents="lax"/>
	</xs:complexType>
	<xs:complexType name="TriggeringCriteriaType">
		<xs:sequence>
			<xs:element name="CellChange" type="mcdataloc:tCellChange" minOccurs="0"/>
			<xs:element name="TrackingAreaChange" type="mcdataloc:tTrackingAreaChangeType" minOccurs="0"/>
			<xs:element name="PlmnChange" type="mcdataloc:tPlmnChangeType" minOccurs="0"/>
			<xs:element name="MbmsSaChange" type="mcdataloc:tMbmsSaChangeType" minOccurs="0"/>
			<xs:element name="MbsfnAreaChange" type="mcdataloc:tMbsfnAreaChangeType" minOccurs="0"/>
			<xs:element name="PeriodicReport" type="mcdataloc:tIntegerAttributeType" minOccurs="0"/>
			<xs:element name="TravelledDistance" type="mcdataloc:tIntegerAttributeType" minOccurs="0"/>
			<xs:element name="McdataSignallingEvent" type="mcdataloc:tSignallingEventType" minOccurs="0"/>
			<xs:element name="GeographicalAreaChange" type="mcdataloc:tGeographicalAreaChange"/>
			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="anyExt" type="mcdataloc:anyExtType" minOccurs="0"/>
		</xs:sequence>
		<xs:anyAttribute namespace="##any" processContents="lax"/>
	</xs:complexType>
	<xs:complexType name="tCellChange">
		<xs:sequence>
			<xs:element name="AnyCellChange" type="mcdataloc:tEmptyTypeAttribute" minOccurs="0"/>
			<xs:element name="EnterSpecificCell" type="mcdataloc:tSpecificCellType" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="ExitSpecificCell" type="mcdataloc:tSpecificCellType" minOccurs="0" maxOccurs="unbounded"/>
			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="anyExt" type="mcdataloc:anyExtType" minOccurs="0"/>
		</xs:sequence>
		<xs:anyAttribute namespace="##any" processContents="lax"/>
	</xs:complexType>
	<xs:complexType name="tEmptyType"/>
	<xs:simpleType name="tEcgi">
		<xs:restriction base="xs:string">
			<xs:pattern value="\d{3}\d{3}[0-1]{28}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="tSpecificCellType">
		<xs:simpleContent>
			<xs:extension base="mcdataloc:tEcgi">
				<xs:attribute name="TriggerId" type="xs:string" use="required"/>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="tEmptyTypeAttribute">
		<xs:complexContent>
			<xs:extension base="mcdataloc:tEmptyType">
				<xs:attribute name="TriggerId" type="xs:string" use="required"/>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="tTrackingAreaChangeType">
		<xs:sequence>
			<xs:element name="AnyTrackingAreaChange" type="mcdataloc:tEmptyTypeAttribute" minOccurs="0"/>
			<xs:element name="EnterSpecificTrackingArea" type="mcdataloc:tTrackingAreaIdentity" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="ExitSpecificTrackingArea" type="mcdataloc:tTrackingAreaIdentity" minOccurs="0" maxOccurs="unbounded"/>
			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="anyExt" type="mcdataloc:anyExtType" minOccurs="0"/>
		</xs:sequence>
		<xs:anyAttribute namespace="##any" processContents="lax"/>
	</xs:complexType>
	<xs:simpleType name="tTrackingAreaIdentityFormat">
		<xs:restriction base="xs:string">
			<xs:pattern value="\d{3}\d{3}[0-1]{16}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="tTrackingAreaIdentity">
		<xs:simpleContent>
			<xs:extension base="mcdataloc:tTrackingAreaIdentityFormat">
				<xs:attribute name="TriggerId" type="xs:string" use="required"/>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="tPlmnChangeType">
		<xs:sequence>
			<xs:element name="AnyPlmnChange" type="mcdataloc:tEmptyTypeAttribute" minOccurs="0"/>
			<xs:element name="EnterSpecificPlmn" type="mcdataloc:tPlmnIdentity" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="ExitSpecificPlmn" type="mcdataloc:tPlmnIdentity" minOccurs="0" maxOccurs="unbounded"/>
			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="anyExt" type="mcdataloc:anyExtType" minOccurs="0"/>
		</xs:sequence>
		<xs:anyAttribute namespace="##any" processContents="lax"/>
	</xs:complexType>
	<xs:simpleType name="tPlmnIdentityFormat">
		<xs:restriction base="xs:string">
			<xs:pattern value="\d{3}\d{3}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="tPlmnIdentity">
		<xs:simpleContent>
			<xs:extension base="mcdataloc:tPlmnIdentityFormat">
				<xs:attribute name="TriggerId" type="xs:string" use="required"/>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="tMbmsSaChangeType">
		<xs:sequence>
			<xs:element name="AnyMbmsSaChange" type="mcdataloc:tEmptyTypeAttribute" minOccurs="0"/>
			<xs:element name="EnterSpecificMbmsSa" type="mcdataloc:tMbmsSaIdentity" minOccurs="0"/>
			<xs:element name="ExitSpecificMbmsSa" type="mcdataloc:tMbmsSaIdentity" minOccurs="0"/>
			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="anyExt" type="mcdataloc:anyExtType" minOccurs="0"/>
		</xs:sequence>
		<xs:anyAttribute namespace="##any" processContents="lax"/>
	</xs:complexType>
	<xs:simpleType name="tMbmsSaIdentityFormat">
		<xs:restriction base="xs:integer">
			<xs:minInclusive value="0"/>
			<xs:maxInclusive value="65535"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="tMbmsSaIdentity">
		<xs:simpleContent>
			<xs:extension base="mcdataloc:tMbmsSaIdentityFormat">
				<xs:attribute name="TriggerId" type="xs:string" use="required"/>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="tMbsfnAreaChangeType">
		<xs:sequence>
			<xs:element name="EnterSpecificMbsfnArea" type="mcdataloc:tMbsfnAreaIdentity" minOccurs="0"/>
			<xs:element name="ExitSpecificMbsfnArea" type="mcdataloc:tMbsfnAreaIdentity" minOccurs="0"/>
			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="anyExt" type="mcdataloc:anyExtType" minOccurs="0"/>
		</xs:sequence>
		<xs:anyAttribute namespace="##any" processContents="lax"/>
	</xs:complexType>
	<xs:simpleType name="tMbsfnAreaIdentityFormat">
		<xs:restriction base="xs:integer">
			<xs:minInclusive value="0"/>
			<xs:maxInclusive value="255"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="tMbsfnAreaIdentity">
		<xs:simpleContent>
			<xs:extension base="mcdataloc:tMbsfnAreaIdentityFormat">
				<xs:attribute name="TriggerId" type="xs:string" use="required"/>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="tIntegerAttributeType">
		<xs:simpleContent>
			<xs:extension base="xs:integer">
				<xs:attribute name="TriggerId" type="xs:string" use="required"/>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="tTravelledDistanceType">
		<xs:sequence>
			<xs:element name="TravelledDistance" type="xs:positiveInteger"/>
			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="anyExt" type="mcdataloc:anyExtType" minOccurs="0"/>
		</xs:sequence>
		<xs:anyAttribute namespace="##any" processContents="lax"/>
	</xs:complexType>
	<xs:complexType name="tSignallingEventType">
		<xs:sequence>
			<xs:element name="InitialLogOn" type="mcdataloc:tEmptyTypeAttribute" minOccurs="0"/>
			<xs:element name="GroupCallNonEmergency" type="mcdataloc:tEmptyTypeAttribute" minOccurs="0"/>
			<xs:element name="PrivateCallNonEmergency" type="mcdataloc:tEmptyTypeAttribute" minOccurs="0"/>
			<xs:element name="LocationConfigurationReceived" type="mcdataloc:tEmptyTypeAttribute" minOccurs="0"/>
			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="anyExt" type="mcdataloc:anyExtType" minOccurs="0"/>
		</xs:sequence>
		<xs:anyAttribute namespace="##any" processContents="lax"/>
	</xs:complexType>
	<xs:complexType name="tEmergencyEventType">
		<xs:sequence>
			<xs:element name="GroupCallEmergency" type="mcdataloc:tEmptyTypeAttribute" minOccurs="0"/>
			<xs:element name="GroupCallImminentPeril" type="mcdataloc:tEmptyTypeAttribute" minOccurs="0"/>
			<xs:element name="PrivateCallEmergency" type="mcdataloc:tEmptyTypeAttribute" minOccurs="0"/>
			<xs:element name="InitiateEmergencyAlert" type="mcdataloc:tEmptyTypeAttribute" minOccurs="0"/>
			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="anyExt" type="mcdataloc:anyExtType" minOccurs="0"/>
		</xs:sequence>
		<xs:anyAttribute namespace="##any" processContents="lax"/>
	</xs:complexType>
	<xs:complexType name="tRequestedLocationType">
		<xs:sequence>
			<xs:element name="ServingEcgi" type="mcdataloc:tEmptyType" minOccurs="0"/>
			<xs:element name="NeighbouringEcgi" type="mcdataloc:tEmptyType" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="MbmsSaId" type="mcdataloc:tEmptyType" minOccurs="0"/>
			<xs:element name="MbsfnArea" type="mcdataloc:tEmptyType" minOccurs="0"/>
			<xs:element name="GeographicalCoordinate" type="mcdataloc:tEmptyType" minOccurs="0"/>
			<xs:element name="minimumIntervalLength" type="xs:positiveInteger"/>
			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="anyExt" type="mcdataloc:anyExtType" minOccurs="0"/>
		</xs:sequence>
		<xs:anyAttribute namespace="##any" processContents="lax"/>
	</xs:complexType>
	<xs:complexType name="tCurrentLocationType">
		<xs:sequence>
			<xs:element name="CurrentServingEcgi" type="mcdataloc:tLocationType" minOccurs="0"/>
			<xs:element name="NeighbouringEcgi" type="mcdataloc:tLocationType" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="MbmsSaId" type="mcdataloc:tLocationType" minOccurs="0"/>
			<xs:element name="MbsfnArea" type="mcdataloc:tLocationType" minOccurs="0"/>
			<xs:element name="CurrentCoordinate" type="mcdataloc:tPointCoordinate" minOccurs="0"/>
			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="anyExt" type="mcdataloc:anyExtType" minOccurs="0"/>
		</xs:sequence>
		<xs:anyAttribute namespace="##any" processContents="lax"/>
	</xs:complexType>
	<xs:simpleType name="protectionType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Normal"/>
			<xs:enumeration value="Encrypted"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="tLocationType">
		<xs:choice>
			<xs:element name="Ecgi" type="mcdataloc:tEcgi" minOccurs="0"/>
			<xs:element name="SaId" type="mcdataloc:tMbmsSaIdentity" minOccurs="0"/>
			<xs:element name="MbsfnAreaId" type="mcdataloc:tMbsfnAreaIdentity" minOccurs="0"/>
			<xs:any namespace="##other" processContents="lax"/>
			<xs:element name="anyExt" type="mcdataloc:anyExtType" minOccurs="0"/>
		</xs:choice>
		<xs:attribute name="type" type="mcdataloc:protectionType"/>
		<xs:anyAttribute namespace="##any" processContents="lax"/>
	</xs:complexType>
	<xs:complexType name="tGeographicalAreaChange">
		<xs:sequence>
			<xs:element name="AnyAreaChange" type="mcdataloc:tEmptyTypeAttribute" minOccurs="0"/>
			<xs:element name="EnterSpecificAreaType" type="mcdataloc:tSpecificAreaType" minOccurs="0"/>
			<xs:element name="ExitSpecificAreaType" type="mcdataloc:tSpecificAreaType" minOccurs="0"/>
			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="anyExt" type="mcdataloc:anyExtType" minOccurs="0"/>
		</xs:sequence>
		<xs:anyAttribute namespace="##any" processContents="lax"/>
	</xs:complexType>
	<xs:complexType name="tSpecificAreaType">
		<xs:sequence>
			<xs:element name="GeographicalArea" type="mcdataloc:tGeographicalAreaDef"/>
			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="anyExt" type="mcdataloc:anyExtType" minOccurs="0"/>
		</xs:sequence>
		<xs:attribute name="TriggerId" type="xs:string" use="required"/>
		<xs:anyAttribute namespace="##any" processContents="lax"/>
	</xs:complexType>
	<xs:complexType name="tPointCoordinate">
		<xs:sequence>
			<xs:element name="longitude" type="mcdataloc:tCoordinateType"/>
			<xs:element name="latitude" type="mcdataloc:tCoordinateType"/>
			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="anyExt" type="mcdataloc:anyExtType" minOccurs="0"/>
		</xs:sequence>
		<xs:anyAttribute namespace="##any" processContents="lax"/>
	</xs:complexType>
	<xs:complexType name="tCoordinateType">
		<xs:choice>
			<xs:element name="threebytes" type="mcdataloc:tThreeByteType" minOccurs="0"/>
			<xs:any namespace="##other" processContents="lax"/>
			<xs:element name="anyExt" type="mcdataloc:anyExtType" minOccurs="0"/>
		</xs:choice>
		<xs:attribute name="type" type="mcdataloc:protectionType"/>
		<xs:anyAttribute namespace="##any" processContents="lax"/>
	</xs:complexType>
	<xs:simpleType name="tThreeByteType">
		<xs:restriction base="xs:integer">
			<xs:minInclusive value="0"/>
			<xs:maxInclusive value="16777215"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="tGeographicalAreaDef">
		<xs:sequence>
			<xs:element name="PolygonArea" type="mcdataloc:tPolygonAreaType" minOccurs="0"/>
			<xs:element name="EllipsoidArcArea" type="mcdataloc:tEllipsoidArcType" minOccurs="0"/>
			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="anyExt" type="mcdataloc:anyExtType" minOccurs="0"/>
		</xs:sequence>
		<xs:anyAttribute namespace="##any" processContents="lax"/>
	</xs:complexType>
	<xs:complexType name="tPolygonAreaType">
		<xs:sequence>
			<xs:element name="Corner" type="mcdataloc:tPointCoordinate" minOccurs="3" maxOccurs="15"/>
			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="anyExt" type="mcdataloc:anyExtType" minOccurs="0"/>
		</xs:sequence>
		<xs:anyAttribute namespace="##any" processContents="lax"/>
	</xs:complexType>
	<xs:complexType name="tEllipsoidArcType">
		<xs:sequence>
			<xs:element name="Center" type="mcdataloc:tPointCoordinate"/>
			<xs:element name="Radius" type="xs:nonNegativeInteger"/>
			<xs:element name="OffsetAngle" type="xs:unsignedByte"/>
			<xs:element name="IncludedAngle" type="xs:unsignedByte"/>
			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="anyExt" type="mcdataloc:anyExtType" minOccurs="0"/>
		</xs:sequence>
		<xs:anyAttribute namespace="##any" processContents="lax"/>
	</xs:complexType>
	<xs:complexType name="anyExtType">
		<xs:sequence>
			<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
</xs:schema>
