Manifest_Change_Transport_Air_8204_2.xsd
6.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2008 (http://www.altova.com) by lei_ying (szc) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:Declaration:datamodel:standard:CN:MT8204:1" xmlns:xdb="http://xmlns.oracle.com/xdb" targetNamespace="urn:Declaration:datamodel:standard:CN:MT8204:1" elementFormDefault="qualified" attributeFormDefault="unqualified">
<!--******中国海关空运出口变更运输工具申请报文定义文档******-->
<!--命名空间:urn:Declaration:datamodel:standard:CN:MT8104:1-->
<!--******根元素定义******-->
<!--出口变更运输工具申请报文以Manifest作为根节点-->
<xs:element name="Manifest" type="Manifest">
<xs:annotation>
<xs:documentation>空运出口变更运输工具申请</xs:documentation>
</xs:annotation>
</xs:element>
<!--******根元素结构定义******-->
<xs:complexType name="Manifest">
<xs:annotation>
<xs:documentation>空运出口变更运输工具申请</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Head" type="Head">
<xs:annotation>
<xs:documentation>报文头(循环次数:1)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Declaration">
<xs:annotation>
<xs:documentation>报文体(循环次数:1)</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="Declaration"/>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<!--******报文头结构定义******-->
<!--MessageType/报文类型代码:MT8204-->
<!--FunctionCode/报文功能代码:2-->
<xs:complexType name="Head">
<xs:annotation>
<xs:documentation>报文头</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="MessageID" >
<xs:annotation>
<xs:documentation>报文编号(循环次数:1)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FunctionCode" fixed="2">
<xs:annotation>
<xs:documentation>报文功能代码(循环次数:1)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="MessageType" fixed="MT8204">
<xs:annotation>
<xs:documentation>报文类型代码(循环次数:1)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SenderID" >
<xs:annotation>
<xs:documentation>发送方代码(循环次数:1)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ReceiverID" >
<xs:annotation>
<xs:documentation>接受方代码(循环次数:1)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SendTime" >
<xs:annotation>
<xs:documentation>发送时间(循环次数:1)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Version" >
<xs:annotation>
<xs:documentation>报文版本号(循环次数:1)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<!--******报文体结构定义******-->
<xs:complexType name="Declaration">
<xs:annotation>
<xs:documentation>报文体</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="BorderTransportMeans" type="BorderTransportMeans">
<xs:annotation>
<xs:documentation>运输工具数据段(循环次数:1)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ChangeBorderTransportMeans" type="BorderTransportMeans">
<xs:annotation>
<xs:documentation>变更后运输工具数据段(循环次数:1)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Consignment" type="Consignment" maxOccurs="5000">
<xs:annotation>
<xs:documentation>提(运)单数据段(循环次数:1-9999)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AdditionalInformation" type="AdditionalInformation" minOccurs="0">
<xs:annotation>
<xs:documentation>备注(循环次数:0-1)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<!--******运输工具数据段******-->
<xs:complexType name="BorderTransportMeans">
<xs:annotation>
<xs:documentation>运输工具数据段</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="JourneyID" >
<xs:annotation>
<xs:documentation>149 Conveyance reference number 航次航班编号(循环次数:1)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ID" minOccurs="0" maxOccurs="0">
<xs:annotation>
<xs:documentation>167 Identification of means of transport crossing the border code 运输工具代码(循环次数:0)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<!--******变更后运输工具数据段******-->
<xs:complexType name="Consignment">
<xs:annotation>
<xs:documentation>变更后运输工具数据段</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TransportContractDocument" type="TransportContractDocument">
<xs:annotation>
<xs:documentation>运输合同信息(循环次数:1)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ChangeConsignment" type="ChangeConsignment" minOccurs="0">
<xs:annotation>
<xs:documentation>变更后提(运)单信息(循环次数:0-1)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<!--变更后提(运)单信息-->
<xs:complexType name="ChangeConsignment">
<xs:annotation>
<xs:documentation>变更后提(运)单信息</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TransportContractDocument" type="TransportContractDocument">
<xs:annotation>
<xs:documentation>运输合同信息(循环次数:1)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<!--运输合同信息-->
<xs:complexType name="TransportContractDocument">
<xs:annotation>
<xs:documentation>运输合同信息</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ID" >
<xs:annotation>
<xs:documentation>015 Transport document number 总提(运)单号(循环次数:1)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<!--******补充信息数据段******-->
<xs:complexType name="AdditionalInformation">
<xs:annotation>
<xs:documentation>补充信息</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Content" >
<xs:annotation>
<xs:documentation>105 Free text 备注(循环次数:1)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>