Sachen aus dem alten Repository

This commit is contained in:
Daniel Schick 2016-03-20 08:01:54 +00:00
parent 79f9eb059e
commit df3586f0f7
162 changed files with 22097 additions and 25 deletions

Binary file not shown.

BIN
SMSQL01.rdp Normal file

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,94 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="urn:wco:datamodel:SW:B2SW:01"
xmlns:ARX_01="B2SW:ARX:01"
xmlns:ATA_01="B2SW:ATA:01"
xmlns:ATD_01="B2SW:ATD:01"
xmlns:CAI_01="B2SW:CAI:01"
xmlns:COA_01="B2SW:COA:01"
xmlns:DIV_01="B2SW:DIV:01"
xmlns:ds="B2SW:DS:01"
xmlns:ENS_01="B2SW:ENS:01"
xmlns:EXP_01="B2SW:EXP:01"
xmlns:EXS_01="B2SW:EXS:01"
xmlns:HZA_01="B2SW:HZA:01"
xmlns:HZD_01="B2SW:HZD:01"
xmlns:LCP_01="B2SW:LCP:01"
xmlns:MAI_01="B2SW:MAI:01"
xmlns:MFX_01="B2SW:MFX:01"
xmlns:NOA_01="B2SW:NOA:01"
xmlns:NOD_01="B2SW:NOD:01"
xmlns:PAX_01="B2SW:PAX:01"
xmlns:PRN_01="B2SW:PRN:01"
xmlns:PRO_01="B2SW:PRO:01"
xmlns:SDT_01="B2SW:SDT:01"
xmlns:SEC_01="B2SW:SEC:01"
xmlns:STO_01="B2SW:STO:01"
xmlns:WAS_01="B2SW:WAS:01"
xmlns:MD_01="SW:MD:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:wco:datamodel:SW:B2SW:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:ARX:01" schemaLocation="B2SW_01_B2SW_ARX_01.xsd"/>
<xs:import namespace="B2SW:ATA:01" schemaLocation="B2SW_01_B2SW_ATA_01.xsd"/>
<xs:import namespace="B2SW:ATD:01" schemaLocation="B2SW_01_B2SW_ATD_01.xsd"/>
<xs:import namespace="B2SW:CAI:01" schemaLocation="B2SW_01_B2SW_CAI_01.xsd"/>
<xs:import namespace="B2SW:COA:01" schemaLocation="B2SW_01_B2SW_COA_01.xsd"/>
<xs:import namespace="B2SW:DIV:01" schemaLocation="B2SW_01_B2SW_DIV_01.xsd"/>
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:import namespace="B2SW:ENS:01" schemaLocation="B2SW_01_B2SW_ENS_01.xsd"/>
<xs:import namespace="B2SW:EXP:01" schemaLocation="B2SW_01_B2SW_EXP_01.xsd"/>
<xs:import namespace="B2SW:EXS:01" schemaLocation="B2SW_01_B2SW_EXS_01.xsd"/>
<xs:import namespace="B2SW:HZA:01" schemaLocation="B2SW_01_B2SW_HZA_01.xsd"/>
<xs:import namespace="B2SW:HZD:01" schemaLocation="B2SW_01_B2SW_HZD_01.xsd"/>
<xs:import namespace="B2SW:LCP:01" schemaLocation="B2SW_01_B2SW_LCP_01.xsd"/>
<xs:import namespace="B2SW:MAI:01" schemaLocation="B2SW_01_B2SW_MAI_01.xsd"/>
<xs:import namespace="B2SW:MFX:01" schemaLocation="B2SW_01_B2SW_MFX_01.xsd"/>
<xs:import namespace="B2SW:NOA:01" schemaLocation="B2SW_01_B2SW_NOA_01.xsd"/>
<xs:import namespace="B2SW:NOD:01" schemaLocation="B2SW_01_B2SW_NOD_01.xsd"/>
<xs:import namespace="B2SW:PAX:01" schemaLocation="B2SW_01_B2SW_PAX_01.xsd"/>
<xs:import namespace="B2SW:PRN:01" schemaLocation="B2SW_01_B2SW_PRN_01.xsd"/>
<xs:import namespace="B2SW:PRO:01" schemaLocation="B2SW_01_B2SW_PRO_01.xsd"/>
<xs:import namespace="B2SW:SDT:01" schemaLocation="B2SW_01_B2SW_SDT_01.xsd"/>
<xs:import namespace="B2SW:SEC:01" schemaLocation="B2SW_01_B2SW_SEC_01.xsd"/>
<xs:import namespace="B2SW:STO:01" schemaLocation="B2SW_01_B2SW_STO_01.xsd"/>
<xs:import namespace="B2SW:WAS:01" schemaLocation="B2SW_01_B2SW_WAS_01.xsd"/>
<xs:import namespace="SW:MD:01" schemaLocation="B2SW_01_SW_MD_01.xsd"/>
<xs:element name="B2SW">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="MD_01:MetaData"/>
<xs:element ref="MAI_01:Declaration"/>
<xs:choice>
<xs:element ref="ARX_01:Declaration" minOccurs="0"/>
<xs:element ref="ATA_01:Declaration" minOccurs="0"/>
<xs:element ref="ATD_01:Declaration" minOccurs="0"/>
<xs:element ref="CAI_01:Declaration" minOccurs="0"/>
<xs:element ref="COA_01:Declaration" minOccurs="0"/>
<xs:element ref="DIV_01:Declaration" minOccurs="0"/>
<xs:element ref="ENS_01:Declaration" minOccurs="0"/>
<xs:element ref="EXP_01:Declaration" minOccurs="0"/>
<xs:element ref="EXS_01:Declaration" minOccurs="0"/>
<xs:element ref="HZA_01:Declaration" minOccurs="0"/>
<xs:element ref="HZD_01:Declaration" minOccurs="0"/>
<xs:element ref="LCP_01:Declaration" minOccurs="0"/>
<xs:element ref="MFX_01:Declaration" minOccurs="0"/>
<xs:element ref="NOA_01:Declaration" minOccurs="0"/>
<xs:element ref="NOD_01:Declaration" minOccurs="0"/>
<xs:element ref="PAX_01:Declaration" minOccurs="0"/>
<xs:element ref="PRN_01:Declaration" minOccurs="0"/>
<xs:element ref="PRO_01:Declaration" minOccurs="0"/>
<xs:element ref="SDT_01:Declaration" minOccurs="0"/>
<xs:element ref="SEC_01:Declaration" minOccurs="0"/>
<xs:element ref="STO_01:Declaration" minOccurs="0"/>
<xs:element ref="WAS_01:Declaration" minOccurs="0"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,125 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:ARX_01="B2SW:ARX:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:ARX:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ID" type="ds:DeclarationIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>Movement Reference Number (MRN)</SW_AttributeName>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Type of declaration</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M50 (Declaratietype / Declarat. Type)</SW_CodeList>
<SW_Rule>R-GENERAL-001 (code=namespace)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExitOffice">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ExitOfficeIdentificationCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>S20 (UN/Locode kant. / Customs office)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-033 (NLOfficeCode)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Warehouse">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:WarehouseNameTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..256</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Description>Name of the exact location of the Authorised Storing Location of Goods or Customs Sub Place at the Place of Exit</SW_Description>
<SW_AttributeName>Arrival notification place</SW_AttributeName>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ID" type="ds:WarehouseIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_AttributeName>Customs sub place, coded</SW_AttributeName>
<SW_Remark>
In this case the Postcode and House number of the location.
Position description
Position 1 - 4 First four digits of the Postcode (code list Z01)
Position 5 is Empty (code list Z01)
Position 6 -7 Two letters of postcode (code list Z01)
Position 8 - 11 House number
</SW_Remark>
<SW_CodeList>Z01 (Aanbrenglocatie / Declar. Locat.)</SW_CodeList>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ArrivalDateTime" type="ds:WarehouseArrivalDateTimeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Description>Date and time of arrival at the Customs sub place</SW_Description>
<DateTimeFormatCode>304</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDDHHMMSSZZZ</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,122 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:ATA_01="B2SW:ATA:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:ATA:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Type of declaration</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M50 (Declaratietype / Declarat. Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-001 (KnownDT)</SW_PossibleValue>
<SW_Rule>
R-GENERAL-001 (code=namespace)
R-GENERAL-002 (PortSys)
R-GENERAL-003 (SameRepPar)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BorderTransportMeans">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<Maritime_Description>Details of the vessel which visits a port</Maritime_Description>
<Maritime_ClassName>VesselCall</Maritime_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Itinerary">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_ClassName>PortOfCall</SW_ClassName>
<Maritime_Description>Details of the port of call which the vessel visits</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ArrivalConveyanceFacility">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_ClassName>LocationInPort</SW_ClassName>
<Maritime_Description>Details about the location in port which the vessel visits</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ArrivalConveyanceFacilityIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>Identification</SW_AttributeName>
<Maritime_Description>Identification of a location in port which the vessel visits</Maritime_Description>
<SW_CodeList>N24 (LocationCode NL / Locat. in Port)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-024 (LocationCode)</SW_PossibleValue>
<SW_Rule>R-GENERAL-007 (ArrLocInPort)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AnchorageIndicator" type="ds:ArrivalConveyanceFacilityAnchorageIndicatorType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n1</Format>
</xs:documentation>
<xs:documentation>
<Maritime_Description>Indication whether the location in port is an anchorage location or not</Maritime_Description>
<SW_CodeList>N10 (Indicator / Indicator)</SW_CodeList>
<SW_Condition>C-GENERAL-001 (Maritime=M)</SW_Condition>
<SW_PossibleValue>V-GENERAL-013 (YesNo)</SW_PossibleValue>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ArrivalDateTime" type="ds:ArrivalConveyanceFacilityArrivalDateTimeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>ArrivalDateTime</SW_AttributeName>
<Maritime_Description>Date and time when the vessel arrives at the location in port</Maritime_Description>
<SW_Rule>R -GENERAL-005 (Date&lt;=Now)</SW_Rule>
<SW_Status>R</SW_Status>
<DateTimeFormatCode>304</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDDHHMMSSZZZ</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,122 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:ATD_01="B2SW:ATD:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:ATD:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Type of declaration</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M50 (Declaratietype / Declarat. Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-001 (KnownDT)</SW_PossibleValue>
<SW_Rule>
R-GENERAL-001 (code=namespace)
R-GENERAL-002 (PortSys)
R-GENERAL-003 (SameRepPar)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BorderTransportMeans">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<Maritime_Description>Details of the vessel which visits a port</Maritime_Description>
<Maritime_ClassName>VesselCall</Maritime_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Itinerary">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_ClassName>PortOfCall</SW_ClassName>
<Maritime_Description>Details of the port of call which the vessel visits</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="DepartureConveyanceFacility">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_ClassName>LocationInPort</SW_ClassName>
<Maritime_Description>Details about the location in port which the vessel visits</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:DepartureConveyanceFacilityIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>Identification</SW_AttributeName>
<Maritime_Description>Identification of a location in port which the vessel visits</Maritime_Description>
<SW_CodeList>N24 (LocationCode NL / Locat. in Port)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-024 (LocationCode)</SW_PossibleValue>
<SW_Rule>R-GENERAL-009 (DepLocInPort)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AnchorageIndicator" type="ds:DepartureConveyanceFacilityAnchorageIndicatorType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n1</Format>
</xs:documentation>
<xs:documentation>
<Maritime_Description>Indication whether the location in port is an anchorage location or not</Maritime_Description>
<SW_CodeList>N10 (Indicator / Indicator)</SW_CodeList>
<SW_Condition>C-GENERAL-001 (Maritime=M)</SW_Condition>
<SW_PossibleValue>V-GENERAL-013 (YesNo)</SW_PossibleValue>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DepartureDateTime" type="ds:DepartureConveyanceFacilityDepartureDateTimeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>DepartureDateTime</SW_AttributeName>
<Maritime_Description>Date and time when the vessel departs from the location in port</Maritime_Description>
<SW_Rule>R-GENERAL-005 (Date&lt;=Now)</SW_Rule>
<SW_Status>R</SW_Status>
<DateTimeFormatCode>304</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDDHHMMSSZZZ</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,154 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:CAI_01="B2SW:CAI:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:CAI:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FunctionalReferenceID" type="ds:DeclarationFunctionalReferenceIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-GENERAL-018 (LRNUniq)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Description>Reference number identifying the B2SW message</SW_Description>
<SW_AttributeName>Local Reference Number (LRN)</SW_AttributeName>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Type of declaration</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M50 (Declaratietype / Declarat. Type)</SW_CodeList>
<SW_Rule>R-GENERAL-001 (code=namespace)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Consignment">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="AdditionalInformation" minOccurs="0" maxOccurs="9">
<xs:annotation>
<xs:documentation>
<SW_Condition>C-CAI-001 (SourceLocation)</SW_Condition>
<SW_Status>D</SW_Status>
<SW_ClassName>Source</SW_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="StatementCode" type="ds:AdditionalInformationStatementCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Description>Indication of the source from which additional information is available</SW_Description>
<SW_AttributeName>Source data location</SW_AttributeName>
<SW_CodeList>N92 (Source location / Source Location)</SW_CodeList>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StatementTypeCode" type="ds:AdditionalInformationStatementTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_PossibleValue>V-CAI-001 (AddStatType)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Consignee" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Condition>C-CAI-001 (SourceLocation)</SW_Condition>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ConsigneeIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_PossibleValue>V-GENERAL-028 (EORI&amp;TCUIN)</SW_PossibleValue>
<SW_Status>R</SW_Status>
<SW_AttributeName>Identification</SW_AttributeName>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportContractDocument">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Description>Information about the consignment which corresponds to one transport contract</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:TransportContractDocumentIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-CARGO-006 (DocUniq)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:TransportContractDocumentTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_PossibleValue>V-CARGO-005 (TransDoc)</SW_PossibleValue>
<SW_Status>R</SW_Status>
<SW_CodeList>N04 (Document Type / Trans.Doc.Type)</SW_CodeList>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:COA_01="B2SW:COA:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:COA:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Type of declaration</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M50 (Declaratietype / Declarat. Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-001 (KnownDT)</SW_PossibleValue>
<SW_Rule>
R-COA-001 (VisitID)
R-COA-003 (COABeforeATA)
R-GENERAL-001 (code=namespace)
R-GENERAL-002 (PortSys)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,135 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:DIV_01="B2SW:DIV:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:DIV:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FunctionalReferenceID" type="ds:DeclarationFunctionalReferenceIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Reference number identifying the B2SW message</SW_Description>
<SW_AttributeName>Local Reference Number (LRN)</SW_AttributeName>
<SW_Rule>R-GENERAL-018 (LRNUniq)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Type of declaration</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M50 (Declaratietype / Declarat. Type)</SW_CodeList>
<SW_Rule>R-GENERAL-001 (code=namespace)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BorderTransportMeans">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Description>Details of the means of transport (vessel, aircraft) which visits a port</SW_Description>
<Maritime_ClassName>VesselCall</Maritime_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ArrivalDateTime" type="ds:BorderTransportMeansArrivalDateTimeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Intended date of arrival of the means of transport (vessel, aircraft) in the (air)port which is visited</SW_Description>
<SW_AttributeName>ScheduledDateOfArrival</SW_AttributeName>
<SW_Remark>If an ENS has been issued, then the value of this attribute must be identical to the corresponding date value within the ENS</SW_Remark>
<SW_Status>R</SW_Status>
<DateTimeFormatCode>102</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDD</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Carrier" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Condition>C-GENERAL-002 (Carrier=M)</SW_Condition>
<SW_Status>D</SW_Status>
<SW_Description>Details of carrier</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CarrierIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_PossibleValue>V-GENERAL-028 (EORI&amp;TCUIN)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EntryOffice" minOccurs="2" maxOccurs="2">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:EntryOfficeIdentificationCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Remark>The declared office of entry must be reported in the entry office with sequence number = "1". The actual office of first entry must be reported in the entry office with sequence number = "2"</SW_Remark>
<SW_CodeList>S20 (UN/Locode kant. / Customs office)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-023 (OfficeCode)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SequenceNumeric" type="ds:EntryOfficeSequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_PossibleValue>V-DIV-001 (SeqNr=1or2)</SW_PossibleValue>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,88 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:EXP_01="B2SW:EXP:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:EXP:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Type of declaration</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M50 (Declaratietype / Declarat. Type)</SW_CodeList>
<SW_PossibleValue>V1-GENERAL-001 (KnownDT)</SW_PossibleValue>
<SW_Rule>
R-GENERAL-001 (code=namespace)
R1-GENERAL-003 (SameRepPar)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BorderTransportMeans" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<Maritime_Description>Details of the vessel which visits a port</Maritime_Description>
<Maritime_ClassName>VesselCall</Maritime_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Characteristic" minOccurs="0" maxOccurs="999">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<Maritime_Description>Information about the characteristics of the vessel</Maritime_Description>
<Maritime_ClassName>CharacteristicOfShip</Maritime_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="TypeCode" type="ds:CharacteristicTypeCodeType">
<xs:annotation>
<xs:documentation>
<Format>an..17</Format>
<SW_CodeList>M05 (Karakter.type / Character. Type)</SW_CodeList>
<SW_PossibleValue>V1-EXP-001 (CharType)</SW_PossibleValue>
<SW_Rule>R1-EXP-001 (TypeUnique)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ValueCode" type="ds:CharacteristicValueCodeType">
<xs:annotation>
<xs:documentation>
<Format>an..3</Format>
<SW_CodeList>
M06 (Romptype / Hull Type)
M07 (Construct.type / Construct. Type)
</SW_CodeList>
<SW_PossibleValue>V1-EXP-002 (CharValue)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,800 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:EXS_01="B2SW:EXS:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:EXS:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FunctionalReferenceID" type="ds:DeclarationFunctionalReferenceIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Reference number identifying the B2SW message</SW_Description>
<SW_AttributeName>Local Reference Number (LRN)</SW_AttributeName>
<SW_Rule>R-GENERAL-018 (LRNUniq)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Type of declaration</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M50 (Declaratietype / Declarat. Type)</SW_CodeList>
<SW_Rule>R-GENERAL-001 (code=namespace)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TotalGrossMassMeasure" type="ds:DeclarationTotalGrossMassMeasureType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..16,6</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AdditionalInformation" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Description>Additional information which is reported as part of the declaration</SW_Description>
<SW_Remark>Used for special circumstance to indicate whether AEO status applies to declaration or to indicate whether the declaration relates to post/express consignments</SW_Remark>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="StatementCode" type="ds:AdditionalInformationStatementCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>Specific circumstance indicator</SW_AttributeName>
<SW_CodeList>096 (Andere byz omst / Other Spec.Circ)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-021 (AddValue)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StatementTypeCode" type="ds:AdditionalInformationStatementTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Code qualifying the type of additional information</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_Remark>In case the declaration is related to reporting party with AEO status or is related to post/express consignments, this specific circumstances indicator applies to all consignments in the declaration</SW_Remark>
<SW_CodeList>M42 (Aanv.info.type / Add.Info.Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-020 (AddType)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BorderTransportMeans" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<Maritime_Description>Details of the vessel which visits a port</Maritime_Description>
<Maritime_ClassName>VesselCall</Maritime_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Itinerary" minOccurs="0" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Condition>C-EXS-002 (CountOfRout)</SW_Condition>
<SW_Status>D</SW_Status>
<SW_ClassName>PortOfCall</SW_ClassName>
<Maritime_Description>Details of the port of call which the vessel visits</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ItinerarySequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_PossibleValue>V-GENERAL-004 (SeqNr&gt;=1)</SW_PossibleValue>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RoutingCountryCode" type="ds:ItineraryRoutingCountryCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>a2</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>S01 (Landentabel / Customs Country)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-026 (CountryCustoms)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="9999">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="FullnessCode" type="ds:TransportEquipmentFullnessCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Code specifying if a piece of transport equipment is full or empty</SW_Description>
<SW_AttributeName>FullEmptyIndication</SW_AttributeName>
<SW_CodeList>N25 (Container statu / Contain. Status)</SW_CodeList>
<SW_PossibleValue>V-CARGO-003 (F/E)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Marks (letters and/or numbers) which identify the transport equipment</SW_Description>
<SW_Rule>R-CARGO-002 (EqID=Uniq)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Carrier" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Condition>C-GENERAL-002 (Carrier=M)</SW_Condition>
<SW_Status>D</SW_Status>
<SW_Description>Details of carrier</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CarrierIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_PossibleValue>V-GENERAL-028 (EORI&amp;TCUIN)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Consignment">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Consignee">
<xs:annotation>
<xs:documentation>
<SW_Rule>R-CARGO-015 (RoleCN=M)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:ConsigneeNameTextType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..70</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Name of party to which goods are consigned</SW_Description>
<SW_Condition>C-PARTY-001 (IDorDetails=M)</SW_Condition>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ID" type="ds:ConsigneeIdentificationIDType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Condition>C-PARTY-001 (IDorDetails=M)</SW_Condition>
<SW_PossibleValue>V-GENERAL-028 (EORI&amp;TCUIN)</SW_PossibleValue>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RoleCode" type="ds:ConsigneeRoleCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>M56 (Partijrol code / Party Role Code)</SW_CodeList>
<SW_PossibleValue>V-DMF-009 (ConsigneeRole)</SW_PossibleValue>
<SW_Rule>R-CARGO-013 (ConsRoleUniq)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Address" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Condition>C-PARTY-001 (IDorDetails=M)</SW_Condition>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="CityName" type="ds:AddressCityNameTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CountryCode" type="ds:AddressCountryCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>a2</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Identification of the name of the country</SW_Description>
<SW_CodeList>S01 (Landentabel / Customs Country)</SW_CodeList>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Line" type="ds:AddressLineTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..70</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PostcodeID" type="ds:AddressPostcodeIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..9</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ConsignmentItem" maxOccurs="999">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Description>Details of a goods item in a consignment</SW_Description>
<SW_ClassName>GoodsItem</SW_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ConsignmentItemSequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Serial, sequential number differentiating each separate goods item entry of a consignment as contained in one document/declaration</SW_Description>
<SW_Remark>Must be &gt;=1</SW_Remark>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Commodity">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="CargoDescription" type="ds:CommodityCargoDescriptionTextType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..256</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Name of the goods item</SW_Description>
<SW_Remark>General terms (i.e. “consolidated”, “general cargo” or “parts”) are not allowed. A list of such general terms is published by the Commission (TAXUD/1402/2007)</SW_Remark>
<SW_Condition>C-CARGO-009 (TextOrHS)</SW_Condition>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Classification" minOccurs="0" maxOccurs="2">
<xs:annotation>
<xs:documentation>
<SW_Condition>C-CARGO-009 (TextOrHS)</SW_Condition>
<SW_Status>D</SW_Status>
<SW_Description>Details about classification of a commodity</SW_Description>
<SW_Remark>This Classification class can be used for the Harmonized system code and/or for the UNDG code</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ClassificationIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..18</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>The value of a commodity within the classification</SW_Description>
<SW_CodeList>101 (UN Number Code)</SW_CodeList>
<SW_PossibleValue>V-CARGO-024 (UNNoValue)</SW_PossibleValue>
<SW_Rule>R-CARGO-008 (HS&gt;=4)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IdentificationTypeCode" type="ds:ClassificationIdentificationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>A qualifier to describe the commodity classification</SW_Description>
<SW_CodeList>M11 (Goeder.classif. / Goods Classif.)</SW_CodeList>
<SW_PossibleValue>V-EXS-001 (CommClassType)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsMeasure" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Condition>C-EXS-003 (GrWeightItem)</SW_Condition>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="GrossMassMeasure" type="ds:GoodsMeasureGrossMassMeasureType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..16,6</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>GrossWeight</SW_AttributeName>
<SW_PossibleValue>V-GENERAL-005 (Value&gt;0)</SW_PossibleValue>
<SW_Status>R</SW_Status>
<UnitCodeName>Measure Unit. Code</UnitCodeName>
<UnitCodeList>T08 (Maatstafcode / Unit Code)</UnitCodeList>
<UnitCodePossibleValue>V-GENERAL-031 (WeightUnit_2)</UnitCodePossibleValue>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Packaging" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="MarksNumbersID" type="ds:PackagingMarksNumbersIDType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..512</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="QuantityQuantity" type="ds:PackagingQuantityQuantityType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..8</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Number of individual goods items packaged in such a way that they cannot be divided without first undoing the packing</SW_Description>
<SW_Condition>C-EXS-005 (NrOfPack=M)</SW_Condition>
<SW_PossibleValue>V-GENERAL-005 (Value&gt;0)</SW_PossibleValue>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:PackagingTypeCodeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..2</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Code specifying the type of package of a goods item</SW_Description>
<SW_CodeList>A25 (Srt.-verpakking / Packaging Type)</SW_CodeList>
<SW_Condition>C-EXS-004 (TypeOfPack)</SW_Condition>
<SW_PossibleValue>V-CARGO-002 (PackType)</SW_PossibleValue>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Marks (letters and/or numbers) which identify the transport equipment</SW_Description>
<SW_Rule>
R-CARGO-002 (EqID=Uniq)
R-CARGO-004 (EqID)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Consignor">
<xs:annotation>
<xs:documentation>
<SW_Rule>R-CARGO-014 (RoleCZ=M)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:ConsignorNameTextType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..70</Format>
</xs:documentation>
<xs:documentation>
<SW_Condition>C-PARTY-001 (IDorDetails=M)</SW_Condition>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ID" type="ds:ConsignorIdentificationIDType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Condition>C-PARTY-001 (IDorDetails=M)</SW_Condition>
<SW_PossibleValue>V-GENERAL-028 (EORI&amp;TCUIN)</SW_PossibleValue>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RoleCode" type="ds:ConsignorRoleCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>M56 (Partijrol code / Party Role Code)</SW_CodeList>
<SW_PossibleValue>V-DMF-008 (ConsignorRole)</SW_PossibleValue>
<SW_Rule>R-CARGO-013 (ConsRoleUniq)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Address" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Condition>C-PARTY-001 (IDorDetails=M)</SW_Condition>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="CityName" type="ds:AddressCityNameTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CountryCode" type="ds:AddressCountryCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>a2</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Identification of the name of the country</SW_Description>
<SW_CodeList>S01 (Landentabel / Customs Country)</SW_CodeList>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Line" type="ds:AddressLineTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..70</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PostcodeID" type="ds:AddressPostcodeIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..9</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Freight" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_Description>Details of freight payment</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="PaymentMethodCode" type="ds:FreightPaymentMethodCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>116 (Betwyze vervoer / Payment Method)</SW_CodeList>
<SW_PossibleValue>V-CARGO-001 (PayMethod)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportContractDocument">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Description>Information about the consignment which corresponds to one transport contract</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:TransportContractDocumentIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-CARGO-006 (DocUniq)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:TransportContractDocumentTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>N04 (Document Type / Trans.Doc.Type)</SW_CodeList>
<SW_PossibleValue>V-CARGO-005 (TransDoc)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="999">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Marks (letters and/or numbers) which identify the transport equipment</SW_Description>
<SW_Rule>R-CARGO-002 (EqID=Uniq)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Seal" minOccurs="0" maxOccurs="9">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:SealIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>The identification number of a seal</SW_Description>
<SW_Rule>R-CARGO-005 (SealUniq)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UCR" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:UCRIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ExitOffice">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ExitOfficeIdentificationCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>S20 (UN/Locode kant. / Customs office)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-033 (NLOfficeCode)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Warehouse" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Condition>C-EXS-001 (AddInfo)</SW_Condition>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:WarehouseIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_AttributeName>Customs sub place, coded</SW_AttributeName>
<SW_Remark>
In this case the Postcode and House number of the location.
Position description
Position 1 - 4 First four digits of the Postcode (code list Z01)
Position 5 is Empty (code list Z01)
Position 6 -7 Two letters of postcode (code list Z01)
Position 8 - 11 House number
</SW_Remark>
<SW_CodeList>Z01 (Aanbrenglocatie / Declar. Locat.)</SW_CodeList>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,900 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:HZA_01="B2SW:HZA:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:HZA:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Type of declaration</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M50 (Declaratietype / Declarat. Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-001 (KnownDT)</SW_PossibleValue>
<SW_Rule>
R-GENERAL-001 (code=namespace)
R-GENERAL-002 (PortSys)
R-GENERAL-003 (SameRepPar)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AdditionalInformation" minOccurs="0" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_Description>Additional information which is reported as part of the declaration</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="StatementDescription" type="ds:AdditionalInformationStatementDescriptionTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..512</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StatementTypeCode" type="ds:AdditionalInformationStatementTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Code qualifying the type of additional information</SW_Description>
<SW_CodeList>M42 (Aanv.info.type / Add.Info.Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-022 (InfoTypeHZ)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BorderTransportMeans" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<Maritime_Description>Details of the vessel which visits a port</Maritime_Description>
<Maritime_ClassName>VesselCall</Maritime_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="INFShipClassCode" type="ds:BorderTransportMeansINFShipClassCodeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..4</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>M04 (INF Ship Class / INF Ship Class)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-017 (INF)</SW_PossibleValue>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DPGListIndicator" type="ds:BorderTransportMeansDPGListIndicatorType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n1</Format>
</xs:documentation>
<xs:documentation>
<Maritime_AttributeName>DPGListOnBoard</Maritime_AttributeName>
<SW_CodeList>N10 (Indicator / Indicator)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-013 (YesNo )</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Bunker" minOccurs="0" maxOccurs="999">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:BunkerSequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Remark>Must be &gt;=1</SW_Remark>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Commodity">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Description>Details about the properties of the bunkers</SW_Description>
<SW_Remark>In this case the goods are bunkers</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="CargoDescription" type="ds:CommodityCargoDescriptionTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..256</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Name of the bunkers</SW_Description>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Classification" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Rule>R-CARGO-021 (IMOCode=M)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Description>Details about classification of a commodity</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ClassificationIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..18</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>The value of a commodity within the classification</SW_Description>
<SW_CodeList>
M12 (IMO codes / IMO Codes)
M13 (IMO Haz. Class / (IMO Haz.Class)
M14 (MARPOL IBC Code / MARPOL IBC Code)
M15 (Packing Group / Packing Group)
M16 (EmS Spillage / EmS Spillage)
M17 (EmS Fire / EmS Fire)
101 (VN Gev Goederen / UN Number)
</SW_CodeList>
<SW_PossibleValue>
V-CARGO-007 (IMO Code)
V-CARGO-008 (HazClass)
V-CARGO-009 (PackingGr)
V-CARGO-011 (UNNoRange)
V-CARGO-012 (EmS-S)
V-CARGO-013 (EmS-F)
V-CARGO-017 (Marpol)
</SW_PossibleValue>
<SW_Rule>R-CARGO-008 (HS&gt;=4)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IdentificationTypeCode" type="ds:ClassificationIdentificationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>A qualifier to describe the commodity classification</SW_Description>
<SW_CodeList>M11 (Goeder.classif. / Goods Classif.)</SW_CodeList>
<SW_PossibleValue>V-CARGO-006 (ClassType)</SW_PossibleValue>
<SW_Rule>
R-CARGO-007 (TypeUniq)
R-CARGO-009 (UNNo=M)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Temperature" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="FlashpointMeasure" type="ds:TemperatureFlashpointMeasureType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..8</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>To specify the value of the flashpoint of the bunkers in degrees Celcius</SW_Description>
<SW_Remark>Needs to be reported in degrees Celcius (CEL); no unit needs to be reported</SW_Remark>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsMeasure" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_Description>Details about the bunkers weight, quantities, and amounts</SW_Description>
<SW_Remark>In this case the goods are bunkers</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="NetNetWeightMeasure" type="ds:GoodsMeasureNetNetWeightMeasureType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..16,6</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Weight (mass) of the bunkers themselves without any packing</SW_Description>
<SW_AttributeName>NetWeight</SW_AttributeName>
<SW_Remark>
- In this case the goods are bunkers
- Must be &gt;0
</SW_Remark>
<SW_Status>R</SW_Status>
<UnitCodeName>Measure Unit. Code</UnitCodeName>
<UnitCodeList>T08 (Maatstafcode / Unit Code)</UnitCodeList>
<UnitCodePossibleValue>V-GENERAL-010 (WeightUnit_1)</UnitCodePossibleValue>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsLocation">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Description>Information about the place where the bunkers are located</SW_Description>
<SW_Remark>In this case the goods are bunkers; More details in chapter 6 of Section 1: “Goods location”</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:GoodsLocationNameTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..256</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Name of the place where bunkers are located</SW_Description>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="99999">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:TransportEquipmentSequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Remark>Must be &gt;=1</SW_Remark>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CharacteristicCode" type="ds:TransportEquipmentCharacteristicCodeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..4</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>M18 (SizeType / SizeType)</SW_CodeList>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FullnessCode" type="ds:TransportEquipmentFullnessCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Code specifying if a piece of transport equipment is full or empty</SW_Description>
<SW_AttributeName>FullEmptyIndication</SW_AttributeName>
<SW_CodeList>N25 (Container statu / Contain. Status)</SW_CodeList>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Marks (letters and/or numbers) which identify the transport equipment</SW_Description>
<SW_Rule>R-CARGO-002 (EqID=Uniq)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StowPosition">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<Maritime_Description>To identify a location on board a vessel where specified goods or transport equipment has been or are to be stowed</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:StowPositionIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<Maritime_Description>The equipment location on the vessel</Maritime_Description>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Consignment" minOccurs="0" maxOccurs="99999">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ConsignmentSequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Remark>Must be &gt;=1</SW_Remark>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ConsignmentItem" maxOccurs="999">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Description>Details of a goods item in a consignment</SW_Description>
<SW_ClassName>GoodsItem</SW_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ConsignmentItemSequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Remark>
- Unique identifier for goods item within consignment
- Must be &gt;=1
</SW_Remark>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Commodity">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="CargoDescription" type="ds:CommodityCargoDescriptionTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..256</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Name of the goods item</SW_Description>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Classification" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Rule>R-CARGO-021 (IMOCode=M)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Description>Details about classification of a commodity</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ClassificationIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..18</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>The value of a commodity within the classification</SW_Description>
<SW_CodeList>
M12 (IMO codes / IMO Codes)
M13 (IMO Haz. Class / (IMO Haz.Class)
M14 (MARPOL IBC Code / MARPOL IBC Code)
M15 (Packing Group / Packing Group)
M16 (EmS Spillage / EmS Spillage)
M17 (EmS Fire / EmS Fire)
101 (VN Gev Goederen / UN Number)
</SW_CodeList>
<SW_PossibleValue>
V-CARGO-007 (IMO Code)
V-CARGO-008 (HazClass)
V-CARGO-009 (PackingGr)
V-CARGO-010 (SubsRisk)
V-CARGO-011 (UNNoRange)
V-CARGO-012 (EmS-S)
V-CARGO-013 (EmS-F)
V-CARGO-017 (Marpol)
</SW_PossibleValue>
<SW_Rule>R-CARGO-008 (HS&gt;=4)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IdentificationTypeCode" type="ds:ClassificationIdentificationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>A qualifier to describe the commodity classification</SW_Description>
<SW_Remark>For HS the value may be 4-10 characters (Harmonized Commodity Description and Coding System (HS) of tariff nomenclature). The first 2-6 characters are internationally harmonised, the last 4 digits are free to use</SW_Remark>
<SW_CodeList>M11 (Goeder.classif. / Goods Classif.)</SW_CodeList>
<SW_PossibleValue>V-CARGO-006 (ClassType)</SW_PossibleValue>
<SW_Rule>
R-CARGO-007 (TypeUniq)
R-CARGO-009 (UNNo=M )
R-CARGO-012 (HazClass=M )
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Temperature" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="FlashpointMeasure" type="ds:TemperatureFlashpointMeasureType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..8</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>To specify the value of the flashpoint of dangerous goods in degrees Celcius</SW_Description>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsLocation" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Condition>
C-CARGO-007 (GoodsLoc=M)
C-CARGO-008 (LocAllowed)
</SW_Condition>
<SW_Status>D</SW_Status>
<SW_Remark>Used in case of cargo which is not transported in transport equipment; more details in chapter 6 of Section 1: “Goods location”</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:GoodsLocationNameTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..256</Format>
</xs:documentation>
<xs:documentation>
<SW_Remark>
Free text to indicate the location of the goodsitem. Multiple locations might be added in text field.
More details about how to code the location in chapter 6 of Section 1: “Goods location”
</SW_Remark>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsMeasure">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="GrossMassMeasure" type="ds:GoodsMeasureGrossMassMeasureType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..16,6</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Weight of the goods including packaging but excluding the transport equipment</SW_Description>
<SW_AttributeName>GrossWeight</SW_AttributeName>
<SW_Remark>
- Gross weight is also used for bulk cargo (e.g. tankers)
- Must be &gt;0
</SW_Remark>
<SW_Status>R</SW_Status>
<UnitCodeName>Measure Unit. Code</UnitCodeName>
<UnitCodeList>T08 (Maatstafcode / Unit Code)</UnitCodeList>
<UnitCodePossibleValue>V-GENERAL-010 (WeightUnit_1)</UnitCodePossibleValue>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NetNetWeightMeasure" type="ds:GoodsMeasureNetNetWeightMeasureType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..16,6</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>NetWeight</SW_AttributeName>
<SW_Remark>Must be &gt;0</SW_Remark>
<SW_Status>O</SW_Status>
<UnitCodeName>Measure Unit. Code</UnitCodeName>
<UnitCodeList>T08 (Maatstafcode / Unit Code)</UnitCodeList>
<UnitCodePossibleValue>V-GENERAL-010 (WeightUnit_1)</UnitCodePossibleValue>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Packaging" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_Remark>This packaging is used for cargo which is not transported by transport equipment; only one package type per goods item is allowed</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="MarksNumbersID" type="ds:PackagingMarksNumbersIDType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..512</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="QuantityQuantity" type="ds:PackagingQuantityQuantityType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..8</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Number of individual goods items packaged in such a way that they cannot be divided without first undoing the packing</SW_Description>
<SW_Remark>
- Unit is not used; this is total number of packages for the goods item
- Must be &gt;0
</SW_Remark>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:PackagingTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..2</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Code specifying the type of package of a goods item</SW_Description>
<SW_Remark>Only one package type per goodsitem is allowed</SW_Remark>
<SW_CodeList>A25 (Srt.-verpakking / Packaging Type)</SW_CodeList>
<SW_PossibleValue>V-CARGO-002 (PackType)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="999">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_Remark>More details in chapter 6 of Section 1: “Transport equipment”</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:TransportEquipmentSequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Remark>Must be &gt;=1</SW_Remark>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Marks (letters and/or numbers) which identify the transport equipment</SW_Description>
<SW_Rule>
R-CARGO-002 (EqID=Uniq)
R-CARGO-017 (EqID)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GoodsMeasure">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Remark>The weights of the goodsitem in the transport equipment. Used for packaged and unpackaged goods in the transport equipment</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="GrossMassMeasure" type="ds:GoodsMeasureGrossMassMeasureType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..16,6</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Weight of the goods including packaging but excluding the transport equipment</SW_Description>
<SW_AttributeName>GrossWeight</SW_AttributeName>
<SW_Remark>Must be &gt;0</SW_Remark>
<SW_Status>R</SW_Status>
<UnitCodeName>Measure Unit. Code</UnitCodeName>
<UnitCodeList>T08 (Maatstafcode / Unit Code)</UnitCodeList>
<UnitCodePossibleValue>V-GENERAL-010 (WeightUnit_1)</UnitCodePossibleValue>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NetNetWeightMeasure" type="ds:GoodsMeasureNetNetWeightMeasureType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..16,6</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>NetWeight</SW_AttributeName>
<SW_Remark>Must be &gt;0</SW_Remark>
<SW_Status>O</SW_Status>
<UnitCodeName>Measure Unit. Code</UnitCodeName>
<UnitCodeList>T08 (Maatstafcode / Unit Code)</UnitCodeList>
<UnitCodePossibleValue>V-GENERAL-010 (WeightUnit_1)</UnitCodePossibleValue>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Packaging" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="QuantityQuantity" type="ds:PackagingQuantityQuantityType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..8</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Number of individual goods items packaged in such a way that they cannot be divided without first undoing the packing</SW_Description>
<SW_Remark>
- Only quantity is used, not the unit; number of packages is needed for customs for checking customs scans.
Package type is defined on Goods Item level. No check is performed on consistency in numbers between numbers reported at goodsitem level and at transport equipment level
- Must be &gt;0
</SW_Remark>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="LoadingLocation" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_ClassName>PortOfLoading</SW_ClassName>
<Maritime_Description>Place at which the goods (consignments) are loaded on to the vessel</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:LoadingLocationIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>CodeOfPort</SW_AttributeName>
<Maritime_Description>To identify a port at which goods are loaded onto the vessel</Maritime_Description>
<SW_CodeList>N19 (UN Locode / UN Locode)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-006 (Locode)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportContractDocument" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_Description>Information about the consignment which corresponds to one transport contract</SW_Description>
<SW_Remark>More details in chapter 6 of Section 1: “Transport document(s)”</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:TransportContractDocumentIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:TransportContractDocumentTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>N04 (Document Type / Trans.Doc.Type)</SW_CodeList>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="999">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_Remark>More details in chapter 6 of Section 1: “Transport equipment”</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:TransportEquipmentSequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Remark>Must be &gt;=1</SW_Remark>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Marks (letters and/or numbers) which identify the transport equipment</SW_Description>
<SW_Rule>
R-CARGO-002 (EqID=Uniq)
R-CARGO-003 (EqIDinHeader)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UnloadingLocation" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_ClassName>PortOfDischarge</SW_ClassName>
<Maritime_Description>Place at which the goods (consignment) are unloaded from the vessel</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:UnloadingLocationIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>CodeOfPort</SW_AttributeName>
<Maritime_Description>To identify a port at which goods are unloaded from the vessel</Maritime_Description>
<SW_CodeList>N19 (UN Locode / UN Locode)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-006 (Locode)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,905 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:HZD_01="B2SW:HZD:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:HZD:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Type of declaration</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M50 (Declaratietype / Declarat. Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-001 (KnownDT)</SW_PossibleValue>
<SW_Rule>
R-GENERAL-001 (code=namespace)
R-GENERAL-002 (PortSys)
R-GENERAL-003 (SameRepPar)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AdditionalInformation" minOccurs="0" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_Description>Additional information which is reported as part of the declaration</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="StatementDescription" type="ds:AdditionalInformationStatementDescriptionTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..512</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StatementTypeCode" type="ds:AdditionalInformationStatementTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Code qualifying the type of additional information</SW_Description>
<SW_CodeList>M42 (Aanv.info.type / Add.Info.Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-022 (InfoTypeHZ)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BorderTransportMeans" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<Maritime_Description>Details of the vessel which visits a port</Maritime_Description>
<Maritime_ClassName>VesselCall</Maritime_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="INFShipClassCode" type="ds:BorderTransportMeansINFShipClassCodeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..4</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>M04 (INF Ship Class / INF Ship Class)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-017 (INF)</SW_PossibleValue>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DPGListIndicator" type="ds:BorderTransportMeansDPGListIndicatorType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n1</Format>
</xs:documentation>
<xs:documentation>
<Maritime_AttributeName>DPGListOnBoard</Maritime_AttributeName>
<SW_CodeList>N10 (Indicator / Indicator)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-013 (YesNo )</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Bunker" minOccurs="0" maxOccurs="999">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:BunkerSequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Remark>Must be &gt;=1</SW_Remark>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Commodity">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Description>Details about the properties of the bunkers</SW_Description>
<SW_Remark>In this case the goods are bunkers</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="CargoDescription" type="ds:CommodityCargoDescriptionTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..256</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Name of the bunkers</SW_Description>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Classification" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Rule>R-CARGO-021 (IMOCode=M)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Description>Details about classification of a commodity</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ClassificationIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..18</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>The value of a commodity within the classification</SW_Description>
<SW_CodeList>
M12 (IMO codes / IMO Codes)
M13 (IMO Haz. Class / (IMO Haz.Class)
M14 (MARPOL IBC Code / MARPOL IBC Code)
M15 (Packing Group / Packing Group)
M16 (EmS Spillage / EmS Spillage)
M17 (EmS Fire / EmS Fire)
101 (VN Gev Goederen / UN Number)
</SW_CodeList>
<SW_PossibleValue>
V-CARGO-007 (IMO Code)
V-CARGO-008 (HazClass)
V-CARGO-009 (PackingGr)
V-CARGO-011 (UNNoRange)
V-CARGO-012 (EmS-S)
V-CARGO-013 (EmS-F)
V-CARGO-017 (Marpol)
</SW_PossibleValue>
<SW_Rule>R-CARGO-008 (HS&gt;=4)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IdentificationTypeCode" type="ds:ClassificationIdentificationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>A qualifier to describe the commodity classification</SW_Description>
<SW_CodeList>M11 (Goeder.classif. / Goods Classif.)</SW_CodeList>
<SW_PossibleValue>V-CARGO-006 (ClassType)</SW_PossibleValue>
<SW_Rule>
R-CARGO-007 (TypeUniq)
R-CARGO-009 (UNNo=M)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Temperature" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="FlashpointMeasure" type="ds:TemperatureFlashpointMeasureType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..8</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>To specify the value of the flashpoint of the bunkers in degrees Celcius</SW_Description>
<SW_Remark>Needs to be reported in degrees Celcius (CEL); no unit needs to be reported</SW_Remark>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsMeasure" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_Description>Details about the bunkers weight, quantities, and amounts</SW_Description>
<SW_Remark>In this case the goods are bunkers</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="NetNetWeightMeasure" type="ds:GoodsMeasureNetNetWeightMeasureType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..16,6</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Weight (mass) of the bunkers themselves without any packing</SW_Description>
<SW_AttributeName>NetWeight</SW_AttributeName>
<SW_Remark>
- In this case the goods are bunkers
- Must be &gt;0
</SW_Remark>
<SW_Status>R</SW_Status>
<UnitCodeName>Measure Unit. Code</UnitCodeName>
<UnitCodeList>T08 (Maatstafcode / Unit Code)</UnitCodeList>
<UnitCodePossibleValue>V-GENERAL-010 (WeightUnit_1)</UnitCodePossibleValue>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsLocation">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Description>Information about the place where the bunkers are located</SW_Description>
<SW_Remark>In this case the goods are bunkers; more details in chapter 6 of Section 1: “Goods location”</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:GoodsLocationNameTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..256</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Name of the place where bunkers are located</SW_Description>
<SW_Remark>
In this case the goods are bunkers
More details about how to code the location in chapter 6 of Section 1: “Goods location”
</SW_Remark>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="99999">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:TransportEquipmentSequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Remark>Must be &gt;=1</SW_Remark>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CharacteristicCode" type="ds:TransportEquipmentCharacteristicCodeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..4</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>M18 (SizeType / SizeType)</SW_CodeList>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FullnessCode" type="ds:TransportEquipmentFullnessCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Code specifying if a piece of transport equipment is full or empty</SW_Description>
<SW_AttributeName>FullEmptyIndication</SW_AttributeName>
<SW_CodeList>N25 (Container statu / Contain. Status)</SW_CodeList>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Marks (letters and/or numbers) which identify the transport equipment</SW_Description>
<SW_Rule>R-CARGO-002 (EqID=Uniq)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StowPosition">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Description>To identify a location on board a vessel where specified goods or transport equipment has been or are to be stowed</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:StowPositionIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<Maritime_Description>The equipment location on the vessel</Maritime_Description>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Consignment" minOccurs="0" maxOccurs="99999">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ConsignmentSequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Remark>Must be &gt;=1</SW_Remark>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ConsignmentItem" maxOccurs="999">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Description>Details of a goods item in a consignment</SW_Description>
<SW_ClassName>GoodsItem</SW_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ConsignmentItemSequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Remark>
- Unique identifier for goods item within consignment
- Must be &gt;=1
</SW_Remark>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Commodity">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="CargoDescription" type="ds:CommodityCargoDescriptionTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..256</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Name of the goods item</SW_Description>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Classification" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Rule>R-CARGO-021 (IMOCode=M)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Description>Details about classification of a commodity</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ClassificationIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..18</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>The value of a commodity within the classification</SW_Description>
<SW_CodeList>
M12 (IMO codes / IMO Codes)
M13 (IMO Haz. Class / (IMO Haz.Class)
M14 (MARPOL IBC Code / MARPOL IBC Code)
M15 (Packing Group / Packing Group)
M16 (EmS Spillage / EmS Spillage)
M17 (EmS Fire / EmS Fire)
101 (VN Gev Goederen / UN Number)
</SW_CodeList>
<SW_PossibleValue>
V-CARGO-007 (IMO Code)
V-CARGO-008 (HazClass)
V-CARGO-009 (PackingGr)
V-CARGO-010 (SubsRisk)
V-CARGO-011 (UNNoRange)
V-CARGO-012 (EmS-S)
V-CARGO-013 (EmS-F)
V-CARGO-017 (Marpol)
</SW_PossibleValue>
<SW_Rule>R-CARGO-008 (HS&gt;=4)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IdentificationTypeCode" type="ds:ClassificationIdentificationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>A qualifier to describe the commodity classification</SW_Description>
<SW_Remark>For HS the value may be 4-10 characters (Harmonized Commodity Description and Coding System (HS) of tariff nomenclature). The first 2-6 characters are internationally harmonised, the last 4 digits are free to use</SW_Remark>
<SW_CodeList>M11 (Goeder.classif. / Goods Classif.)</SW_CodeList>
<SW_PossibleValue>V-CARGO-006 (ClassType)</SW_PossibleValue>
<SW_Rule>
R-CARGO-007 (TypeUniq)
R-CARGO-009 (UNNo=M )
R-CARGO-012 (HazClass=M )
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Temperature" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="FlashpointMeasure" type="ds:TemperatureFlashpointMeasureType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..8</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>To specify the value of the flashpoint of dangerous goods in degrees Celcius</SW_Description>
<SW_Remark>Needs to be reported in degrees Celcius (CEL); no unit needs to be reported</SW_Remark>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsLocation" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Condition>
C-CARGO-007 (GoodsLoc=M)
C-CARGO-008 (LocAllowed)
</SW_Condition>
<SW_Status>D</SW_Status>
<SW_Remark>Used in case of cargo which are not transported in transport equipment; more details in chapter 6 of Section 1: “Goods location”</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:GoodsLocationNameTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..256</Format>
</xs:documentation>
<xs:documentation>
<SW_Remark>
Free text to indicate the location of the goodsitem. Multiple locations might be added in text field.
More details about how to code the location in chapter 6 of Section 1: “Goods location”
</SW_Remark>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsMeasure">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="GrossMassMeasure" type="ds:GoodsMeasureGrossMassMeasureType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..16,6</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Weight of the goods including packaging but excluding the transport equipment</SW_Description>
<SW_AttributeName>GrossWeight</SW_AttributeName>
<SW_Remark>
- Gross weight is also used for bulk cargo (e.g. tankers)
- Must be &gt;0
</SW_Remark>
<SW_Status>R</SW_Status>
<UnitCodeName>Measure Unit. Code</UnitCodeName>
<UnitCodeList>T08 (Maatstafcode / Unit Code)</UnitCodeList>
<UnitCodePossibleValue>V-GENERAL-010 (WeightUnit_1)</UnitCodePossibleValue>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NetNetWeightMeasure" type="ds:GoodsMeasureNetNetWeightMeasureType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..16,6</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>NetWeight</SW_AttributeName>
<SW_Remark>Must be &gt;0</SW_Remark>
<SW_Status>O</SW_Status>
<UnitCodeName>Measure Unit. Code</UnitCodeName>
<UnitCodeList>T08 (Maatstafcode / Unit Code)</UnitCodeList>
<UnitCodePossibleValue>V-GENERAL-010 (WeightUnit_1)</UnitCodePossibleValue>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Packaging" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_Remark>This packaging is used for cargo which is not transported by transport equipment; only one package type per goods item is allowed</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="MarksNumbersID" type="ds:PackagingMarksNumbersIDType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..512</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="QuantityQuantity" type="ds:PackagingQuantityQuantityType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..8</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Number of individual goods items packaged in such a way that they cannot be divided without first undoing the packing</SW_Description>
<SW_Remark>
- Unit is not used; this is total number of packages for the goods item
- Must be &gt;0
</SW_Remark>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:PackagingTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..2</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Code specifying the type of package of a goods item</SW_Description>
<SW_Remark>Only one package type per goods item is allowed</SW_Remark>
<SW_CodeList>A25 (Srt.-verpakking / Packaging Type)</SW_CodeList>
<SW_PossibleValue>V-CARGO-002 (PackType)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="999">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_Remark>More details in chapter 6 of Section 1: “Transport equipment”</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:TransportEquipmentSequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Remark>Must be &gt;=1</SW_Remark>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Marks (letters and/or numbers) which identify the transport equipment</SW_Description>
<SW_Rule>
R-CARGO-002 (EqID=Uniq)
R-CARGO-017 (EqID)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GoodsMeasure">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Remark>The weights of the goods item in the transport equipment. Used for packaged and unpackaged goods in the transport equipment</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="GrossMassMeasure" type="ds:GoodsMeasureGrossMassMeasureType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..16,6</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Weight of the goods including packaging but excluding the transport equipment</SW_Description>
<SW_AttributeName>GrossWeight</SW_AttributeName>
<SW_Remark>Must be &gt;0</SW_Remark>
<SW_Status>R</SW_Status>
<UnitCodeName>Measure Unit. Code</UnitCodeName>
<UnitCodeList>T08 (Maatstafcode / Unit Code)</UnitCodeList>
<UnitCodePossibleValue>V-GENERAL-010 (WeightUnit_1)</UnitCodePossibleValue>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NetNetWeightMeasure" type="ds:GoodsMeasureNetNetWeightMeasureType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..16,6</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>NetWeight</SW_AttributeName>
<SW_Remark>Must be &gt;0</SW_Remark>
<SW_Status>O</SW_Status>
<UnitCodeName>Measure Unit. Code</UnitCodeName>
<UnitCodeList>T08 (Maatstafcode / Unit Code)</UnitCodeList>
<UnitCodePossibleValue>V-GENERAL-010 (WeightUnit_1)</UnitCodePossibleValue>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Packaging" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="QuantityQuantity" type="ds:PackagingQuantityQuantityType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..8</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Number of individual goods items packaged in such a way that they cannot be divided without first undoing the packing</SW_Description>
<SW_Remark>
- Only quantity is used, not the unit; number of packages is needed for customs for checking customs scans.
Package type is defined on Goods iItem level. No check is performed on consistency in numbers between numbers reported at goods item level and at transport equipment level
- Must be &gt;0
</SW_Remark>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="LoadingLocation" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_ClassName>PortOfLoading</SW_ClassName>
<Maritime_Description>Place at which the goods (consignments) are loaded on to the vessel</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:LoadingLocationIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>CodeOfPort</SW_AttributeName>
<Maritime_Description>To identify a port at which goods are loaded onto the vessel</Maritime_Description>
<SW_CodeList>N19 (UN Locode / UN Locode)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-006 (Locode)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportContractDocument" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_Description>Information about the consignment which corresponds to one transport contract</SW_Description>
<SW_Remark>More details in chapter 6 of Section 1: “Transport document(s)”</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:TransportContractDocumentIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:TransportContractDocumentTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>N04 (Document Type / Trans.Doc.Type)</SW_CodeList>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="999">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_Remark>More details in chapter 6 of Section 1: “Transport equipment”</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:TransportEquipmentSequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Remark>Must be &gt;=1</SW_Remark>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Marks (letters and/or numbers) which identify the transport equipment</SW_Description>
<SW_Rule>
R-CARGO-002 (EqID=Uniq)
R-CARGO-003 (EqIDinHeader)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UnloadingLocation" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_ClassName>PortOfDischarge</SW_ClassName>
<Maritime_Description>Place at which the goods (consignment) are unloaded from the vessel</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:UnloadingLocationIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>CodeOfPort</SW_AttributeName>
<Maritime_Description>To identify a port at which goods are unloaded from the vessel</Maritime_Description>
<SW_CodeList>N19 (UN Locode / UN Locode)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-006 (Locode)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,208 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:LCP_01="B2SW:LCP:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:LCP:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FunctionalReferenceID" type="ds:DeclarationFunctionalReferenceIDType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Condition>C-DMF-002 (RefNo)</SW_Condition>
<SW_Status>D</SW_Status>
<SW_Description>Reference number identifying the B2SW message</SW_Description>
<SW_AttributeName>Local Reference Number (LRN)</SW_AttributeName>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ID" type="ds:DeclarationIdentificationIDType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Condition>C-DMF-002 (RefNo)</SW_Condition>
<SW_Status>D</SW_Status>
<SW_AttributeName>Movement reference number (MRN)</SW_AttributeName>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Type of declaration</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M50 (Declaratietype / Declarat. Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-001 (KnownDT)</SW_PossibleValue>
<SW_Rule>R-GENERAL-001 (code=namespace)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AdditionalDocument">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_ClassName>Local clearance procedure</SW_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:AdditionalDocumentIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>
R-LCP-002 (Lcp)
R-LCP-003 (LcpAutNum)
</SW_Rule>
<SW_Status>R</SW_Status>
<SW_AttributeName>Local clearance procedure authorization number</SW_AttributeName>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:AdditionalDocumentTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_PossibleValue>V-LCP-001 (AddDocType)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CertificateOfResponsibilityHolder">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_ClassName>Holder authorization</SW_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CertificateOfResponsibilityHolderIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_PossibleValue>V-GENERAL-007 (EORI)</SW_PossibleValue>
<SW_Rule>R-LCP-002 (Lcp)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_AttributeName>Identification</SW_AttributeName>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Consignment" maxOccurs="999">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ConsignmentSequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Remark>Must be &gt;=1</SW_Remark>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ConsignmentItem" minOccurs="0" maxOccurs="999">
<xs:annotation>
<xs:documentation>
<SW_Description>Details of a goods item in a consignment</SW_Description>
<SW_ClassName>GoodsItem</SW_ClassName>
<SW_Rule>R-LCP-001 (#&lt;=999)</SW_Rule>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ConsignmentItemSequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Description>Serial, sequential number differentiating each separate goods item entry of a consignment as contained in one document/declaration</SW_Description>
<SW_Remark>Must be &gt;=1</SW_Remark>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportContractDocument">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Description>Information about the consignment which corresponds to one transport contract</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:TransportContractDocumentIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-CARGO-006 (DocUniq)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:TransportContractDocumentTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_PossibleValue>V-CARGO-005 (TransDoc)</SW_PossibleValue>
<SW_Status>R</SW_Status>
<SW_CodeList>N04 (Document Type / Trans.Doc.Type)</SW_CodeList>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,362 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:MAI_01="B2SW:MAI:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:MAI:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_Rule>R-GENERAL-001 (code=namespace)</SW_Rule>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FunctionCode" type="ds:DeclarationFunctionCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..2</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Code indicating whether the message is either an original message or an update to a previously sent message</SW_Description>
<SW_Remark>More details in chapter 6 of Section 1: “Messages and message concepts”</SW_Remark>
<SW_CodeList>M52 (Berichtfunctie / Msg Function)</SW_CodeList>
<SW_PossibleValue>V-MAI-001 (Indic)</SW_PossibleValue>
<SW_Rule>R-MAI-012 (One original)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FunctionalReferenceID" type="ds:DeclarationFunctionalReferenceIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-MAI-002 (MAI_ID)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Description>Reference number identifying the B2SW message</SW_Description>
<SW_AttributeName>MAI_ID</SW_AttributeName>
<SW_Remark>
This must be a unique reference number across all dispatching organisations. This unique reference number is used in the response (SW2B) to this message and must be used as reference in the next update to this message. The Functional reference number is the concatenation of the &lt;code for sender, followed by _&gt;+&lt;year number with century digits- ccyy, followed by _&gt;+&lt;sequence number&gt; .
Examples:
XYZ_2014_000001
ACBCD_2014_000002
Z123PO_2014_000562
AGENTXXX_2015_000028
LINERYYY_2014_006312
</SW_Remark>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IssueDateTime" type="ds:DeclarationIssueDateTimeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Date/time at which the B2SW message was issued</SW_Description>
<SW_AttributeName>IssuingDateTime</SW_AttributeName>
<SW_Status>R</SW_Status>
<DateTimeFormatCode>304</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDDHHMMSSZZZ</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Type of declaration</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M50 (Declaratietype / Declarat. Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-001 (KnownDT)</SW_PossibleValue>
<SW_Rule>R-GENERAL-001 (code=namespace)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="VersionID" type="ds:DeclarationVersionIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..9</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>The sequential number that determines the sequence number of a message in a message chain</SW_Description>
<SW_AttributeName>ChainSeqNr</SW_AttributeName>
<SW_Remark>
The version number is used as a sequence number within the message chain. The original message needs to get version number “1”. Each subsequent replace message needs to get a consecutive number. So the first replace message after the original message gets version number “2”, the replace message after gets a “3”, et cetera.
More details in chapter 6 of Section 1: “Messages and message concepts”
</SW_Remark>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BorderTransportMeans" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Condition>C-MAI-003 (MOT=M)</SW_Condition>
<SW_Status>D</SW_Status>
<SW_Description>Details of the means of transport (vessel, aircraft) which visits a port</SW_Description>
<Maritime_ClassName>VesselCall</Maritime_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:BorderTransportMeansIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..25</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Identifier to identify the means of transport (vessel, aircraft). The identifier is related to the type of identification of the means of transport</SW_Description>
<Maritime_AttributeName>IdentificationOfShip</Maritime_AttributeName>
<Air_AttributeName>Flight Number</Air_AttributeName>
<SW_Rule>
R-MAI-001 (Unchangeable)
R-MAI-005 (LengthIMOnr) &amp;
R-MAI-006 (ValidIMOnr) &amp;
R-MAI-007 (MMSI) &amp;
R-MAI-008 (CSI) &amp;
R-MAI-009 (EXT) &amp;
R-MAI-010 (ENI) &amp;
R-MAI-016 (FLN)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IdentificationTypeCode" type="ds:BorderTransportMeansIdentificationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>The type of identification of the means of transport (vessel, aircraft)</SW_Description>
<Maritime_AttributeName>IdentificationTypeOfShip</Maritime_AttributeName>
<SW_CodeList>M03 (VV.ident.type / Conv.Ident.Type)</SW_CodeList>
<SW_PossibleValue>V-MAI-002 (ConveyID)</SW_PossibleValue>
<SW_Rule>R-MAI-001 (Unchangeable)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:BorderTransportMeansTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..4</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Transport mode of means of transport (vessel, aircraft) or type of means of transport (vessel)</SW_Description>
<SW_Remark>In MAI the mode of transport is reported and not the type of the means of transport</SW_Remark>
<Maritime_AttributeName>ModeOrTypeOfShip</Maritime_AttributeName>
<SW_CodeList>A27 (Vervoerswijze / Transport Mode)</SW_CodeList>
<SW_PossibleValue>V-MAI-003 (Mode)</SW_PossibleValue>
<SW_Rule>R-MAI-001 (Unchangeable)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StayID" type="ds:BorderTransportMeansStayIDType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>Visit_ID</SW_AttributeName>
<SW_Remark>The Stay reference must start with a 5 character unique UN location code for the (air) port authority. The Stay reference must be unique throughout Europe per mode of transport</SW_Remark>
<Maritime_Description>An identifier of the visit of a vessel to a port</Maritime_Description>
<SW_Condition>C-MAI-001 (VisitID=M)</SW_Condition>
<SW_Rule>
R-MAI-001 (Unchangeable)
R-MAI-003 (StartUNLO)
</SW_Rule>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Itinerary">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Description>Details of the port which the means of transport (vessel, aircraft) visits</SW_Description>
<SW_ClassName>PortOfCall</SW_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ItineraryIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Identification of a port which the means of transport (vessel, aircraft) visits</SW_Description>
<SW_AttributeName>CodeOfPort</SW_AttributeName>
<SW_CodeList>N21 (UN Locode(NL) / UN Locode (NL))</SW_CodeList>
<SW_PossibleValue>V-GENERAL-011 (NatPort)</SW_PossibleValue>
<SW_Rule>R-MAI-001 (Unchangeable)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Declarant">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_ClassName>ReportingParty</SW_ClassName>
<SW_Remark>More details in chapter 6 of Section 1: “Messages and message concepts”</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:DeclarantNameTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..70</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>Name</SW_AttributeName>
<SW_Rule>R-MAI-001 (Unchangeable)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ID" type="ds:DeclarantIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>Identification</SW_AttributeName>
<SW_PossibleValue>V-GENERAL-007 (EORI)</SW_PossibleValue>
<SW_Rule>
R-MAI-001 (Unchangeable)
R-COA-002 (SameAsNOA)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RoleCode" type="ds:DeclarantRoleCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Code giving specific meaning to a reporting party</SW_Description>
<SW_Remark>This is the role of the reporting party. Examples of the role are the agent (“AG”) or the carrier (“CA”)</SW_Remark>
<SW_CodeList>M56 (Partijrol code / Party Role Code)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-002 (AllowedRole)</SW_PossibleValue>
<SW_Rule>R-MAI-001 (Unchangeable)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Contact">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_ClassName>ContactPerson</SW_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:ContactNameTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..70</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Name of an employee</SW_Description>
<SW_AttributeName>NameOfPerson</SW_AttributeName>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Communication" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CommunicationIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..50</Format>
</xs:documentation>
<xs:documentation>
<SW_PossibleValue>V-GENERAL-008 (CharTE&amp;FX)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:CommunicationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>M57 (Communic.type / Communic. Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-003 (CommType)</SW_PossibleValue>
<SW_Rule>R-PARTY-001 (Phone=M)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PreviousDocument" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Condition>C-MAI-004 (PrevMsg=M)</SW_Condition>
<SW_Status>D</SW_Status>
<SW_Description>Reference to previous message</SW_Description>
<SW_ClassName>PreviousMAI</SW_ClassName>
<SW_Remark>More details in chapter 6 of Section 1: “Messages and message concepts”</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:PreviousDocumentIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-MAI-014 (OnePrevRef)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Description>The number of previous message</SW_Description>
<SW_AttributeName>PrevMAI_ID</SW_AttributeName>
<SW_Remark>More details in chapter 6 of Section 1: “Messages and message concepts”</SW_Remark>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,311 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:MFX_01="B2SW:MFX:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:MFX:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FunctionalReferenceID" type="ds:DeclarationFunctionalReferenceIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Reference number identifying the B2SW message</SW_Description>
<SW_AttributeName>Local Reference Number (LRN)</SW_AttributeName>
<SW_Rule>R-GENERAL-018 (LRNUniq)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Type of declaration</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M50 (Declaratietype / Declarat. Type)</SW_CodeList>
<SW_Rule>R-GENERAL-001 (code=namespace)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BorderTransportMeans">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<Maritime_Description>Details of the vessel which visits a port</Maritime_Description>
<Maritime_ClassName>VesselCall</Maritime_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:BorderTransportMeansNameTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<Maritime_AttributeName>Name of Vessel</Maritime_AttributeName>
<Air_AttributeName>Aircraft Registration Number</Air_AttributeName>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Itinerary">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_ClassName>PortOfCall</SW_ClassName>
<Maritime_Description>Details of the port of call which the vessel visits</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="DepartureDateTime" type="ds:ItineraryDepartureDateTimeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>DepartureDateTime</SW_AttributeName>
<Maritime_Description>Date and time when the vessels departs from the port of call</Maritime_Description>
<SW_Status>R</SW_Status>
<DateTimeFormatCode>304</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDDHHMMSSZZZ</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Carrier" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Condition>C-GENERAL-002 (Carrier=M)</SW_Condition>
<SW_Status>D</SW_Status>
<SW_Description>Details of carrier</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CarrierIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_PossibleValue>V-GENERAL-028 (EORI&amp;TCUIN)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Consignment" maxOccurs="9999">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Remark>Needed for reporting multiple Previous Customs documents</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="TransportSplitCode" type="ds:ConsignmentTransportSplitCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Code indicating if the consignment is a split consignment</SW_Description>
<SW_AttributeName>PartShipment</SW_AttributeName>
<SW_CodeList>N10 (Indicator / Indicator)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-013 (YesNo)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ConsignmentItem">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Description>Details of a goods item in a consignment</SW_Description>
<SW_ClassName>GoodsItem</SW_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ConsignmentItemSequenceNumericType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Condition>C-MFX-003 (GoodsItemNo=M)</SW_Condition>
<SW_Status>D</SW_Status>
<SW_Description>Serial, sequential number differentiating each separate goods item entry of a consignment as contained in one document/declaration</SW_Description>
<SW_AttributeName>Goods item number</SW_AttributeName>
<SW_Remark>Must be &gt;=1</SW_Remark>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GoodsMeasure" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Condition>C-MFX-001 (ConItem)</SW_Condition>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="GrossMassMeasure" type="ds:GoodsMeasureGrossMassMeasureType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..16,6</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
<UnitCodeName>Measure Unit. Code</UnitCodeName>
<UnitCodeList>T08 (Maatstafcode / Unit Code)</UnitCodeList>
<UnitCodePossibleValue>V-GENERAL-031 (WeightUnit_2)</UnitCodePossibleValue>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PreviousDocument">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_ClassName>Previous Customs document</SW_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:PreviousDocumentIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>MRN number or other identification of the type of Customs declaration or Acc. document</SW_Description>
<SW_AttributeName>Customs document number</SW_AttributeName>
<SW_Rule>R-MFX-001 (CusDocNum)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:PreviousDocumentTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Description>Type of Customs declaration or Accompanying document</SW_Description>
<SW_AttributeName>Customs document type, coded</SW_AttributeName>
<SW_CodeList>A28 (Document-srt / Document Type)</SW_CodeList>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportContractDocument" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:TransportContractDocumentIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_AttributeName>Customer Administration Reference Number</SW_AttributeName>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UnloadingLocation" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Condition>C-MFX-002 (Air=M)</SW_Condition>
<SW_Status>D</SW_Status>
<SW_ClassName>PortOfDischarge</SW_ClassName>
<Maritime_Description>Place at which the goods (consignment) are unloaded from the vessel</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:UnloadingLocationIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>CodeOfPort</SW_AttributeName>
<Maritime_Description>To identify a port at which goods are unloaded from the vessel</Maritime_Description>
<SW_CodeList>N19 (UN Locode / UN Locode)</SW_CodeList>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ExitOffice">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ExitOfficeIdentificationCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>S20 (UN/Locode kant. / Customs office)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-033 (NLOfficeCode)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,553 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:NOA_01="B2SW:NOA:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:NOA:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Type of declaration</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M50 (Declaratietype / Declarat. Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-001 (KnownDT)</SW_PossibleValue>
<SW_Rule>
R-GENERAL-001 (code=namespace)
R-GENERAL-002 (PortSys)
R-GENERAL-003 (SameRepPar)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AdditionalDocument" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_Description>Details related to documents supplied as part of a declaration</SW_Description>
<SW_Remark>Certificate of Registry is reported in NOA</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:AdditionalDocumentIdentificationIDType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IssueDateTime" type="ds:AdditionalDocumentIssueDateTimeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-GENERAL-005 (Date&lt;=Now)</SW_Rule>
<SW_Status>R</SW_Status>
<DateTimeFormatCode>102</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDD</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="issueLocationID" type="ds:AdditionalDocumentIssueLocationIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..5</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>N19 (UN Locode / UN Locode)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-006 (Locode)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IssueLocationName" type="ds:AdditionalDocumentIssueLocationNameTextType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..256</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:AdditionalDocumentTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Code specifying the type of a document</SW_Description>
<SW_CodeList>M40 (Documenttype / Document Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-032 (DocType)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AdditionalInformation" minOccurs="0" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_Description>Additional information which is reported as part of the declaration</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="StatementDescription" type="ds:AdditionalInformationStatementDescriptionTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..512</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StatementTypeCode" type="ds:AdditionalInformationStatementTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Code qualifying the type of additional information</SW_Description>
<SW_Remark>In the NOA declaration the additional information is used to report general information (AAI) related to the pre arrival of the vessel (such as “Remarks” at the IMO/FAL 1 form)</SW_Remark>
<SW_CodeList>M42 (Aanv.info.type / Add.Info.Type)</SW_CodeList>
<SW_PossibleValue>V-NOA-002 (AAI)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BorderTransportMeans">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<Maritime_Description>Details of the vessel which visits a port</Maritime_Description>
<Maritime_ClassName>VesselCall</Maritime_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:BorderTransportMeansNameTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<Maritime_Description>Name of vessel</Maritime_Description>
<Maritime_AttributeName>NameOfShip</Maritime_AttributeName>
<Air_AttributeName>Aircraft Registration Number</Air_AttributeName>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:BorderTransportMeansTypeCodeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..4</Format>
</xs:documentation>
<xs:documentation>
<SW_Remark>In NOA the Transport mode and the Type needs to be reported</SW_Remark>
<Maritime_Description>Transport mode and/or type of vessel</Maritime_Description>
<Maritime_AttributeName>ModeOrTypeOfShip</Maritime_AttributeName>
<SW_CodeList>N20 (Transport means / Ship type)</SW_CodeList>
<SW_Condition>C-GENERAL-001 (Maritime=M)</SW_Condition>
<SW_PossibleValue>V-GENERAL-025 (ShipType)</SW_PossibleValue>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RegistrationNationalityCode" type="ds:BorderTransportMeansRegistrationNationalityCodeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>a2</Format>
</xs:documentation>
<xs:documentation>
<Maritime_Description>Flag state of the vessel. The authority under which a country exercises regulatory control over the commercial vessel which is registered under its flag</Maritime_Description>
<Maritime_AttributeName>FlagState</Maritime_AttributeName>
<SW_CodeList>M01 (ISO landcode / ISO Country)</SW_CodeList>
<SW_Condition>C-GENERAL-001 (Maritime=M)</SW_Condition>
<SW_PossibleValue>V-GENERAL-012 (CountryISO)</SW_PossibleValue>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GrossWeightMeasure" type="ds:BorderTransportMeansGrossWeightMeasureType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..14,3</Format>
</xs:documentation>
<xs:documentation>
<SW_Remark>
- No unit needs to be reported
- Must be &gt;0
</SW_Remark>
<SW_Condition>C-GENERAL-001 (ShipType=M)</SW_Condition>
<SW_Rule>R-NOA-004 (GT&gt;=NT)</SW_Rule>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NetWeightMeasure" type="ds:BorderTransportMeansNetWeightMeasureType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..14,3</Format>
</xs:documentation>
<xs:documentation>
<SW_Remark>
- No unit needs to be reported
- Must be &gt;0
</SW_Remark>
<SW_Condition>C-GENERAL-001 (Maritime=M)</SW_Condition>
<SW_Rule>R-NOA-004 (GT&gt;=NT)</SW_Rule>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PortActivityDateTime" type="ds:BorderTransportMeansPortActivityDateTimeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Intended date of arrival of the means of transport (vessel, aircraft) in the port which is visited</SW_Description>
<SW_AttributeName>ScheduledDateOfArrival</SW_AttributeName>
<SW_Remark>This is the scheduled date of arrival in the port which is visited. For means of transport (vessel, aircraft) coming from a non-EU port this is equal to the date of arrival in the first port of EU. For means of transport coming from an EU port the date is the scheduled date in that port as well regardless whether it is not the first port of EU. The scheduled date of arrival is used to relate declarations ENS and PAX to the NOA (via the Visit_Key). The scheduled date of arrival needs to be communicated within the business community. For maritime transport more details are in chapter 6 of Section 1: “Maritime specific”</SW_Remark>
<SW_Rule>R-MAI-001 (Unchangeable)</SW_Rule>
<SW_Status>R</SW_Status>
<DateTimeFormatCode>102</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDD</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CargoDescription" type="ds:BorderTransportMeansCargoDescriptionTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..256</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Literal description of the type of cargo being carried</SW_Description>
<SW_Remark>If there is no cargo onboard the text “Empty” needs to be filled</SW_Remark>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CallPurpose" minOccurs="0" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Condition>C-GENERAL-001 (Maritime=M)</SW_Condition>
<SW_Status>D</SW_Status>
<SW_ClassName>PurposeOfCall</SW_ClassName>
<Maritime_Description>Information specifying the purpose of the vessel call</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="NameCode" type="ds:CallPurposeDescriptionCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<Maritime_Description>Code specifying the purpose of the vessel call</Maritime_Description>
<SW_CodeList>N12 (Purpose of call / Purpose of Call)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-016 (CallPurpose)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Itinerary" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_ClassName>PortOfCall</SW_ClassName>
<SW_Remark>The NOA declaration is used to report information about the previous ports of call and information about the current port of call. The current port of call is the port of call as reported in the MAI declaration</SW_Remark>
<Maritime_Description>Details of the port of call which the vessel visits</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ItineraryIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Identification of a port of call</SW_Description>
<SW_AttributeName>CodeOfPort</SW_AttributeName>
<SW_CodeList>
N19 (UN Locode / UN Locode)
M19 (SW Spec. Locode / SW Spec. Locode)
</SW_CodeList>
<SW_PossibleValue>V-GENERAL-014 (Locode+)</SW_PossibleValue>
<SW_Rule>R-GENERAL-015 (PortInMAI)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SequenceNumeric" type="ds:ItinerarySequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>
R-NOA-002 (LastPort=M)
R-GENERAL-004 (SeqUnique)
R-GENERAL-020 (CurrPort=M)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ArrivalDateTime" type="ds:ItineraryArrivalDateTimeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>ArrivalDateTime</SW_AttributeName>
<Maritime_Description>Date and time when the vessel arrives in the port of call</Maritime_Description>
<SW_Condition>C-NOA-002 (ETA=M)</SW_Condition>
<SW_Rule>
R-NOA-003 (ETA&gt;prevATD)
R-GENERAL-016 (ETA&lt;ETD)
</SW_Rule>
<SW_Status>D</SW_Status>
<DateTimeFormatCode>304</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDDHHMMSSZZZ</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DepartureDateTime" type="ds:ItineraryDepartureDateTimeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>DepartureDateTime</SW_AttributeName>
<Maritime_Description>Date and time when the vessels departs from the port of call</Maritime_Description>
<SW_Condition>
C-NOA-003 (ETDLastPort)
C-NOA-008 (ETDCurrentPort)
</SW_Condition>
<SW_Rule>R-GENERAL-016 (ETA&lt;ETD)</SW_Rule>
<SW_Status>D</SW_Status>
<DateTimeFormatCode>304</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDDHHMMSSZZZ</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ArrivalConveyanceFacility" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Condition>C-NOA-001 (Loc=M)</SW_Condition>
<SW_Status>D</SW_Status>
<SW_ClassName>LocationInPort</SW_ClassName>
<Maritime_Description>Details about the location in port which the vessel visits</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ArrivalConveyanceFacilityIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>Identification</SW_AttributeName>
<Maritime_Description>Identification of a location in port which the vessel visits</Maritime_Description>
<SW_CodeList>N24 (LocationCode NL / Locat. in Port)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-024 (LocationCode)</SW_PossibleValue>
<SW_Rule>R-NOA-005 (LocInCurrPort)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AnchorageIndicator" type="ds:ArrivalConveyanceFacilityAnchorageIndicatorType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n1</Format>
</xs:documentation>
<xs:documentation>
<Maritime_Description>Indication whether the location in port is an anchorage location or not</Maritime_Description>
<SW_CodeList>N10 (Indicator / Indicator)</SW_CodeList>
<SW_Condition>C-GENERAL-001 (Maritime=M)</SW_Condition>
<SW_PossibleValue>V-GENERAL-013 (YesNo)</SW_PossibleValue>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ArrivalDateTime" type="ds:ArrivalConveyanceFacilityArrivalDateTimeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>ArrivalDateTime</SW_AttributeName>
<Maritime_Description>Date and time when the vessel arrives at the location in port</Maritime_Description>
<SW_Status>O</SW_Status>
<DateTimeFormatCode>304</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDDHHMMSSZZZ</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Master" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<Maritime_Description>Master of the vessel</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:MasterNameTextType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..70</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Name of the master</SW_Description>
<SW_AttributeName>Name</SW_AttributeName>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Communication" minOccurs="0" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CommunicationIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..50</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>
R-GENERAL-010 (MMSI)
R-GENERAL-011 (CSI)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:CommunicationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>M57 (Communic.type / Communic. Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-018 (CommType)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TotalPersons" minOccurs="0" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Rule>R-GENERAL-012 (Crew=M)</SW_Rule>
<SW_Status>D</SW_Status>
<Maritime_Description>The total number of persons on board the vessel per type</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="TypeCode" type="ds:TotalPersonsTypeCodeType">
<xs:annotation>
<xs:documentation>
<Format>an..3</Format>
<SW_Description>The type of person</SW_Description>
<SW_CodeList>M30 (Persoonstype / Person Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-015 (Type)</SW_PossibleValue>
<SW_Rule>R-GENERAL-014 (TypeUniq)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="QuantityQuantity" type="ds:TotalPersonsQuantityQuantityType">
<xs:annotation>
<xs:documentation>
<Format>n..4</Format>
<SW_Description>Total number of persons of specified Type</SW_Description>
<SW_Remark>Must be &gt;0</SW_Remark>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Carrier" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Condition>C-GENERAL-002 (Carrier=M)</SW_Condition>
<SW_Status>D</SW_Status>
<SW_Description>Details of carrier</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CarrierIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>To identify a party</SW_Description>
<SW_PossibleValue>V-GENERAL-028 (EORI&amp;TCUIN)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,466 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:NOD_01="B2SW:NOD:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:NOD:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Type of declaration</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M50 (Declaratietype / Declarat. Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-001 (KnownDT)</SW_PossibleValue>
<SW_Rule>
R-GENERAL-001 (code=namespace)
R-GENERAL-002 (PortSys)
R-GENERAL-003 (SameRepPar)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AdditionalDocument" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_Description>Details related to documents supplied as part of a declaration</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:AdditionalDocumentIdentificationIDType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IssueDateTime" type="ds:AdditionalDocumentIssueDateTimeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-GENERAL-005 (Date&lt;=Now)</SW_Rule>
<SW_Status>R</SW_Status>
<DateTimeFormatCode>102</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDD</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="issueLocationID" type="ds:AdditionalDocumentIssueLocationIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..5</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>N19 (UN Locode / UN Locode)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-006 (Locode)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IssueLocationName" type="ds:AdditionalDocumentIssueLocationNameTextType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..256</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:AdditionalDocumentTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Code specifying the type of a document</SW_Description>
<SW_CodeList>M40 (Documenttype / Document Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-032 (DocType)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BorderTransportMeans">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<Maritime_Description>Details of the vessel which visits a port</Maritime_Description>
<Maritime_ClassName>VesselCall</Maritime_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:BorderTransportMeansNameTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<Maritime_Description>Name of vessel</Maritime_Description>
<Maritime_AttributeName>NameOfShip</Maritime_AttributeName>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:BorderTransportMeansTypeCodeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..4</Format>
</xs:documentation>
<xs:documentation>
<Maritime_Description>Transport mode and/or type of vessel</Maritime_Description>
<Maritime_AttributeName>ModeOrTypeOfShip</Maritime_AttributeName>
<SW_CodeList>N20 (Transport means / Ship type)</SW_CodeList>
<SW_Condition>C-GENERAL-001 (Maritime=M)</SW_Condition>
<SW_PossibleValue>V-GENERAL-025 (ShipType)</SW_PossibleValue>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RegistrationNationalityCode" type="ds:BorderTransportMeansRegistrationNationalityCodeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>a2</Format>
</xs:documentation>
<xs:documentation>
<Maritime_Description>Flag state of the vessel. The authority under which a country exercises regulatory control over the commercial vessel which is registered under its flag</Maritime_Description>
<Maritime_AttributeName>FlagState</Maritime_AttributeName>
<SW_CodeList>M01 (ISO landcode / ISO Country)</SW_CodeList>
<SW_Condition>C-GENERAL-001 (Maritime=M)</SW_Condition>
<SW_PossibleValue>V-GENERAL-012 (CountryISO)</SW_PossibleValue>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GrossWeightMeasure" type="ds:BorderTransportMeansGrossWeightMeasureType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..14,3</Format>
</xs:documentation>
<xs:documentation>
<SW_Remark>Must be &gt;0</SW_Remark>
<SW_Condition>C-GENERAL-001 (Maritime=M)</SW_Condition>
<SW_Rule>R-NOA-004 (GT&gt;=NT)</SW_Rule>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NetWeightMeasure" type="ds:BorderTransportMeansNetWeightMeasureType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..14,3</Format>
</xs:documentation>
<xs:documentation>
<SW_Remark>Must be &gt;0</SW_Remark>
<SW_Condition>C-GENERAL-001 (Maritime=M)</SW_Condition>
<SW_Rule>R-NOA-004 (GT&gt;=NT)</SW_Rule>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CargoDescription" type="ds:BorderTransportMeansCargoDescriptionTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..256</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Literal description of the type of cargo being carried</SW_Description>
<SW_Remark>If there is no cargo onboard the text “Empty” needs to be filled</SW_Remark>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Itinerary" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_ClassName>PortOfCall</SW_ClassName>
<SW_Remark>The NOD declaration is used to report information about the current port of call and information about the future/next ports of call. The current port of call is the port of call as reported in the MAI declaration</SW_Remark>
<Maritime_Description>Details of the port of call which the vessel visits</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ItineraryIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Identification of a port of call</SW_Description>
<SW_AttributeName>CodeOfPort</SW_AttributeName>
<SW_CodeList>
N19 (UN Locode / UN Locode)
M19 (SW Spec. Locode / SW Spec. Locode)
</SW_CodeList>
<SW_PossibleValue>V-GENERAL-014 (Locode+)</SW_PossibleValue>
<SW_Rule>R-GENERAL-015 (PortInMAI)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SequenceNumeric" type="ds:ItinerarySequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>
R-GENERAL-004 (SeqUnique)
R-GENERAL-020 (CurrPort=M)
R-NOD-002 (NextPort=M)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ArrivalDateTime" type="ds:ItineraryArrivalDateTimeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>ArrivalDateTime</SW_AttributeName>
<Maritime_Description>Date and time when the vessel arrives in the port of call</Maritime_Description>
<SW_Condition>C-NOD-002 (ETANxtPort=M)</SW_Condition>
<SW_Rule>
R-GENERAL-016 (ETA&lt;ETD)
R-NOD-003 (ETDCurr&lt;ETANext)
</SW_Rule>
<SW_Status>D</SW_Status>
<DateTimeFormatCode>304</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDDHHMMSSZZZ</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DepartureDateTime" type="ds:ItineraryDepartureDateTimeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>DepartureDateTime</SW_AttributeName>
<Maritime_Description>Date and time when the vessels departs from the port of call</Maritime_Description>
<SW_Condition>C-NOD-001 (ETD=M)</SW_Condition>
<SW_Rule>
R-GENERAL-016 (ETA&lt;ETD)
R-NOD-003 (ETDCurr&lt;ETANext)
</SW_Rule>
<SW_Status>D</SW_Status>
<DateTimeFormatCode>304</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDDHHMMSSZZZ</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DepartureConveyanceFacility" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<Maritime_Description>Details about the location in port which the vessel visits</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:DepartureConveyanceFacilityIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_ClassName>LocationInPort</SW_ClassName>
<SW_AttributeName>Identification</SW_AttributeName>
<Maritime_Description>Identification of a location in port which the vessel visits</Maritime_Description>
<SW_CodeList>N24 (LocationCode NL / Locat. in Port)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-024 (LocationCode)</SW_PossibleValue>
<SW_Rule>R-NOD-004 (LocInCurrPort)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AnchorageIndicator" type="ds:DepartureConveyanceFacilityAnchorageIndicatorType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n1</Format>
</xs:documentation>
<xs:documentation>
<SW_ClassName>LocationInPort</SW_ClassName>
<Maritime_Description>Indication whether the location in port is an anchorage location or not</Maritime_Description>
<SW_CodeList>N10 (Indicator / Indicator)</SW_CodeList>
<SW_Condition>C-GENERAL-001 (Maritime=M)</SW_Condition>
<SW_PossibleValue>V-GENERAL-013 (YesNo)</SW_PossibleValue>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DepartureDateTime" type="ds:DepartureConveyanceFacilityDepartureDateTimeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_ClassName>LocationInPort</SW_ClassName>
<SW_AttributeName>DepartureDateTime</SW_AttributeName>
<Maritime_Description>Date and time when the vessel departs from the location in port</Maritime_Description>
<SW_Status>O</SW_Status>
<DateTimeFormatCode>304</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDDHHMMSSZZZ</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Master" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<Maritime_Description>Master of the vessel</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:MasterNameTextType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..70</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Name of the master</SW_Description>
<SW_AttributeName>Name</SW_AttributeName>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Communication" minOccurs="0" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CommunicationIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..50</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>
R-GENERAL-010 (MMSI)
R-GENERAL-011 (CSI)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:CommunicationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>M57 (Communic.type / Communic. Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-018 (CommType)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TotalPersons" minOccurs="0" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Rule>R-GENERAL-012 (Crew=M)</SW_Rule>
<SW_Status>D</SW_Status>
<Maritime_Description>The total number of persons on board the vessel per type</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="TypeCode" type="ds:TotalPersonsTypeCodeType">
<xs:annotation>
<xs:documentation>
<Format>an..3</Format>
<SW_Description>The type of person</SW_Description>
<SW_CodeList>M30 (Persoonstype / Person Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-015 (Type)</SW_PossibleValue>
<SW_Rule>R-GENERAL-014 (TypeUniq)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="QuantityQuantity" type="ds:TotalPersonsQuantityQuantityType">
<xs:annotation>
<xs:documentation>
<Format>n..4</Format>
<SW_Description>Total number of persons of specified Type</SW_Description>
<SW_Remark>Must be &gt;0</SW_Remark>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Carrier" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Condition>C-GENERAL-002 (Carrier=M)</SW_Condition>
<SW_Status>D</SW_Status>
<SW_Description>Details of carrier</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CarrierIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>To identify a party</SW_Description>
<SW_PossibleValue>V-GENERAL-028 (EORI&amp;TCUIN)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,327 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:PAX_01="B2SW:PAX:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:PAX:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Type of declaration</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M50 (Declaratietype / Declarat. Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-001 (KnownDT)</SW_PossibleValue>
<SW_Rule>
R-GENERAL-001 (code=namespace)
R-GENERAL-003 (SameRepPar)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BorderTransportMeans" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<Maritime_Description>Details of the vessel which visits a port</Maritime_Description>
<Maritime_ClassName>VesselCall</Maritime_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="PortActivityDateTime" type="ds:BorderTransportMeansPortActivityDateTimeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Intended date of arrival of the vessel in the port which is visited</SW_Description>
<SW_AttributeName>ScheduledDateOfArrival</SW_AttributeName>
<SW_Remark>This is the scheduled date of arrival in the port which is visited. The scheduled date of arrival is used to relate declaration PAX to the NOA (via the Visit_Key). The scheduled date of arrival needs to be communicated within the business community. For maritime transport more details are in chapter 6 of Section 1: “Maritime specific”</SW_Remark>
<SW_Condition>C-PAX-007 (Date=M)</SW_Condition>
<SW_Rule>R-MAI-001 (Unchangeable)</SW_Rule>
<SW_Status>D</SW_Status>
<DateTimeFormatCode>102</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDD</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PersonOnBoard" maxOccurs="99999">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<Maritime_Description>Details related to the person on board of a vessel</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:PersonOnBoardSequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Remark>Must be &gt;=1</SW_Remark>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FamilyName" type="ds:PersonOnBoardFamilyNameTextType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..70</Format>
</xs:documentation>
<xs:documentation>
<SW_Remark>
- This needs to contain the family name as mentioned on the reported travel document
- For stowaways this might be unknown
</SW_Remark>
<SW_Condition>C-PAX-001 (FamNm=M)</SW_Condition>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GivenName" type="ds:PersonOnBoardGivenNameTextType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..70</Format>
</xs:documentation>
<xs:documentation>
<SW_Remark>
- This needs to contain the given names as mentioned on the reported travel document
- For stowaways this might be unknown
</SW_Remark>
<SW_Condition>C-PAX-002 (GivNm=M)</SW_Condition>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Designation" type="ds:PersonOnBoardDesignationTextType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..70</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>RankOrRating</SW_AttributeName>
<SW_Remark>Only relevant for crew</SW_Remark>
<SW_CodeList>M36 (RankRating code / RankRating Code)</SW_CodeList>
<SW_Condition>C-PAX-005 (RorR=M)</SW_Condition>
<SW_PossibleValue>V-PAX-004 (RankRating)</SW_PossibleValue>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NationalityCode" type="ds:PersonOnBoardNationalityCodeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Remark>
In case a person is stateless a special code “AX” must be used.
For stowaways this might be unknown
</SW_Remark>
<SW_CodeList>
M01 (ISO landcode / ISO Country)
M02 (bijz.national. / Add.Nationality)
</SW_CodeList>
<SW_Condition>C-PAX-003 (Nat=M)</SW_Condition>
<SW_PossibleValue>V-GENERAL-027 (Nationality)</SW_PossibleValue>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BirthDateTime" type="ds:PersonOnBoardBirthDateTimeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Remark>For stowaways this might be unknown</SW_Remark>
<SW_Condition>C-PAX-004 (DateOfB=M)</SW_Condition>
<SW_Status>D</SW_Status>
<DateTimeFormatCode>102</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDD</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BirthPlace" type="ds:PersonOnBoardBirthPlaceTextType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GenderCode" type="ds:PersonOnBoardGenderCodeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>M31 (Geslachtscode / Gender Code)</SW_CodeList>
<SW_PossibleValue>V-PAX-001 (Gender)</SW_PossibleValue>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StatusCode" type="ds:PersonOnBoardStatusCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>The type of a person on board</SW_Description>
<SW_AttributeName>TypeOfPerson</SW_AttributeName>
<SW_CodeList>M30 (Persoonstype / Person Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-015 (Type)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TransitCode" type="ds:PersonOnBoardTransitCodeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n1</Format>
</xs:documentation>
<xs:documentation>
<SW_ClassName>Person</SW_ClassName>
<SW_CodeList>M33 (Transit code / Transit Code)</SW_CodeList>
<SW_Condition>C-PAX-006 (Transit=M)</SW_Condition>
<SW_PossibleValue>V-PAX-003 (TransitCode)</SW_PossibleValue>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TravelDocument" minOccurs="0" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Status>D</SW_Status>
<SW_Remark>For stowaways this might be unknown. Visa and residence permit are additional documents compared to official travel document for identification</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ExpirationDateTime" type="ds:TravelDocumentExpirationDateTimeType" minOccurs="0">
<xs:annotation>
<xs:documentation>
<Format>an..35</Format>
<SW_Status>O</SW_Status>
<DateTimeFormatCode>102</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDD</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ID" type="ds:TravelDocumentIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IssueLocationName" type="ds:TravelDocumentIssueLocationNameTextType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..256</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>M01 (ISO landcode / ISO Country)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-012 (CountryISO)</SW_PossibleValue>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:TravelDocumentTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>M32 (Reisdoc.type / Travel Doc.Type)</SW_CodeList>
<SW_PossibleValue>V-PAX-002 (DocType)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DisembarkationPlace" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<Maritime_ClassName>PortOfDisembarkation</Maritime_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:DisembarkationPlaceIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>CodeOfPort</SW_AttributeName>
<SW_CodeList>N19 (UN Locode / UN Locode)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-006 (Locode)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EmbarkationPlace" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<Maritime_ClassName>PortOfEmbarkation</Maritime_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:EmbarkationPlaceIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>CodeOfPort</SW_AttributeName>
<SW_CodeList>N19 (UN Locode / UN Locode)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-006 (Locode)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,101 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:PRN_01="B2SW:PRN:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:PRN:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Type of declaration</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M50 (Declaratietype / Declarat. Type)</SW_CodeList>
<SW_Rule>R-GENERAL-001 (code=namespace)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EntryOffice">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:EntryOfficeIdentificationCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>S20 (UN/Locode kant. / Customs office)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-033 (NLOfficeCode)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PreviousDocument" maxOccurs="50000">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Description>Overview of (NL) MRNs for the goods to be unloaded</SW_Description>
<SW_ClassName>Movement reference</SW_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:PreviousDocumentIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-CARGO-018 (MRNformat)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Description>Overview of Dutch Movement Reference Numbers (MRN's), for goods to be unloaded in the Netherlands.</SW_Description>
<SW_AttributeName>Movement reference number</SW_AttributeName>
<SW_Remark>
If the Port of arrival is equal to the First port of entry, then the declarant can declare the goods to be unloaded by naming the MRNs of these goods in this declaration.
A seperate declaration "SDT"can not be issued for an excisting MRN
</SW_Remark>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:PreviousDocumentTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Type of previous message</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M40 (Documenttype / Document Type)</SW_CodeList>
<SW_PossibleValue>V-PRN-001 (MRN)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,413 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:PRO_01="B2SW:PRO:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:PRO:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-GENERAL-001 (code=namespace)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Description>Type of declaration</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M50 (Declaratietype / Declarat. Type)</SW_CodeList>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BorderTransportMeans">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<Maritime_Description>Details of the vessel which visits a port</Maritime_Description>
<Maritime_ClassName>VesselCall</Maritime_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:BorderTransportMeansNameTextType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<Maritime_AttributeName>Name of vessel</Maritime_AttributeName>
<SW_Condition>C-PRO-001 (IdMoT=M)</SW_Condition>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StayID" type="ds:BorderTransportMeansStayIDType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>Visit_ID</SW_AttributeName>
<SW_Remark>The Stay reference must start with a 5 character unique UN location code for the (air) port authority. The Stay reference must be unique throughout Europe per mode of transport</SW_Remark>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PortActivityDateTime" type="ds:BorderTransportMeansPortActivityDateTimeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>Provisioning Date and Time</SW_AttributeName>
<Maritime_Description>Date and time that the provisioning of the ship will take place</Maritime_Description>
<SW_Status>R</SW_Status>
<DateTimeFormatCode>304</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDDHHMMSSZZZ</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DepartureConveyanceFacility">
<xs:annotation>
<xs:documentation>
<Maritime_ClassName>Position of the ship in port</Maritime_ClassName>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:DepartureConveyanceFacilityIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<Maritime_AttributeName>Position of the ship in port, coded</Maritime_AttributeName>
<SW_CodeList>N24 (LocationCode NL / Locat. in Port)</SW_CodeList>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsShipment" maxOccurs="999">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:GoodsShipmentSequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Remark>Must be &gt;=1</SW_Remark>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AdditionalDocument">
<xs:annotation>
<xs:documentation>
<SW_ClassName>Customs document</SW_ClassName>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:AdditionalDocumentIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>Customs document number</SW_AttributeName>
<SW_PossibleValue>V-PRO-002 (MRN)</SW_PossibleValue>
<SW_Rule>R-PRO-001 (MRNUnique)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:AdditionalDocumentTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>Customs document type, coded</SW_AttributeName>
<SW_CodeList>A28 (Document-srt / Document Type)</SW_CodeList>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GovernmentAgencyGoodsItem" maxOccurs="999">
<xs:annotation>
<xs:documentation>
<SW_ClassName>Goods item</SW_ClassName>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:GovernmentAgencyGoodsItemSequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_AttributeName>Goods item number</SW_AttributeName>
<SW_Remark>Must be &gt;=1</SW_Remark>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Commodity">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Classification">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ClassificationIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..18</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>N88 (Proviandcode / Store Type)</SW_CodeList>
<SW_PossibleValue>V-PRO-003 (Unit)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IdentificationTypeCode" type="ds:ClassificationIdentificationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>M11 (Goeder.classif. / Goods Classif.)</SW_CodeList>
<SW_PossibleValue>V-PRO-001 (ClassType)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsMeasure">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="TariffQuantity" type="ds:GoodsMeasureTariffQuantityType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..16,6</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Quantity of the goods</SW_Description>
<SW_AttributeName>Quantity</SW_AttributeName>
<SW_Status>R</SW_Status>
<UnitCodeName>Measure Unit. Code</UnitCodeName>
<UnitCodeList>T08 (Maatstafcode / Unit Code)</UnitCodeList>
<UnitCodePossibleValue>
V-PRO-004 (UnitCode)
V-PRO-005 (Unit)
</UnitCodePossibleValue>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ShipChandler" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Description>The name and address of the party who supplies goods and/or services</SW_Description>
<SW_Condition>C-PRO-003 (ShipChandler=M)</SW_Condition>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:ShipChandlerNameTextType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..70</Format>
</xs:documentation>
<xs:documentation>
<SW_Condition>C-PRO-002 (ShipChandler)</SW_Condition>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ID" type="ds:ShipChandlerIdentificationIDType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Condition>C-PRO-002 (ShipChandler)</SW_Condition>
<SW_PossibleValue>V-GENERAL-007 (EORI)</SW_PossibleValue>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Address" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Condition>C-PRO-002 (ShipChandler)</SW_Condition>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="CityName" type="ds:AddressCityNameTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CountryCode" type="ds:AddressCountryCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>a2</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>S01 (Landentabel / Customs Country)</SW_CodeList>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Line" type="ds:AddressLineTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..70</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PostcodeID" type="ds:AddressPostcodeIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..9</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Contact" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:ContactNameTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..70</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Communication" minOccurs="0" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CommunicationIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..50</Format>
</xs:documentation>
<xs:documentation>
<SW_PossibleValue>V-GENERAL-008 (CharTE&amp;FX)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:CommunicationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_PossibleValue>V-GENERAL-003 (CommType)</SW_PossibleValue>
<SW_Status>R</SW_Status>
<SW_CodeList>M57 (Communic.type / Communic. Type)</SW_CodeList>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,638 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:SEC_01="B2SW:SEC:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:SEC:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Type of declaration</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M50 (Declaratietype / Declarat. Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-001 (KnownDT)</SW_PossibleValue>
<SW_Rule>
R-GENERAL-001 (code=namespace)
R-GENERAL-002 (PortSys)
R-GENERAL-003 (SameRepPar)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AdditionalDocument" minOccurs="0" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_Description>Details related to documents supplied as part of a declaration</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="CategoryCode" type="ds:AdditionalDocumentCategoryCodeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>M41 (Documentstatus / Document Status)</SW_CodeList>
<SW_PossibleValue>V-SEC-003 (Status=C)</SW_PossibleValue>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExpirationDateTime" type="ds:AdditionalDocumentExpirationDateTimeType" minOccurs="0">
<xs:annotation>
<xs:documentation>
<Format>an..35</Format>
<SW_Condition>C-SEC-003 (ExpiryDate=M)</SW_Condition>
<SW_Status>D</SW_Status>
<DateTimeFormatCode>102</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDD</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ID" type="ds:AdditionalDocumentIdentificationIDType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IssueDateTime" type="ds:AdditionalDocumentIssueDateTimeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>O</SW_Status>
<DateTimeFormatCode>102</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDD</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:AdditionalDocumentTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Code specifying the type of a document</SW_Description>
<SW_CodeList>M40 (Documenttype / Document Type)</SW_CodeList>
<SW_PossibleValue>V-SEC-002 (DocType)</SW_PossibleValue>
<SW_Rule>
R-SEC-001 (OneISSC)
R-SEC-002 (TypeUnique)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Authenticator" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Condition>C-SEC-002 (Issuer=M)</SW_Condition>
<SW_Status>D</SW_Status>
<SW_Description>Details relating to an issuing party of the document</SW_Description>
<SW_ClassName>IssuingParty</SW_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:AuthenticatorNameTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..70</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>Name</SW_AttributeName>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RoleCode" type="ds:AuthenticatorRoleCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>M56 (Partijrol code / Party Role Code)</SW_CodeList>
<SW_PossibleValue>V-SEC-006 (Role)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AdditionalInformation" minOccurs="0" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Rule>R-SEC-003 (Reason = M)</SW_Rule>
<SW_Status>O</SW_Status>
<SW_Description>Additional information which is reported as part of the declaration</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="StatementDescription" type="ds:AdditionalInformationStatementDescriptionTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..512</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StatementTypeCode" type="ds:AdditionalInformationStatementTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Code qualifying the type of additional information</SW_Description>
<SW_CodeList>M42 (Aanv.info.type / Add.Info.Type)</SW_CodeList>
<SW_PossibleValue>V-SEC-005 (AAI or BLT)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BorderTransportMeans" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<Maritime_Description>Details of the vessel which visits a port</Maritime_Description>
<Maritime_ClassName>VesselCall</Maritime_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SecurityLevelCode" type="ds:BorderTransportMeansSecurityLevelCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>M08 (Security Level / Security Level)</SW_CodeList>
<SW_PossibleValue>V-SEC-007 (SL)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ArrivalConveyanceFacility" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_ClassName>LocationInPort</SW_ClassName>
<Maritime_Description>Details about the location in port which the vessel visits</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ArrivalConveyanceFacilityIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>Identification</SW_AttributeName>
<Maritime_Description>Identification of a location in port which the vessel visits</Maritime_Description>
<SW_CodeList>M29 (GISIS Code / GISIS Code)</SW_CodeList>
<SW_PossibleValue>V-SEC-009 (GISIS)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Itinerary" minOccurs="0" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_ClassName>PortOfCall</SW_ClassName>
<Maritime_Description>Details of the port of call which the vessel visits</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ItineraryIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Identification of a port of call</SW_Description>
<SW_AttributeName>CodeOfPort</SW_AttributeName>
<SW_CodeList>N19 (UN Locode / UN Locode)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-006 (Locode)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SequenceNumeric" type="ds:ItinerarySequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_PossibleValue>V-GENERAL-004 (SeqNr&gt;=1)</SW_PossibleValue>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SecurityLevelCode" type="ds:ItinerarySecurityLevelCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Remark>Security level at the port facility</SW_Remark>
<SW_CodeList>M08 (Security Level / Security Level)</SW_CodeList>
<SW_PossibleValue>V-SEC-007 (SL)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AdditionalInformation" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_Description>Additional information which is reported as part of the declaration</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="StatementDescription" type="ds:AdditionalInformationStatementDescriptionTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..512</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StatementTypeCode" type="ds:AdditionalInformationStatementTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Code qualifying the type of additional information</SW_Description>
<SW_CodeList>M42 (Aanv.info.type / Add.Info.Typee)</SW_CodeList>
<SW_PossibleValue>V-SEC-008 (BLT)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ArrivalConveyanceFacility">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_ClassName>LocationInPort</SW_ClassName>
<Maritime_Description>Details about the location in port which the vessel visits</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ArrivalConveyanceFacilityIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>Identification</SW_AttributeName>
<Maritime_Description>Identification of a location in port which the vessel visits</Maritime_Description>
<SW_CodeList>M29 (GISIS Code / GISIS Code)</SW_CodeList>
<SW_PossibleValue>V-SEC-009 (GISIS)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ArrivalDateTime" type="ds:ArrivalConveyanceFacilityArrivalDateTimeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>ArrivalDateTime</SW_AttributeName>
<SW_Remark>Only date needs to be reported</SW_Remark>
<Maritime_Description>Date and time when the vessel arrives at the location in port</Maritime_Description>
<SW_Rule>R-GENERAL-005 (Date&lt;=Now)</SW_Rule>
<SW_Status>R</SW_Status>
<DateTimeFormatCode>102</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDD</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DepartureDateTime" type="ds:ArrivalConveyanceFacilityDepartureDateTimeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>DepartureDateTime</SW_AttributeName>
<SW_Remark>Only date needs to be reported</SW_Remark>
<Maritime_Description>Date and time when the vessel departs from the location in port</Maritime_Description>
<SW_Rule>R-GENERAL-005 (Date&lt;=Now)</SW_Rule>
<SW_Status>R</SW_Status>
<DateTimeFormatCode>102</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDD</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ShipToShipActivity" minOccurs="0" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ShipToShipActivitySequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Remark>Must be &gt;=1</SW_Remark>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Description" type="ds:ShipToShipActivityDescriptionTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..256</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>M09 (Shp2ShpActivit / Shp2ShpActivity)</SW_CodeList>
<SW_PossibleValue>V-SEC-001 (ActivCode)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StartDateTime" type="ds:ShipToShipActivityStartDateTimeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<Maritime_Description>The start date of a ship-to-ship activity period</Maritime_Description>
<SW_Rule>R-GENERAL-005 (Date&lt;=Now)</SW_Rule>
<SW_Status>R</SW_Status>
<DateTimeFormatCode>102</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDD</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EndDateTime" type="ds:ShipToShipActivityEndDateTimeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<Maritime_Description>The end date of a ship-to-ship activity period</Maritime_Description>
<SW_Rule>R-GENERAL-005 (Date&lt;=Now)</SW_Rule>
<SW_Status>R</SW_Status>
<DateTimeFormatCode>102</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDD</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AdditionalInformation" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_Description>Additional information which is reported as part of the declaration</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="StatementDescription" type="ds:AdditionalInformationStatementDescriptionTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..512</Format>
</xs:documentation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StatementTypeCode" type="ds:AdditionalInformationStatementTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Code qualifying the type of additional information</SW_Description>
<SW_CodeList>M42 (Aanv.info.type / Add.Info.Type)</SW_CodeList>
<SW_PossibleValue>V-SEC-004 (BLT)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ShipToShipActivityLocation">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<Maritime_Description>The location where a ship-to-ship activity takes place</Maritime_Description>
<Maritime_ClassName>ActivityLocation</Maritime_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:ShipToShipActivityLocationNameTextType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..256</Format>
</xs:documentation>
<xs:documentation>
<Maritime_Description>Name of location at which a ship to ship activity takes place</Maritime_Description>
<SW_Condition>C-SEC-001 (AnyLoc=M)</SW_Condition>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ID" type="ds:ShipToShipActivityLocationIdentificationIDType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<Maritime_Description>Identification of a port at which a ship-to-ship activity takes place</Maritime_Description>
<SW_CodeList>N19 (UN Locode / UN Locode)</SW_CodeList>
<SW_Condition>C-SEC-001 (AnyLoc=M)</SW_Condition>
<SW_PossibleValue>V-GENERAL-006 (Locode)</SW_PossibleValue>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LatitudeMeasure" type="ds:ShipToShipActivityLocationLatitudeMeasureType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..10</Format>
</xs:documentation>
<xs:documentation>
<SW_Condition>C-SEC-001 (AnyLoc=M)</SW_Condition>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LongitudeMeasure" type="ds:ShipToShipActivityLocationLongitudeMeasureType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..11</Format>
</xs:documentation>
<xs:documentation>
<SW_Condition>C-SEC-001 (AnyLoc=M)</SW_Condition>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportMeansOperator">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<Maritime_Description>The operator of a vessel</Maritime_Description>
<Maritime_ClassName>ShipOperatingCompany</Maritime_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:TransportMeansOperatorNameTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..70</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>Name</SW_AttributeName>
<Maritime_Description>Name of the ship operating company</Maritime_Description>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ID" type="ds:TransportMeansOperatorIdentificationIDType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>Identification</SW_AttributeName>
<Maritime_Description>Identification of the ship operating company</Maritime_Description>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CompanySecurityOfficer">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Description>Details of the company security officer</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:CompanySecurityOfficerNameTextType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..70</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Name of the company security officer</SW_Description>
<SW_AttributeName>Name</SW_AttributeName>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Communication" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CommunicationIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..50</Format>
</xs:documentation>
<xs:documentation>
<SW_PossibleValue>V-GENERAL-008 (CharTE&amp;FX)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeCode" type="ds:CommunicationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>M57 (Communic.type / Communic. Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-003 (CommType)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,171 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:STO_01="B2SW:STO:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:STO:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Type of declaration</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M50 (Declaratietype / Declarat. Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-001 (KnownDT)</SW_PossibleValue>
<SW_Rule>
R-GENERAL-001 (code=namespace)
R-GENERAL-003 (SameRepPar)
R-STO-002 (STOBeforeATA)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DeclarationOfficeID" type="ds:DeclarationDeclarationOfficeIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>S20 (UN/Locode kant. / Customs office)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-033 (NLOfficeCode)</SW_PossibleValue>
<SW_Rule>R-GENERAL-008 (Unchangeable2)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BorderTransportMeans" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<Maritime_Description>Details of the vessel which visits a port</Maritime_Description>
<Maritime_ClassName>VesselCall</Maritime_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="StoresItem" maxOccurs="999">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:StoresItemSequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Remark>Must be &gt;=1</SW_Remark>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Commodity">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Classification">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Description>Details about classification of a commodity</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ClassificationIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..18</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>The value of a commodity within the classification</SW_Description>
<SW_Remark>For stores items the codes for stores are used</SW_Remark>
<SW_CodeList>N88 (Proviandcode / Store Type)</SW_CodeList>
<SW_PossibleValue>V-STO-001 (ClassValue)</SW_PossibleValue>
<SW_Rule>R-STO-001 (ValueUniq)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IdentificationTypeCode" type="ds:ClassificationIdentificationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>A qualifier to describe the commodity classification</SW_Description>
<SW_Remark>For stores the classification type for stores is used</SW_Remark>
<SW_CodeList>M11 (Goeder.classif. / Goods Classif.)</SW_CodeList>
<SW_PossibleValue>V-STO-002 (ClassType)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsMeasure">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Remark>For stores the goodsmeasure is used to report per stores item the quantity</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="TariffQuantity" type="ds:GoodsMeasureTariffQuantityType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..16,6</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Quantity of the goods</SW_Description>
<SW_AttributeName>Quantity</SW_AttributeName>
<SW_Remark>
- Quantity contains the quantity itself and the unit code
- Must be &gt;0
</SW_Remark>
<SW_Status>R</SW_Status>
<UnitCodeName>Quantity Unit. Code</UnitCodeName>
<UnitCodeList>T08 (Maatstafcode / Unit Code)</UnitCodeList>
<UnitCodePossibleValue>V-STO-003 (Unit)</UnitCodePossibleValue>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,304 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:WAS_01="B2SW:WAS:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:WAS:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Type of declaration</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M50 (Declaratietype / Declarat. Type)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-001 (KnownDT)</SW_PossibleValue>
<SW_Rule>
R-GENERAL-001 (code=namespace)
R-GENERAL-002 (PortSys)
R-GENERAL-003 (SameRepPar)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AdditionalInformation" minOccurs="0" maxOccurs="99">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_Description>Additional information which is reported as part of the declaration</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="StatementCode" type="ds:AdditionalInformationStatementCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_CodeList>M23 (Waste Info Type / Waste Info Type)</SW_CodeList>
<SW_PossibleValue>V-WAS-005 (ValueType))</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StatementTypeCode" type="ds:AdditionalInformationStatementTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Code qualifying the type of additional information</SW_Description>
<SW_CodeList>M42 (Aanv.info.type / Add.Info.Type)</SW_CodeList>
<SW_PossibleValue>V-WAS-004 (InfoType=BLU)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BorderTransportMeans" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<Maritime_Description>Details of the vessel which visits a port</Maritime_Description>
<Maritime_ClassName>VesselCall</Maritime_ClassName>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Itinerary" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
<SW_ClassName>PortOfCall</SW_ClassName>
<Maritime_Description>Details of the port of call which the vessel visits</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ItineraryIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Identification of a port of call</SW_Description>
<SW_AttributeName>CodeOfPort</SW_AttributeName>
<SW_CodeList>N19 (UN Locode / UN Locode)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-006 (Locode)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SequenceNumeric" type="ds:ItinerarySequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_PossibleValue>V-GENERAL-004 (SeqNr&gt;=1)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ArrivalDateTime" type="ds:ItineraryArrivalDateTimeType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..35</Format>
</xs:documentation>
<xs:documentation>
<SW_AttributeName>ArrivalDateTime</SW_AttributeName>
<SW_Remark>For the WAS, this is the date of arrival in the port where waste has been delivered</SW_Remark>
<SW_Rule>R-GENERAL-005 (Date&lt;=Now)</SW_Rule>
<SW_Status>O</SW_Status>
<DateTimeFormatCode>102</DateTimeFormatCode>
<DateTimeFormatCodeName>CCYYMMDD</DateTimeFormatCodeName>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="WasteItem" minOccurs="0" maxOccurs="999">
<xs:annotation>
<xs:documentation>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:WasteItemSequenceNumericType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..5</Format>
</xs:documentation>
<xs:documentation>
<SW_Rule>R-GENERAL-004 (SeqUnique)</SW_Rule>
<SW_Status>R</SW_Status>
<SW_Remark>Must be &gt;=1</SW_Remark>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Commodity">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Remark>For waste items the commodity contains information about the waste and cargo residuals</SW_Remark>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Description" type="ds:CommodityDescriptionTextType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..512</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Plain language description of the nature of goods</SW_Description>
<SW_AttributeName>TextualReference</SW_AttributeName>
<SW_Remark>Free text to define any other type of waste</SW_Remark>
<SW_Status>O</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Classification">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
<SW_Description>Details about classification of a commodity</SW_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ClassificationIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..18</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>The value of a commodity within the classification</SW_Description>
<SW_CodeList>M20 (Waste Type / Waste Type)</SW_CodeList>
<SW_PossibleValue>V-WAS-001 (WasteCode)</SW_PossibleValue>
<SW_Rule>R-WAS-003 (WasteCodeUniq)</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IdentificationTypeCode" type="ds:ClassificationIdentificationTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>A qualifier to describe the commodity classification</SW_Description>
<SW_Remark>For waste items the classification type for waste and cargo residuals is used</SW_Remark>
<SW_CodeList>M11 (Goeder.classif. / Goods Classif.)</SW_CodeList>
<SW_PossibleValue>V-WAS-002 (ClassType)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsMeasure" maxOccurs="999">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="TypeCode" type="ds:GoodsMeasureTypeCodeType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..3</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>Type of goods measure</SW_Description>
<SW_AttributeName>Type</SW_AttributeName>
<SW_CodeList>M22 (Waste Spec.Type / Waste Spec.Type)</SW_CodeList>
<SW_PossibleValue>V-WAS-003 (MeasureType)</SW_PossibleValue>
<SW_Rule>
R-WAS-001 (TypeUniq)
R-WAS-002 (ToBeDel=M)
</SW_Rule>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NetVolumeMeasure" type="ds:GoodsMeasureNetVolumeMeasureType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>n..16,6</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>The volume for the type of goods measure</SW_Description>
<SW_AttributeName>Volume</SW_AttributeName>
<SW_Remark>
- Needs to be reported in cubic meters (MTQ); no unit needs to be reported
- Must be &gt;0
</SW_Remark>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UnloadingLocation" minOccurs="0">
<xs:annotation>
<xs:documentation>
<SW_Condition>C-WAS-001 (PortDeliv=M)</SW_Condition>
<SW_Status>D</SW_Status>
<SW_ClassName>PortDeliveryRemainingWaste</SW_ClassName>
<SW_Remark>This is a next port at which remaining waste will be delivered for the waste item. The port of call might be part of the list of ports of call in the NOD, but this is not mandatory. Delivery port is mandatory if not all waste will be delivered in current port of call</SW_Remark>
<Maritime_Description>Place at which the goods are unloaded from the vessel</Maritime_Description>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:UnloadingLocationIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>To identify a port where goods are unloaded from the vessel</SW_Description>
<SW_AttributeName>CodeOfPort</SW_AttributeName>
<SW_CodeList>N19 (UN Locode / UN Locode)</SW_CodeList>
<SW_PossibleValue>V-GENERAL-006 (Locode)</SW_PossibleValue>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,206 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:MD_01="SW:MD:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="SW:MD:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="MetaData">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_Description>
Declaration: This class is used for meta data about the envelope which consists 2 declarations
Response: This class is used for meta data about the envelope which consists 2 responses
</SW_Description>
<SW_ClassName>InterchangeEnvelop</SW_ClassName>
<SW_Remark>For EDIFACT this is the interchange</SW_Remark>
<SW_Status>R</SW_Status>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="CommunicationMetaData">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ApplicationReferenceID" type="ds:CommunicationMetaDataApplicationReferenceIDType">
<xs:annotation>
<xs:documentation>
<Format>an..14</Format>
<SW_Description>ID of the envelop</SW_Description>
<SW_AttributeName>Envelop ID</SW_AttributeName>
<SW_Remark>In EDIFACT this is the ID for the interchange</SW_Remark>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PreparationDateTime" type="ds:CommunicationMetaDataPreparationDateTimeType">
<xs:annotation>
<xs:documentation>
<Format>an..35</Format>
<SW_AttributeName>Date/time of preparation</SW_AttributeName>
<SW_Status>R</SW_Status>
<DateTimeFormatCode>304</DateTimeFormatCode>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SyntaxIdentificationCode" type="ds:CommunicationMetaDataSyntaxIdentificationCodeType" minOccurs="0">
<xs:annotation>
<xs:documentation>
<Format>a4</Format>
<SW_Description>The code for the encoding character set which is used</SW_Description>
<SW_AttributeName>Syntax identifier</SW_AttributeName>
<SW_Remark>
- Only used for EDIFACT
- For SW always UNOC
</SW_Remark>
<SW_Condition>C-META-001 (EDI)</SW_Condition>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SyntaxVersionCode" type="ds:CommunicationMetaDataSyntaxVersionCodeType" minOccurs="0">
<xs:annotation>
<xs:documentation>
<Format>n1</Format>
<SW_AttributeName>Syntax version number</SW_AttributeName>
<SW_Remark>
- Only used for EDIFACT
- This is always "3" for EDIFACT
</SW_Remark>
<SW_Condition>C-META-001 (EDI)</SW_Condition>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Recipient">
<xs:annotation>
<xs:documentation>
<SW_Description>Recipient of the envelope</SW_Description>
<SW_Remark>
For a declaration this is the SW
For a declaration response this is the dispatching organisation of the related B2SW. For a process response this might be another organisation as well
</SW_Remark>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:RecipientIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>
For a declaration this is the identification of the SW
For a declaration response this is the identification of the dispatching organisation of the related B2SW. For a process response this might be another organisation as well
</SW_Description>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Sender">
<xs:annotation>
<xs:documentation>
<SW_Description>Sender of the envelope</SW_Description>
<SW_Remark>
For a declaration this is the dispatching organisation
For a declaration response this is the SW
</SW_Remark>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:SenderIdentificationIDType">
<xs:annotation>
<xs:documentation xml:lang="EN">
<Format>an..17</Format>
</xs:documentation>
<xs:documentation>
<SW_Description>
For a declaration this is the identification of the dispatching organisation which sends the B2SW
For a declaration response this is the identification of the SW
</SW_Description>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MetaData" minOccurs="2" maxOccurs="2">
<xs:annotation>
<xs:documentation>
<SW_Description>This class is used for meta about a declaration or response in the envelope</SW_Description>
<SW_ClassName>MessageEnvelop</SW_ClassName>
<SW_Remark>For EDIFACT this is the message</SW_Remark>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="AgencyAssignedCustomizationCode" type="ds:MetaDataAgencyAssignedCustomizationCodeType" minOccurs="0">
<xs:annotation>
<xs:documentation>
<Format>an..6</Format>
<SW_Description>
Declaration: code representing the applied MIG-version for the reported declaration
Response: code representing the applied MIG-version for the returned response
</SW_Description>
<SW_AttributeName>MIG version</SW_AttributeName>
<SW_Remark>
Declaration: This needs to be used for EDIFACT messages to report the applied MIG-version of the declaration. This version needs to be reported for the MAI as well as for the other declaration in the B2SW. The major and medior version need to be reported. The version information is used for conversion from EDIFACT to XML. In case the data is reported in XML messages the data is considered as information only. Example of code: ENS01B
Response: This can be used for return messages (SW2B and SW2B_C) to report the applied MIG-version of the response. The major and medior version needs to be returned in EDIFACT messages for the RES as well as for the other response in the SW2B or SW2B_C
</SW_Remark>
<SW_Condition>C-Meta-001 (EDI)</SW_Condition>
<SW_PossibleValue>
Declaration: code for valid declaration type; format &lt;type of declaration&gt;+&lt;major&amp;medior version of declaration&gt;; e.g. NOA02B
Response: code for valid response type; format &lt;type of response&gt;+&lt;major&amp;medior version of declaration&gt;; e.g. DEC03
</SW_PossibleValue>
<SW_Status>D</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CommunicationMetaData">
<xs:annotation>
<xs:documentation>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ApplicationReferenceID" type="ds:CommunicationMetaDataApplicationReferenceIDType">
<xs:annotation>
<xs:documentation>
<Format>an..14</Format>
<SW_Description>ID for the declaration or response</SW_Description>
<SW_AttributeName>Message ID</SW_AttributeName>
<SW_Remark>In EDIFACT this is the ID for the message</SW_Remark>
<SW_Status>R</SW_Status>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,94 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="urn:wco:datamodel:SW:B2SW:01"
xmlns:ARX_01="B2SW:ARX:01"
xmlns:ATA_01="B2SW:ATA:01"
xmlns:ATD_01="B2SW:ATD:01"
xmlns:CAI_01="B2SW:CAI:01"
xmlns:COA_01="B2SW:COA:01"
xmlns:DIV_01="B2SW:DIV:01"
xmlns:ds="B2SW:DS:01"
xmlns:ENS_01="B2SW:ENS:01"
xmlns:EXP_01="B2SW:EXP:01"
xmlns:EXS_01="B2SW:EXS:01"
xmlns:HZA_01="B2SW:HZA:01"
xmlns:HZD_01="B2SW:HZD:01"
xmlns:LCP_01="B2SW:LCP:01"
xmlns:MAI_01="B2SW:MAI:01"
xmlns:MFX_01="B2SW:MFX:01"
xmlns:NOA_01="B2SW:NOA:01"
xmlns:NOD_01="B2SW:NOD:01"
xmlns:PAX_01="B2SW:PAX:01"
xmlns:PRN_01="B2SW:PRN:01"
xmlns:PRO_01="B2SW:PRO:01"
xmlns:SDT_01="B2SW:SDT:01"
xmlns:SEC_01="B2SW:SEC:01"
xmlns:STO_01="B2SW:STO:01"
xmlns:WAS_01="B2SW:WAS:01"
xmlns:MD_01="SW:MD:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:wco:datamodel:SW:B2SW:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:ARX:01" schemaLocation="B2SW_01_B2SW_ARX_01.xsd"/>
<xs:import namespace="B2SW:ATA:01" schemaLocation="B2SW_01_B2SW_ATA_01.xsd"/>
<xs:import namespace="B2SW:ATD:01" schemaLocation="B2SW_01_B2SW_ATD_01.xsd"/>
<xs:import namespace="B2SW:CAI:01" schemaLocation="B2SW_01_B2SW_CAI_01.xsd"/>
<xs:import namespace="B2SW:COA:01" schemaLocation="B2SW_01_B2SW_COA_01.xsd"/>
<xs:import namespace="B2SW:DIV:01" schemaLocation="B2SW_01_B2SW_DIV_01.xsd"/>
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:import namespace="B2SW:ENS:01" schemaLocation="B2SW_01_B2SW_ENS_01.xsd"/>
<xs:import namespace="B2SW:EXP:01" schemaLocation="B2SW_01_B2SW_EXP_01.xsd"/>
<xs:import namespace="B2SW:EXS:01" schemaLocation="B2SW_01_B2SW_EXS_01.xsd"/>
<xs:import namespace="B2SW:HZA:01" schemaLocation="B2SW_01_B2SW_HZA_01.xsd"/>
<xs:import namespace="B2SW:HZD:01" schemaLocation="B2SW_01_B2SW_HZD_01.xsd"/>
<xs:import namespace="B2SW:LCP:01" schemaLocation="B2SW_01_B2SW_LCP_01.xsd"/>
<xs:import namespace="B2SW:MAI:01" schemaLocation="B2SW_01_B2SW_MAI_01.xsd"/>
<xs:import namespace="B2SW:MFX:01" schemaLocation="B2SW_01_B2SW_MFX_01.xsd"/>
<xs:import namespace="B2SW:NOA:01" schemaLocation="B2SW_01_B2SW_NOA_01.xsd"/>
<xs:import namespace="B2SW:NOD:01" schemaLocation="B2SW_01_B2SW_NOD_01.xsd"/>
<xs:import namespace="B2SW:PAX:01" schemaLocation="B2SW_01_B2SW_PAX_01.xsd"/>
<xs:import namespace="B2SW:PRN:01" schemaLocation="B2SW_01_B2SW_PRN_01.xsd"/>
<xs:import namespace="B2SW:PRO:01" schemaLocation="B2SW_01_B2SW_PRO_01.xsd"/>
<xs:import namespace="B2SW:SDT:01" schemaLocation="B2SW_01_B2SW_SDT_01.xsd"/>
<xs:import namespace="B2SW:SEC:01" schemaLocation="B2SW_01_B2SW_SEC_01.xsd"/>
<xs:import namespace="B2SW:STO:01" schemaLocation="B2SW_01_B2SW_STO_01.xsd"/>
<xs:import namespace="B2SW:WAS:01" schemaLocation="B2SW_01_B2SW_WAS_01.xsd"/>
<xs:import namespace="SW:MD:01" schemaLocation="B2SW_01_SW_MD_01.xsd"/>
<xs:element name="B2SW">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="MD_01:MetaData"/>
<xs:element ref="MAI_01:Declaration"/>
<xs:choice>
<xs:element ref="ARX_01:Declaration" minOccurs="0"/>
<xs:element ref="ATA_01:Declaration" minOccurs="0"/>
<xs:element ref="ATD_01:Declaration" minOccurs="0"/>
<xs:element ref="CAI_01:Declaration" minOccurs="0"/>
<xs:element ref="COA_01:Declaration" minOccurs="0"/>
<xs:element ref="DIV_01:Declaration" minOccurs="0"/>
<xs:element ref="ENS_01:Declaration" minOccurs="0"/>
<xs:element ref="EXP_01:Declaration" minOccurs="0"/>
<xs:element ref="EXS_01:Declaration" minOccurs="0"/>
<xs:element ref="HZA_01:Declaration" minOccurs="0"/>
<xs:element ref="HZD_01:Declaration" minOccurs="0"/>
<xs:element ref="LCP_01:Declaration" minOccurs="0"/>
<xs:element ref="MFX_01:Declaration" minOccurs="0"/>
<xs:element ref="NOA_01:Declaration" minOccurs="0"/>
<xs:element ref="NOD_01:Declaration" minOccurs="0"/>
<xs:element ref="PAX_01:Declaration" minOccurs="0"/>
<xs:element ref="PRN_01:Declaration" minOccurs="0"/>
<xs:element ref="PRO_01:Declaration" minOccurs="0"/>
<xs:element ref="SDT_01:Declaration" minOccurs="0"/>
<xs:element ref="SEC_01:Declaration" minOccurs="0"/>
<xs:element ref="STO_01:Declaration" minOccurs="0"/>
<xs:element ref="WAS_01:Declaration" minOccurs="0"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:ARX_01="B2SW:ARX:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:ARX:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ID" type="ds:DeclarationIdentificationIDType"/>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
<xs:element name="ExitOffice">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ExitOfficeIdentificationCodeType"/>
<xs:element name="Warehouse">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:WarehouseNameTextType"/>
<xs:element name="ID" type="ds:WarehouseIdentificationIDType"/>
<xs:element name="ArrivalDateTime" type="ds:WarehouseArrivalDateTimeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:ATA_01="B2SW:ATA:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:ATA:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
<xs:element name="BorderTransportMeans">
<xs:complexType>
<xs:sequence>
<xs:element name="Itinerary">
<xs:complexType>
<xs:sequence>
<xs:element name="ArrivalConveyanceFacility">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ArrivalConveyanceFacilityIdentificationIDType"/>
<xs:element name="AnchorageIndicator" type="ds:ArrivalConveyanceFacilityAnchorageIndicatorType" minOccurs="0"/>
<xs:element name="ArrivalDateTime" type="ds:ArrivalConveyanceFacilityArrivalDateTimeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:ATD_01="B2SW:ATD:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:ATD:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
<xs:element name="BorderTransportMeans">
<xs:complexType>
<xs:sequence>
<xs:element name="Itinerary">
<xs:complexType>
<xs:sequence>
<xs:element name="DepartureConveyanceFacility">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:DepartureConveyanceFacilityIdentificationIDType"/>
<xs:element name="AnchorageIndicator" type="ds:DepartureConveyanceFacilityAnchorageIndicatorType" minOccurs="0"/>
<xs:element name="DepartureDateTime" type="ds:DepartureConveyanceFacilityDepartureDateTimeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:CAI_01="B2SW:CAI:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:CAI:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FunctionalReferenceID" type="ds:DeclarationFunctionalReferenceIDType"/>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
<xs:element name="Consignment">
<xs:complexType>
<xs:sequence>
<xs:element name="AdditionalInformation" minOccurs="0" maxOccurs="9">
<xs:complexType>
<xs:sequence>
<xs:element name="StatementCode" type="ds:AdditionalInformationStatementCodeType"/>
<xs:element name="StatementTypeCode" type="ds:AdditionalInformationStatementTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Consignee" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ConsigneeIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportContractDocument">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:TransportContractDocumentIdentificationIDType"/>
<xs:element name="TypeCode" type="ds:TransportContractDocumentTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:COA_01="B2SW:COA:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:COA:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:DIV_01="B2SW:DIV:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:DIV:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FunctionalReferenceID" type="ds:DeclarationFunctionalReferenceIDType"/>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
<xs:element name="BorderTransportMeans">
<xs:complexType>
<xs:sequence>
<xs:element name="ArrivalDateTime" type="ds:BorderTransportMeansArrivalDateTimeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Carrier" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CarrierIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EntryOffice" minOccurs="2" maxOccurs="2">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:EntryOfficeIdentificationCodeType"/>
<xs:element name="SequenceNumeric" type="ds:EntryOfficeSequenceNumericType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,294 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:ENS_01="B2SW:ENS:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:ENS:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FunctionalReferenceID" type="ds:DeclarationFunctionalReferenceIDType"/>
<xs:element name="ID" type="ds:DeclarationIdentificationIDType" minOccurs="0"/>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
<xs:element name="AdditionalInformation" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="StatementCode" type="ds:AdditionalInformationStatementCodeType"/>
<xs:element name="StatementTypeCode" type="ds:AdditionalInformationStatementTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BorderTransportMeans" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ArrivalDateTime" type="ds:BorderTransportMeansArrivalDateTimeType"/>
<xs:element name="Itinerary" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ItinerarySequenceNumericType"/>
<xs:element name="RoutingCountryCode" type="ds:ItineraryRoutingCountryCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="99999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:TransportEquipmentSequenceNumericType"/>
<xs:element name="CharacteristicCode" type="ds:TransportEquipmentCharacteristicCodeType" minOccurs="0"/>
<xs:element name="FullnessCode" type="ds:TransportEquipmentFullnessCodeType"/>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Carrier" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CarrierIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Consignment" minOccurs="0" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="GoodsStatusCode" type="ds:ConsignmentGoodsStatusCodeType" minOccurs="0"/>
<xs:element name="SequenceNumeric" type="ds:ConsignmentSequenceNumericType"/>
<xs:element name="TransportSplitCode" type="ds:ConsignmentTransportSplitCodeType"/>
<xs:element name="AdditionalInformation" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="StatementCode" type="ds:AdditionalInformationStatementCodeType"/>
<xs:element name="StatementTypeCode" type="ds:AdditionalInformationStatementTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AssociatedTransportDocument" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:AssociatedTransportDocumentIdentificationIDType"/>
<xs:element name="TypeCode" type="ds:AssociatedTransportDocumentTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Consignee" minOccurs="0" maxOccurs="9">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:ConsigneeNameTextType" minOccurs="0"/>
<xs:element name="ID" type="ds:ConsigneeIdentificationIDType" minOccurs="0"/>
<xs:element name="RoleCode" type="ds:ConsigneeRoleCodeType"/>
<xs:element name="Address" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="CityName" type="ds:AddressCityNameTextType"/>
<xs:element name="CountryCode" type="ds:AddressCountryCodeType"/>
<xs:element name="Line" type="ds:AddressLineTextType"/>
<xs:element name="PostcodeID" type="ds:AddressPostcodeIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ConsignmentItem" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ConsignmentItemSequenceNumericType"/>
<xs:element name="AdditionalDocument" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:AdditionalDocumentIdentificationIDType"/>
<xs:element name="TypeCode" type="ds:AdditionalDocumentTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Commodity">
<xs:complexType>
<xs:sequence>
<xs:element name="CargoDescription" type="ds:CommodityCargoDescriptionTextType" minOccurs="0"/>
<xs:element name="Classification" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ClassificationIdentificationIDType"/>
<xs:element name="IdentificationTypeCode" type="ds:ClassificationIdentificationTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsMeasure" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="GrossMassMeasure" type="ds:GoodsMeasureGrossMassMeasureType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Handling" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Instructions" type="ds:HandlingInstructionsTextType" minOccurs="0"/>
<xs:element name="InstructionsCodeCode" type="ds:HandlingInstructionsCodeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Packaging" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="MarksNumbersID" type="ds:PackagingMarksNumbersIDType" minOccurs="0"/>
<xs:element name="QuantityQuantity" type="ds:PackagingQuantityQuantityType" minOccurs="0"/>
<xs:element name="TypeCode" type="ds:PackagingTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:TransportEquipmentSequenceNumericType"/>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType"/>
<xs:element name="Packaging" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="QuantityQuantity" type="ds:PackagingQuantityQuantityType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Consignor" maxOccurs="9">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:ConsignorNameTextType" minOccurs="0"/>
<xs:element name="ID" type="ds:ConsignorIdentificationIDType" minOccurs="0"/>
<xs:element name="RoleCode" type="ds:ConsignorRoleCodeType"/>
<xs:element name="Address" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="CityName" type="ds:AddressCityNameTextType"/>
<xs:element name="CountryCode" type="ds:AddressCountryCodeType"/>
<xs:element name="Line" type="ds:AddressLineTextType"/>
<xs:element name="PostcodeID" type="ds:AddressPostcodeIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Freight" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="PaymentMethodCode" type="ds:FreightPaymentMethodCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsConsignedPlace" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:GoodsConsignedPlaceIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsReceiptPlace">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:GoodsReceiptPlaceIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="LoadingLocation">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:LoadingLocationIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="NotifyParty" minOccurs="0" maxOccurs="9">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:NotifyPartyNameTextType" minOccurs="0"/>
<xs:element name="ID" type="ds:NotifyPartyIdentificationIDType" minOccurs="0"/>
<xs:element name="RoleCode" type="ds:NotifyPartyRoleCodeType"/>
<xs:element name="Address" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="CityName" type="ds:AddressCityNameTextType"/>
<xs:element name="CountryCode" type="ds:AddressCountryCodeType"/>
<xs:element name="Line" type="ds:AddressLineTextType"/>
<xs:element name="PostcodeID" type="ds:AddressPostcodeIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportContractDocument">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:TransportContractDocumentIdentificationIDType"/>
<xs:element name="TypeCode" type="ds:TransportContractDocumentTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:TransportEquipmentSequenceNumericType"/>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType"/>
<xs:element name="Seal" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:SealIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UnloadingLocation" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:UnloadingLocationIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UnloadingParty" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:UnloadingPartyIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UCR" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="TraderAssignedReferenceID" type="ds:UCRTraderAssignedReferenceIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EntryOffice" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:EntryOfficeIdentificationCodeType"/>
<xs:element name="SequenceNumeric" type="ds:EntryOfficeSequenceNumericType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:EXP_01="B2SW:EXP:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:EXP:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
<xs:element name="BorderTransportMeans" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Characteristic" minOccurs="0" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="TypeCode" type="ds:CharacteristicTypeCodeType"/>
<xs:element name="ValueCode" type="ds:CharacteristicValueCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,199 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:EXS_01="B2SW:EXS:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:EXS:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FunctionalReferenceID" type="ds:DeclarationFunctionalReferenceIDType"/>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
<xs:element name="TotalGrossMassMeasure" type="ds:DeclarationTotalGrossMassMeasureType"/>
<xs:element name="AdditionalInformation" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="StatementCode" type="ds:AdditionalInformationStatementCodeType"/>
<xs:element name="StatementTypeCode" type="ds:AdditionalInformationStatementTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BorderTransportMeans" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Itinerary" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ItinerarySequenceNumericType"/>
<xs:element name="RoutingCountryCode" type="ds:ItineraryRoutingCountryCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="9999">
<xs:complexType>
<xs:sequence>
<xs:element name="FullnessCode" type="ds:TransportEquipmentFullnessCodeType"/>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Carrier" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CarrierIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Consignment">
<xs:complexType>
<xs:sequence>
<xs:element name="Consignee">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:ConsigneeNameTextType" minOccurs="0"/>
<xs:element name="ID" type="ds:ConsigneeIdentificationIDType" minOccurs="0"/>
<xs:element name="RoleCode" type="ds:ConsigneeRoleCodeType"/>
<xs:element name="Address" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="CityName" type="ds:AddressCityNameTextType"/>
<xs:element name="CountryCode" type="ds:AddressCountryCodeType"/>
<xs:element name="Line" type="ds:AddressLineTextType"/>
<xs:element name="PostcodeID" type="ds:AddressPostcodeIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ConsignmentItem" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ConsignmentItemSequenceNumericType"/>
<xs:element name="Commodity">
<xs:complexType>
<xs:sequence>
<xs:element name="CargoDescription" type="ds:CommodityCargoDescriptionTextType" minOccurs="0"/>
<xs:element name="Classification" minOccurs="0" maxOccurs="2">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ClassificationIdentificationIDType"/>
<xs:element name="IdentificationTypeCode" type="ds:ClassificationIdentificationTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsMeasure" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="GrossMassMeasure" type="ds:GoodsMeasureGrossMassMeasureType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Packaging" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="MarksNumbersID" type="ds:PackagingMarksNumbersIDType" minOccurs="0"/>
<xs:element name="QuantityQuantity" type="ds:PackagingQuantityQuantityType" minOccurs="0"/>
<xs:element name="TypeCode" type="ds:PackagingTypeCodeType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Consignor">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:ConsignorNameTextType" minOccurs="0"/>
<xs:element name="ID" type="ds:ConsignorIdentificationIDType" minOccurs="0"/>
<xs:element name="RoleCode" type="ds:ConsignorRoleCodeType"/>
<xs:element name="Address" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="CityName" type="ds:AddressCityNameTextType"/>
<xs:element name="CountryCode" type="ds:AddressCountryCodeType"/>
<xs:element name="Line" type="ds:AddressLineTextType"/>
<xs:element name="PostcodeID" type="ds:AddressPostcodeIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Freight" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="PaymentMethodCode" type="ds:FreightPaymentMethodCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportContractDocument">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:TransportContractDocumentIdentificationIDType"/>
<xs:element name="TypeCode" type="ds:TransportContractDocumentTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType"/>
<xs:element name="Seal" minOccurs="0" maxOccurs="9">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:SealIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UCR" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:UCRIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ExitOffice">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ExitOfficeIdentificationCodeType"/>
<xs:element name="Warehouse" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:WarehouseIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,210 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:HZA_01="B2SW:HZA:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:HZA:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
<xs:element name="AdditionalInformation" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="StatementDescription" type="ds:AdditionalInformationStatementDescriptionTextType"/>
<xs:element name="StatementTypeCode" type="ds:AdditionalInformationStatementTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BorderTransportMeans" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="INFShipClassCode" type="ds:BorderTransportMeansINFShipClassCodeType" minOccurs="0"/>
<xs:element name="DPGListIndicator" type="ds:BorderTransportMeansDPGListIndicatorType"/>
<xs:element name="Bunker" minOccurs="0" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:BunkerSequenceNumericType"/>
<xs:element name="Commodity">
<xs:complexType>
<xs:sequence>
<xs:element name="CargoDescription" type="ds:CommodityCargoDescriptionTextType"/>
<xs:element name="Classification" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ClassificationIdentificationIDType"/>
<xs:element name="IdentificationTypeCode" type="ds:ClassificationIdentificationTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Temperature" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="FlashpointMeasure" type="ds:TemperatureFlashpointMeasureType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsMeasure" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="NetNetWeightMeasure" type="ds:GoodsMeasureNetNetWeightMeasureType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsLocation">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:GoodsLocationNameTextType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="99999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:TransportEquipmentSequenceNumericType"/>
<xs:element name="CharacteristicCode" type="ds:TransportEquipmentCharacteristicCodeType" minOccurs="0"/>
<xs:element name="FullnessCode" type="ds:TransportEquipmentFullnessCodeType"/>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType"/>
<xs:element name="StowPosition">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:StowPositionIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Consignment" minOccurs="0" maxOccurs="99999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ConsignmentSequenceNumericType"/>
<xs:element name="ConsignmentItem" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ConsignmentItemSequenceNumericType"/>
<xs:element name="Commodity">
<xs:complexType>
<xs:sequence>
<xs:element name="CargoDescription" type="ds:CommodityCargoDescriptionTextType"/>
<xs:element name="Classification" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ClassificationIdentificationIDType"/>
<xs:element name="IdentificationTypeCode" type="ds:ClassificationIdentificationTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Temperature" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="FlashpointMeasure" type="ds:TemperatureFlashpointMeasureType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsLocation" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:GoodsLocationNameTextType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsMeasure">
<xs:complexType>
<xs:sequence>
<xs:element name="GrossMassMeasure" type="ds:GoodsMeasureGrossMassMeasureType"/>
<xs:element name="NetNetWeightMeasure" type="ds:GoodsMeasureNetNetWeightMeasureType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Packaging" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="MarksNumbersID" type="ds:PackagingMarksNumbersIDType" minOccurs="0"/>
<xs:element name="QuantityQuantity" type="ds:PackagingQuantityQuantityType" minOccurs="0"/>
<xs:element name="TypeCode" type="ds:PackagingTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:TransportEquipmentSequenceNumericType"/>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType"/>
<xs:element name="GoodsMeasure">
<xs:complexType>
<xs:sequence>
<xs:element name="GrossMassMeasure" type="ds:GoodsMeasureGrossMassMeasureType"/>
<xs:element name="NetNetWeightMeasure" type="ds:GoodsMeasureNetNetWeightMeasureType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Packaging" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="QuantityQuantity" type="ds:PackagingQuantityQuantityType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="LoadingLocation" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:LoadingLocationIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportContractDocument" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:TransportContractDocumentIdentificationIDType"/>
<xs:element name="TypeCode" type="ds:TransportContractDocumentTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:TransportEquipmentSequenceNumericType"/>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UnloadingLocation" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:UnloadingLocationIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,210 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:HZD_01="B2SW:HZD:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:HZD:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
<xs:element name="AdditionalInformation" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="StatementDescription" type="ds:AdditionalInformationStatementDescriptionTextType"/>
<xs:element name="StatementTypeCode" type="ds:AdditionalInformationStatementTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BorderTransportMeans" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="INFShipClassCode" type="ds:BorderTransportMeansINFShipClassCodeType" minOccurs="0"/>
<xs:element name="DPGListIndicator" type="ds:BorderTransportMeansDPGListIndicatorType"/>
<xs:element name="Bunker" minOccurs="0" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:BunkerSequenceNumericType"/>
<xs:element name="Commodity">
<xs:complexType>
<xs:sequence>
<xs:element name="CargoDescription" type="ds:CommodityCargoDescriptionTextType"/>
<xs:element name="Classification" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ClassificationIdentificationIDType"/>
<xs:element name="IdentificationTypeCode" type="ds:ClassificationIdentificationTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Temperature" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="FlashpointMeasure" type="ds:TemperatureFlashpointMeasureType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsMeasure" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="NetNetWeightMeasure" type="ds:GoodsMeasureNetNetWeightMeasureType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsLocation">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:GoodsLocationNameTextType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="99999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:TransportEquipmentSequenceNumericType"/>
<xs:element name="CharacteristicCode" type="ds:TransportEquipmentCharacteristicCodeType" minOccurs="0"/>
<xs:element name="FullnessCode" type="ds:TransportEquipmentFullnessCodeType"/>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType"/>
<xs:element name="StowPosition">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:StowPositionIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Consignment" minOccurs="0" maxOccurs="99999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ConsignmentSequenceNumericType"/>
<xs:element name="ConsignmentItem" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ConsignmentItemSequenceNumericType"/>
<xs:element name="Commodity">
<xs:complexType>
<xs:sequence>
<xs:element name="CargoDescription" type="ds:CommodityCargoDescriptionTextType"/>
<xs:element name="Classification" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ClassificationIdentificationIDType"/>
<xs:element name="IdentificationTypeCode" type="ds:ClassificationIdentificationTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Temperature" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="FlashpointMeasure" type="ds:TemperatureFlashpointMeasureType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsLocation" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:GoodsLocationNameTextType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsMeasure">
<xs:complexType>
<xs:sequence>
<xs:element name="GrossMassMeasure" type="ds:GoodsMeasureGrossMassMeasureType"/>
<xs:element name="NetNetWeightMeasure" type="ds:GoodsMeasureNetNetWeightMeasureType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Packaging" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="MarksNumbersID" type="ds:PackagingMarksNumbersIDType" minOccurs="0"/>
<xs:element name="QuantityQuantity" type="ds:PackagingQuantityQuantityType" minOccurs="0"/>
<xs:element name="TypeCode" type="ds:PackagingTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:TransportEquipmentSequenceNumericType"/>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType"/>
<xs:element name="GoodsMeasure">
<xs:complexType>
<xs:sequence>
<xs:element name="GrossMassMeasure" type="ds:GoodsMeasureGrossMassMeasureType"/>
<xs:element name="NetNetWeightMeasure" type="ds:GoodsMeasureNetNetWeightMeasureType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Packaging" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="QuantityQuantity" type="ds:PackagingQuantityQuantityType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="LoadingLocation" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:LoadingLocationIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportContractDocument" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:TransportContractDocumentIdentificationIDType"/>
<xs:element name="TypeCode" type="ds:TransportContractDocumentTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:TransportEquipmentSequenceNumericType"/>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UnloadingLocation" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:UnloadingLocationIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:LCP_01="B2SW:LCP:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:LCP:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FunctionalReferenceID" type="ds:DeclarationFunctionalReferenceIDType" minOccurs="0"/>
<xs:element name="ID" type="ds:DeclarationIdentificationIDType" minOccurs="0"/>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
<xs:element name="AdditionalDocument">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:AdditionalDocumentIdentificationIDType"/>
<xs:element name="TypeCode" type="ds:AdditionalDocumentTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CertificateOfResponsibilityHolder">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CertificateOfResponsibilityHolderIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Consignment" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ConsignmentSequenceNumericType"/>
<xs:element name="ConsignmentItem" minOccurs="0" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ConsignmentItemSequenceNumericType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportContractDocument">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:TransportContractDocumentIdentificationIDType"/>
<xs:element name="TypeCode" type="ds:TransportContractDocumentTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,73 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:MAI_01="B2SW:MAI:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:MAI:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FunctionCode" type="ds:DeclarationFunctionCodeType"/>
<xs:element name="FunctionalReferenceID" type="ds:DeclarationFunctionalReferenceIDType"/>
<xs:element name="IssueDateTime" type="ds:DeclarationIssueDateTimeType"/>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
<xs:element name="VersionID" type="ds:DeclarationVersionIDType"/>
<xs:element name="BorderTransportMeans" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:BorderTransportMeansIdentificationIDType"/>
<xs:element name="IdentificationTypeCode" type="ds:BorderTransportMeansIdentificationTypeCodeType"/>
<xs:element name="TypeCode" type="ds:BorderTransportMeansTypeCodeType"/>
<xs:element name="StayID" type="ds:BorderTransportMeansStayIDType" minOccurs="0"/>
<xs:element name="Itinerary">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ItineraryIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Declarant">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:DeclarantNameTextType"/>
<xs:element name="ID" type="ds:DeclarantIdentificationIDType"/>
<xs:element name="RoleCode" type="ds:DeclarantRoleCodeType"/>
<xs:element name="Contact">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:ContactNameTextType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Communication" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CommunicationIdentificationIDType"/>
<xs:element name="TypeCode" type="ds:CommunicationTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PreviousDocument" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:PreviousDocumentIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:MFX_01="B2SW:MFX:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:MFX:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FunctionalReferenceID" type="ds:DeclarationFunctionalReferenceIDType"/>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
<xs:element name="BorderTransportMeans">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:BorderTransportMeansNameTextType"/>
<xs:element name="Itinerary">
<xs:complexType>
<xs:sequence>
<xs:element name="DepartureDateTime" type="ds:ItineraryDepartureDateTimeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Carrier" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CarrierIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Consignment" maxOccurs="9999">
<xs:complexType>
<xs:sequence>
<xs:element name="TransportSplitCode" type="ds:ConsignmentTransportSplitCodeType"/>
<xs:element name="ConsignmentItem">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ConsignmentItemSequenceNumericType" minOccurs="0"/>
<xs:element name="GoodsMeasure" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="GrossMassMeasure" type="ds:GoodsMeasureGrossMassMeasureType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PreviousDocument">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:PreviousDocumentIdentificationIDType"/>
<xs:element name="TypeCode" type="ds:PreviousDocumentTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportContractDocument" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:TransportContractDocumentIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UnloadingLocation" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:UnloadingLocationIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ExitOffice">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ExitOfficeIdentificationCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,109 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:NOA_01="B2SW:NOA:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:NOA:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
<xs:element name="AdditionalDocument" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:AdditionalDocumentIdentificationIDType" minOccurs="0"/>
<xs:element name="IssueDateTime" type="ds:AdditionalDocumentIssueDateTimeType"/>
<xs:element name="issueLocationID" type="ds:AdditionalDocumentIssueLocationIdentificationIDType"/>
<xs:element name="IssueLocationName" type="ds:AdditionalDocumentIssueLocationNameTextType" minOccurs="0"/>
<xs:element name="TypeCode" type="ds:AdditionalDocumentTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AdditionalInformation" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="StatementDescription" type="ds:AdditionalInformationStatementDescriptionTextType"/>
<xs:element name="StatementTypeCode" type="ds:AdditionalInformationStatementTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BorderTransportMeans">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:BorderTransportMeansNameTextType"/>
<xs:element name="TypeCode" type="ds:BorderTransportMeansTypeCodeType" minOccurs="0"/>
<xs:element name="RegistrationNationalityCode" type="ds:BorderTransportMeansRegistrationNationalityCodeType" minOccurs="0"/>
<xs:element name="GrossWeightMeasure" type="ds:BorderTransportMeansGrossWeightMeasureType" minOccurs="0"/>
<xs:element name="NetWeightMeasure" type="ds:BorderTransportMeansNetWeightMeasureType" minOccurs="0"/>
<xs:element name="PortActivityDateTime" type="ds:BorderTransportMeansPortActivityDateTimeType"/>
<xs:element name="CargoDescription" type="ds:BorderTransportMeansCargoDescriptionTextType"/>
<xs:element name="CallPurpose" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="NameCode" type="ds:CallPurposeDescriptionCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Itinerary" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ItineraryIdentificationIDType"/>
<xs:element name="SequenceNumeric" type="ds:ItinerarySequenceNumericType"/>
<xs:element name="ArrivalDateTime" type="ds:ItineraryArrivalDateTimeType" minOccurs="0"/>
<xs:element name="DepartureDateTime" type="ds:ItineraryDepartureDateTimeType" minOccurs="0"/>
<xs:element name="ArrivalConveyanceFacility" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ArrivalConveyanceFacilityIdentificationIDType"/>
<xs:element name="AnchorageIndicator" type="ds:ArrivalConveyanceFacilityAnchorageIndicatorType" minOccurs="0"/>
<xs:element name="ArrivalDateTime" type="ds:ArrivalConveyanceFacilityArrivalDateTimeType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Master" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:MasterNameTextType" minOccurs="0"/>
<xs:element name="Communication" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CommunicationIdentificationIDType"/>
<xs:element name="TypeCode" type="ds:CommunicationTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TotalPersons" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="TypeCode" type="ds:TotalPersonsTypeCodeType"/>
<xs:element name="QuantityQuantity" type="ds:TotalPersonsQuantityQuantityType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Carrier" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CarrierIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:NOD_01="B2SW:NOD:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:NOD:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
<xs:element name="AdditionalDocument" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:AdditionalDocumentIdentificationIDType" minOccurs="0"/>
<xs:element name="IssueDateTime" type="ds:AdditionalDocumentIssueDateTimeType"/>
<xs:element name="issueLocationID" type="ds:AdditionalDocumentIssueLocationIdentificationIDType"/>
<xs:element name="IssueLocationName" type="ds:AdditionalDocumentIssueLocationNameTextType" minOccurs="0"/>
<xs:element name="TypeCode" type="ds:AdditionalDocumentTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BorderTransportMeans">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:BorderTransportMeansNameTextType"/>
<xs:element name="TypeCode" type="ds:BorderTransportMeansTypeCodeType" minOccurs="0"/>
<xs:element name="RegistrationNationalityCode" type="ds:BorderTransportMeansRegistrationNationalityCodeType" minOccurs="0"/>
<xs:element name="GrossWeightMeasure" type="ds:BorderTransportMeansGrossWeightMeasureType" minOccurs="0"/>
<xs:element name="NetWeightMeasure" type="ds:BorderTransportMeansNetWeightMeasureType" minOccurs="0"/>
<xs:element name="CargoDescription" type="ds:BorderTransportMeansCargoDescriptionTextType"/>
<xs:element name="Itinerary" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ItineraryIdentificationIDType"/>
<xs:element name="SequenceNumeric" type="ds:ItinerarySequenceNumericType"/>
<xs:element name="ArrivalDateTime" type="ds:ItineraryArrivalDateTimeType" minOccurs="0"/>
<xs:element name="DepartureDateTime" type="ds:ItineraryDepartureDateTimeType" minOccurs="0"/>
<xs:element name="DepartureConveyanceFacility" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:DepartureConveyanceFacilityIdentificationIDType"/>
<xs:element name="AnchorageIndicator" type="ds:DepartureConveyanceFacilityAnchorageIndicatorType" minOccurs="0"/>
<xs:element name="DepartureDateTime" type="ds:DepartureConveyanceFacilityDepartureDateTimeType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Master" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:MasterNameTextType" minOccurs="0"/>
<xs:element name="Communication" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CommunicationIdentificationIDType"/>
<xs:element name="TypeCode" type="ds:CommunicationTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TotalPersons" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="TypeCode" type="ds:TotalPersonsTypeCodeType"/>
<xs:element name="QuantityQuantity" type="ds:TotalPersonsQuantityQuantityType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Carrier" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CarrierIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,68 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:PAX_01="B2SW:PAX:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:PAX:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
<xs:element name="BorderTransportMeans" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="PortActivityDateTime" type="ds:BorderTransportMeansPortActivityDateTimeType" minOccurs="0"/>
<xs:element name="PersonOnBoard" maxOccurs="99999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:PersonOnBoardSequenceNumericType"/>
<xs:element name="FamilyName" type="ds:PersonOnBoardFamilyNameTextType" minOccurs="0"/>
<xs:element name="GivenName" type="ds:PersonOnBoardGivenNameTextType" minOccurs="0"/>
<xs:element name="Designation" type="ds:PersonOnBoardDesignationTextType" minOccurs="0"/>
<xs:element name="NationalityCode" type="ds:PersonOnBoardNationalityCodeType" minOccurs="0"/>
<xs:element name="BirthDateTime" type="ds:PersonOnBoardBirthDateTimeType" minOccurs="0"/>
<xs:element name="BirthPlace" type="ds:PersonOnBoardBirthPlaceTextType" minOccurs="0"/>
<xs:element name="GenderCode" type="ds:PersonOnBoardGenderCodeType" minOccurs="0"/>
<xs:element name="StatusCode" type="ds:PersonOnBoardStatusCodeType"/>
<xs:element name="TransitCode" type="ds:PersonOnBoardTransitCodeType" minOccurs="0"/>
<xs:element name="TravelDocument" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="ExpirationDateTime" type="ds:TravelDocumentExpirationDateTimeType" minOccurs="0"/>
<xs:element name="ID" type="ds:TravelDocumentIdentificationIDType"/>
<xs:element name="IssueLocationName" type="ds:TravelDocumentIssueLocationNameTextType" minOccurs="0"/>
<xs:element name="TypeCode" type="ds:TravelDocumentTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DisembarkationPlace" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:DisembarkationPlaceIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EmbarkationPlace" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:EmbarkationPlaceIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:PRN_01="B2SW:PRN:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:PRN:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
<xs:element name="EntryOffice">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:EntryOfficeIdentificationCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PreviousDocument" maxOccurs="50000">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:PreviousDocumentIdentificationIDType"/>
<xs:element name="TypeCode" type="ds:PreviousDocumentTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,113 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:PRO_01="B2SW:PRO:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:PRO:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
<xs:element name="BorderTransportMeans">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:BorderTransportMeansNameTextType" minOccurs="0"/>
<xs:element name="StayID" type="ds:BorderTransportMeansStayIDType" minOccurs="0"/>
<xs:element name="PortActivityDateTime" type="ds:BorderTransportMeansPortActivityDateTimeType"/>
<xs:element name="DepartureConveyanceFacility">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:DepartureConveyanceFacilityIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsShipment" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:GoodsShipmentSequenceNumericType"/>
<xs:element name="AdditionalDocument">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:AdditionalDocumentIdentificationIDType"/>
<xs:element name="TypeCode" type="ds:AdditionalDocumentTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GovernmentAgencyGoodsItem" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:GovernmentAgencyGoodsItemSequenceNumericType"/>
<xs:element name="Commodity">
<xs:complexType>
<xs:sequence>
<xs:element name="Classification">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ClassificationIdentificationIDType"/>
<xs:element name="IdentificationTypeCode" type="ds:ClassificationIdentificationTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsMeasure">
<xs:complexType>
<xs:sequence>
<xs:element name="TariffQuantity" type="ds:GoodsMeasureTariffQuantityType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ShipChandler" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:ShipChandlerNameTextType" minOccurs="0"/>
<xs:element name="ID" type="ds:ShipChandlerIdentificationIDType" minOccurs="0"/>
<xs:element name="Address" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="CityName" type="ds:AddressCityNameTextType"/>
<xs:element name="CountryCode" type="ds:AddressCountryCodeType"/>
<xs:element name="Line" type="ds:AddressLineTextType"/>
<xs:element name="PostcodeID" type="ds:AddressPostcodeIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Contact" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:ContactNameTextType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Communication" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CommunicationIdentificationIDType"/>
<xs:element name="TypeCode" type="ds:CommunicationTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,293 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:SDT_01="B2SW:SDT:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:SDT:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FunctionalReferenceID" type="ds:DeclarationFunctionalReferenceIDType"/>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
<xs:element name="DeclarationOfficeID" type="ds:DeclarationDeclarationOfficeIDType"/>
<xs:element name="AdditionalInformation" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="StatementCode" type="ds:AdditionalInformationStatementCodeType"/>
<xs:element name="StatementTypeCode" type="ds:AdditionalInformationStatementTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BorderTransportMeans" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Itinerary" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ItinerarySequenceNumericType"/>
<xs:element name="RoutingCountryCode" type="ds:ItineraryRoutingCountryCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="99999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:TransportEquipmentSequenceNumericType"/>
<xs:element name="CharacteristicCode" type="ds:TransportEquipmentCharacteristicCodeType" minOccurs="0"/>
<xs:element name="FullnessCode" type="ds:TransportEquipmentFullnessCodeType"/>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Carrier" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CarrierIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Consignment" minOccurs="0" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="GoodsStatusCode" type="ds:ConsignmentGoodsStatusCodeType" minOccurs="0"/>
<xs:element name="SequenceNumeric" type="ds:ConsignmentSequenceNumericType"/>
<xs:element name="TransportSplitCode" type="ds:ConsignmentTransportSplitCodeType"/>
<xs:element name="AdditionalInformation" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="StatementCode" type="ds:AdditionalInformationStatementCodeType"/>
<xs:element name="StatementTypeCode" type="ds:AdditionalInformationStatementTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AssociatedTransportDocument" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:AssociatedTransportDocumentIdentificationIDType"/>
<xs:element name="TypeCode" type="ds:AssociatedTransportDocumentTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Consignee" minOccurs="0" maxOccurs="9">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:ConsigneeNameTextType" minOccurs="0"/>
<xs:element name="ID" type="ds:ConsigneeIdentificationIDType" minOccurs="0"/>
<xs:element name="RoleCode" type="ds:ConsigneeRoleCodeType"/>
<xs:element name="Address" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="CityName" type="ds:AddressCityNameTextType"/>
<xs:element name="CountryCode" type="ds:AddressCountryCodeType"/>
<xs:element name="Line" type="ds:AddressLineTextType"/>
<xs:element name="PostcodeID" type="ds:AddressPostcodeIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ConsignmentItem" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ConsignmentItemSequenceNumericType"/>
<xs:element name="AdditionalDocument" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:AdditionalDocumentIdentificationIDType"/>
<xs:element name="TypeCode" type="ds:AdditionalDocumentTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Commodity">
<xs:complexType>
<xs:sequence>
<xs:element name="CargoDescription" type="ds:CommodityCargoDescriptionTextType" minOccurs="0"/>
<xs:element name="Classification" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ClassificationIdentificationIDType"/>
<xs:element name="IdentificationTypeCode" type="ds:ClassificationIdentificationTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsMeasure" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="GrossMassMeasure" type="ds:GoodsMeasureGrossMassMeasureType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Handling" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Instructions" type="ds:HandlingInstructionsTextType" minOccurs="0"/>
<xs:element name="InstructionsCodeCode" type="ds:HandlingInstructionsCodeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Packaging" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="MarksNumbersID" type="ds:PackagingMarksNumbersIDType" minOccurs="0"/>
<xs:element name="QuantityQuantity" type="ds:PackagingQuantityQuantityType" minOccurs="0"/>
<xs:element name="TypeCode" type="ds:PackagingTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:TransportEquipmentSequenceNumericType"/>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType"/>
<xs:element name="Packaging" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="QuantityQuantity" type="ds:PackagingQuantityQuantityType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Consignor" maxOccurs="9">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:ConsignorNameTextType" minOccurs="0"/>
<xs:element name="ID" type="ds:ConsignorIdentificationIDType" minOccurs="0"/>
<xs:element name="RoleCode" type="ds:ConsignorRoleCodeType"/>
<xs:element name="Address" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="CityName" type="ds:AddressCityNameTextType"/>
<xs:element name="CountryCode" type="ds:AddressCountryCodeType"/>
<xs:element name="Line" type="ds:AddressLineTextType"/>
<xs:element name="PostcodeID" type="ds:AddressPostcodeIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Freight" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="PaymentMethodCode" type="ds:FreightPaymentMethodCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsConsignedPlace" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:GoodsConsignedPlaceIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsReceiptPlace">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:GoodsReceiptPlaceIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="LoadingLocation">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:LoadingLocationIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="NotifyParty" minOccurs="0" maxOccurs="9">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:NotifyPartyNameTextType" minOccurs="0"/>
<xs:element name="ID" type="ds:NotifyPartyIdentificationIDType" minOccurs="0"/>
<xs:element name="RoleCode" type="ds:NotifyPartyRoleCodeType"/>
<xs:element name="Address" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="CityName" type="ds:AddressCityNameTextType"/>
<xs:element name="CountryCode" type="ds:AddressCountryCodeType"/>
<xs:element name="Line" type="ds:AddressLineTextType"/>
<xs:element name="PostcodeID" type="ds:AddressPostcodeIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PreviousDocument" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:PreviousDocumentIdentificationIDType"/>
<xs:element name="TypeCode" type="ds:PreviousDocumentTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportContractDocument">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:TransportContractDocumentIdentificationIDType"/>
<xs:element name="TypeCode" type="ds:TransportContractDocumentTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportEquipment" minOccurs="0" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:TransportEquipmentSequenceNumericType"/>
<xs:element name="ID" type="ds:TransportEquipmentIdentificationIDType"/>
<xs:element name="Seal" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:SealIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UnloadingLocation" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:UnloadingLocationIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UnloadingParty" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:UnloadingPartyIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UCR" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="TraderAssignedReferenceID" type="ds:UCRTraderAssignedReferenceIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,139 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:SEC_01="B2SW:SEC:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:SEC:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
<xs:element name="AdditionalDocument" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="CategoryCode" type="ds:AdditionalDocumentCategoryCodeType" minOccurs="0"/>
<xs:element name="ExpirationDateTime" type="ds:AdditionalDocumentExpirationDateTimeType" minOccurs="0"/>
<xs:element name="ID" type="ds:AdditionalDocumentIdentificationIDType" minOccurs="0"/>
<xs:element name="IssueDateTime" type="ds:AdditionalDocumentIssueDateTimeType" minOccurs="0"/>
<xs:element name="TypeCode" type="ds:AdditionalDocumentTypeCodeType"/>
<xs:element name="Authenticator" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:AuthenticatorNameTextType"/>
<xs:element name="RoleCode" type="ds:AuthenticatorRoleCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AdditionalInformation" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="StatementDescription" type="ds:AdditionalInformationStatementDescriptionTextType"/>
<xs:element name="StatementTypeCode" type="ds:AdditionalInformationStatementTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BorderTransportMeans" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="SecurityLevelCode" type="ds:BorderTransportMeansSecurityLevelCodeType"/>
<xs:element name="ArrivalConveyanceFacility" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ArrivalConveyanceFacilityIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Itinerary" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ItineraryIdentificationIDType"/>
<xs:element name="SequenceNumeric" type="ds:ItinerarySequenceNumericType"/>
<xs:element name="SecurityLevelCode" type="ds:ItinerarySecurityLevelCodeType"/>
<xs:element name="AdditionalInformation" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="StatementDescription" type="ds:AdditionalInformationStatementDescriptionTextType"/>
<xs:element name="StatementTypeCode" type="ds:AdditionalInformationStatementTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ArrivalConveyanceFacility">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ArrivalConveyanceFacilityIdentificationIDType"/>
<xs:element name="ArrivalDateTime" type="ds:ArrivalConveyanceFacilityArrivalDateTimeType"/>
<xs:element name="DepartureDateTime" type="ds:ArrivalConveyanceFacilityDepartureDateTimeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ShipToShipActivity" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:ShipToShipActivitySequenceNumericType"/>
<xs:element name="Description" type="ds:ShipToShipActivityDescriptionTextType"/>
<xs:element name="StartDateTime" type="ds:ShipToShipActivityStartDateTimeType"/>
<xs:element name="EndDateTime" type="ds:ShipToShipActivityEndDateTimeType"/>
<xs:element name="AdditionalInformation" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="StatementDescription" type="ds:AdditionalInformationStatementDescriptionTextType"/>
<xs:element name="StatementTypeCode" type="ds:AdditionalInformationStatementTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ShipToShipActivityLocation">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:ShipToShipActivityLocationNameTextType" minOccurs="0"/>
<xs:element name="ID" type="ds:ShipToShipActivityLocationIdentificationIDType" minOccurs="0"/>
<xs:element name="LatitudeMeasure" type="ds:ShipToShipActivityLocationLatitudeMeasureType" minOccurs="0"/>
<xs:element name="LongitudeMeasure" type="ds:ShipToShipActivityLocationLongitudeMeasureType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TransportMeansOperator">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:TransportMeansOperatorNameTextType"/>
<xs:element name="ID" type="ds:TransportMeansOperatorIdentificationIDType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CompanySecurityOfficer">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="ds:CompanySecurityOfficerNameTextType"/>
<xs:element name="Communication" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:CommunicationIdentificationIDType"/>
<xs:element name="TypeCode" type="ds:CommunicationTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:STO_01="B2SW:STO:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:STO:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
<xs:element name="DeclarationOfficeID" type="ds:DeclarationDeclarationOfficeIDType"/>
<xs:element name="BorderTransportMeans" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="StoresItem" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:StoresItemSequenceNumericType"/>
<xs:element name="Commodity">
<xs:complexType>
<xs:sequence>
<xs:element name="Classification">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ClassificationIdentificationIDType"/>
<xs:element name="IdentificationTypeCode" type="ds:ClassificationIdentificationTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsMeasure">
<xs:complexType>
<xs:sequence>
<xs:element name="TariffQuantity" type="ds:GoodsMeasureTariffQuantityType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,81 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:WAS_01="B2SW:WAS:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="B2SW:WAS:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="Declaration">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TypeCode" type="ds:DeclarationTypeCodeType"/>
<xs:element name="AdditionalInformation" minOccurs="0" maxOccurs="99">
<xs:complexType>
<xs:sequence>
<xs:element name="StatementCode" type="ds:AdditionalInformationStatementCodeType"/>
<xs:element name="StatementTypeCode" type="ds:AdditionalInformationStatementTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BorderTransportMeans" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Itinerary" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ItineraryIdentificationIDType"/>
<xs:element name="SequenceNumeric" type="ds:ItinerarySequenceNumericType"/>
<xs:element name="ArrivalDateTime" type="ds:ItineraryArrivalDateTimeType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="WasteItem" minOccurs="0" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="SequenceNumeric" type="ds:WasteItemSequenceNumericType"/>
<xs:element name="Commodity">
<xs:complexType>
<xs:sequence>
<xs:element name="Description" type="ds:CommodityDescriptionTextType" minOccurs="0"/>
<xs:element name="Classification">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:ClassificationIdentificationIDType"/>
<xs:element name="IdentificationTypeCode" type="ds:ClassificationIdentificationTypeCodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GoodsMeasure" maxOccurs="999">
<xs:complexType>
<xs:sequence>
<xs:element name="TypeCode" type="ds:GoodsMeasureTypeCodeType"/>
<xs:element name="NetVolumeMeasure" type="ds:GoodsMeasureNetVolumeMeasureType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UnloadingLocation" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:UnloadingLocationIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:MD_01="SW:MD:01"
xmlns:ds="B2SW:DS:01"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="SW:MD:01"
elementFormDefault="qualified">
<xs:import namespace="B2SW:DS:01" schemaLocation="B2SW_01_B2SW_DS_01.xsd"/>
<xs:element name="MetaData">
<xs:complexType>
<xs:annotation>
<xs:documentation>
<SW_MessageVersionNumber>01B01</SW_MessageVersionNumber>
<SW_MessageVersionDate>September 2015</SW_MessageVersionDate>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="CommunicationMetaData">
<xs:complexType>
<xs:sequence>
<xs:element name="ApplicationReferenceID" type="ds:CommunicationMetaDataApplicationReferenceIDType"/>
<xs:element name="PreparationDateTime" type="ds:CommunicationMetaDataPreparationDateTimeType"/>
<xs:element name="SyntaxIdentificationCode" type="ds:CommunicationMetaDataSyntaxIdentificationCodeType" minOccurs="0"/>
<xs:element name="SyntaxVersionCode" type="ds:CommunicationMetaDataSyntaxVersionCodeType" minOccurs="0"/>
<xs:element name="Recipient">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:RecipientIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Sender">
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="ds:SenderIdentificationIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MetaData" minOccurs="2" maxOccurs="2">
<xs:complexType>
<xs:sequence>
<xs:element name="AgencyAssignedCustomizationCode" type="ds:MetaDataAgencyAssignedCustomizationCodeType" minOccurs="0"/>
<xs:element name="CommunicationMetaData">
<xs:complexType>
<xs:sequence>
<xs:element name="ApplicationReferenceID" type="ds:CommunicationMetaDataApplicationReferenceIDType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

Some files were not shown because too many files have changed in this diff Show More