{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "$id": "https://github.com/smart-data-models/dataModel.MarineTransport/master/Booking/schema.json", "title": "DataPorts - Booking schema", "description": "Provide the bookings electronic messaging description", "modelTags":"", "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": { "bookingNumber": { "type": "number", "description": "Property. Unique ID of the booking" }, "bookingDate": { "type": "number", "description": "Property. Booking date" }, "company": { "type": "string", "description": "Property. Company making the booking" }, "enterDate": { "type": "number", "description": "Property. Actual time of entering" }, "originalWindowFrom": { "type": "number", "description": "Property. Originally booked time window to enter" }, "actualWindowFrom": { "type": "number", "description": "Property. Time window actually used, if arrival was 15\u2019 earlier" }, "originalWindowTo": { "type": "number", "description": "Property. Originally estimated time window to leave" }, "actualWindowTo": { "type": "number", "description": "Property. Time window actually used" }, "windowDate": { "type": "number", "description": "Property. Date of the time window" }, "bookingStatus": { "type": "string", "enum": [ "Pending", "No show", "Visited", "Cancelled by user (on time)", "No-slot booking" ], "description": "Property. Booking status" }, "containersImport": { "type": "number", "minimum": 0, "maximum": 2, "description": "Property. Number of containers to drop-off to the CT yard" }, "containersExport": { "type": "number", "minimum": 0, "maximum": 2, "description": "Property. Number of containers to pick-up from the CT yard" }, "exportContainer1": { "type": "string", "description": "Property. Unique container ID for 1st container to be picked-up" }, "exportContainer2": { "type": "string", "description": "Property. Unique container ID for 2nd container to be picked-up" }, "importContainer1": { "type": "string", "description": "Property. Unique container ID for 1st container to be dropped-off" }, "importContainer2": { "type": "string", "description": "Property. Unique container ID for 2nd container to be dropped-off" } } } ], "required": [ "id", "type" ] }