forked from shippool/CargoWiseOne-Schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NativeCommodityCode.xsd
69 lines (69 loc) · 3.12 KB
/
NativeCommodityCode.xsd
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
<xs:schema targetNamespace="http://www.cargowise.com/Schemas/Native/2011/11" version="2.0" elementFormDefault="qualified" xmlns="http://www.cargowise.com/Schemas/Native/2011/11" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="Native.xsd" />
<xs:element name="CommodityCode" type="CommodityCodeData" />
<xs:complexType name="CommodityCodeData">
<xs:all>
<xs:element name="RefCommodityCode" type="NativeCommodityCode" />
</xs:all>
<xs:attribute name="version" type="xs:token" />
</xs:complexType>
<xs:complexType name="NativeCommodityCode">
<xs:all>
<!-- Candidate Key: Code -->
<xs:element name="PK" minOccurs="0" type="xs:string" />
<xs:element name="Code" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="4" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Description" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ExpiryDate" minOccurs="0" type="emptiableDateTime" />
<xs:element name="ReeferMinTemperature" minOccurs="0" type="xs:decimal" />
<xs:element name="ReeferMaxTemperature" minOccurs="0" type="xs:decimal" />
<xs:element name="ContainerVentRequired" minOccurs="0" type="xs:boolean" />
<xs:element name="IsActive" minOccurs="0" type="xs:boolean" />
<xs:element name="IsTimber" minOccurs="0" type="xs:boolean" />
<xs:element name="IsPerishable" minOccurs="0" type="xs:boolean" />
<xs:element name="IsFlammable" minOccurs="0" type="xs:boolean" />
<xs:element name="IsHazardous" minOccurs="0" type="xs:boolean" />
<xs:element name="IsForwarding" minOccurs="0" type="xs:boolean" />
<xs:element name="IsLandTransport" minOccurs="0" type="xs:boolean" />
<xs:element name="IsShipping" minOccurs="0" type="xs:boolean" />
<xs:element name="IsPersonalEffects" minOccurs="0" type="xs:boolean" />
<xs:element name="IsSystem" minOccurs="0" type="xs:boolean" />
<xs:element name="UniversalCommodityGroup" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NMFC" minOccurs="0">
<xs:complexType>
<xs:all>
<!-- Candidate Key: Code -->
<xs:element name="Code" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="15" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PK" minOccurs="0" type="xs:string" />
</xs:all>
<xs:attribute name="Action" type="Action" />
<xs:attribute name="TableName" type="xs:string" />
</xs:complexType>
</xs:element>
</xs:all>
<xs:attribute name="Action" type="Action" />
</xs:complexType>
</xs:schema>