changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "foundDirectItinerariesForTrip": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "deepLink": {
+ "description": "A redirection URL to the search results page for the user to proceed to the booking flow",
+ "format": "uri",
+ "type": "string"
+ },
+ "hasETicket": {
+ "description": "Whether e-ticket/mobile boarding is available for this trip.",
+ "type": "boolean"
+ },
+ "hasPets": {
+ "description": "Whether pets are allowed on this trip. True if petPolicy.type is NOTICKET or TICKET.",
+ "type": "boolean"
+ },
+ "hasVehicles": {
+ "description": "Whether vehicle options are available for this trip.",
+ "type": "boolean"
+ },
+ "segments": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "accommodations": {
+ "description": "Each segment has a list of available accommodations. The accommodation selection will be common for all passengers.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "expectedPrice": {
+ "additionalProperties": false,
+ "properties": {
+ "totalPriceInCents": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "totalPriceInCents"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "expectedPrice"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "arrivalDateTime": {
+ "description": "Date time is in local time of port. Date time format is 2023-11-29T11:25:00+02:00, including the difference with UTC time",
+ "format": "date-time",
+ "type": "string"
+ },
+ "arrivalPort": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "departureDateTime": {
+ "description": "Date time is in local time of port. Date time format is 2023-11-29T11:25:00+02:00, including the difference with UTC time",
+ "format": "date-time",
+ "type": "string"
+ },
+ "departurePort": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "marketingCompany": {
+ "additionalProperties": false,
+ "description": "Marketing company is the one managing this trip segment. This company and its logo should be used in UI and client side information and displays.",
+ "properties": {
+ "iconURL": {
+ "format": "uri",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "iconURL"
+ ],
+ "type": "object"
+ },
+ "ownerCompany": {
+ "additionalProperties": false,
+ "description": "This is the original owner of the vessel. This company's code is the one that should be used in the proceeding booking flow.",
+ "properties": {
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "vessel": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "departurePort",
+ "arrivalPort",
+ "departureDateTime",
+ "arrivalDateTime",
+ "ownerCompany",
+ "marketingCompany",
+ "vessel",
+ "accommodations"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "segments",
+ "hasVehicles",
+ "hasPets",
+ "hasETicket",
+ "deepLink"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "foundDirectItinerariesForTrip"
+ ],
+ "type": "object"
+}