|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by YYC (EMBRACE) -->
|
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:eta="http://www.chinaport.gov.cn/eta" targetNamespace="http://www.chinaport.gov.cn/eta" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
|
|
<xs:element name="EtaMessage">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>运抵报告全自动导入报文</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:complexType>
|
|
|
<xs:sequence>
|
|
|
<xs:element name="Vertion">
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:maxLength value="5"/>
|
|
|
<xs:minLength value="1"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="IEFlag">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>进出口标志</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:maxLength value="1"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="EtaArrival">
|
|
|
<xs:complexType>
|
|
|
<xs:sequence>
|
|
|
<xs:element name="SeqNo">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>统一编号</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:maxLength value="18"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="CustomsCode">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>申报地海关</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:length value="4"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="InputOpId">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>当前操作员ic卡号</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:length value="13"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="InputOpName">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>当前操作员ic卡姓名</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:maxLength value="20"/>
|
|
|
<xs:minLength value="1"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="ApplyName">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>当前操作员单位名称</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:maxLength value="255"/>
|
|
|
<xs:minLength value="1"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="ApplyCode">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>当前操作员单位海关十位编码</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:length value="10"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="CopCode">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>当前操作员单位组织机构代码</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:length value="9"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="ArriveNo">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>运抵编号(北方模式必填
|
|
|
南方模式免填
|
|
|
水运中转模式选填
|
|
|
运抵编号规则:4位申报地海关代码+2位卸货地代码+6位编号生成日期〔顺序为年(2位)、月(2位)、日(2位)〕+6位流水号';)</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:maxLength value="18"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="ContaId">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>集装箱货物必填;非集装箱货物填H2000</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:maxLength value="11"/>
|
|
|
<xs:minLength value="0"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="BillNo">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>北方模式选填
|
|
|
南方模式汽车运输的填报车牌号
|
|
|
水运中转模式必填</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:maxLength value="32"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="TrafMode">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>进出境运输方式代码:2-江海运输;3-铁路运输;4-汽车运输;5-航空运输;6-邮件运输</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:maxLength value="1"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="TrafName">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>当北方模式选填
|
|
|
南方模式填写“@”+13位载货清单号
|
|
|
水运中转模式:境内水路运输填报驳船船名;境内铁路运输填报车名(主管海关4位关别代码+“TRAIN”);境内公路运输填报车名(主管海关4位关别代码+“TRUCK”)</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:maxLength value="255"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="VoyageNo">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>境内运输工具航(班)次:北方模式选填
|
|
|
南方模式免填
|
|
|
水运中转模式:境内水路运输填报驳船航次号;境内铁路、公路运输填报6位启运日期〔顺序为年(2位)、月(2位)、日(2位)</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:maxLength value="32"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="TrafWay">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>境内运输方式:2-江海运输;3-铁路运输;4-汽车运输;5-航空运输;6-邮件运输</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:maxLength value="1"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="PackNo">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>托运货物件数:非集装箱货物必填</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:maxLength value="18"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="GrossWt">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>货物总毛重:非集装箱货物必填,单位:千克。</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:maxLength value="18"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="UnloadCode">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>卸货地代码</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:maxLength value="32"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="ArriveTime">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>到达卸货地时间</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:maxLength value="14"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="ContaType">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>集装箱(器)尺寸和类FFF/*0型:集装箱货物必填
|
|
|
非集装箱货物免填</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:maxLength value="4"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="TrnMode">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>转关方式:0-非转关运抵模式;1-南方转关运抵模式;2-北方转关运抵模式;3-水运中转运抵模式</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:maxLength value="1"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="Notes">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>备注</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:maxLength value="255"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
</xs:sequence>
|
|
|
</xs:complexType>
|
|
|
</xs:element>
|
|
|
<xs:element name="EtaArrivalSign">
|
|
|
<xs:complexType>
|
|
|
<xs:sequence>
|
|
|
<xs:element name="OperType">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>操作类型:A:暂存;C:申报(申请)</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:length value="1"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="Sign">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>签名信息</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:maxLength value="201"/>
|
|
|
<xs:minLength value="1"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="SignDate">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>签名日期</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:length value="14"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="ClientSeqNo">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>客户端统一编号,每个hostid要唯一</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:length value="18"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="HostId">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>邮箱客户端ID</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:maxLength value="18"/>
|
|
|
<xs:minLength value="1"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
<xs:element name="CertNo">
|
|
|
<xs:annotation>
|
|
|
<xs:documentation>当前操作员ic卡证书号</xs:documentation>
|
|
|
</xs:annotation>
|
|
|
<xs:simpleType>
|
|
|
<xs:restriction base="xs:string">
|
|
|
<xs:maxLength value="20"/>
|
|
|
<xs:minLength value="1"/>
|
|
|
</xs:restriction>
|
|
|
</xs:simpleType>
|
|
|
</xs:element>
|
|
|
</xs:sequence>
|
|
|
</xs:complexType>
|
|
|
</xs:element>
|
|
|
</xs:sequence>
|
|
|
</xs:complexType>
|
|
|
</xs:element>
|
|
|
</xs:schema> |
...
|
...
|
|