﻿<?xml version="1.0" encoding="UTF-8"?>

<!--

XML data type definitions for OMA RESTful Network API for Dynamic Navigation
   Version: 1.1
   Date: 04 Aug 2015
   
FILE INFORMATION
   
  OMA Permanent Document
    File: OMA-SUP-XSD_rest_DynNav-V1_1-20150804-A
    Type: Text - Schema Description
   
  Public Reachable Information
    Path: http://www.openmobilealliance.org/tech/profiles 
    Name: rest_dynnav-V1_1.xsd
   	    
NORMATIVE INFORMATION
   
  Information about this file can be found in the specification

    OMA-TS-REST_NetAPI_DynNav-V1_1-20150804-A
         
  This is available at http://www.openmobilealliance.org/
	
  Send comments to technical-comments@mail.openmobilealliance.org 

GUIDELINES TO RETRIEVE IMPORTED XSD FILES
 
   The tpeg-loc and tpeg-rtm XSD schemas are defined as DTD respectively in ISO 24530-2 
   (http://www.iso.org/iso/home/store/catalogue_tc/catalogue_detail.htm?csnumber=37500) 
   and ISO 24530-3(http://www.iso.org/iso/home/store/catalogue_tc/catalogue_detail.htm?csnumber=37501).; 
   These DTD documents may be translated to XSD with with any converter tools, it is recommended the use 
   of W3C official tool available at http://www.w3.org/2000/04/schema_hack/.
   The tpeg-loc-type and tpeg-rtm-type XSD schemas should include the list of admitted value for the 
   list of parameter defined, as DTD Entity structures, respectively in the  spec ISO 24530-2 and 
   ISO 24530-3; these DTD Entity structures should be translated in XSD as enumerations with 
   restriction to string. Furthermore the entity defined in ISO TS 24530-1 
   (http://www.iso.org/iso/home/store/catalogue_tc/catalogue_detail.htm?csnumber=37268) 
   has to be translated from Entity to SimpleType with the restriction rules defined in the same spec. 
   Note that no DTD is provided in this document.
 
   The POI XSD schema can be found in the POI spec 
   (see W3C Points of Interest Core, URL:http://www.w3.org/TR/2011/WD-poi-core-20110512/)
   The CivicAddress XSD Schema can be found in the RFC5139 
   (see Revised Civic Location Format for Presence Information Data Format Location Object (PIDF-LO), 
   M. Thomson, J. Winterbottom, February 2008, http://www.ietf.org/rfc/rfc5139.txt)
   The ActivityStream POI XSD schema can be found in the JSON Activity Streams 1.0 spec
   (see JSON Activity Streas 1.1, URL:http://activitystrea.ms/specs/json/1.0/#object)
  
CHANGE HISTORY

04082015 Status changed to Approved by TP, TP Ref # OMA-TP-2015-0122-INP_DynNav_V1_1_ERP_for_final_Approval
 
LEGAL DISCLAIMER

  Use of this document is subject to all of the terms and conditions
  of the Use Agreement located at
  http://www.openmobilealliance.org/UseAgreement.html,
  provided, however, that section (d) under "Documents - Terms 
  of Use" which states, "no modifications are made to such 
  Documents" does not apply to your use.

  The Open Mobile Alliance authorizes you to copy this document, 
  provided that you retain all copyright and other proprietary  
  notices contained in the original materials on any copies of the 
  materials and  that you comply strictly with these terms. This 
  copyright permission does not constitute an endorsement of the 
  products or services. The Open Mobile Alliance assumes no 
  responsibility for errors or omissions in this document.

  Each Open Mobile Alliance member has agreed to use reasonable
  endeavors to inform the Open Mobile Alliance in a timely manner of
  Essential IPR as it becomes aware that the Essential IPR is related
  to the prepared or published specification.  However, the members
  do not have an obligation to conduct IPR searches.  The declared
  Essential IPR is publicly available to members and non-members of
  the Open Mobile Alliance and may be found on the "OMA IPR
  Declarations" list at http://www.openmobilealliance.org/ipr.html.
  The Open Mobile Alliance has not conducted an independent IPR review
  of this document and the information contained herein, and makes no
  representations or warranties regarding third party IPR, including
  without limitation patents, copyrights or trade secret rights.  This
  document may contain inventions for which you must obtain licenses
  from third parties before making, using or selling the inventions.
  Defined terms above are set forth in the schedule to the Open Mobile
  Alliance Application Form.

  NO REPRESENTATIONS OR WARRANTIES (WHETHER EXPRESS OR IMPLIED) ARE
  MADE BY THE OPEN MOBILE ALLIANCE OR ANY OPEN MOBILE ALLIANCE MEMBER
  OR ITS AFFILIATES REGARDING ANY OF THE IPR'S REPRESENTED ON THE "OMA
  IPR DECLARATIONS" LIST, INCLUDING, BUT NOT LIMITED TO THE ACCURACY,
  COMPLETENESS, VALIDITY OR RELEVANCE OF THE INFORMATION OR WHETHER OR
  NOT SUCH RIGHTS ARE ESSENTIAL OR NON-ESSENTIAL.

  THE OPEN MOBILE ALLIANCE IS NOT LIABLE FOR AND HEREBY DISCLAIMS ANY
  DIRECT, INDIRECT, PUNITIVE, SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR
  EXEMPLARY DAMAGES ARISING OUT OF OR IN CONNECTION WITH THE USE OF
  DOCUMENTS AND THE INFORMATION CONTAINED IN THE DOCUMENTS.

  Copyright 2015 Open Mobile Alliance Ltd.  All Rights Reserved.
  Used with the permission of the Open Mobile Alliance Ltd. under the
  terms set forth above.

-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:oma:xml:rest:netapi:dynnav:1" xmlns:tpeg-loc="urn:oma:xml:rest:netapi:dynnav:1:tpeg-loc" xmlns:tpeg-rtm="urn:oma:xml:rest:netapi:dynnav:1:tpeg-rtm" xmlns:tpeg-rtm-type="urn:oma:xml:rest:netapi:dynnav:1:tpeg-rtm-type" xmlns:tpeg-loc-type="urn:oma:xml:rest:netapi:dynnav:1:tpeg-loc-type" xmlns:ca="urn:ietf:params:xml:ns:pidf:geopriv10:civicAddr" xmlns:common="urn:oma:xml:rest:netapi:common:1" xmlns:poi="http://www.w3.org/poi" xmlns:place="http://activitystrea.ms/specs/json/1.0" targetNamespace="urn:oma:xml:rest:netapi:dynnav:1" elementFormDefault="unqualified" version="1.1">
	<xsd:annotation>
		<xsd:documentation>
			This schema defines the XML data types for the RESTful Network API for DynNav.
		</xsd:documentation>
	</xsd:annotation>
	<xsd:import namespace="urn:oma:xml:rest:netapi:dynnav:1:tpeg-loc" schemaLocation="tpeg-loc.xsd"/>
	<xsd:import namespace="urn:oma:xml:rest:netapi:dynnav:1:tpeg-loc-type" schemaLocation="tpeg-loc-type.xsd"/>
	<xsd:import namespace="urn:ietf:params:xml:ns:pidf:geopriv10:civicAddr" schemaLocation="CivicAddr.xsd"/>
	<xsd:import namespace="urn:oma:xml:rest:netapi:common:1" schemaLocation="http://www.openmobilealliance.org/tech/profiles/rest_netapi_common-v1_0.xsd"/>
	<xsd:import namespace="urn:oma:xml:rest:netapi:dynnav:1:tpeg-rtm" schemaLocation="tpeg-rtm.xsd"/>
	<xsd:import namespace="urn:oma:xml:rest:netapi:dynnav:1:tpeg-rtm-type" schemaLocation="tpeg-rtm-type.xsd"/>
	<xsd:import namespace="http://www.w3.org/poi" schemaLocation="poi.xsd"/>
	<xsd:import namespace="http://activitystrea.ms/specs/json/1.0" schemaLocation="place.xsd"/>
	<xsd:element name="tripList" type="TripList"/>
	<xsd:complexType name="TripList">
		<xsd:sequence>
			<xsd:element name="link" type="common:Link" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="resourceURL" type="xsd:anyURI" minOccurs="0" maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="trip" type="Trip"/>
	<xsd:complexType name="Trip">
		<xsd:sequence>
			<xsd:choice minOccurs="1" maxOccurs="3">
				<xsd:element name="originWGS84" type="tpeg-loc:location_point" />
				<xsd:element name="originAddress" type="ca:civicAddress" />
                                <xsd:element name="origin3rdParty" type="xsd:string" />
			</xsd:choice>
			<xsd:choice minOccurs="1" maxOccurs="3">
				<xsd:element name="destinationAddress" type="ca:civicAddress" />
				<xsd:sequence >
					<xsd:element name="destination3rdParty" type="xsd:string" />
					<xsd:element name="thirdPartyIDType" type="ThirdPartyIDTypeList" />
				</xsd:sequence>
				<xsd:element name="destinationWGS84" type="tpeg-loc:location_point"/>
			</xsd:choice>
			<xsd:element name="thirdPartyDelivery" type="xsd:boolean" minOccurs="0" maxOccurs="1" />
			<xsd:element name="routeForMultipleWaypoints" type="xsd:boolean" minOccurs="0" maxOccurs="1" />
			<xsd:element name="waypoints" type="tpeg-loc:location_point" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="priorityLevel" type="xsd:integer" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="requestedTravellingTime" type="xsd:integer" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="firstPointPriorityListAddress" type="xsd:integer" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="secondPointPriorityListAddress" type="xsd:integer" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="waypointsStayingTime" type="xsd:float" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="waypointsStartVisit" type="xsd:dateTime" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="waypointsEndVisit" type="xsd:dateTime" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="startingTime" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="endingTime" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="tollRoad" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="vehicleType" type="tpeg-rtm:vehicle_info" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="calculateRoute" type="TripQueryType" minOccurs="1" maxOccurs="2"/>
			<xsd:element name="travellingTime" type="xsd:float" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="travellingDistance" type="xsd:float" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="requestedEventsCategories" type="tpeg-rtm-type:rtm00" minOccurs="0" maxOccurs="10"/>
			<xsd:element name="numberOfSubroutes" type="xsd:integer" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="link" type="common:Link" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="resourceURL" type="xsd:anyURI" minOccurs="0" maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="route" type="Route"/>
	<xsd:complexType name="Route">
		<xsd:sequence>
			<xsd:element name="travellingTime" type="xsd:float" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="distance" type="xsd:float" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="origin" type="tpeg-loc:location_point" minOccurs="1" maxOccurs="1"/>
			<xsd:element name="partialRouteInformation" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="firstSegment" type="xsd:integer" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="lastSegment" type="xsd:integer" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="numSegments" type="xsd:integer" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="segment" type="Segment" minOccurs="1" maxOccurs="unbounded"/>
			<xsd:element name="requestedEventsCategories" type="tpeg-rtm-type:rtm00" minOccurs="0" maxOccurs="10"/>
			<xsd:element name="trafficEvents" type="CategorizedEventList" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="numCommonTrafficInfo" type="xsd:integer" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="firstComTrafficSegment" type="xsd:integer" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="lastComTrafficSegment" type="xsd:integer" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="comTrafficRetrievalTime" type="xsd:time" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="addtionalSubroute" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="link" type="common:Link" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="resourceURL" type="xsd:anyURI" minOccurs="0" maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="areaList" type="AreaList"/>
	<xsd:complexType name="AreaList">
		<xsd:sequence minOccurs="0" maxOccurs="1">
			<xsd:element name="area" type="Area" minOccurs="1" maxOccurs="unbounded"/>
			<xsd:element name="resourceURL" type="xsd:anyURI" minOccurs="0" maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="area" type="Area"/>
	<xsd:complexType name="Area">
		<xsd:sequence>
			<xsd:element name="areaDesc" type="tpeg-loc:location_container" minOccurs="1" maxOccurs="2"/>
			<xsd:element name="tripAreaDesc" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="startingIntervalTime" type="xsd:time" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="endingIntervalTime" type="xsd:time" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="startingDate" type="xsd:date" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="endingDate" type="xsd:date" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="typeOfDays" type="xsd:integer" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="requestedEventsCategories" type="tpeg-rtm-type:rtm00" minOccurs="0" maxOccurs="10"/>
			<xsd:element name="timeResolution" type="xsd:float" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="roadLinkType" type="tpeg-loc-type:loc09" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="events" type="CategorizedEventList" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="segmentPerformance" type="Segment" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="defaultSegmentPerformance" type="Segment" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="resourceURL" type="xsd:anyURI" minOccurs="0" maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:simpleType name="WGS84Line">
		<xsd:restriction base="xsd:string">
			<xsd:pattern value="-?([1-8]?[1-9]|[1-9]?0)\.{1}\d{1,6}\s-?([1]?[1-7][1-9]|[1]?[1-8][0]|[1][0][0-9]|[1-9]?[0-9])\.{1}\d{1,6}(,\s-?([1-8]?[1-9]|[1-9]?0)\.{1}\d{1,6}\s-?([1]?[1-7][1-9]|[1]?[1-8][0]|[1][0][0-9]|[1-9]?[0-9])\.{1}\d{1,6})*" />
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:element name="segment" type="Segment"/>
	<xsd:complexType name="Segment">
		<xsd:sequence>
			<xsd:element name="originPoint" type="tpeg-loc:location_point" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="endPoint" type="tpeg-loc:location_point" minOccurs="1" maxOccurs="1"/>
			<xsd:element name="midwayPoint" type="tpeg-loc:location_point" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="polyLine" type="WGS84Line" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="linkName" type="xsd:string" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="distance" type="xsd:float" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="regularTravellingTime" type="xsd:float" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="performanceParameters" type="PerformanceParameters" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="positionUpdate" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="comTrafficInfo" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="performanceParameters" type="PerformanceParameters"/>
	<xsd:complexType name="PerformanceParameters">
		<xsd:sequence>
			<xsd:element name="trafficInfoType" type="TrafficInfoType" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="time" type="xsd:dateTime" minOccurs="1" maxOccurs="unbounded"/>
			<xsd:element name="startingDate" type="xsd:date" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="endingDate" type="xsd:date" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="dayOfWeek" type="xsd:integer" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="delay" type="xsd:float" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="speed" type="xsd:float" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="performance" type="tpeg-rtm-type:rtm34" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="congestionType" type="xsd:integer" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="congestionTendency" type="xsd:integer" minOccurs="0" maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="subscriptionList" type="SubscriptionList"/>
	<xsd:complexType name="SubscriptionList">
		<xsd:sequence>
			<xsd:element name="subscription" type="Subscription" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="resourceURL" type="xsd:anyURI" minOccurs="0" maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="subscription" type="Subscription"/>
	<xsd:complexType name="Subscription">
		<xsd:sequence>
			<xsd:element name="callbackReference" type="common:CallbackReference" minOccurs="1" maxOccurs="1"/>
			<xsd:element name="intervalStartingTime" type="xsd:time" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="intervalEndingTime" type="xsd:time" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="startingDate" type="xsd:date" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="endingDate" type="xsd:date" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="typeOfDays" type="xsd:integer" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="positionCheck" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="notifAdvancedTime" type="xsd:integer" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="link" type="common:Link" minOccurs="1" maxOccurs="unbounded"/>
			<xsd:element name="trackingProc" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="deviceLocationURI" type="xsd:anyURI" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="tracking3rdParty" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="resourceURL" type="xsd:anyURI" minOccurs="0" maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="notification" type="Notification"/>
	<xsd:complexType name="Notification">
		<xsd:sequence>
			<xsd:element name="comTrafficOrigin" type="tpeg-loc:location_point" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="comTrafficEndPoint" type="tpeg-loc:location_point" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="link" type="common:Link" minOccurs="1" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="eventList" type="EventList"/>
	<xsd:complexType name="EventList">
		<xsd:sequence>
			<xsd:element name="event" type="Event" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="resourceURL" type="xsd:anyURI" minOccurs="0" maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="categorizedEventList" type="CategorizedEventList"/>
	<xsd:complexType name="CategorizedEventList">
		<xsd:sequence>
			<xsd:element name="category" type="tpeg-rtm-type:rtm00" minOccurs="1" maxOccurs="1"/>
			<xsd:element name="link" type="common:Link" minOccurs="1" maxOccurs="unbounded"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="event" type="Event"/>
	<xsd:complexType name="Event">
		<xsd:sequence>
			<xsd:element name="rtMessage" type="tpeg-rtm:road_traffic_message" minOccurs="1" maxOccurs="1"/>
			<xsd:element name="resourceURL" type="xsd:anyURI" minOccurs="0" maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="poiListsSet" type="PoiListSet"/>
	<xsd:complexType name="PoiListSet">
		<xsd:sequence>
			<xsd:element name="link" type="common:Link" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="resourceURL" type="xsd:anyURI" minOccurs="0" maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="poiList" type="PoiList"/>
	<xsd:complexType name="PoiList">
		<xsd:sequence>
			<xsd:element name="provider" type="xsd:string" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="category" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/>
			<xsd:choice minOccurs="1" maxOccurs="1">
				<xsd:element name="routeRange" type="xsd:integer" minOccurs="0" maxOccurs="1"/>
				<xsd:element name="area" type="tpeg-loc:location_container" minOccurs="0" maxOccurs="1"/>
			</xsd:choice>
			<xsd:element name="pois" type="poi:pois" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="actStreamsPois" type="place:Place" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="resourceURL" type="xsd:anyURI" minOccurs="0" maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="poiInfo" type="PoiInfo"/>
	<xsd:complexType name="PoiInfo">
		<xsd:sequence>
			<xsd:element name="providersList" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="firstLevel" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/>
			<xsd:element name="secondLevel" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="secondLevCardinality" type="xsd:integer" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="thirdLevel" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="thirdLevCardinality" type="xsd:integer" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="resourceURL" type="xsd:anyURI" minOccurs="0" maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="poiwithinList" type="PoiwithinList"/>
	<xsd:complexType name="PoiwithinList">
		<xsd:sequence>
			<xsd:element name="provider" type="xsd:string" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="category" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/>
			<xsd:element name="format" type="POIType" minOccurs="1" maxOccurs="1"/>
			<xsd:choice minOccurs="1" maxOccurs="2">
				<xsd:element name="originWGS84" type="tpeg-loc:location_point" />
				<xsd:element name="originAddress" type="ca:civicAddress" />
			</xsd:choice>
			<xsd:element name="startingTime" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="travellingTime" type="xsd:integer" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="travellingDistance" type="xsd:integer" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="vehicleType" type="tpeg-rtm:vehicle_info" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="poisW3C" type="poi:pois" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="ASPois" type="place:Place" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="resourceURL" type="xsd:anyURI" minOccurs="0" maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="sharedResources" type="SharedResources"/>
	<xsd:complexType name="SharedResources">
		<xsd:sequence>
			<xsd:element name="sharedTrip" type="xsd:anyURI" minOccurs="1" maxOccurs="unbounded"/>
			<xsd:element name="sharedRoute" type="xsd:anyURI" minOccurs="1" maxOccurs="unbounded"/>
			<xsd:element name="automaticRouteUpate" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
			<xsd:element name="thirdPartyUpdateInfoPermission" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="thirdPartyStartValidityPeriod" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="thirdPartyEndValidityPeriod" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="resourceURL" type="xsd:anyURI" minOccurs="0" maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="publicTrip" type="PublicTrip"/>
	<xsd:complexType name="PublicTrip">
		<xsd:sequence>
			<xsd:element name="originWG84" type="tpeg-loc:location_point" minOccurs="1" maxOccurs="1"/>
			<xsd:element name="originAddress" type="ca:civicAddress" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="destinationWG84" type="tpeg-loc:location_point" minOccurs="1" maxOccurs="1"/>
			<xsd:element name="destinationAddress" type="ca:civicAddress" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="waypoints" type="tpeg-loc:location_point" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="startingTime" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="vehicleType" type="tpeg-rtm:vehicle_info" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="resourceURL" type="xsd:anyURI" minOccurs="0" maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="publicRoute" type="PublicRoute"/>
	<xsd:complexType name="PublicRoute">
		<xsd:sequence>
			<xsd:element name="travellingTime" type="xsd:float" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="distance" type="xsd:float" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="origin" type="tpeg-loc:location_point" minOccurs="1" maxOccurs="1"/>
			<xsd:element name="segment" type="Segment" minOccurs="1" maxOccurs="unbounded"/>
			<xsd:element name="resourceURL" type="xsd:anyURI" minOccurs="0" maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="thirdPartyOperationsSubscription" type="ThirdPartyOperationsSubscription"/>
	<xsd:complexType name="ThirdPartyOperationsSubscription">
		<xsd:sequence>
			<xsd:element name="callbackReference" type="common:CallbackReference" minOccurs="1" maxOccurs="1"/>
			<xsd:element name="status" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="resourceURL" type="xsd:anyURI" minOccurs="0" maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="thirdPartyOperationNotification" type="ThirdPartyOperationNotification"/>
	<xsd:complexType name="ThirdPartyOperationNotification">
		<xsd:sequence>
			<xsd:sequence>
				<xsd:element name="thirdPartyID" type="xsd:string" minOccurs="0" maxOccurs="1" />
				<xsd:element name="thirdPartyIDType" type="ThirdPartyIDTypeList" minOccurs="0" maxOccurs="1"/>
			</xsd:sequence>
			<xsd:element name="thirdPartyUpdateRequest" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="thirdPartyUpdateProviding" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="reqTimeStamp" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="resTimeStamp" type="xsd:dateTime" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="resourceURL" type="xsd:anyURI" minOccurs="0" maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="recurrentTrip" type="RecurrentTrip"/>
	<xsd:complexType name="RecurrentTrip">
		<xsd:sequence>
			<xsd:choice minOccurs="1" maxOccurs="2">
				<xsd:element name="originWGS84" type="tpeg-loc:location_point" />
				<xsd:element name="originAddress" type="ca:civicAddress" />
			</xsd:choice>
			<xsd:choice minOccurs="1" maxOccurs="2">
				<xsd:element name="destinationWGS84" type="tpeg-loc:location_point"/>
				<xsd:element name="destinationAddress" type="ca:civicAddress" />
			</xsd:choice>
			<xsd:element name="waypoints" type="tpeg-loc:location_point" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:choice minOccurs="1" maxOccurs="2">
				<xsd:element name="intervalStartingTime" type="xsd:time"/>
				<xsd:element name="intervalEndingTime" type="xsd:time" />
			</xsd:choice>
			<xsd:element name="startingDate" type="xsd:date" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="endingDate" type="xsd:date" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="typeOfDays" type="xsd:integer" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="tollRoad" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="vehicleType" type="tpeg-rtm:vehicle_info" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="requestedEventsCategories" type="tpeg-rtm-type:rtm00" minOccurs="0" maxOccurs="10"/>
			<xsd:element name="route" type="common:Link" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="resourceURL" type="xsd:anyURI" minOccurs="0" maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="commonTraffic" type="CommonTraffic"/>
	<xsd:complexType name="CommonTraffic">
		<xsd:sequence>
			<xsd:element name="origin" type="tpeg-loc:location_point" minOccurs="1" maxOccurs="1"/>
			<xsd:element name="endPoint" type="tpeg-loc:location_point" minOccurs="1" maxOccurs="1"/>
			<xsd:element name="midwayPoint" type="tpeg-loc:location_point" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:element name="time" type="xsd:dateTime" minOccurs="1" maxOccurs="unbounded"/>
			<xsd:element name="delay" type="xsd:float" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="speed" type="xsd:float" minOccurs="0" maxOccurs="1"/>
			<xsd:element name="performance" type="tpeg-rtm-type:rtm34" minOccurs="0" maxOccurs="1"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:simpleType name="ThirdPartyIDTypeList">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="MSISDN"/>
			<xsd:enumeration value="MDN"/>
			<xsd:enumeration value="IMSI"/>
			<xsd:enumeration value="NAI"/>
			<xsd:enumeration value="IPv4"/>
			<xsd:enumeration value="IPv6"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="TrafficInfoType">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="Real-time"/>
			<xsd:enumeration value="Forecast"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="POIType">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="W3C"/>
			<xsd:enumeration value="AS"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="TripQueryType">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="Route"/>
			<xsd:enumeration value="NoAction"/>
			<xsd:enumeration value="TravellingTime"/>
			<xsd:enumeration value="TravellingDistance"/>
		</xsd:restriction>
	</xsd:simpleType>
</xsd:schema>
