Conversie van de TransSmart solution van BizTalk 2013 naar 2016.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

292 linhas
8.4KB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- edited with XMLSpy v2012 rel. 2 (http://www.altova.com) by Frans Westerhof (Copernicus Interchange Technology B.V.) -->
  3. <!--W3C Schema generated by XMLSpy v2012 rel. 2 (http://www.altova.com)-->
  4. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  5. <xs:element name="shipmentStatus">
  6. <xs:simpleType>
  7. <xs:restriction base="xs:string">
  8. <xs:minLength value="0"/>
  9. <xs:maxLength value="8"/>
  10. <xs:enumeration value="DONE"/>
  11. <xs:enumeration value="TRNS"/>
  12. <xs:enumeration value="ACCEP"/>
  13. </xs:restriction>
  14. </xs:simpleType>
  15. </xs:element>
  16. <xs:element name="pickupDate">
  17. <xs:simpleType>
  18. <xs:restriction base="xs:string">
  19. <xs:minLength value="0"/>
  20. <xs:maxLength value="8"/>
  21. </xs:restriction>
  22. </xs:simpleType>
  23. </xs:element>
  24. <xs:element name="currency">
  25. <xs:simpleType>
  26. <xs:restriction base="xs:string">
  27. <xs:minLength value="0"/>
  28. <xs:maxLength value="64"/>
  29. </xs:restriction>
  30. </xs:simpleType>
  31. </xs:element>
  32. <xs:element name="statusPrice">
  33. <xs:simpleType>
  34. <xs:restriction base="xs:decimal">
  35. <xs:minInclusive value="0"/>
  36. <xs:maxInclusive value="11"/>
  37. </xs:restriction>
  38. </xs:simpleType>
  39. </xs:element>
  40. <xs:element name="incoterms">
  41. <xs:simpleType>
  42. <xs:restriction base="xs:string">
  43. <xs:minLength value="0"/>
  44. <xs:maxLength value="128"/>
  45. </xs:restriction>
  46. </xs:simpleType>
  47. </xs:element>
  48. <xs:element name="NoPieces">
  49. <xs:simpleType>
  50. <xs:restriction base="xs:string">
  51. <xs:minLength value="0"/>
  52. <xs:maxLength value="128"/>
  53. </xs:restriction>
  54. </xs:simpleType>
  55. </xs:element>
  56. <xs:element name="reference">
  57. <xs:simpleType>
  58. <xs:restriction base="xs:string">
  59. <xs:minLength value="0"/>
  60. <xs:maxLength value="256"/>
  61. </xs:restriction>
  62. </xs:simpleType>
  63. </xs:element>
  64. <xs:element name="trackingUrl">
  65. <xs:simpleType>
  66. <xs:restriction base="xs:string">
  67. <xs:minLength value="0"/>
  68. <xs:maxLength value="2048"/>
  69. </xs:restriction>
  70. </xs:simpleType>
  71. </xs:element>
  72. <xs:element name="shipment">
  73. <xs:complexType>
  74. <xs:all>
  75. <xs:element ref="lineNo" minOccurs="0"/>
  76. <xs:element ref="statusTimeStamp" minOccurs="0"/>
  77. <xs:element ref="awb" minOccurs="0"/>
  78. <xs:element ref="reference" minOccurs="0"/>
  79. <xs:element ref="NoPieces" minOccurs="0" maxOccurs="1"/>
  80. <xs:element ref="weight" minOccurs="0"/>
  81. <xs:element ref="weight_uom" minOccurs="0"/>
  82. <xs:element ref="incoterms" minOccurs="0"/>
  83. <xs:element ref="statusPrice" minOccurs="0"/>
  84. <xs:element ref="currency" minOccurs="0"/>
  85. <xs:element ref="plannedDeliveryDate" minOccurs="0"/>
  86. <xs:element ref="plannedDeliveryTimeFrom" minOccurs="0"/>
  87. <xs:element ref="plannedDeliveryTimeTo" minOccurs="0"/>
  88. <xs:element ref="deliveryDate" minOccurs="0"/>
  89. <xs:element ref="deliveryTime" minOccurs="0"/>
  90. <xs:element ref="acceptedBy" minOccurs="0"/>
  91. <xs:element ref="pickupDate" minOccurs="0"/>
  92. <xs:element ref="shipmentStatus" minOccurs="0"/>
  93. <xs:element ref="carrierStatusCode" minOccurs="0"/>
  94. <xs:element ref="carrierStatusDescription" minOccurs="0"/>
  95. <xs:element ref="trackingUrl" minOccurs="0"/>
  96. <xs:element ref="documents" minOccurs="0"/>
  97. </xs:all>
  98. </xs:complexType>
  99. </xs:element>
  100. <xs:element name="documents">
  101. <xs:complexType>
  102. <xs:sequence>
  103. <xs:element ref="document" maxOccurs="unbounded"/>
  104. </xs:sequence>
  105. </xs:complexType>
  106. </xs:element>
  107. <xs:element name="document">
  108. <xs:complexType>
  109. <xs:all>
  110. <xs:element ref="documentType"/>
  111. <xs:element ref="fileType"/>
  112. <xs:element ref="documentData"/>
  113. </xs:all>
  114. </xs:complexType>
  115. </xs:element>
  116. <xs:element name="documentType">
  117. <xs:simpleType>
  118. <xs:restriction base="xs:string">
  119. <xs:minLength value="0"/>
  120. <xs:maxLength value="10"/>
  121. </xs:restriction>
  122. </xs:simpleType>
  123. </xs:element>
  124. <xs:element name="fileType">
  125. <xs:simpleType>
  126. <xs:restriction base="xs:string">
  127. <xs:minLength value="0"/>
  128. <xs:maxLength value="10"/>
  129. </xs:restriction>
  130. </xs:simpleType>
  131. </xs:element>
  132. <xs:element name="documentData" type="xs:string"/>
  133. <xs:element name="weight_uom">
  134. <xs:simpleType>
  135. <xs:restriction base="xs:string">
  136. <xs:minLength value="0"/>
  137. <xs:maxLength value="3"/>
  138. </xs:restriction>
  139. </xs:simpleType>
  140. </xs:element>
  141. <xs:element name="weight">
  142. <xs:simpleType>
  143. <xs:restriction base="xs:decimal">
  144. <xs:minInclusive value="0"/>
  145. <xs:maxInclusive value="11"/>
  146. </xs:restriction>
  147. </xs:simpleType>
  148. </xs:element>
  149. <xs:element name="statusTimeStamp"/>
  150. <xs:element name="statusCode">
  151. <xs:simpleType>
  152. <xs:restriction base="xs:string">
  153. <xs:minLength value="0"/>
  154. <xs:maxLength value="8"/>
  155. <xs:enumeration value="DONE"/>
  156. <xs:enumeration value="TRNS"/>
  157. <xs:enumeration value="ACCEP"/>
  158. </xs:restriction>
  159. </xs:simpleType>
  160. </xs:element>
  161. <xs:element name="status">
  162. <xs:complexType>
  163. <xs:sequence>
  164. <xs:element ref="pieces" minOccurs="0"/>
  165. <xs:element ref="shipment" minOccurs="0" maxOccurs="unbounded"/>
  166. </xs:sequence>
  167. <xs:attribute name="carrier" use="required">
  168. <xs:simpleType>
  169. <xs:restriction base="xs:string"/>
  170. </xs:simpleType>
  171. </xs:attribute>
  172. </xs:complexType>
  173. </xs:element>
  174. <xs:element name="root">
  175. <xs:complexType>
  176. <xs:sequence>
  177. <xs:element ref="status"/>
  178. </xs:sequence>
  179. </xs:complexType>
  180. </xs:element>
  181. <xs:element name="price">
  182. <xs:simpleType>
  183. <xs:restriction base="xs:decimal">
  184. <xs:minInclusive value="0"/>
  185. <xs:maxInclusive value="11"/>
  186. </xs:restriction>
  187. </xs:simpleType>
  188. </xs:element>
  189. <xs:element name="plannedDeliveryDate">
  190. <xs:simpleType>
  191. <xs:restriction base="xs:string">
  192. <xs:minLength value="0"/>
  193. <xs:maxLength value="8"/>
  194. </xs:restriction>
  195. </xs:simpleType>
  196. </xs:element>
  197. <xs:element name="plannedDeliveryTimeTo">
  198. <xs:simpleType>
  199. <xs:restriction base="xs:string">
  200. <xs:minLength value="0"/>
  201. <xs:maxLength value="6"/>
  202. </xs:restriction>
  203. </xs:simpleType>
  204. </xs:element>
  205. <xs:element name="plannedDeliveryTimeFrom">
  206. <xs:simpleType>
  207. <xs:restriction base="xs:string">
  208. <xs:minLength value="0"/>
  209. <xs:maxLength value="6"/>
  210. </xs:restriction>
  211. </xs:simpleType>
  212. </xs:element>
  213. <xs:element name="deliveryDate">
  214. <xs:simpleType>
  215. <xs:restriction base="xs:string">
  216. <xs:minLength value="0"/>
  217. <xs:maxLength value="8"/>
  218. </xs:restriction>
  219. </xs:simpleType>
  220. </xs:element>
  221. <xs:element name="deliveryTime">
  222. <xs:simpleType>
  223. <xs:restriction base="xs:string">
  224. <xs:minLength value="0"/>
  225. <xs:maxLength value="6"/>
  226. </xs:restriction>
  227. </xs:simpleType>
  228. </xs:element>
  229. <xs:element name="pieces">
  230. <xs:complexType>
  231. <xs:sequence>
  232. <xs:element ref="piece" maxOccurs="unbounded"/>
  233. </xs:sequence>
  234. </xs:complexType>
  235. </xs:element>
  236. <xs:element name="piece">
  237. <xs:complexType>
  238. <xs:all>
  239. <xs:element ref="lineNo"/>
  240. <xs:element ref="statusTimeStamp" minOccurs="0"/>
  241. <xs:element ref="awb"/>
  242. <xs:element ref="weight" minOccurs="0"/>
  243. <xs:element ref="weight_uom" minOccurs="0"/>
  244. <xs:element ref="price" minOccurs="0"/>
  245. <xs:element ref="plannedDeliveryDate" minOccurs="0"/>
  246. <xs:element ref="plannedDeliveryTimeFrom" minOccurs="0"/>
  247. <xs:element ref="plannedDeliveryTimeTo" minOccurs="0"/>
  248. <xs:element ref="deliveryDate" minOccurs="0"/>
  249. <xs:element ref="deliveryTime" minOccurs="0"/>
  250. <xs:element ref="acceptedBy" minOccurs="0"/>
  251. <xs:element ref="statusCode" minOccurs="0"/>
  252. <xs:element ref="carrierStatusCode" minOccurs="0"/>
  253. <xs:element ref="carrierStatusDescription" minOccurs="0"/>
  254. <xs:element ref="documents" minOccurs="0"/>
  255. </xs:all>
  256. </xs:complexType>
  257. </xs:element>
  258. <xs:element name="lineNo" type="xs:int"/>
  259. <xs:element name="carrierStatusDescription">
  260. <xs:simpleType>
  261. <xs:restriction base="xs:string">
  262. <xs:minLength value="0"/>
  263. <xs:maxLength value="128"/>
  264. </xs:restriction>
  265. </xs:simpleType>
  266. </xs:element>
  267. <xs:element name="carrierStatusCode">
  268. <xs:simpleType>
  269. <xs:restriction base="xs:string">
  270. <xs:minLength value="0"/>
  271. <xs:maxLength value="16"/>
  272. </xs:restriction>
  273. </xs:simpleType>
  274. </xs:element>
  275. <xs:element name="awb">
  276. <xs:simpleType>
  277. <xs:restriction base="xs:string">
  278. <xs:minLength value="0"/>
  279. <xs:maxLength value="256"/>
  280. </xs:restriction>
  281. </xs:simpleType>
  282. </xs:element>
  283. <xs:element name="acceptedBy">
  284. <xs:simpleType>
  285. <xs:restriction base="xs:string">
  286. <xs:minLength value="0"/>
  287. <xs:maxLength value="64"/>
  288. </xs:restriction>
  289. </xs:simpleType>
  290. </xs:element>
  291. </xs:schema>