Reference for http://developers.vietbando.com/V2/service/PartnerPortalService.svc/rest/ViaRoute

Url: http://developers.vietbando.com/V2/service/PartnerPortalService.svc/rest/ViaRoute

HTTP Method: POST

Message direction Format Body
Request Xml Example,Schema
Request Json Example
Response Xml Example,Schema
Response Json Example

The following is an example request Xml body:

<ViaRouteRequest xmlns="http://schemas.datacontract.org/2004/07/PP.Services">
  <Alternative>2147483647</Alternative>
  <Distance>true</Distance>
  <Duration>true</Duration>
  <Geometry>true</Geometry>
  <Instructions>true</Instructions>
  <Points>
    <Point>
      <Latitude>1.26743233E+15</Latitude>
      <Longitude>1.26743233E+15</Longitude>
    </Point>
    <Point>
      <Latitude>1.26743233E+15</Latitude>
      <Longitude>1.26743233E+15</Longitude>
    </Point>
  </Points>
  <RouteCriteria>Duration</RouteCriteria>
  <Uturn>true</Uturn>
  <VehicleType>foot</VehicleType>
</ViaRouteRequest>

The following is an example request Json body:

{
	"Alternative":2147483647,
	"Distance":true,
	"Duration":true,
	"Geometry":true,
	"Instructions":true,
	"Points":[{
		"Latitude":1.26743233E+15,
		"Longitude":1.26743233E+15
	}],
	"RouteCriteria":0,
	"Uturn":true,
	"VehicleType":0
}

The following is an example response Xml body:

<SingleViaRouteResult xmlns="http://schemas.datacontract.org/2004/07/Vietbando.MessageType">
  <Error>
    <ExceptionType>String content</ExceptionType>
    <Message>String content</Message>
  </Error>
  <IsSuccess>true</IsSuccess>
  <ResponseTime>1999-05-31T11:20:00</ResponseTime>
  <Value>
    <Routes xmlns="http://schemas.datacontract.org/2004/07/PP.Services">
      <Route xmlns="http://schemas.datacontract.org/2004/07/Vietbando.Client.Route.Model.Response">
        <Geometry>String content</Geometry>
        <Steps>
          <Distances>
            <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
            <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
          </Distances>
          <Durations>
            <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
            <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
          </Durations>
          <Indices>
            <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
            <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
          </Indices>
          <Names>
            <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
            <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
          </Names>
          <Turns>
            <TurnInstruction>NoTurn</TurnInstruction>
            <TurnInstruction>NoTurn</TurnInstruction>
          </Turns>
        </Steps>
        <Via_Distances>
          <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
          <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
        </Via_Distances>
        <Via_Durations>
          <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
          <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
        </Via_Durations>
        <Via_Indices>
          <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
          <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
        </Via_Indices>
      </Route>
      <Route xmlns="http://schemas.datacontract.org/2004/07/Vietbando.Client.Route.Model.Response">
        <Geometry>String content</Geometry>
        <Steps>
          <Distances>
            <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
            <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
          </Distances>
          <Durations>
            <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
            <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
          </Durations>
          <Indices>
            <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
            <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
          </Indices>
          <Names>
            <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
            <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
          </Names>
          <Turns>
            <TurnInstruction>NoTurn</TurnInstruction>
            <TurnInstruction>NoTurn</TurnInstruction>
          </Turns>
        </Steps>
        <Via_Distances>
          <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
          <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
        </Via_Distances>
        <Via_Durations>
          <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
          <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
        </Via_Durations>
        <Via_Indices>
          <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
          <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
        </Via_Indices>
      </Route>
    </Routes>
    <Via_Points xmlns="http://schemas.datacontract.org/2004/07/PP.Services">
      <Point>
        <Latitude>1.26743233E+15</Latitude>
        <Longitude>1.26743233E+15</Longitude>
      </Point>
      <Point>
        <Latitude>1.26743233E+15</Latitude>
        <Longitude>1.26743233E+15</Longitude>
      </Point>
    </Via_Points>
  </Value>
</SingleViaRouteResult>

The following is an example response Json body:

{
	"Error":{
		"ExceptionType":"String content",
		"Message":"String content"
	},
	"IsSuccess":true,
	"ResponseTime":"\/Date(928124400000+0700)\/",
	"Value":{
		"Routes":[{
			"Geometry":"String content",
			"Steps":{
				"Distances":[2147483647],
				"Durations":[2147483647],
				"Indices":[2147483647],
				"Names":["String content"],
				"Turns":[0]
			},
			"Via_Distances":[2147483647],
			"Via_Durations":[2147483647],
			"Via_Indices":[2147483647]
		}],
		"Via_Points":[{
			"Latitude":1.26743233E+15,
			"Longitude":1.26743233E+15
		}]
	}
}

The following is the request Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/PP.Services" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/PP.Services" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/Vietbando.Client.Route.Model.Request" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/Vietbando.Client.Route.Model" />
  <xs:complexType name="ViaRouteRequest">
    <xs:sequence>
      <xs:element minOccurs="0" name="Alternative" type="xs:int" />
      <xs:element minOccurs="0" name="Distance" type="xs:boolean" />
      <xs:element minOccurs="0" name="Duration" type="xs:boolean" />
      <xs:element minOccurs="0" name="Geometry" type="xs:boolean" />
      <xs:element minOccurs="0" name="Instructions" type="xs:boolean" />
      <xs:element minOccurs="0" name="Points" nillable="true" type="tns:ArrayOfPoint" />
      <xs:element minOccurs="0" name="RouteCriteria" xmlns:q1="http://schemas.datacontract.org/2004/07/Vietbando.Client.Route.Model.Request" type="q1:RouteCriteria" />
      <xs:element minOccurs="0" name="Uturn" type="xs:boolean" />
      <xs:element minOccurs="0" name="VehicleType" xmlns:q2="http://schemas.datacontract.org/2004/07/Vietbando.Client.Route.Model" type="q2:VehicleType" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ViaRouteRequest" nillable="true" type="tns:ViaRouteRequest" />
  <xs:complexType name="ArrayOfPoint">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Point" nillable="true" type="tns:Point" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPoint" nillable="true" type="tns:ArrayOfPoint" />
  <xs:complexType name="Point">
    <xs:sequence>
      <xs:element minOccurs="0" name="Latitude" type="xs:double" />
      <xs:element minOccurs="0" name="Longitude" type="xs:double" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Point" nillable="true" type="tns:Point" />
</xs:schema>

Additional request Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Vietbando.Client.Route.Model.Request" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Vietbando.Client.Route.Model.Request" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:simpleType name="RouteCriteria">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Duration" />
      <xs:enumeration value="Distance" />
      <xs:enumeration value="Traffic" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="RouteCriteria" nillable="true" type="tns:RouteCriteria" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Vietbando.Client.Route.Model" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Vietbando.Client.Route.Model" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:simpleType name="VehicleType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="foot" />
      <xs:enumeration value="bicycle" />
      <xs:enumeration value="motorcycle" />
      <xs:enumeration value="motorcar" />
      <xs:enumeration value="goods" />
      <xs:enumeration value="hgv" />
      <xs:enumeration value="lhv" />
      <xs:enumeration value="bdouble" />
      <xs:enumeration value="roadtrain" />
      <xs:enumeration value="psv" />
      <xs:enumeration value="emergency" />
      <xs:enumeration value="undefined" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="VehicleType" nillable="true" type="tns:VehicleType" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>

The following is the response Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Vietbando.MessageType" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Vietbando.MessageType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/PP.Services" />
  <xs:complexType name="SingleViaRouteResult">
    <xs:annotation>
      <xs:appinfo>
        <GenericType Name="Single{0}" Namespace="http://schemas.datacontract.org/2004/07/Vietbando.MessageType" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
          <GenericParameter Name="ViaRouteResult" Namespace="http://schemas.datacontract.org/2004/07/PP.Services" />
        </GenericType>
      </xs:appinfo>
    </xs:annotation>
    <xs:complexContent mixed="false">
      <xs:extension base="tns:Response">
        <xs:sequence>
          <xs:element minOccurs="0" name="Value" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/PP.Services" type="q1:ViaRouteResult" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="SingleViaRouteResult" nillable="true" type="tns:SingleViaRouteResult" />
  <xs:complexType name="Response">
    <xs:sequence>
      <xs:element minOccurs="0" name="Error" nillable="true" type="tns:Error" />
      <xs:element minOccurs="0" name="IsSuccess" type="xs:boolean" />
      <xs:element minOccurs="0" name="ResponseTime" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Response" nillable="true" type="tns:Response" />
  <xs:complexType name="Error">
    <xs:sequence>
      <xs:element minOccurs="0" name="ExceptionType" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Error" nillable="true" type="tns:Error" />
</xs:schema>

Additional response Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/PP.Services" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/PP.Services" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/Vietbando.Client.Route.Model.Response" />
  <xs:complexType name="ViaRouteResult">
    <xs:sequence>
      <xs:element minOccurs="0" name="Routes" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/Vietbando.Client.Route.Model.Response" type="q1:ArrayOfRoute" />
      <xs:element minOccurs="0" name="Via_Points" nillable="true" type="tns:ArrayOfPoint" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ViaRouteResult" nillable="true" type="tns:ViaRouteResult" />
  <xs:complexType name="ArrayOfPoint">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Point" nillable="true" type="tns:Point" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPoint" nillable="true" type="tns:ArrayOfPoint" />
  <xs:complexType name="Point">
    <xs:sequence>
      <xs:element minOccurs="0" name="Latitude" type="xs:double" />
      <xs:element minOccurs="0" name="Longitude" type="xs:double" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Point" nillable="true" type="tns:Point" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Vietbando.Client.Route.Model.Response" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Vietbando.Client.Route.Model.Response" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:complexType name="ArrayOfRoute">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Route" nillable="true" type="tns:Route" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfRoute" nillable="true" type="tns:ArrayOfRoute" />
  <xs:complexType name="Route">
    <xs:sequence>
      <xs:element minOccurs="0" name="Geometry" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Steps" nillable="true" type="tns:Steps" />
      <xs:element minOccurs="0" name="Via_Distances" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfint" />
      <xs:element minOccurs="0" name="Via_Durations" nillable="true" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q2:ArrayOfint" />
      <xs:element minOccurs="0" name="Via_Indices" nillable="true" xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q3:ArrayOfint" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Route" nillable="true" type="tns:Route" />
  <xs:complexType name="Steps">
    <xs:sequence>
      <xs:element minOccurs="0" name="Distances" nillable="true" xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q4:ArrayOfint" />
      <xs:element minOccurs="0" name="Durations" nillable="true" xmlns:q5="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q5:ArrayOfint" />
      <xs:element minOccurs="0" name="Indices" nillable="true" xmlns:q6="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q6:ArrayOfint" />
      <xs:element minOccurs="0" name="Names" nillable="true" xmlns:q7="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q7:ArrayOfstring" />
      <xs:element minOccurs="0" name="Turns" nillable="true" type="tns:ArrayOfTurnInstruction" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Steps" nillable="true" type="tns:Steps" />
  <xs:complexType name="ArrayOfTurnInstruction">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="TurnInstruction" type="tns:TurnInstruction" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfTurnInstruction" nillable="true" type="tns:ArrayOfTurnInstruction" />
  <xs:simpleType name="TurnInstruction">
    <xs:restriction base="xs:string">
      <xs:enumeration value="NoTurn" />
      <xs:enumeration value="GoStraight" />
      <xs:enumeration value="TurnSlightRight" />
      <xs:enumeration value="TurnRight" />
      <xs:enumeration value="TurnSharpRight" />
      <xs:enumeration value="UTurn" />
      <xs:enumeration value="TurnSharpLeft" />
      <xs:enumeration value="TurnLeft" />
      <xs:enumeration value="TurnSlightLeft" />
      <xs:enumeration value="ReachViaLocation" />
      <xs:enumeration value="HeadOn" />
      <xs:enumeration value="EnterRoundAbout" />
      <xs:enumeration value="LeaveRoundAbout" />
      <xs:enumeration value="StayOnRoundAbout" />
      <xs:enumeration value="StartAtEndOfStreet" />
      <xs:enumeration value="ReachedYourDestination" />
      <xs:enumeration value="ChangeLaneRight" />
      <xs:enumeration value="ChangeLaneLeft" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="TurnInstruction" nillable="true" type="tns:TurnInstruction" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfint">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="int" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfint" nillable="true" type="tns:ArrayOfint" />
  <xs:complexType name="ArrayOfstring">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>