Skip to content

Commit

Permalink
updated Berth/doc/spec.md
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoabellagarcia committed Jun 7, 2024
1 parent 7d37fdc commit bc5006a
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions Berth/doc/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,26 @@
[document generated automatically](https://docs.google.com/presentation/d/e/2PACX-1vTs-Ng5dIAwkg91oTTUdt8ua7woBXhPnwavZ0FxgR8BsAI_Ek3C5q97Nd94HS8KhP-r_quD4H0fgyt3/pub?start=false&loop=false&delayms=3000#slide=id.gb715ace035_0_60)
<!-- /15-License -->
<!-- 20-Description -->
Global description: **This data model is intended to provide information about Berths. We define 'berth' to each stop of a ship during a PortCall, both for a port-facility (berth) and as an anchorage area. Each berth has a berthing time (estimated, planned, etc.), a lifecycle (estimated, requested, approved, etc.), an main activity during the stop (commercial operations, major repair, etc.) and a number of attributes described below. When commercial operations take place, an Operation entity will define the details of each commercial operation**
version: 0.0.1
<!-- /20-Description -->
<!-- 30-PropertiesList -->

## List of properties

<sup><sub>[*] If there is not a type in an attribute is because it could have several types or different formats/patterns</sub></sup>
<!-- /30-PropertiesList -->
- `activityCode[string]`: Activity during the stop in berth. It can be cargo operations or a number of activities related to the ship-port activities. Enum: ZGR=Major repair; ZPV=Provisioning; ZCA=Shipyard Construction; ZRA=Major shipyard repair; ZRF=Repair afloat with crew personnel; ZRT=Repair at anchor with personnel other than the crew; ZDA=Shipyard scrapping; ZTA=Shipyard Transformation; ZTF=Transformation; ZVO=Official visit; ZAF=Forced arrival; ZIN=Inactive; ZIP=Fishing inactivity; ZAR=Provisioning at docking; ZAO=Provisioning at anchor; ZAB=Provisioning at docking by barge; ZOP=Port operations of commercial traffic; ZCT=Sightseeing cruises; ZTI=Internal traffic; ZBO=Launching; ZCO=Construction; ZRE=Vessel intended for towing service; ZDE=Scrapyard; ZAP=Fishing and artisanal vessels in loading and unloading operations of fresh fish; ZDR=Vessel intended for dredging; ZPB=Biological stoppage; ZCL=No license; ZDJ=Judicial deposit; ZMR=Vessel intended for mooring service; ZPR=Vessel intended for pilotage service; ZRM=Trailer; ZVA=Access to slipway; ZDS=Vessel in dry dock; ZOT=Other; EST=Stay; ZSA=Water Supply; ZSH=Ice Supply; ZSE=Electrical Energy Supply; ZSC=Fuel Supply; ZSV=Victualling; . Model: [https://schema.org/Text](https://schema.org/Text)- `address[object]`: The mailing address . Model: [https://schema.org/address](https://schema.org/address) - `addressCountry[string]`: The country. For example, Spain . Model: [https://schema.org/addressCountry](https://schema.org/addressCountry)
- `addressLocality[string]`: The locality in which the street address is, and which is in the region . Model: [https://schema.org/addressLocality](https://schema.org/addressLocality)
- `addressRegion[string]`: The region in which the locality is, and which is in the country . Model: [https://schema.org/addressRegion](https://schema.org/addressRegion)
- `district[string]`: A district is a type of administrative division that, in some countries, is managed by the local government
- `postOfficeBoxNumber[string]`: The post office box number for PO box addresses. For example, 03578 . Model: [https://schema.org/postOfficeBoxNumber](https://schema.org/postOfficeBoxNumber)
- `postalCode[string]`: The postal code. For example, 24004 . Model: [https://schema.org/https://schema.org/postalCode](https://schema.org/https://schema.org/postalCode)
- `streetAddress[string]`: The street address . Model: [https://schema.org/streetAddress](https://schema.org/streetAddress)
- `streetNr[string]`: Number identifying a specific property on a public street
- `agentLegalCode[string]`: Legal identifier code of the PortCall's ship Agent . Model: [https://schema.org/Text](https://schema.org/Text)- `agentName[string]`: Name of PortCall's ship Agent . Model: [https://schema.org/Text](https://schema.org/Text)- `alternateName[string]`: An alternative name for this item - `areaServed[string]`: The geographic area where a service or offered item is provided . Model: [https://schema.org/Text](https://schema.org/Text)- `arrivalDraught[number]`: Draught at first-line secured for arriving navigation . Model: [https://schema.org/Number](https://schema.org/Number)- `ataBerth[date-time]`: Represented by an ISO 8601 UTC format, Actual time of arrival to Berth - `atdBerth[date-time]`: Represented by an ISO 8601 UTC format. Actual time of departure from Berth - `authorizationRemarks[string]`: Conditions to the berthing written by Port Authority . Model: [https://schema.org/Text](https://schema.org/Text)- `authorizedAt[date-time]`: Represented by an ISO 8601 UTC format, Date and time of authorization by port Authority and Maritime Authority. - `berthCode[string]`: Code identifying the port-facility for this stop of the vessel. Format: <oid>:berth:99999 . Model: [https://schema.org/Text](https://schema.org/Text)- `berthName[string]`: Name of the port-facility for this stop of the vessel . Model: [https://schema.org/Text](https://schema.org/Text)- `berthingTypeCode[string]`: Codes for identifying the Type of berthing/mooring in the interface ship-port. Enum: ABV=Board port to ship; ABX=Port berthed; AB1=Bouched port by bow; AB2=Bouched port by stern; AEX=Starboard docked; AX1=Docked by bow; AEV=Board starboard to ship; REM=Boarded starboard at the pier; REX=Starboard bow; RE1=Starboard bow by bow; RE2=Cracked starboard by stern; RPM=Toe-to-spring twisting; RPV=Boarded from tip to ship; RPX=Ringed point; RXM=To moor alongside a dock; RXV=Moored to another vessel; RXX=Moored ; RX1=Tangled by bow; AE1=Bouched starboard by bow; AE2=Bouched starboard by stern; APM=Pocketed to the pier; APV=Pocket to ship; APX=Point docking; AXM=docked at the pier; AXV=Boarded to ship; AXX=docked; AX2=Docked by stern; FBM=Anchored port side at the pier; FBV=Anchored port side to ship; FBX=Port anchored; FB1=Anchored port by bow; FB2=Anchored port by stern; FEM=Anchored starboard to the pier; FEV=Anchored starboard to ship; FEX=Anchored starboard; FE1=Anchored starboard by bow; FE2=Anchored starboard by stern; FPM=Toe-to-pier mooring; FPV=Anchoring tip to ship; FPX=Point anchoring; FP1=Anchoring tip by bow; FP2=Anchoring tip by stern; FXM=Anchored at the pier; FXV=Anchored to ship; FX1=Anchored by bow; FX2=Anchored by stern; RBM=Moored portside to the dock; RBX=Battered port side; RB1=Bulked port by bow; RB2=Bulked on port side by stern; RX2=Tangled by stern; YBM=Tethered to the port buoy at the pier; YBV=Tethered to the buoy on the port side of the ship; YBX=Tethered to port buoy; YB1=Tied to port buoy by bow; YB2=Tied to port buoy by stern; YEM=Tethered to the starboard buoy at the pier; YEV=Tethered to the starboard buoy of the ship; YEX=Tethered to starboard buoy; YE1=Tied to starboard buoy by bow; YE2=Tied to starboard buoy by stern; YPM=Tethered to the end buoy at the pier; YPV=Tethered to the buoy end-to-ship; YPX=Tied to tip buoy; YP1=Tethered to tip buoy by bow; YP2=Tied to the tip buoy by stern; YXM=Tethered to the buoy at the pier; YXV=Tethered to the buoy to the ship; YX1=Tethered to buoy by bow; YX2=Tethered to buoy by stern; ABM=Port berthed to the pier; AEM=Moored starboard to dock; FXX=Anchoring; YXX=Tethered to buoy without further indication; AP1=Boarding tip by bow; AP2=Pocketed fore and aft; RBV=Bulked port to ship; REV=Wheeled starboard to ship;. . Model: [https://schema.org/Text](https://schema.org/Text)- `dataProvider[string]`: A sequence of characters identifying the provider of the harmonised data entity - `dateCreated[date-time]`: Entity creation timestamp. This will usually be allocated by the storage platform - `dateModified[date-time]`: Timestamp of the last modification of the entity. This will usually be allocated by the storage platform - `departureDraught[number]`: Draught at last-line released for departure navigation . Model: [https://schema.org/Number](https://schema.org/Number)- `description[string]`: A description of this item - `etaBerth[date-time]`: Represented by an ISO 8601 UTC format, Date and time of Estimated Time of Arrival to Berth expected by Port Authority (ISO 8601 UTC format). [EMSWe: DE-005-09] [EDI: DTM-2005-132] [S211: locationState.timeType.ESTIMATED] [IMO: IMO0064] - `etdBerth[date-time]`: Represented by an ISO 8601 UTC format, Date and time of Estimated Time of Departure from Berth, expected by Port Authority. [EMSWe: DE-005-04] [EDI: DTM-2005-133] [S211: locationState.timeType.ESTIMATED] [IMO: IMO0066] - `firstBollard[string]`: First bollard identifier in port facility . Model: [https://schema.org/Text](https://schema.org/Text)- `gln[number]`: ISO/IEC 6523:'https://schema.org/Number'. Optional code of the location. The Global Location Number (GLN) is a 13 digits-unique number that is assigned to locations to enable them to be identified uniquely worldwide, allocated to any location in the supply chain. These GLNs can be used to identify any legal, physical and functional locations - `id[*]`: Unique identifier of the entity - `lastBollard[string]`: Last bollard identifier in port facility . Model: [https://schema.org/Text](https://schema.org/Text)- `location[*]`: Geojson reference to the item. It can be Point, LineString, Polygon, MultiPoint, MultiLineString or MultiPolygon - `mooringLines[number]`: Number of mooring lines. . Model: [https://schema.org/Number](https://schema.org/Number)- `mrn[string]`: MRN coded identifier. It has to be related to the entity in a way that is well-known by different organisms the meaning and the initiator of the entity, and all next parties will maintain on its original value. This identifier must be an UNIQUE identifier of the PortCall entity assigned by the system who created on first the entity. This URN should Conforms MRN & IETF specifically RFC 2141, RFC 5234, and RFC 8141. The proposed format is id::='urn:mrn:<OID>:<ONSS>:portcalls:berth:id:[0-9]+' where OID:= Organisation UN/LOCODE, OONSS:=Organization Name of Service, 9999999 an increasing, unique identifier that the issuer of the Berth entity will identify on his systems (i.e. a SQL row-id), i.e. urn:mrn:eshuv:portcalls:berth:id:2024012. See [Unlocode](https://unece.org/trade/cefact/unlocode-code-list-country-and-territory). In international standards is also known as [Ship's Visit] - `name[string]`: The name of this item - `owner[array]`: A List containing a JSON encoded sequence of characters referencing the unique Ids of the owner(s) - `portCallNumber[string]`: PortCall identifier . Model: [https://schema.org/Text](https://schema.org/Text)- `portCallRef[*]`: Relationship.Reference to parent PortCall entity. - `portCode[string]`: Code of the port of the call . Model: [https://schema.org/Text](https://schema.org/Text)- `ptaBerth[date-time]`: Represented by an ISO 8601 UTC format, Planned time of arrival to Berth - `ptdBerth[date-time]`: Represented by an ISO 8601 UTC format. Planned time of departure from Berth - `remarks[string]`: Remarks of the berthing, by Agent at Port or others . Model: [https://schema.org/Text](https://schema.org/Text)- `requestedAt[date-time]`: Represented by an ISO 8601 UTC format, Date and time of the berthing request by the ship agent. - `rtaBerth[date-time]`: Represented by an ISO 8601 UTC format, Date and time of Requested Time of Arrival by ship-agent (ISO 8601 UTC format).. [EMSWe: DE-005-09] [EDI: DTM-2005-132] [S211: locationState.timeType.ESTIMATED] [IMO: IMO0064] - `rtdBerth[date-time]`: Represented by an ISO 8601 UTC format, Date and time of Requested Time of Departure by ship-agent (ISO 8601 UTC format). [EMSWe: DE-005-09] [EDI: DTM-2005-132] [S211: locationState.timeType.ESTIMATED] [IMO: IMO0064] - `seeAlso[*]`: list of uri pointing to additional resources about the item - `source[string]`: A sequence of characters giving the original source of the entity data as a URL. Recommended to be the fully qualified domain name of the source provider, or the URL to the source object - `status[string]`: Current status of the Berthing in its lifetime, from request to authorization and completion. Enum:'ACCEPTED, AUTHORIZED, CANCELLED, COMPLETED, DENIED, INITIATED, REQUESTED, REJECTED, INVOICING, INVOICED'. [EMSWe: DE-019-07] [EDI: BGM-1225] [S211: serviceState: timeSequence:VESSEL] . Model: [https://schema.org/Text](https://schema.org/Text)- `stopRank[number]`: Rank or Number of this stop in the PortCall activity ordered by arrival time in the sequence of stops (berthing/anchor area) . Model: [https://schema.org/Number](https://schema.org/Number)- `terminal[string]`: Common name of the Terminal . Model: [https://schema.org/Text](https://schema.org/Text)- `type[string]`: NGSI Entity type. It has to be Berth - `year[number]`: Year of the init of the berthing . Model: [https://schema.org/Number](https://schema.org/Number)<!-- /30-PropertiesList -->
<!-- 35-RequiredProperties -->
Required properties
- No required properties <!-- /35-RequiredProperties -->
- `id` - `portCallRef` - `stopRank` - `type` <!-- /35-RequiredProperties -->
<!-- 40-NotesYaml -->
data model mapped from ERA ontology https://data-interop.era.europa.eu/era-vocabulary (European Union Agency for Railways)
<!-- /40-NotesYaml -->
Expand Down

0 comments on commit bc5006a

Please sign in to comment.