{ "$schema": "http://json-schema.org/schema#", "$id": "https://raw.githubusercontent.com/smart-data-models/dataModel.MarineTransport/master/PortCall/schema.json", "title": "DataPorts - PortCall schema", "description": "A Port Call is a vessel's visit to the port for a period of time, in order to perform some kind of useful function, like the loading or unloading of goods.", "modelTags": "i4trust", "$schemaVersion": "0.0.2", "type": "object", "allOf": [ { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" }, { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" }, { "properties": { "type": { "type": "string", "description": "Property. NGSI Entity type. It has to be PortCall", "enum": [ "PortCall" ] }, "vessel": { "type": "object", "properties": { "shipName": { "type": "string", "description": "Property. Name of the vessel" }, "IMO": { "type": "number", "description": "Property. IMO ship identification number, following the [scheme](https://www.imo.org/en/OurWork/IIIS/Pages/IMO-Identification-Number-Schemes.aspx) defined by the International Maritime Organization." }, "shipTypeCategory": { "type": "string", "enum": [ "CONTAINER", "GENERAL CARGO NON SPECIALIZED", "LIQUID BULK", "DRY BULK", "CRUISE" ], "description": "Property. Description of vessel category. Enum: 'CONTAINER, GENERAL CARGO NON SPECIALIZED, LIQUID BULK, DRY BULK, CRUISE'" }, "shipTypeClass": { "type": "string", "enum": [ "MULTI-DECKER", "CHEMICAL TANKER", "FULL CONTAINER", "OIL TANKER", "BULK CARRIER", "LG TANKER" ], "description": "Property. Description of vessel class. Enum: 'MULTI-DECKER, CHEMICAL TANKER, FULL CONTAINER, OIL TANKER, BULK CARRIER, LG TANKER'" } }, "description": "Property. Calling vessel of the portcall" }, "voyageCode": { "type": "string", "description": "Property. Voyage code (unique ID of a voyage)" }, "arrivalDate": { "type": "string", "format": "date-time", "description": "Property. Model:'https://schema.org/DateTime'. Date/time of ship arrival at port area" }, "departureDate": { "type": "string", "format": "date-time", "description": "Property. Model:'https://schema.org/DateTime'. Date/time of ship leaving port area" }, "arrivalDateScheduled": { "type": "string", "format": "date-time", "description": "Property. Model:'https://schema.org/DateTime'. Scheduled date/time of ship arrival at port area, as declared by shipping agent" }, "departureDateScheduled": { "type": "string", "format": "date-time", "description": "Property. Model:'https://schema.org/DateTime'. Scheduled date/time of ship leaving port area, as declared by shipping agent" }, "terminal": { "type": "string", "description": "Property. Terminal of the portcall" }, "vesselAgent": { "type": "string", "description": "Property. Vessel Agent of the portcall" }, "UNLOCODE": { "type": "string", "description": "Property. United Nations Code for Trade and Transport Locations, [UN/LOCODE](https://unece.org/trade/cefact/unlocode-code-list-country-and-territory), of the port" }, "regularLine": { "type": "string", "description": "Property. Regular line of the portcall" }, "status": { "type": "string", "enum": [ "Estimated", "Authorized", "Operational", "Completed" ], "description": "Property. Status of the operation. Enum: 'Estimated, Authorized, Operational, Completed'" } } } ], "required": [ "id", "type", "vessel", "arrivalDate" ] }