142 lines
6.3 KiB
XML
142 lines
6.3 KiB
XML
<?xml version="1.0"?>
|
|
<!-- DATEN + DIENSTE GmbH Rostock, Version vom 19.02.2018 -->
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
|
|
<xs:complexType name="sec">
|
|
<xs:sequence>
|
|
<xs:element name="KielCanalPassage" type="KielCanalPassage" minOccurs="0"/>
|
|
<xs:element name="CurrentShipSecurityLevel" type="posint1-3-type"/>
|
|
<xs:choice>
|
|
<xs:sequence>
|
|
<xs:element name="SECSimplification" type="y-type"/>
|
|
<xs:element name="PortOfCallWhereCompleteSECNotified" type="locode-type"/>
|
|
</xs:sequence>
|
|
<xs:sequence>
|
|
<xs:element name="CSOLastName" type="string1-99-type"/>
|
|
<xs:element name="CSOFirstName" type="string1-99-type" minOccurs="0"/>
|
|
<xs:element name="CSOPhone" type="string1-99-type"/>
|
|
<xs:element name="CSOFax" type="string1-99-type" minOccurs="0"/>
|
|
<xs:element name="CSOEMail" type="string1-99-type" minOccurs="0"/>
|
|
<xs:element name="ValidISSCOnBoard" type="yorn-type"/>
|
|
<xs:element name="ReasonsForNoValidISSC" type="string1-255-type" minOccurs="0"/>
|
|
<xs:element name="ISSCType" type="issc-type"/>
|
|
<xs:element name="ISSCIssuerType" type="isscissuer-type"/>
|
|
<xs:element name="ISSCIssuerName" type="string1-99-type"/>
|
|
<xs:element name="ISSCDateOfExpiration" type="xs:date"/>
|
|
<xs:element name="ApprovedSecurityPlanOnBoard" type="yorn-type"/>
|
|
<xs:element name="PortFacilityOfArrival" type="string1-99-type" minOccurs="0"/>
|
|
<xs:element name="GeneralDescriptionOfCargo" type="cargodescription-type"/>
|
|
<xs:element name="LastTenPortFacilitiesCalled" type="last10port" maxOccurs="10"/>
|
|
<xs:element name="ShipToShipActivities" type="lastactivity" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:choice>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="KielCanalPassage">
|
|
<xs:sequence>
|
|
<xs:element name="KielCanalPassagePlanned" type="y-type"/>
|
|
<xs:element name="KielCanalPassagePlannedIncoming" minOccurs="0" type="xs:dateTime"/>
|
|
<xs:element name="KielCanalPassagePlannedOutgoing" minOccurs="0" type="xs:dateTime"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="last10port">
|
|
<xs:sequence>
|
|
<xs:element name="PortFacilityPortName" type="string1-99-type" minOccurs="0"/>
|
|
<xs:element name="PortFacilityPortCountry" type="string1-99-type" minOccurs="0"/>
|
|
<!-- neu in NSW V5.0 PortFacilityPortLoCode: Pflichtfeld -->
|
|
<xs:element name="PortFacilityPortLoCode" type="locode-type" />
|
|
<xs:element name="PortFacilityDateOfArrival" type="xs:date"/>
|
|
<xs:element name="PortFacilityDateOfDeparture" type="xs:date"/>
|
|
<xs:element name="PortFacilityShipSecurityLevel" type="posint1-3-type"/>
|
|
<xs:element name="PortFacilitySecurityMattersToReport" type="string1-255-type" minOccurs="0"/>
|
|
<xs:element name="PortFacilityGISISCode" type="unnumber-type"/>
|
|
<!-- neu in NSW V5.0 PortFacilityGISISCodeLoCode: LOCODE zum GISIS Code der Hafenanlage im jeweiligen Hafen nach ISPS -->
|
|
<xs:element minOccurs="0" name="PortFacilityGISISCodeLoCode" type="locode-type" />
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="lastactivity">
|
|
<xs:sequence>
|
|
<xs:element name="ShipToShipActivityLocation" type="location"/>
|
|
<xs:element name="ShipToShipActivityDateFrom" type="xs:date"/>
|
|
<xs:element name="ShipToShipActivityDateTo" type="xs:date"/>
|
|
<!-- neu in NSW V5.0 ShipToShipActivityType: erlaubt 1-23, 98 (EDIFACT code 8025, D16A) -->
|
|
<xs:element name="ShipToShipActivityType">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:integer">
|
|
<xs:enumeration value="1"/>
|
|
<xs:enumeration value="2"/>
|
|
<xs:enumeration value="3"/>
|
|
<xs:enumeration value="4"/>
|
|
<xs:enumeration value="5"/>
|
|
<xs:enumeration value="6"/>
|
|
<xs:enumeration value="7"/>
|
|
<xs:enumeration value="8"/>
|
|
<xs:enumeration value="9"/>
|
|
<xs:enumeration value="10"/>
|
|
<xs:enumeration value="11"/>
|
|
<xs:enumeration value="12"/>
|
|
<xs:enumeration value="13"/>
|
|
<xs:enumeration value="14"/>
|
|
<xs:enumeration value="15"/>
|
|
<xs:enumeration value="16"/>
|
|
<xs:enumeration value="17"/>
|
|
<xs:enumeration value="18"/>
|
|
<xs:enumeration value="19"/>
|
|
<xs:enumeration value="20"/>
|
|
<xs:enumeration value="21"/>
|
|
<xs:enumeration value="22"/>
|
|
<xs:enumeration value="23"/>
|
|
<xs:enumeration value="98"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="ShipToShipActivitySecurityMattersToReportOf" type="string1-255-type" minOccurs="0"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="location">
|
|
<xs:choice maxOccurs="3">
|
|
<xs:element name="ShipToShipActivityLocationName" type="string1-255-type"/>
|
|
<xs:element name="ShipToShipActivityLocationLoCode" type="locode-type"/>
|
|
<xs:element name="ShipToShipActivityLocationCoordinates" type="coordinates"/>
|
|
</xs:choice>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="coordinates">
|
|
<xs:sequence>
|
|
<xs:element name="ShipToShipActivityLocationCoordinatesLatitude" type="xs:integer"/>
|
|
<xs:element name="ShipToShipActivityLocationCoordinatesLongitude" type="xs:integer"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<!-- ======== simple types - enumerations =========== -->
|
|
|
|
<xs:simpleType name="issc-type">
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="FULL"/>
|
|
<xs:enumeration value="INTERIM"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
|
|
<xs:simpleType name="isscissuer-type">
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="ADMINISTRATION"/>
|
|
<xs:enumeration value="RSO"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
|
|
<xs:simpleType name="cargodescription-type">
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="CONTAINER"/>
|
|
<xs:enumeration value="VEHICLES"/>
|
|
<xs:enumeration value="CONVENTIONAL_GENERAL_CARGO"/>
|
|
<xs:enumeration value="DRY_CARGO_IN_BULK"/>
|
|
<xs:enumeration value="LIQUID_CARGO_IN_BULK"/>
|
|
<xs:enumeration value="EMPTY"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
|
|
</xs:schema> |