git_bsmd/nsw/Polen/epc.xsd

178 lines
11 KiB
XML

<?xml version="1.0"?>
<!-- EMSA (SafeSeaNet@emsa.europa.eu), Electronic Port Clearance Version 1.3.1.2, 16-02-2015 -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:epc="http://www.iso.org/28005-2" targetNamespace="http://www.iso.org/28005-2" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="iso28005-2.xsd" id="epc"/>
<xs:element name="EPCMessage">
<xs:complexType>
<xs:sequence>
<xs:element name="EPCMessageHeader" type="epc:EPCMessageHeaderType"/>
<xs:choice>
<xs:element name="EPCRequestBody" type="epc:EPCRequestBodyType" minOccurs="0"/>
<xs:element name="EPCCancelBody" type="epc:EPCCancelBodyType" minOccurs="0"/>
<xs:element name="EPCReceiptBody" type="epc:EPCReceiptBodyType" minOccurs="0"/>
<xs:element name="EPCAcknowledgeBody" type="epc:EPCAcknowledgeBodyType" minOccurs="0"/>
<xs:element name="EPCComment" type="epc:string" minOccurs="0"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="EPCCancelBodyType">
<xs:sequence>
<xs:element name="Cancel" type="epc:boolean"/>
</xs:sequence>
</xs:complexType>
<!-- <xs:complexType name="EPCReceiptBodyType"> <xs:complexContent> <xs:extension
base="epc:EPCAcknowledgeBodyType"> <xs:sequence> <xs:element name="RequestProcessed"
type="epc:boolean"/> <xs:element name="RequestErrorCode" type="epc:token"/>
<xs:element name="CurrentPortSecurityLevel" type="epc:CurrentPortSecurityLevelType"/>
<xs:element name="RequestStatus" type="epc:RequestStatusTypeContentType"
minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:extension> </xs:complexContent>
</xs:complexType> -->
<xs:complexType name="EPCReceiptBodyType">
<xs:sequence>
<xs:element name="RequestProcessed" type="epc:boolean"/>
<xs:element name="RequestErrorCode" type="epc:token"/>
<xs:element name="CurrentPortSecurityLevel" type="epc:CurrentPortSecurityLevelType"/>
<xs:element name="EPCClearanceStatus" type="epc:EPCClearanceStatusType" maxOccurs="unbounded"/>
<xs:element name="RequestStatus" type="epc:RequestStatusTypeContentType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="EPCAcknowledgeBodyType">
<xs:sequence>
<xs:element name="EPCClearanceStatus" type="epc:EPCClearanceStatusType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="EPCClearanceStatusType">
<xs:sequence>
<xs:element name="Authority" type="epc:token"/>
<xs:element name="UsesSW" type="epc:boolean"/>
<xs:element name="RequestStatus" type="epc:RequestStatusType"/>
<xs:element name="MissingTag" type="epc:string" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="EPCRequestBodyType">
<xs:sequence>
<xs:element name="OtherServiceRequest" type="epc:OtherServiceRequestType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Agent" type="epc:AgentType" minOccurs="0"/>
<xs:element name="Company" type="epc:CompanyType" minOccurs="0"/>
<xs:element name="InmarsatCallNumber" type="epc:InmarsatCallNumberType" minOccurs="0" maxOccurs="5"/>
<xs:element name="NameOfMaster" type="epc:NameType" minOccurs="0"/>
<xs:element name="RegistrationPort" type="epc:RegistrationPortType" minOccurs="0"/>
<xs:element name="ShipID" type="epc:ShipIDType" minOccurs="0"/>
<xs:element name="CargoData" type="epc:CargoDataType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="CargoOverview" type="epc:CargoOverviewType" minOccurs="0"/>
<xs:element name="CargoType" type="epc:CargoTypeContentType" minOccurs="0"/>
<xs:element name="DGSafetyDataSheet" type="epc:DGSafetyDataSheetType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="DutiableCrewEffect" type="epc:DutiableCrewEffectType" minOccurs="0"/>
<xs:element name="GeneralDescriptionOfDG" type="epc:GeneralDescriptionOfDGType" minOccurs="0"/>
<xs:element name="ShipStore" type="epc:ShipStoreType" minOccurs="0"/>
<xs:element name="CrewList" type="epc:CrewListType" minOccurs="0"/>
<xs:element name="PassengerList" type="epc:PassengerListType" minOccurs="0"/>
<xs:element name="PersonsOnBoard" type="epc:PersonsOnboardType" minOccurs="0"/>
<xs:element name="ISSCertificate" type="epc:ISSCertificateType" minOccurs="0"/>
<xs:element name="ShipClass" type="epc:ShipClassType" minOccurs="0"/>
<xs:element name="INFClassContent" type="epc:INFClassContentType" minOccurs="0"/>
<xs:element name="CurrentShipSecurityLevel" type="epc:CurrentShipSecurityLevelType" minOccurs="0"/>
<xs:element name="PortCalls" type="epc:PortCallListType" minOccurs="0"/>
<xs:element name="ShipToShipActivityList" type="epc:ShipToShipActivityListType" minOccurs="0"/>
<xs:element name="HasSecurityPlan" type="epc:YesNoEnumType" minOccurs="0"/>
<xs:element name="Beam" type="epc:BeamType" minOccurs="0"/>
<xs:element name="YearOfBuilt" type="epc:date" minOccurs="0"/>
<xs:element name="DeadWeight" type="epc:DeadWeightType" minOccurs="0"/>
<xs:element name="DoubleBottomContent" type="epc:DoubleBottomContentType" minOccurs="0"/>
<xs:element name="GrossTonnage" type="epc:GrossTonnageType" minOccurs="0"/>
<xs:element name="IceClass" type="epc:IceClassType" minOccurs="0"/>
<xs:element name="LengthOverall" type="epc:LengthOverallType" minOccurs="0"/>
<xs:element name="NetTonnage" type="epc:NetTonnageType" minOccurs="0"/>
<xs:element name="SummerDraught" type="epc:SummerDraughtType" minOccurs="0"/>
<xs:element name="ShipTypeContent" type="epc:ShipTypeContentType" minOccurs="0"/>
<xs:element name="AirDraught" type="epc:AirDraughtType" minOccurs="0"/>
<xs:element name="ArrivalDraught" type="epc:ArrivalDraughtType" minOccurs="0"/>
<xs:element name="ATA" type="epc:ATAType" minOccurs="0">
<xs:annotation>
<xs:documentation>Actual time that ship arrived at port of call or
anchorage
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ATD" type="epc:ATDType" minOccurs="0">
<xs:annotation>
<xs:documentation>Actual time that ship departed from port of call
or anchorage
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ATP" type="epc:ATPType" minOccurs="0"/>
<xs:element name="BulkLoadUnloadData" type="epc:BulkLoadUnloadDataType" minOccurs="0"/>
<xs:element name="CallPurpose" type="epc:CallPurposeType" minOccurs="0" maxOccurs="9"/>
<xs:element name="DepartureDraught" type="epc:DepartureDraughtType" minOccurs="0"/>
<xs:element name="EntryPosition" type="epc:EntryPositionType" minOccurs="0"/>
<xs:element name="ETA" type="epc:ETAType" minOccurs="0"/>
<xs:element name="ETD" type="epc:ETDType" minOccurs="0"/>
<xs:element name="ETP" type="epc:ETPType" minOccurs="0"/>
<xs:element name="ExitPosition" type="epc:ExitPositionType" minOccurs="0"/>
<xs:element name="LastPortOfCall" type="epc:LastPortOfCallType" minOccurs="0"/>
<xs:element name="Location" type="epc:LocationType" minOccurs="0"/>
<xs:element name="NavigationalStatusContents" type="epc:NavigationalStatusContentType" minOccurs="0"/>
<xs:element name="NextPortOfCall" type="epc:NextPortOfCallType" minOccurs="0"/>
<xs:element name="NextReportTime" type="epc:NextReportTimeType" minOccurs="0"/>
<xs:element name="OBOLoadUnloadData" type="epc:OBOLoadUnloadDataType" minOccurs="0"/>
<xs:element name="PeriodOfStay" type="epc:PeriodOfStayType" minOccurs="0"/>
<xs:element name="PortOfArrival" type="epc:PortOfArrivalType" minOccurs="0"/>
<xs:element name="PortOfDeparture" type="epc:PortOfDepartureType" minOccurs="0"/>
<xs:element name="Radiocommunications" type="epc:RadioCommunicationsType" minOccurs="0"/>
<xs:element name="ROBBunkers" type="epc:ROBBunkersType" minOccurs="0"/>
<xs:element name="BunkerDeliveryReceipt" type="epc:YesNoEnumType" minOccurs="0"/>
<xs:element name="CivilLiabilityCertificate" type="epc:CivilLiabilityCertificateType" minOccurs="0"/>
<xs:element name="CivilLiabilityBunkerPollutionCertificate" type="epc:CivilLiabilityCertificateType" minOccurs="0"/>
<xs:element name="ShipDefects" type="epc:ShipDefectsType" minOccurs="0"/>
<xs:element name="ShipStatus" type="epc:ShipStatusType" minOccurs="0"/>
<xs:element name="VoyageNumber" type="epc:VoyageNumberType" minOccurs="0"/>
<xs:element name="VoyageDescription" type="epc:VoyageDescriptionType" minOccurs="0"/>
<xs:element name="WayPointList" type="epc:WayPointListType" minOccurs="0"/>
<xs:element name="WeatherObservations" type="epc:WeatherInformationType" minOccurs="0"/>
<xs:element name="BallastStatus" type="epc:BallastStatusType" minOccurs="0"/>
<xs:element name="WasteDisposalRequirements" type="epc:WasteDisposalRequirementsType" minOccurs="0"/>
<xs:element name="WasteInformation" type="epc:WasteInformationType" minOccurs="0"/>
<!-- ELEMENTS IN ADDITION TO ISO/PAS 28005-1 -->
<xs:element name="WasteDelivery" type="epc:WasteDeliveryType" minOccurs="0"/>
<xs:element name="FlagState" type="epc:CountryCodeContentType" minOccurs="0"/>
<xs:element name="RegistryCertificate" type="epc:CertificateOfRegistryType" minOccurs="0"/>
<xs:element name="CSO" type="epc:CSOType" minOccurs="0"/>
<xs:element name="PositionInPortOfCall" type="epc:string" minOccurs="0"/>
<xs:element name="PossibleAnchorage" type="epc:YesNoEnumType" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether the call is at an anchorage.Pre arrival
information.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Anchorage" type="epc:YesNoEnumType" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether the call is at an anchorage.Arrival
information.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PlannedOperations" type="epc:token" minOccurs="0"/>
<xs:element name="PlannedWorks" type="epc:token" minOccurs="0"/>
<xs:element name="TankerHullConfiguration" type="epc:TankerHullConfigurationEnumType" minOccurs="0"/>
<xs:element name="VolumeAndNatureOfCargo" type="epc:token" minOccurs="0"/>
<xs:element name="ConditionOfCargoAndBallastTanks" type="epc:token" minOccurs="0"/>
<xs:element name="ETAToNextPort" type="epc:ETAType" minOccurs="0"/>
<xs:element name="ETDFromLastPort" type="epc:ETDFromLastPortType" minOccurs="0"/>
<xs:element name="CruiseShipItinerary" type="epc:CruiseShipItineraryType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="ConfirmDPGListOnBoard" type="epc:ConfirmDPGListOnBoardType" minOccurs="0"/>
<xs:element name="DPGDetails" type="epc:CargoManifestType" minOccurs="0"/>
<xs:element name="ValidISSC" type="epc:YesNoEnumType" minOccurs="0"/>
<xs:element name="ReasonForNoValidISSC" type="epc:token" minOccurs="0"/>
<xs:element name="SecurityRelatedMatterToReport" type="epc:token" minOccurs="0"/>
<xs:element name="Stowaways" type="epc:YesNoEnumType" minOccurs="0"/>
<xs:element name="ValidSSC" type="epc:YesNoEnumType" minOccurs="0"/>
<xs:element name="ShipSanitationCertificate" type="epc:ShipSanitationCertificateType" minOccurs="0"/>
<xs:element name="Health" type="epc:HealthType" minOccurs="0"/>
<xs:element name="HealthParticulars" type="epc:HealthParticularsType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:schema>