Référence pour http://tsvcv5.ppp38v2.cityway.fr/api/map/v2/GetStreetSection/xml?Street={STREET}&Number={NUMBER}&Lang={LANG}
Url : http://tsvcv5.ppp38v2.cityway.fr/api/map/v2/GetStreetSection/xml?Street={STREET}&Number={NUMBER}&Lang={LANG}
Méthode HTTP : GET
Cette opération prend en charge les réponses JSONP. La fonction de rappel peut être spécifiée en utilisant le paramètre de requête d'Url "callback".
Direction du message | Format | Corps |
---|---|---|
Demande | N/A | Le corps de Demande est vide. |
Réponse | Xml | Exemple,Schéma |
Réponse | Json | Exemple |
Ceci est un exemple de corps Xml de réponse :
<Response> <Data> <Category>2147483647</Category> <Id>2147483647</Id> <Latitude>1.26743233E+15</Latitude> <Locality> <Id>2147483647</Id> <InseeCode>Contenu de chaîne</InseeCode> <Latitude>1.26743233E+15</Latitude> <Longitude>1.26743233E+15</Longitude> <Name>Contenu de chaîne</Name> </Locality> <LocalityId>2147483647</LocalityId> <Longitude>1.26743233E+15</Longitude> <Name>Contenu de chaîne</Name> <PointType>Poi</PointType> <FirstNumber>2147483647</FirstNumber> <IdSection>2147483647</IdSection> <LastNumber>2147483647</LastNumber> <Length>2147483647</Length> <MaxEvenNumber>2147483647</MaxEvenNumber> <MaxOddNumber>2147483647</MaxOddNumber> <MinEvenNumber>2147483647</MinEvenNumber> <MinOddNumber>2147483647</MinOddNumber> <Number>2147483647</Number> </Data> <Message>Contenu de chaîne</Message> <ResponseKey>Contenu de chaîne</ResponseKey> <StatusCode>2147483647</StatusCode> </Response>
Ceci est un exemple de corps de réponse Json :
{ "Data":{ "Category":2147483647, "Id":2147483647, "Latitude":1.26743233E+15, "Locality":{ "Id":2147483647, "InseeCode":"Contenu de chaîne", "Latitude":1.26743233E+15, "Longitude":1.26743233E+15, "Name":"Contenu de chaîne" }, "LocalityId":2147483647, "Longitude":1.26743233E+15, "Name":"Contenu de chaîne", "PointType":0, "FirstNumber":2147483647, "IdSection":2147483647, "LastNumber":2147483647, "Length":2147483647, "MaxEvenNumber":2147483647, "MaxOddNumber":2147483647, "MinEvenNumber":2147483647, "MinOddNumber":2147483647, "Number":2147483647 }, "Message":"Contenu de chaîne", "ResponseKey":"Contenu de chaîne", "StatusCode":2147483647 }
Ceci est le schéma Xml de réponse :
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="http://schemas.datacontract.org/2004/07/TransinfoService.API.Map.v2.Model.Transport" /> <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> <xs:complexType name="Response"> <xs:annotation> <xs:appinfo> <GenericType Name="Response" Namespace="" xmlns="http://schemas.microsoft.com/2003/10/Serialization/"> <GenericParameter Name="Road" Namespace="" /> </GenericType> </xs:appinfo> </xs:annotation> <xs:sequence> <xs:element minOccurs="0" name="Data" nillable="true" type="Road" /> <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ResponseKey" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="StatusCode" type="xs:int" /> </xs:sequence> </xs:complexType> <xs:element name="Response" nillable="true" type="Response" /> <xs:complexType name="Road"> <xs:complexContent mixed="false"> <xs:extension base="TripPoint"> <xs:sequence> <xs:element minOccurs="0" name="FirstNumber" nillable="true" type="xs:int"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="IdSection" type="xs:int" /> <xs:element minOccurs="0" name="LastNumber" nillable="true" type="xs:int"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Length" type="xs:int" /> <xs:element minOccurs="0" name="MaxEvenNumber" nillable="true" type="xs:int"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="MaxOddNumber" nillable="true" type="xs:int"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="MinEvenNumber" nillable="true" type="xs:int"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="MinOddNumber" nillable="true" type="xs:int"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Number" type="xs:int" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="Road" nillable="true" type="Road" /> <xs:complexType name="TripPoint"> <xs:sequence> <xs:element minOccurs="0" name="Category" nillable="true" type="xs:int"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Id" type="xs:int" /> <xs:element minOccurs="0" name="Latitude" nillable="true" type="xs:double"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Locality" nillable="true" type="Locality"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="LocalityId" type="xs:int" /> <xs:element minOccurs="0" name="Longitude" nillable="true" type="xs:double"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="PointType" xmlns:q1="http://schemas.datacontract.org/2004/07/TransinfoService.API.Map.v2.Model.Transport" type="q1:PointTypeEnum" /> </xs:sequence> </xs:complexType> <xs:element name="TripPoint" nillable="true" type="TripPoint" /> <xs:complexType name="Locality"> <xs:sequence> <xs:element minOccurs="0" name="Id" type="xs:int" /> <xs:element minOccurs="0" name="InseeCode" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Latitude" type="xs:double" /> <xs:element minOccurs="0" name="Longitude" type="xs:double" /> <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="Locality" nillable="true" type="Locality" /> <xs:complexType name="Place"> <xs:complexContent mixed="false"> <xs:extension base="TripPoint"> <xs:sequence> <xs:element minOccurs="0" name="Attributes" nillable="true" type="AttributeList"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="CategoryList" nillable="true" type="ArrayOfCategoryPlace"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="ImportId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ThemeList" nillable="true" type="ArrayOfTheme"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="Place" nillable="true" type="Place" /> <xs:complexType name="AttributeList"> <xs:annotation> <xs:appinfo> <IsDictionary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsDictionary> </xs:appinfo> </xs:annotation> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="PlacePublicAttribute"> <xs:complexType> <xs:sequence> <xs:element name="Name" nillable="true" type="xs:string" /> <xs:element name="Value" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> <xs:element name="AttributeList" nillable="true" type="AttributeList" /> <xs:complexType name="ArrayOfCategoryPlace"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="CategoryPlace" nillable="true" type="CategoryPlace" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfCategoryPlace" nillable="true" type="ArrayOfCategoryPlace" /> <xs:complexType name="CategoryPlace"> <xs:sequence> <xs:element minOccurs="0" name="Id" type="xs:int" /> <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="CategoryPlace" nillable="true" type="CategoryPlace" /> <xs:complexType name="ArrayOfTheme"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="Theme" nillable="true" type="Theme" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfTheme" nillable="true" type="ArrayOfTheme" /> <xs:complexType name="Theme"> <xs:sequence> <xs:element minOccurs="0" name="Id" type="xs:int" /> <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="Theme" nillable="true" type="Theme" /> <xs:complexType name="PhysicalStop"> <xs:complexContent mixed="false"> <xs:extension base="TripPoint"> <xs:sequence> <xs:element minOccurs="0" name="AccessibilityStatus" nillable="true" type="AccessibilityStatus"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Codification" nillable="true" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q2:ArrayOfint"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="IsDisrupted" type="xs:boolean"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="LineList" nillable="true" type="ArrayOfLine" /> <xs:element minOccurs="0" name="LogicalStop" nillable="true" type="LogicalStop"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="LogicalStopId" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="Operator" nillable="true" type="Operator"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="OperatorId" type="xs:int"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="TransportMode" type="TransportMode" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="PhysicalStop" nillable="true" type="PhysicalStop" /> <xs:complexType name="AccessibilityStatus"> <xs:sequence> <xs:element minOccurs="0" name="BlindAccess" type="xs:short" /> <xs:element minOccurs="0" name="DeafAccess" type="xs:short" /> <xs:element minOccurs="0" name="MentalIllnessAccess" type="xs:short" /> <xs:element minOccurs="0" name="WheelChairAccess" type="xs:short" /> </xs:sequence> </xs:complexType> <xs:element name="AccessibilityStatus" nillable="true" type="AccessibilityStatus" /> <xs:complexType name="ArrayOfLine"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="Line" nillable="true" type="Line" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfLine" nillable="true" type="ArrayOfLine" /> <xs:complexType name="Line"> <xs:sequence> <xs:element minOccurs="0" name="AccessibilityStatus" nillable="true" type="AccessibilityStatus"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Company" nillable="true" type="Company" /> <xs:element minOccurs="0" name="CompanyId" type="xs:int" /> <xs:element minOccurs="0" name="Deleted" type="xs:boolean" /> <xs:element minOccurs="0" name="DirectionList" nillable="true" type="ArrayOfLineDirection"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Id" type="xs:int" /> <xs:element minOccurs="0" name="IsDisrupted" type="xs:boolean" /> <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Network" nillable="true" type="Network" /> <xs:element minOccurs="0" name="NetworkId" type="xs:int" /> <xs:element minOccurs="0" name="Number" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Operator" nillable="true" type="Operator" /> <xs:element minOccurs="0" name="OperatorId" type="xs:int" /> <xs:element minOccurs="0" name="Order" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="Published" type="xs:boolean" /> <xs:element minOccurs="0" name="TransportMode" type="TransportMode" /> </xs:sequence> </xs:complexType> <xs:element name="Line" nillable="true" type="Line" /> <xs:complexType name="Company"> <xs:sequence> <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Id" type="xs:int" /> <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="Company" nillable="true" type="Company" /> <xs:complexType name="ArrayOfLineDirection"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="LineDirection" nillable="true" type="LineDirection" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfLineDirection" nillable="true" type="ArrayOfLineDirection" /> <xs:complexType name="LineDirection"> <xs:sequence> <xs:element minOccurs="0" name="Destination" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Direction" type="xs:short" /> <xs:element minOccurs="0" name="Disrupted" nillable="true" type="xs:boolean"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Origin" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:element name="LineDirection" nillable="true" type="LineDirection" /> <xs:complexType name="Network"> <xs:sequence> <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Id" type="xs:int" /> <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="Network" nillable="true" type="Network" /> <xs:complexType name="Operator"> <xs:sequence> <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Id" type="xs:int" /> <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="Operator" nillable="true" type="Operator" /> <xs:simpleType name="TransportMode"> <xs:restriction base="xs:string"> <xs:enumeration value="Bus" /> <xs:enumeration value="Car" /> <xs:enumeration value="Tram" /> <xs:enumeration value="Metro" /> <xs:enumeration value="Train" /> <xs:enumeration value="Tgv" /> <xs:enumeration value="Ter" /> <xs:enumeration value="Tad" /> <xs:enumeration value="TadPmr" /> <xs:enumeration value="Taxibus" /> <xs:enumeration value="Velobus" /> <xs:enumeration value="Velo" /> <xs:enumeration value="Velocyclable" /> <xs:enumeration value="Voiture" /> <xs:enumeration value="Doublage" /> <xs:enumeration value="Boat" /> <xs:enumeration value="Avion" /> <xs:enumeration value="Trolley" /> <xs:enumeration value="Scolaire" /> <xs:enumeration value="Minibus" /> <xs:enumeration value="NavetteElec" /> <xs:enumeration value="Funiculaire" /> <xs:enumeration value="BusPmr" /> <xs:enumeration value="Rer" /> <xs:enumeration value="Unknown" /> <xs:enumeration value="Ascenseur" /> <xs:enumeration value="Escalator" /> </xs:restriction> </xs:simpleType> <xs:element name="TransportMode" nillable="true" type="TransportMode" /> <xs:complexType name="LogicalStop"> <xs:complexContent mixed="false"> <xs:extension base="TripPoint"> <xs:sequence> <xs:element minOccurs="0" name="PhysicalStopList" nillable="true" type="ArrayOfPhysicalStop"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="LogicalStop" nillable="true" type="LogicalStop" /> <xs:complexType name="ArrayOfPhysicalStop"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="PhysicalStop" nillable="true" type="PhysicalStop" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfPhysicalStop" nillable="true" type="ArrayOfPhysicalStop" /> </xs:schema>
Schémas Xml de réponse supplémentaire :
<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/TransinfoService.API.Map.v2.Model.Transport" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/TransinfoService.API.Map.v2.Model.Transport" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" /> <xs:simpleType name="PointTypeEnum"> <xs:restriction base="xs:string"> <xs:enumeration value="Poi"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="Boarding_Position"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="Quay" /> <xs:enumeration value="Address" /> <xs:enumeration value="Stop_Place" /> <xs:enumeration value="Commercial_Stop_Point"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="Physical_Stop_Place"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">5</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="Road_Link" /> </xs:restriction> </xs:simpleType> <xs:element name="PointTypeEnum" nillable="true" type="tns:PointTypeEnum" /> </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:schema>
<xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="schema"> <xs:complexType /> </xs:element> </xs:schema>