Conversie van de TransSmart solution van BizTalk 2013 naar 2016.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

359 行
31KB

  1. <?xml version="1.0" encoding="utf-16"?>
  2. <xs:schema xmlns:b="http://schemas.microsoft.com/BizTalk/2003" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://TM.TransSmart.Shipment" elementFormDefault="qualified" targetNamespace="http://TM.TransSmart.Shipment" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3. <xs:annotation>
  4. <xs:appinfo>
  5. <schemaInfo root_reference="carrierBooking" xmlns="http://schemas.microsoft.com/BizTalk/2003" />
  6. </xs:appinfo>
  7. </xs:annotation>
  8. <xs:element name="carrierBooking">
  9. <xs:complexType>
  10. <xs:sequence>
  11. <xs:element ref="t:carrierBookingInfo"/>
  12. <xs:element ref="t:shipments"/>
  13. </xs:sequence>
  14. </xs:complexType>
  15. </xs:element>
  16. <xs:element name="carrierBookingInfo">
  17. <xs:complexType>
  18. <xs:all>
  19. <xs:element ref="t:version"/>
  20. <xs:element ref="t:status"/>
  21. <xs:element ref="t:description"/>
  22. </xs:all>
  23. </xs:complexType>
  24. </xs:element>
  25. <xs:element name="version" type="xs:string"/>
  26. <xs:element name="status" type="xs:string"/>
  27. <xs:element name="shipments">
  28. <xs:complexType>
  29. <xs:sequence>
  30. <xs:element maxOccurs="unbounded" ref="t:shipmentInfo"/>
  31. </xs:sequence>
  32. </xs:complexType>
  33. </xs:element>
  34. <xs:element name="shipmentInfo">
  35. <xs:complexType>
  36. <xs:all>
  37. <xs:element minOccurs="0" ref="t:customerId"/>
  38. <xs:element minOccurs="0" ref="t:costcenter"/>
  39. <xs:element minOccurs="0" ref="t:carrier"/>
  40. <xs:element minOccurs="0" ref="t:executingCarrier"/>
  41. <xs:element minOccurs="0" ref="t:reference"/>
  42. <xs:element minOccurs="0" ref="t:awb"/>
  43. <xs:element minOccurs="0" ref="t:description"/>
  44. <xs:element minOccurs="0" ref="t:instruction"/>
  45. <xs:element minOccurs="0" ref="t:value"/>
  46. <xs:element minOccurs="0" ref="t:valueCurrency"/>
  47. <xs:element minOccurs="0" ref="t:pickupDate"/>
  48. <xs:element minOccurs="0" ref="t:pickupTime"/>
  49. <xs:element minOccurs="0" ref="t:pickupTimeTo"/>
  50. <xs:element minOccurs="0" ref="t:requestedDeliveryDate"/>
  51. <xs:element minOccurs="0" ref="t:requestedDeliveryTime"/>
  52. <xs:element minOccurs="0" ref="t:requestedDeliveryTimeTo"/>
  53. <xs:element minOccurs="0" ref="t:plannedDeliveryDate"/>
  54. <xs:element minOccurs="0" ref="t:plannedDeliveryTime"/>
  55. <xs:element minOccurs="0" ref="t:service"/>
  56. <xs:element minOccurs="0" ref="t:serviceLevelTime"/>
  57. <xs:element minOccurs="0" ref="t:serviceLevelOther"/>
  58. <xs:element minOccurs="0" ref="t:incoterms"/>
  59. <xs:element minOccurs="0" ref="t:inbound"/>
  60. <xs:element minOccurs="0" ref="t:noOfPackages"/>
  61. <xs:element minOccurs="0" ref="t:weight"/>
  62. <xs:element minOccurs="0" ref="t:weightUom"/>
  63. <xs:element minOccurs="0" ref="t:price"/>
  64. <xs:element minOccurs="0" ref="t:salesPrice"/>
  65. <xs:element minOccurs="0" ref="t:currency"/>
  66. <xs:element minOccurs="0" ref="t:trackingUrl"/>
  67. <xs:element minOccurs="0" ref="t:shipmentStatusCode"/>
  68. <xs:element minOccurs="0" ref="t:additionalReferences"/>
  69. <xs:element minOccurs="0" ref="t:shipmentLines"/>
  70. <xs:element minOccurs="0" ref="t:addresses"/>
  71. </xs:all>
  72. </xs:complexType>
  73. </xs:element>
  74. <xs:element name="customerId" type="xs:string"/>
  75. <xs:element name="costcenter" type="xs:string"/>
  76. <xs:element name="carrier" type="xs:string"/>
  77. <xs:element name="executingCarrier" type="xs:string"/>
  78. <xs:element name="reference" type="xs:string"/>
  79. <xs:element name="instruction" type="xs:string"/>
  80. <xs:element name="valueCurrency" type="xs:string"/>
  81. <xs:element name="pickupDate" type="xs:string"/>
  82. <xs:element name="pickupTime" type="xs:string"/>
  83. <xs:element name="pickupTimeTo" type="xs:string"/>
  84. <xs:element name="requestedDeliveryDate" type="xs:string"/>
  85. <xs:element name="requestedDeliveryTime" type="xs:string"/>
  86. <xs:element name="requestedDeliveryTimeTo" type="xs:string"/>
  87. <xs:element name="plannedDeliveryDate" type="xs:string"/>
  88. <xs:element name="plannedDeliveryTime" type="xs:string"/>
  89. <xs:element name="service" type="xs:string"/>
  90. <xs:element name="serviceLevelTime" type="xs:string"/>
  91. <xs:element name="serviceLevelOther" type="xs:string"/>
  92. <xs:element name="incoterms" type="xs:string"/>
  93. <xs:element name="inbound" type="xs:string"/>
  94. <xs:element name="noOfPackages" type="xs:integer"/>
  95. <xs:element name="weightUom" type="xs:string"/>
  96. <xs:element name="price" type="xs:string" nillable="true"/>
  97. <xs:element name="salesPrice" type="xs:string" nillable="true"/>
  98. <xs:element name="currency" type="xs:string"/>
  99. <xs:element name="trackingUrl" type="xs:string"/>
  100. <xs:element name="shipmentStatusCode" type="xs:string"/>
  101. <xs:element name="additionalReferences">
  102. <xs:complexType>
  103. <xs:sequence>
  104. <xs:element minOccurs="0" maxOccurs="unbounded" ref="t:additionalReference"/>
  105. </xs:sequence>
  106. </xs:complexType>
  107. </xs:element>
  108. <xs:element name="additionalReference">
  109. <xs:complexType>
  110. <xs:sequence>
  111. <xs:element ref="t:type"/>
  112. <xs:element ref="t:value"/>
  113. </xs:sequence>
  114. </xs:complexType>
  115. </xs:element>
  116. <xs:element name="shipmentLines">
  117. <xs:complexType>
  118. <xs:sequence>
  119. <xs:element maxOccurs="unbounded" ref="t:shipmentLine"/>
  120. </xs:sequence>
  121. </xs:complexType>
  122. </xs:element>
  123. <xs:element name="shipmentLine">
  124. <xs:complexType>
  125. <xs:all>
  126. <xs:element minOccurs="0" ref="t:sequence"/>
  127. <xs:element minOccurs="0" ref="t:lineNo"/>
  128. <xs:element minOccurs="0" ref="t:shipmentLineId"/>
  129. <xs:element minOccurs="0" ref="t:awb"/>
  130. <xs:element minOccurs="0" ref="t:packageType"/>
  131. <xs:element minOccurs="0" ref="t:description"/>
  132. <xs:element minOccurs="0" ref="t:quantity"/>
  133. <xs:element minOccurs="0" ref="t:genericStatusCode"/>
  134. <xs:element minOccurs="0" ref="t:carrierStatusCode"/>
  135. <xs:element minOccurs="0" ref="t:carrierStatusDescription"/>
  136. <xs:element minOccurs="0" ref="t:deliveryDate"/>
  137. <xs:element minOccurs="0" ref="t:deliveryTime"/>
  138. <xs:element minOccurs="0" ref="t:acceptedBy"/>
  139. <xs:element minOccurs="0" ref="t:measurements"/>
  140. <xs:element ref="t:dangerousGoods" minOccurs="0"/>
  141. </xs:all>
  142. </xs:complexType>
  143. </xs:element>
  144. <xs:element name="sequence" type="xs:integer"/>
  145. <xs:element name="lineNo" type="xs:integer"/>
  146. <xs:element name="shipmentLineId" type="xs:string"/>
  147. <xs:element name="packageType" type="xs:string"/>
  148. <xs:element name="quantity" type="xs:integer"/>
  149. <xs:element name="genericStatusCode" type="xs:string"/>
  150. <xs:element name="carrierStatusCode" type="xs:string"/>
  151. <xs:element name="carrierStatusDescription" type="xs:string"/>
  152. <xs:element name="deliveryDate" type="xs:date"/>
  153. <xs:element name="deliveryTime" type="xs:time"/>
  154. <xs:element name="acceptedBy" type="xs:string"/>
  155. <xs:element name="measurements">
  156. <xs:complexType>
  157. <xs:all>
  158. <xs:element minOccurs="0" ref="t:length"/>
  159. <xs:element minOccurs="0" ref="t:width"/>
  160. <xs:element minOccurs="0" ref="t:height"/>
  161. <xs:element minOccurs="0" ref="t:weight"/>
  162. </xs:all>
  163. </xs:complexType>
  164. </xs:element>
  165. <xs:element name="length" type="xs:decimal" nillable="true"/>
  166. <xs:element name="width" type="xs:decimal" nillable="true"/>
  167. <xs:element name="height" type="xs:decimal" nillable="true"/>
  168. <xs:element name="addresses">
  169. <xs:complexType>
  170. <xs:sequence>
  171. <xs:element maxOccurs="unbounded" ref="t:address"/>
  172. </xs:sequence>
  173. </xs:complexType>
  174. </xs:element>
  175. <xs:element name="address">
  176. <xs:complexType>
  177. <xs:all>
  178. <xs:element minOccurs="0" ref="t:type"/>
  179. <xs:element minOccurs="0" ref="t:name"/>
  180. <xs:element minOccurs="0" ref="t:street1"/>
  181. <xs:element minOccurs="0" ref="t:street2"/>
  182. <xs:element minOccurs="0" ref="t:city"/>
  183. <xs:element minOccurs="0" ref="t:houseNo"/>
  184. <xs:element minOccurs="0" ref="t:zipCode"/>
  185. <xs:element minOccurs="0" ref="t:state"/>
  186. <xs:element minOccurs="0" ref="t:countryCode"/>
  187. <xs:element minOccurs="0" ref="t:contact"/>
  188. <xs:element minOccurs="0" ref="t:telNo"/>
  189. <xs:element minOccurs="0" ref="t:faxNo"/>
  190. <xs:element minOccurs="0" ref="t:email"/>
  191. <xs:element minOccurs="0" ref="t:VATNumber"/>
  192. <xs:element minOccurs="0" ref="t:accountNo"/>
  193. </xs:all>
  194. </xs:complexType>
  195. </xs:element>
  196. <xs:element name="dangerousGoods" nillable="true">
  197. <xs:complexType>
  198. <xs:sequence>
  199. <xs:element ref="t:dangerousGoodsInfo" maxOccurs="unbounded"/>
  200. </xs:sequence>
  201. </xs:complexType>
  202. </xs:element>
  203. <xs:element name="name" type="xs:string"/>
  204. <xs:element name="street1" type="xs:string"/>
  205. <xs:element name="street2" type="xs:string"/>
  206. <xs:element name="city" type="xs:string"/>
  207. <xs:element name="houseNo" type="xs:string"/>
  208. <xs:element name="zipCode" type="xs:string"/>
  209. <xs:element name="state" type="xs:string"/>
  210. <xs:element name="countryCode" type="xs:string"/>
  211. <xs:element name="contact" type="xs:string"/>
  212. <xs:element name="telNo" type="xs:string"/>
  213. <xs:element name="faxNo" type="xs:string"/>
  214. <xs:element name="email" type="xs:string"/>
  215. <xs:element name="VATNumber" type="xs:string"/>
  216. <xs:element name="accountNo" type="xs:string"/>
  217. <xs:element name="description" type="xs:string"/>
  218. <xs:element name="awb" type="xs:string"/>
  219. <xs:element name="value" type="xs:string" nillable="true"/>
  220. <xs:element name="weight" type="xs:string" nillable="true"/>
  221. <xs:element name="type" type="xs:string"/>
  222. <xs:element name="dangerousGoodsInfo" nillable="true">
  223. <xs:complexType>
  224. <xs:all>
  225. <xs:element ref="t:idCode" minOccurs="0">
  226. <xs:annotation>
  227. <xs:documentation>hazard identification code</xs:documentation>
  228. </xs:annotation>
  229. </xs:element>
  230. <xs:element ref="t:unCode" minOccurs="0">
  231. <xs:annotation>
  232. <xs:documentation>united nations dangerous goods (UNDG) identifier</xs:documentation>
  233. </xs:annotation>
  234. </xs:element>
  235. <xs:element ref="t:packingGroup" minOccurs="0">
  236. <xs:annotation>
  237. <xs:documentation>packing group</xs:documentation>
  238. </xs:annotation>
  239. </xs:element>
  240. <xs:element ref="t:packingType" minOccurs="0">
  241. <xs:annotation>
  242. <xs:documentation>packing instruction type code</xs:documentation>
  243. </xs:annotation>
  244. </xs:element>
  245. <xs:element ref="t:packingClassification" minOccurs="0">
  246. <xs:annotation>
  247. <xs:documentation>classification identifier</xs:documentation>
  248. </xs:annotation>
  249. </xs:element>
  250. <xs:element ref="t:description" minOccurs="0">
  251. <xs:annotation>
  252. <xs:documentation>description of the dangerous good</xs:documentation>
  253. </xs:annotation>
  254. </xs:element>
  255. <xs:element ref="t:markingIdentifier" minOccurs="0">
  256. <xs:annotation>
  257. <xs:documentation>dangerous goods marking identifier</xs:documentation>
  258. </xs:annotation>
  259. </xs:element>
  260. <xs:element ref="t:limitedQuantity" minOccurs="0">
  261. <xs:annotation>
  262. <xs:documentation>flag to indicate if limited quantity is true or false</xs:documentation>
  263. </xs:annotation>
  264. </xs:element>
  265. <xs:element ref="t:instruction" minOccurs="0">
  266. <xs:annotation>
  267. <xs:documentation>special instructions concerning the dangerous good</xs:documentation>
  268. </xs:annotation>
  269. </xs:element>
  270. <xs:element ref="t:flashPointDegree" minOccurs="0">
  271. <xs:annotation>
  272. <xs:documentation>dangerous goods flashpoint degree</xs:documentation>
  273. </xs:annotation>
  274. </xs:element>
  275. <xs:element ref="t:limitedQuantityPoints" minOccurs="0">
  276. <xs:annotation>
  277. <xs:documentation>limited quantity points</xs:documentation>
  278. </xs:annotation>
  279. </xs:element>
  280. <xs:element ref="t:tunnelCode" minOccurs="0">
  281. <xs:annotation>
  282. <xs:documentation>dangerous goods tunnel code</xs:documentation>
  283. </xs:annotation>
  284. </xs:element>
  285. <xs:element ref="t:measurements" minOccurs="0"/>
  286. </xs:all>
  287. </xs:complexType>
  288. </xs:element>
  289. <xs:element name="idCode" nillable="true">
  290. <xs:simpleType>
  291. <xs:restriction base="xs:string">
  292. <xs:minLength value="0"/>
  293. <xs:maxLength value="64"/>
  294. </xs:restriction>
  295. </xs:simpleType>
  296. </xs:element>
  297. <xs:element name="unCode" nillable="true">
  298. <xs:simpleType>
  299. <xs:restriction base="xs:string">
  300. <xs:minLength value="0"/>
  301. <xs:maxLength value="64"/>
  302. </xs:restriction>
  303. </xs:simpleType>
  304. </xs:element>
  305. <xs:element name="packingGroup" nillable="true">
  306. <xs:simpleType>
  307. <xs:restriction base="xs:string">
  308. <xs:minLength value="0"/>
  309. <xs:maxLength value="64"/>
  310. </xs:restriction>
  311. </xs:simpleType>
  312. </xs:element>
  313. <xs:element name="packingType" nillable="true">
  314. <xs:simpleType>
  315. <xs:restriction base="xs:string">
  316. <xs:minLength value="0"/>
  317. <xs:maxLength value="64"/>
  318. </xs:restriction>
  319. </xs:simpleType>
  320. </xs:element>
  321. <xs:element name="packingClassification" nillable="true">
  322. <xs:simpleType>
  323. <xs:restriction base="xs:string">
  324. <xs:minLength value="0"/>
  325. <xs:maxLength value="64"/>
  326. </xs:restriction>
  327. </xs:simpleType>
  328. </xs:element>
  329. <xs:element name="markingIdentifier" nillable="true">
  330. <xs:simpleType>
  331. <xs:restriction base="xs:string">
  332. <xs:minLength value="0"/>
  333. <xs:maxLength value="64"/>
  334. </xs:restriction>
  335. </xs:simpleType>
  336. </xs:element>
  337. <xs:element name="limitedQuantity" nillable="true">
  338. <xs:simpleType>
  339. <xs:restriction base="xs:string">
  340. <xs:minLength value="0"/>
  341. <xs:maxLength value="1"/>
  342. <xs:enumeration value=""/>
  343. <xs:enumeration value="0"/>
  344. <xs:enumeration value="1"/>
  345. </xs:restriction>
  346. </xs:simpleType>
  347. </xs:element>
  348. <xs:element name="flashPointDegree" type="xs:decimal" nillable="true"/>
  349. <xs:element name="limitedQuantityPoints" type="xs:int" nillable="true"/>
  350. <xs:element name="tunnelCode" nillable="true">
  351. <xs:simpleType>
  352. <xs:restriction base="xs:string">
  353. <xs:minLength value="0"/>
  354. <xs:maxLength value="16"/>
  355. </xs:restriction>
  356. </xs:simpleType>
  357. </xs:element>
  358. </xs:schema>