ctcc_terminal_location_types_2_1.xsd

来自「电信网关接口程序」· XSD 代码 · 共 45 行

XSD
45
字号
<?xml version="1.0" encoding="UTF-8"?>
<!-- July 14, 2005 -->
<xsd:schema
   targetNamespace="http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/v2_1"
   xmlns:terminal_location_xsd="http://www.chinatelecom.com.cn/schema/ctcc/terminal_location/v2_1"
   xmlns:ctcc_common_xsd="http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1"
   xmlns:xsd="http://www.w3.org/2001/XMLSchema">

   <xsd:import namespace="http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1" schemaLocation="ctcc_common_types_2_1.xsd"/>

   <xsd:complexType name="LocationInfo">
      <xsd:sequence>
         <xsd:element name="address" type="xsd:anyURI"/>
         <xsd:element name="latitude" type="xsd:float"/>
         <xsd:element name="longitude" type="xsd:float"/>
         <xsd:element name="altitude" type="xsd:float" minOccurs="0" maxOccurs="1"/>
         <xsd:element name="accuracy" type="xsd:int" minOccurs="0" maxOccurs="1"/>
         <xsd:element name="timestamp" type="xsd:dateTime"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:complexType name="LocationData">
      <xsd:sequence>
         <xsd:element name="reportStatus" type="terminal_location_xsd:RetrievalStatus"/>
         <xsd:element name="currentLocation" type="terminal_location_xsd:LocationInfo"/>
         <xsd:element name="errorInformation" type="ctcc_common_xsd:ServiceError" minOccurs="0" maxOccurs="1"/>
      </xsd:sequence>
   </xsd:complexType>

   <xsd:simpleType name="EnteringLeavingCriteria">
      <xsd:restriction base="xsd:string">
         <xsd:enumeration value="Entering"/>
         <xsd:enumeration value="Leaving"/>
      </xsd:restriction>
   </xsd:simpleType>

   <xsd:simpleType name="RetrievalStatus">
      <xsd:restriction base="xsd:string">
         <xsd:enumeration value="Retrieved"/>
         <xsd:enumeration value="NotRetrieved"/>
         <xsd:enumeration value="Error"/>
      </xsd:restriction>
   </xsd:simpleType>
</xsd:schema>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?