Koskamo

Tineo MCP

An official MCP server for Tineo, an AI-native travel planner. It enables agents to manage travel itineraries by listing trips, viewing details, creating or updating segments, managing travelers, searching places, looking up flight status, and parsing booking confirmations via email import.

Endpoint and access

OAuth sign-in: the first time you connect, your client opens the vendor's own authorization prompt in a browser.

Tineo MCP logo, by TineoVendor evidenceStreamable HTTPOAuth sign-inEndpoint checked 2026-11-23Operated by Tineo
You need:OAuth scopes include trips:read for read operations and trips:write for modifications.
MCP endpoint (Streamable HTTP)
https://api.tineo.ai/mcp
Vendor documentation

What its tools do

111 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

111 of 111 have a description · 111 of 111 declare behavior hints · 88 of 105 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to tineo.ai ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days

What you can do with it

  • List all user trips and itinerary details
  • Create, update, or delete itinerary segments
  • Search for places and check flight status
  • Import and parse booking confirmation emails

Source and maintenance

Vendor evidenceRegistry 1.1.0

Protocol and capabilities

Server
Tineo Travel 1.1.0
MCP protocol negotiated in check
2025-11-25
Tools
111 advertised
Resources
20 advertised
Resource templates
Sign-in required
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  },
  "resources": {
    "listChanged": false
  },
  "extensions": {
    "openai/settings": {
      "readTool": "settings_read",
      "updateTool": "settings_update"
    }
  },
  "experimental": {
    "openai/settings": {
      "readTool": "settings_read",
      "updateTool": "settings_update"
    }
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

SAFETY RULES: - Confirm with the user before any delete, restore, or other irreversible change. - Never show IDs (UUIDs) to users. - Before traveler_add, call known_participants with every supplied name, ask whether to invite each person, and confirm their email. Call traveler_add only after the user answers. - Never call support_ticket_create on your own. If a tool fails or you cannot do what the user asked, briefly offer a support ticket and create it only after the user explicitly asks or confirms. The user's explicit instructions take priority over the guidance below; the safety rules above still apply. Tineo manages the user's trips. A trip holds segments (flights, lodging, car rentals, trains, transfers, ferries, event tickets, parking, activities, notes, polls), travelers, and travel documents. - Dates are YYYY-MM-DD; times are HH:mm (24-hour). - A tool error "trip_deleted" means the user deleted that trip; ask before calling trip_restore. - When the user searches flights, hotels or Airbnbs, offer once to save the results to a Tineo trip so they can compare and share them. One batch_segment_create call does it: new_trip creates the trip when they have none for those dates. Create or change nothing until they say yes. - After flight, stay or new-trip results, the result may suggest one related search (stay, activities, car or transfer); offer it once, briefly.

Tools

111 advertised

support_ticket_create — Create Support Ticket
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Create a Tineo support ticket after the user explicitly asks or confirms and notify Tineo support by email. Use when the assistant cannot complete a request, a tool fails, or the requested capability is unsupported. Tineo attaches the user's app version, platform, device model and OS version automatically, so do not ask for them or list them as unknown.

support_ticket_create input schema
{
  "type": "object",
  "required": [
    "summary",
    "description",
    "confirmed"
  ],
  "properties": {
    "source": {
      "enum": [
        "assistant_failure",
        "tool_error",
        "unsupported_request",
        "user_requested",
        "other"
      ],
      "type": "string",
      "description": "Why the support ticket is being created."
    },
    "summary": {
      "type": "string",
      "description": "Short support-ticket summary."
    },
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "Related trip ID, if known."
    },
    "confirmed": {
      "type": "boolean",
      "description": "Must be true only after the user directly asks to create a ticket or confirms the assistant's offer."
    },
    "segment_id": {
      "type": "string",
      "format": "uuid",
      "description": "Related segment ID, if known."
    },
    "attachments": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "base64"
        ],
        "properties": {
          "base64": {
            "type": "string"
          },
          "file_name": {
            "type": "string"
          },
          "content_type": {
            "type": "string"
          }
        }
      },
      "maxItems": 10,
      "description": "Optional image attachments as base64 data URIs."
    },
    "description": {
      "type": "string",
      "description": "User-facing explanation of what failed or could not be completed."
    },
    "failure_context": {
      "type": "string",
      "description": "The failed Tineo tool name and its error text, if a Tineo tool failed."
    }
  }
}
support_ticket_create annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
tineo_ping — Check Tineo connection
Advertised by the server during the last successful anonymous check.
Advertised read-only

Check that Tineo is connected and the user is signed in. Returns the signed-in account's name and email; it does not list trips.

tineo_ping input schema
{
  "type": "object",
  "required": [],
  "properties": {}
}
tineo_ping output schema
{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "ping"
    },
    "user": {
      "type": "object",
      "properties": {
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "email": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}
tineo_ping annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
search — Search Tineo
Advertised by the server during the last successful anonymous check.
Advertised read-only

Use this when the user wants to search their trips, itinerary segments, or travel documents by keyword. Returns citation-ready IDs, titles, and canonical URLs.

search input schema
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "Search query"
    }
  }
}
search annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
fetch — Fetch Tineo Item
Advertised by the server during the last successful anonymous check.
Advertised read-only

Use this when the user wants the full text for a specific Tineo search result. Pass an ID returned by search, such as trip:{id}, segment:{id}, travel-document:{id}, or document:{id}.

fetch input schema
{
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "ID returned by the search tool"
    }
  }
}
fetch annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
import_parse_text_preview — Preview Travel Text Import
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Parse pasted travel confirmation text into proposed itinerary segments without saving anything. Use this before creating segments from copied email, PDF, or booking text.

import_parse_text_preview input schema
{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "description": "Travel confirmation, booking, or itinerary text to parse: one booking confirmation per call, or a few days of an itinerary. A whole trip page listing many bookings can exceed the 90-second parse limit, so split it. Raw text is used only for parsing and is not echoed back."
    },
    "trip_id": {
      "type": "string",
      "description": "Optional trip ID used only to verify access and give the parser trip context"
    },
    "user_hint": {
      "type": "string",
      "description": "Optional user-provided context, such as provider name or expected segment type"
    },
    "max_segments": {
      "type": "integer",
      "description": "Maximum number of segment previews to return, from 1 to 20. Defaults to 10."
    }
  }
}
import_parse_text_preview annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
trips_list — List trips
Advertised by the server during the last successful anonymous check.
Advertised read-only

List the user's trips. Use this when the user wants to see their trips, search for a specific trip, or asks about their travel plans.

trips_list input schema
{
  "type": "object",
  "required": [],
  "properties": {
    "limit": {
      "type": "integer",
      "description": "Maximum number of trips to return. Defaults to 10, max 50."
    },
    "search": {
      "type": "string",
      "description": "Search query to filter trips by destination, name, or location"
    },
    "status": {
      "type": "string",
      "description": "Filter by trip status: all, upcoming, past, or ongoing. Defaults to all."
    }
  }
}
trips_list output schema
{
  "type": "object",
  "properties": {
    "trips": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "title": {
            "type": "string"
          },
          "endDate": {
            "type": "string"
          },
          "imageUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "startDate": {
            "type": "string"
          },
          "destination": {
            "type": "string"
          },
          "segmentCount": {
            "type": "integer"
          },
          "travelerCount": {
            "type": "integer"
          }
        }
      }
    },
    "filters": {
      "type": "object",
      "properties": {
        "search": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "totalCount": {
      "type": "integer"
    }
  }
}
trips_list annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
trip_details — View trip itinerary
Advertised by the server during the last successful anonymous check.
Advertised read-only

Get detailed information about a specific trip. The text response includes the trip summary plus a chronological list of every segment (flights, hotels, activities, etc.) with each segment_id, so you can chain directly to segment_details, segment_update, segment_delete, or flight_status_for_segment without another search. Also includes traveler count. For full per-segment details, use segment_details with the returned segment_id. Use sections and segment_types to filter the response.

trip_details input schema
{
  "type": "object",
  "required": [
    "trip_id"
  ],
  "properties": {
    "trip_id": {
      "type": "string",
      "description": "The unique identifier of the trip to fetch details for"
    },
    "sections": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional: filter which sections to include in the response. Values: 'segments', 'travelers'. Default: all sections."
    },
    "segment_types": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional: filter segments by type. Values: Flight, Lodging, CarRental, Train, Transfer, Ferry, EventTicket, Parking, Activity, Note, Poll. Default: all types."
    }
  }
}
trip_details output schema
{
  "type": "object",
  "properties": {
    "trip": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "title": {
          "type": [
            "string",
            "null"
          ]
        },
        "endDate": {
          "type": "string"
        },
        "imageUrl": {
          "type": [
            "string",
            "null"
          ]
        },
        "segments": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid"
              },
              "date": {
                "type": "string"
              },
              "time": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "title": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "endDate": {
                "type": "string"
              },
              "endTime": {
                "type": "string"
              },
              "subtitle": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "thumbnail": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          }
        },
        "startDate": {
          "type": "string"
        },
        "travelers": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "role": {
                "type": "string"
              },
              "email": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "isTraveling": {
                "type": "boolean"
              }
            }
          }
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "destination": {
          "type": "string"
        }
      }
    },
    "canEdit": {
      "type": "boolean"
    },
    "capabilities": {
      "type": "object"
    },
    "contractVersion": {
      "type": "string"
    }
  }
}
trip_details annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
segment_details — View itinerary item
Advertised by the server during the last successful anonymous check.
Advertised read-only

Get full details for a specific trip segment. Returns complete information based on segment type: flight details (airline, flight number, airports, terminals, seats, baggage), hotel details (property, address, check-in/out times, room type, amenities), activity details (venue, tickets, timing), event ticket details (event name, venue, timing, vendor, order, confirmation), car rental details (company, vehicle, pickup/dropoff locations), or transfer details (provider, transfer type, pickup/dropoff locations, addresses, and local times). bookingContext describes whether Tineo can prepare an in-app reviewed change or needs the full editor; it is not a save confirmation or additional write authority.

segment_details input schema
{
  "type": "object",
  "required": [
    "segment_id"
  ],
  "properties": {
    "segment_id": {
      "type": "string",
      "description": "The unique identifier of the segment to fetch details for"
    }
  }
}
segment_details output schema
{
  "type": "object",
  "properties": {
    "canEdit": {
      "type": "boolean"
    },
    "segment": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "type": {
          "type": "string"
        },
        "notes": {
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "type": [
            "string",
            "null"
          ]
        },
        "tripId": {
          "type": "string"
        },
        "endDate": {
          "type": [
            "string",
            "null"
          ]
        },
        "startDate": {
          "type": "string"
        },
        "confirmationCode": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "bookingContext": {
      "type": [
        "object",
        "null"
      ]
    },
    "duplicateStatus": {
      "type": [
        "object",
        "null"
      ]
    }
  }
}
segment_details annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
trip_booking_links — Get Trip Booking Links
Advertised by the server during the last successful anonymous check.
Advertised read-only

Return useful booking, reservation, ticket, check-in, itinerary, and affiliate flight-search links for a user's trip as booking_link_cards. Use this when the user asks for booking links, reservations, tickets, check-in, vouchers, receipts, or comparable flight-booking options.

trip_booking_links input schema
{
  "type": "object",
  "required": [
    "trip_id"
  ],
  "properties": {
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "The trip ID to search for booking links."
    },
    "max_results": {
      "type": "integer",
      "description": "Maximum number of booking-link cards to return. Defaults to 12 and is capped at 25."
    },
    "segment_types": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional segment type filter, such as Flight, Lodging, Activity, EventTicket, CarRental, Transfer, Train, Ferry, Parking, or CruiseActivity."
    },
    "classifications": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional link classification filter, such as DirectReservation, CheckIn, ViewTickets, ManageBooking, ViewItinerary, TravelDocuments, or FlightAffiliateSearch."
    }
  }
}
trip_booking_links annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
segment_booking_links — Get Segment Booking Links
Advertised by the server during the last successful anonymous check.
Advertised read-only

Return useful booking, reservation, ticket, check-in, itinerary, voucher, receipt, and travel-document links for one trip segment as booking_link_cards.

segment_booking_links input schema
{
  "type": "object",
  "required": [
    "segment_id"
  ],
  "properties": {
    "segment_id": {
      "type": "string",
      "format": "uuid",
      "description": "The segment ID to search for booking links."
    },
    "classifications": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional link classification filter, such as DirectReservation, CheckIn, ViewTickets, ManageBooking, ViewItinerary, or TravelDocuments."
    }
  }
}
segment_booking_links annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
flight_booking_link — Get Flight Booking Link
Advertised by the server during the last successful anonymous check.
Advertised read-only

Return a Tineo redirect card for comparable flight search for a trip flight when affiliate flight deep links are enabled.

flight_booking_link input schema
{
  "type": "object",
  "required": [
    "trip_id"
  ],
  "properties": {
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "The trip ID that owns the flight."
    },
    "segment_id": {
      "type": "string",
      "format": "uuid",
      "description": "Optional flight segment ID to target."
    },
    "flight_number": {
      "type": "string",
      "description": "Optional flight number to target when segment_id is not known."
    }
  }
}
flight_booking_link annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
trip_travelers — List trip travelers
Advertised by the server during the last successful anonymous check.
Advertised read-only

Get the list of travelers/participants for a specific trip. Returns names, emails, roles, and which segments each traveler is assigned to.

trip_travelers input schema
{
  "type": "object",
  "required": [
    "trip_id"
  ],
  "properties": {
    "trip_id": {
      "type": "string",
      "description": "The unique identifier of the trip to get travelers for"
    }
  }
}
trip_travelers output schema
{
  "type": "object",
  "properties": {
    "tripId": {
      "type": "string",
      "format": "uuid"
    },
    "canEdit": {
      "type": "boolean"
    },
    "travelers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "type": "string"
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": "string"
          },
          "assignments": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "isTraveling": {
            "type": "boolean"
          }
        }
      }
    }
  }
}
trip_travelers annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
flight_status_for_segment — Check saved flight status
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Get current flight status for an existing flight segment in a user's trip. Use this when the user asks if a flight in their itinerary is delayed, canceled, on time, boarding, or has gate/terminal updates. Status is cached for a few minutes, so call it once per flight per answer; calling again for the same flight soon after returns the same result. The text says when the provider last updated the data.

flight_status_for_segment input schema
{
  "type": "object",
  "required": [
    "segment_id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Alias for segment_id"
    },
    "segment_id": {
      "type": "string",
      "description": "The flight segment ID from a trip itinerary or segment details result"
    }
  }
}
flight_status_for_segment output schema
{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "flight_status"
    },
    "flight": {
      "type": "object",
      "properties": {
        "airline": {
          "type": [
            "string",
            "null"
          ]
        },
        "flightNumber": {
          "type": [
            "string",
            "null"
          ]
        },
        "arrivalAirportCode": {
          "type": [
            "string",
            "null"
          ]
        },
        "departureAirportCode": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "matched": {
      "type": "boolean"
    },
    "flightStatus": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string"
        },
        "airline": {
          "type": [
            "string",
            "null"
          ]
        },
        "arrivalGate": {
          "type": [
            "string",
            "null"
          ]
        },
        "flightNumber": {
          "type": [
            "string",
            "null"
          ]
        },
        "departureGate": {
          "type": [
            "string",
            "null"
          ]
        },
        "arrivalTerminal": {
          "type": [
            "string",
            "null"
          ]
        },
        "actualArrivalTime": {
          "type": [
            "string",
            "null"
          ]
        },
        "departureTerminal": {
          "type": [
            "string",
            "null"
          ]
        },
        "arrivalAirportCode": {
          "type": [
            "string",
            "null"
          ]
        },
        "actualDepartureTime": {
          "type": [
            "string",
            "null"
          ]
        },
        "departureAirportCode": {
          "type": [
            "string",
            "null"
          ]
        },
        "scheduledArrivalTime": {
          "type": [
            "string",
            "null"
          ]
        },
        "scheduledDepartureTime": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}
flight_status_for_segment annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
flight_quickadd_lookup — Look up a flight
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Look up flight details by airline, flight number, and departure date before creating or editing a flight segment. Use this when the user gives a flight number and wants to add, preview, or verify a flight.

flight_quickadd_lookup input schema
{
  "type": "object",
  "required": [
    "flight_number",
    "departure_date"
  ],
  "properties": {
    "airline": {
      "type": "string",
      "description": "Optional airline name or callsign, such as American Airlines"
    },
    "airline_code": {
      "type": "string",
      "description": "Optional IATA or ICAO airline code, such as AA, UA, DL, or AAL"
    },
    "flight_number": {
      "type": "string",
      "description": "Flight number, with or without the airline prefix, such as AA3242 or 3242"
    },
    "departure_date": {
      "type": "string",
      "description": "Local scheduled departure date in YYYY-MM-DD format"
    }
  }
}
flight_quickadd_lookup annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
discover — Discover travel options
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Search for hotels, restaurants, attractions, or activities to recommend to the traveler, returned as rich visual cards (image, rating, price level, link). Use this when the user wants suggestions or things to do/eat/stay near a place.

discover input schema
{
  "type": "object",
  "required": [
    "category"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "Optional refinement, such as \"luxury\", \"family friendly\", \"tapas\", or \"museums\"."
    },
    "category": {
      "enum": [
        "hotels",
        "restaurants",
        "attractions",
        "activities"
      ],
      "type": "string",
      "description": "What to discover: hotels, restaurants, attractions, or activities."
    },
    "latitude": {
      "type": "number",
      "description": "Optional latitude to bias the search."
    },
    "location": {
      "type": "string",
      "description": "City or area to search in, such as \"Madrid\" or \"Lisbon, Portugal\". Provide this when latitude/longitude are unknown."
    },
    "longitude": {
      "type": "number",
      "description": "Optional longitude to bias the search."
    },
    "max_results": {
      "type": "integer",
      "description": "Max cards to return, 1-10. Defaults to 8."
    },
    "check_in_date": {
      "type": "string",
      "description": "Optional YYYY-MM-DD check-in date (hotels)."
    },
    "check_out_date": {
      "type": "string",
      "description": "Optional YYYY-MM-DD check-out date (hotels)."
    }
  }
}
discover annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
places_search — Search places
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Search for real-world places by text. Use this when the user needs to find a hotel, restaurant, venue, airport, station, port, parking location, or other place before adding or editing a trip segment.

places_search input schema
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "The place search text, such as a hotel name, restaurant, airport, venue, station, or full address"
    },
    "language": {
      "type": "string",
      "description": "Optional BCP 47 language code for place data"
    },
    "max_results": {
      "type": "integer",
      "description": "Maximum results to return, from 1 to 20. Defaults to 10."
    },
    "included_type": {
      "type": "string",
      "description": "Optional place type bias, such as lodging, restaurant, airport, train_station, parking, tourist_attraction, or point_of_interest"
    },
    "location_bias": {
      "type": "object",
      "required": [
        "latitude",
        "longitude"
      ],
      "properties": {
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        }
      },
      "description": "Optional latitude/longitude used to bias search results"
    },
    "radius_meters": {
      "type": "number",
      "description": "Optional radius in meters around location_bias"
    }
  }
}
places_search annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
place_details — View place details
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Look up a selected place ID for its name, address, map URL, coordinates, photos, and timezone when missing from places_search. Google rich business details are disabled: do not use this tool to answer opening-hours, open-now, price, website, phone, or rating questions. Missing fields mean unavailable, not closed or absent. Previously cached optional details may be stale.

place_details input schema
{
  "type": "object",
  "required": [
    "place_id"
  ],
  "properties": {
    "language": {
      "type": "string",
      "description": "Optional BCP 47 language code for place data"
    },
    "place_id": {
      "type": "string",
      "description": "The provider place ID returned by places_search"
    }
  }
}
place_details annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
segment_get_schema — Get itinerary item fields
Advertised by the server during the last successful anonymous check.
Advertised read-only

Get the schema for a segment type. CALL THIS FIRST before creating/updating segments. Returns required fields and their types for the specified segment type. Supported types: Flight, Lodging, CarRental, Train, Transfer, Ferry, EventTicket, Parking, Activity, Note, Poll. For commercial cruise reservations and sea/port days use cruise_* tools. Never substitute Activity, CruiseActivity or another segment type for a cruise day. Ordinary shore excursions remain valid Activity/CruiseActivity. If cruise tools are unavailable explain the limitation and ask for clarification. Cruise/CruiseDay generic writes require the dedicated cruise tools; their schemas and full reads remain available. Additional supported schemas: Cruise, CruiseDay, CruiseActivity.

segment_get_schema input schema
{
  "type": "object",
  "required": [
    "segment_type"
  ],
  "properties": {
    "segment_type": {
      "type": "string",
      "description": "The segment type to get schema for (Flight, Lodging, CarRental, Train, Transfer, Ferry, EventTicket, Parking, Activity, Note, Poll); also Cruise, CruiseDay and CruiseActivity"
    }
  }
}
segment_get_schema annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
segment_create — Create itinerary item
Advertised by the server during the last successful anonymous check.

Create a new segment in a trip. FIRST call segment_get_schema to get the required fields for the segment type. Required in fields, besides trip_id: Flight airline (or a flightNumber starting with the airline code, e.g. UA 123), departureAirportCode, arrivalAirportCode, startDateTime; Lodging propertyName, startDateTime; Activity title, startDateTime; EventTicket eventName, startDateTime; CarRental rentalCompany, startDateTime; Train and Ferry operator, departureCity, arrivalCity, startDateTime; Transfer provider, pickupLocation, dropoffLocation, startDateTime; Parking facilityName, startDateTime; Note title; Poll title, options. Then provide the trip_id, segment_type, and fields matching the schema. Segment dates must fall within the parent trip dates. Dates up to 1 day outside the trip extend it, with a warning; further out, call trip_update first. For an Activity, Lodging, EventTicket or Parking at a real place, call places_search first and put the result's place ID in fields.placeId: Tineo links that place (map pin and coordinates) and fills a missing name, address, phone and website. Never invent a time: if the user has not given or chosen one, ask, or send the date only (YYYY-MM-DD) in startDateTime and Tineo stores it as time not set. Send a clock time only when the user stated it or a booking shows it. For commercial cruise reservations and sea/port days use cruise_* tools. Never substitute Activity, CruiseActivity or another segment type for a cruise day. Ordinary shore excursions remain valid Activity/CruiseActivity. If cruise tools are unavailable explain the limitation and ask for clarification. Cruise/CruiseDay generic writes require the dedicated cruise tools; their schemas and full reads remain available.

segment_create input schema
{
  "type": "object",
  "required": [
    "trip_id"
  ],
  "properties": {
    "fields": {
      "type": "object",
      "description": "Field values matching the schema for the segment type. Get schema first with segment_get_schema. Activity activityType is one of: tour, dining, show, spa, class, sports, sightseeing, other (other words are mapped or saved as other). title is optional for Flight, Lodging, Transfer, CarRental and Parking: Tineo derives one (e.g. \"AA72 SYD → LAX\", the property name, \"Transfer to <dropoff>\")."
    },
    "trip_id": {
      "type": "string",
      "description": "The trip ID to add the segment to"
    },
    "segment_type": {
      "type": "string",
      "description": "The type of segment to create (Flight, Lodging, CarRental, Train, Transfer, Ferry, EventTicket, Parking, Activity, Note, Poll)"
    }
  },
  "additionalProperties": true
}
segment_create annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
segment_update — Update itinerary item
Advertised by the server during the last successful anonymous check.
Advertised destructive

Update an existing segment. Only provide the fields you want to change. Get field names from segment_get_schema if unsure. Segment dates must fall within the parent trip dates; use trip_update first to extend the trip. To change a checklist's tasks use checklist_items_add, checklist_item_update, checklist_items_remove or checklist_items_reorder (IDs from trip_checklists). The result lists the saved value of every field you sent, read back from Tineo, so do not call segment_details to confirm the change. On an Activity, Lodging, EventTicket or Parking, fields.placeId (a place_id from places_search) attaches that place the same way segment_associate_place does, replacing the stored address with the place's. Never invent a time: if the user has not given or chosen one, ask, or send the date only (YYYY-MM-DD) in startDateTime and Tineo stores it as time not set. Send a clock time only when the user stated it or a booking shows it. For commercial cruise reservations and sea/port days use cruise_* tools. Never substitute Activity, CruiseActivity or another segment type for a cruise day. Ordinary shore excursions remain valid Activity/CruiseActivity. If cruise tools are unavailable explain the limitation and ask for clarification. Cruise/CruiseDay generic writes require the dedicated cruise tools; their schemas and full reads remain available.

segment_update input schema
{
  "type": "object",
  "required": [],
  "properties": {
    "id": {
      "type": "string",
      "description": "Alias for segment_id (widget compatibility)"
    },
    "fields": {
      "type": "object",
      "description": "Field values to update. Only include fields that should be changed. Send null to clear an optional field; an empty string is ignored and the stored value is kept."
    },
    "segment_id": {
      "type": "string",
      "description": "The ID of the segment to update"
    }
  },
  "additionalProperties": true
}
segment_update annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
segment_delete — Delete itinerary item
Advertised by the server during the last successful anonymous check.
Advertised destructive

Delete a segment from a trip. This action cannot be undone. For commercial cruise reservations and sea/port days use cruise_* tools. Never substitute Activity, CruiseActivity or another segment type for a cruise day. Ordinary shore excursions remain valid Activity/CruiseActivity. If cruise tools are unavailable explain the limitation and ask for clarification. Cruise/CruiseDay generic writes require the dedicated cruise tools; their schemas and full reads remain available.

segment_delete input schema
{
  "type": "object",
  "required": [
    "segment_id"
  ],
  "properties": {
    "segment_id": {
      "type": "string",
      "description": "The ID of the segment to delete"
    }
  }
}
segment_delete annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
trip_create — Create trip
Advertised by the server during the last successful anonymous check.

Create a new trip with explicit start_date and end_date (YYYY-MM-DD), covering its planned segments. Returns its ID; the authenticated user becomes the owner.

trip_create input schema
{
  "type": "object",
  "required": [
    "title",
    "start_date",
    "end_date"
  ],
  "properties": {
    "title": {
      "type": "string",
      "maxLength": 200,
      "description": "Trip title MUST be a human-readable destination name (e.g. 'Barcelona', 'Tokyo & Kyoto (Oct 2026)'). DO NOT use hyphenated airport corridor codes (e.g. 'DAC-IST-BCN-IST-DAC-CXB'). If unsure, provide destination city name or leave generic."
    },
    "end_date": {
      "type": "string",
      "description": "Trip end date in YYYY-MM-DD format"
    },
    "start_date": {
      "type": "string",
      "description": "Trip start date in YYYY-MM-DD format"
    },
    "description": {
      "type": "string",
      "maxLength": 1000,
      "description": "Optional trip description or notes, up to 1000 characters (keep it under about 900)"
    },
    "destination": {
      "type": "string",
      "maxLength": 200,
      "description": "Primary destination city or region"
    }
  },
  "additionalProperties": false
}
trip_create annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
trip_update — Update trip
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Update trip dates, title, destination, or description for a trip the authenticated user can edit. May synchronize changes to the trip owner's connected calendars when automatic sync is enabled.

trip_update input schema
{
  "type": "object",
  "required": [
    "trip_id"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 200,
      "description": "Alias for title"
    },
    "title": {
      "type": "string",
      "maxLength": 200,
      "description": "New trip title (e.g., 'Japan October 2026')"
    },
    "trip_id": {
      "type": "string",
      "description": "The ID of the trip to update"
    },
    "end_date": {
      "type": "string",
      "description": "Trip end date in YYYY-MM-DD format"
    },
    "start_date": {
      "type": "string",
      "description": "Trip start date in YYYY-MM-DD format"
    },
    "description": {
      "type": "string",
      "maxLength": 1000,
      "description": "Optional trip description or notes, up to 1000 characters (keep it under about 900)"
    },
    "destination": {
      "type": "string",
      "maxLength": 200,
      "description": "Primary destination city or region"
    },
    "destination_scope": {
      "enum": [
        "trip"
      ],
      "type": "string",
      "description": "Required as 'trip' when changing destination on a trip that already has dated itinerary items."
    },
    "destination_confirmed": {
      "type": "boolean",
      "description": "Required true when changing destination on a trip that already has dated itinerary items; confirms this is a parent-trip change, not an item location correction."
    }
  },
  "additionalProperties": false
}
trip_update annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
trip_delete — Delete trip
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Delete a trip owned by the authenticated user and its itinerary segments. Requires confirmed=true after explicit user confirmation. Also removes connected calendar events when automatic sync is enabled.

trip_delete input schema
{
  "type": "object",
  "required": [
    "trip_id",
    "confirmed"
  ],
  "properties": {
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "ID of the trip to delete."
    },
    "confirmed": {
      "type": "boolean",
      "description": "True only after the user explicitly confirms deleting this trip and its itinerary."
    }
  },
  "additionalProperties": false
}
trip_delete annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
trip_restore — Restore deleted trip
Advertised by the server during the last successful anonymous check.
Open-world

Restore a deleted trip owned by the authenticated user, together with the itinerary items that were removed when it was deleted (items deleted separately before that stay deleted). Call without trip_id to list recently deleted trips. Call with trip_id to preview the restore; nothing changes until the user explicitly confirms and you call again with confirmed=true. May re-add the trip to the owner's connected calendars when automatic sync is enabled.

trip_restore input schema
{
  "type": "object",
  "properties": {
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "ID of the deleted trip to restore. Omit to list recently deleted trips."
    },
    "confirmed": {
      "type": "boolean",
      "description": "True only after the user explicitly confirms restoring this trip. Without it the tool only returns a preview."
    },
    "expected_deleted_at": {
      "type": "string",
      "format": "date-time",
      "description": "Optional deleted_at value from the preview. The restore is refused if the trip's deletion has changed since then."
    }
  },
  "additionalProperties": false
}
trip_restore annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
trip_rename — Rename trip
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Rename a trip owned by the authenticated user. Returns the old and new titles. May synchronize the title to the trip owner's connected calendars when automatic sync is enabled.

trip_rename input schema
{
  "type": "object",
  "required": [
    "trip_id",
    "new_title"
  ],
  "properties": {
    "trip_id": {
      "type": "string",
      "description": "The ID of the trip to rename"
    },
    "new_title": {
      "type": "string",
      "description": "The new trip title"
    }
  }
}
trip_rename annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": true
}
batch_segment_create — Create itinerary items
Advertised by the server during the last successful anonymous check.

Create multiple segments in a trip in one call. To save into a trip that does not exist yet, send new_trip (title, start_date, end_date) instead of trip_id: the trip and its items are created in this one call. Put each item's values in fields, named as segment_get_schema returns them (Activity activityType is one of: tour, dining, show, spa, class, sports, sightseeing, other). Each item succeeds or fails on its own: valid items are created and failed items are returned by index with the reason, so resend only the failed items. Max 50 segments per call; split larger itineraries into several calls. Segment dates must fall within the parent trip dates. Dates up to 1 day outside the trip extend it, with a warning; further out, call trip_update first. For an Activity, Lodging, EventTicket or Parking at a real place, call places_search first and put the result's place ID in fields.placeId: Tineo links that place (map pin and coordinates) and fills a missing name, address, phone and website. Never invent a time: if the user has not given or chosen one, ask, or send the date only (YYYY-MM-DD) in startDateTime and Tineo stores it as time not set. Send a clock time only when the user stated it or a booking shows it. For commercial cruise reservations and sea/port days use cruise_* tools. Never substitute Activity, CruiseActivity or another segment type for a cruise day. Ordinary shore excursions remain valid Activity/CruiseActivity. If cruise tools are unavailable explain the limitation and ask for clarification. Cruise/CruiseDay generic writes require the dedicated cruise tools; their schemas and full reads remain available.

batch_segment_create input schema
{
  "type": "object",
  "required": [
    "segments"
  ],
  "properties": {
    "trip_id": {
      "type": "string",
      "description": "The trip ID to add segments to. Send this or new_trip."
    },
    "new_trip": {
      "type": "object",
      "required": [
        "title",
        "start_date",
        "end_date"
      ],
      "properties": {
        "title": {
          "type": "string",
          "maxLength": 200,
          "description": "Human-readable destination name, such as 'Lisbon' (not airport codes)"
        },
        "end_date": {
          "type": "string",
          "description": "Trip end date in YYYY-MM-DD format"
        },
        "start_date": {
          "type": "string",
          "description": "Trip start date in YYYY-MM-DD format"
        },
        "destination": {
          "type": "string",
          "maxLength": 200,
          "description": "Primary destination city or region"
        }
      },
      "description": "Use instead of trip_id to create the trip and its segments in one call. A trip of the user's with the same title and dates is reused."
    },
    "segments": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "segment_type",
          "fields"
        ],
        "properties": {
          "fields": {
            "type": "object",
            "description": "Field values for this segment, named as segment_get_schema returns them for segment_type. Activity activityType is one of: tour, dining, show, spa, class, sports, sightseeing, other."
          },
          "segment_type": {
            "type": "string",
            "description": "Segment type: Flight, Lodging, CarRental, Train, Transfer, Ferry, EventTicket, Parking, Activity, Note, Poll"
          }
        }
      },
      "description": "Array of segments to create. Each must have segment_type and fields."
    }
  }
}
batch_segment_create annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
flight_quickadd — Add flight to trip
Advertised by the server during the last successful anonymous check.
Open-world

Look up a real flight by number and date, then create it as a segment in the trip. Combines flight_quickadd_lookup + segment_create in one call. May take 2-5 seconds due to external flight data lookup. Segment dates must fall within the parent trip dates; use trip_update first to extend the trip.

flight_quickadd input schema
{
  "type": "object",
  "required": [
    "trip_id",
    "flight_number",
    "departure_date"
  ],
  "properties": {
    "airline": {
      "type": "string",
      "description": "Full airline name as fallback (e.g., 'American Airlines'). Used only if airline_code is not provided."
    },
    "trip_id": {
      "type": "string",
      "description": "The trip ID to add the flight to"
    },
    "airline_code": {
      "type": "string",
      "description": "IATA or ICAO airline code (AA, UA, DL, AAL). Optional if embedded in flight_number."
    },
    "flight_number": {
      "type": "string",
      "description": "Flight number, e.g. 'AA3242', 'UA100', or just '3242' if airline_code is provided"
    },
    "departure_date": {
      "type": "string",
      "description": "Departure date in YYYY-MM-DD format"
    }
  }
}
flight_quickadd annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
traveler_assign — Assign traveler to itinerary item
Advertised by the server during the last successful anonymous check.

Assign one or more travelers to one or more segments in a single call. To put the same travelers on several segments (for example every flight of a trip), pass all of them in segment_ids and all travelers in traveler_ids in one call instead of one call per segment. Up to 50 segments and 50 travelers per call, and at most 200 segment-traveler pairs. Assigning an already-assigned traveler is a no-op, and each segment succeeds or fails on its own: the result lists what was assigned and, per segment, what failed and why.

traveler_assign input schema
{
  "type": "object",
  "properties": {
    "segment_id": {
      "type": "string",
      "description": "One segment ID to assign travelers to. Use segment_ids for several."
    },
    "segment_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 50,
      "description": "Segment IDs to assign the same travelers to, in one call."
    },
    "traveler_id": {
      "type": "string",
      "description": "One trip traveler ID to assign. Use traveler_ids for several."
    },
    "traveler_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 50,
      "description": "Trip traveler IDs (from trip_travelers) to assign to every listed segment."
    }
  }
}
traveler_assign annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
assistant_airbnb_search_user — Search Airbnbs
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Search Airbnb listings by location and dates. Use when the user names Airbnb or asks for a vacation rental or whole home and is not asking about a specific trip in Tineo; for a generic place to stay use search_hotels. Returns a slim list of cards (title, type, rating, host, URL). location must be a city or area, not a whole country (ask the user which city). Each card has distance_km from the requested place and in_requested_area; listings outside the area come last. If none are in the area, say so with their distances and do NOT re-search the same place with a reworded location string. Amenity filtering only via the amenities enum; there is NO keyword/free-text filter, so tell the user anything else can't be filtered. If structuredContent.status is 'unavailable', do NOT retry the same search: share structuredContent.fallback_search_url (a prefilled airbnb.com search), offer a hotel search, or a support ticket.

assistant_airbnb_search_user input schema
{
  "type": "object",
  "required": [
    "location",
    "check_in",
    "check_out"
  ],
  "properties": {
    "adults": {
      "type": "integer",
      "maximum": 16,
      "minimum": 1
    },
    "infants": {
      "type": "integer",
      "maximum": 5,
      "minimum": 0,
      "description": "Infants under 2. Airbnb does not count them as guests."
    },
    "check_in": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Check-in date YYYY-MM-DD."
    },
    "children": {
      "type": "integer",
      "maximum": 5,
      "minimum": 0
    },
    "currency": {
      "type": "string",
      "description": "ISO 4217 currency code (default USD)."
    },
    "location": {
      "type": "string",
      "description": "City, neighborhood, or landmark with its region and country (e.g., 'Lisbon, Portugal', 'Brooklyn, NY, USA', 'Orange, NSW, Australia')."
    },
    "min_beds": {
      "type": "integer",
      "minimum": 0
    },
    "amenities": {
      "type": "array",
      "items": {
        "enum": [
          "wifi",
          "air_conditioning",
          "pool",
          "kitchen",
          "free_parking",
          "gym",
          "hot_tub",
          "heating",
          "washer",
          "dryer",
          "workspace",
          "ev_charger"
        ],
        "type": "string"
      },
      "description": "Only listings with ALL of these amenities. These are the only supported amenity filters; there is no keyword/free-text filter."
    },
    "check_out": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Check-out date YYYY-MM-DD."
    },
    "price_max": {
      "type": "integer",
      "minimum": 0
    },
    "price_min": {
      "type": "integer",
      "minimum": 0
    },
    "room_type": {
      "enum": [
        "entire_home",
        "private_room",
        "shared_room"
      ],
      "type": "string"
    },
    "max_results": {
      "type": "integer",
      "maximum": 5,
      "minimum": 1,
      "description": "Default 5, max 5."
    },
    "min_bedrooms": {
      "type": "integer",
      "minimum": 0
    },
    "min_bathrooms": {
      "type": "integer",
      "minimum": 0
    }
  }
}
assistant_airbnb_search_user annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
assistant_airbnb_search_trip — Search Airbnbs for a Trip
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Search Airbnb listings for an existing Tineo trip. Use when the user names Airbnb or asks for a vacation rental or whole home; for a generic place to stay use search_hotels. Derives location and dates from the trip; the model may override. location must be a city or area, not a whole country (ask the user which city). Each card has distance_km from the requested place and in_requested_area; listings outside the area come last. If none are in the area, say so with their distances and do NOT re-search the same place with a reworded location string. Amenity filtering only via the amenities enum; there is NO keyword/free-text filter, so tell the user anything else can't be filtered. If structuredContent.status is 'unavailable', do NOT retry the same search: share structuredContent.fallback_search_url (a prefilled airbnb.com search), offer a hotel search, or a support ticket.

assistant_airbnb_search_trip input schema
{
  "type": "object",
  "required": [
    "trip_id"
  ],
  "properties": {
    "adults": {
      "type": "integer",
      "maximum": 16,
      "minimum": 1
    },
    "infants": {
      "type": "integer",
      "maximum": 5,
      "minimum": 0,
      "description": "Infants under 2. Airbnb does not count them as guests."
    },
    "trip_id": {
      "type": "string",
      "description": "Tineo trip ID. Defaults below are derived from this trip when omitted."
    },
    "check_in": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Check-in date YYYY-MM-DD."
    },
    "children": {
      "type": "integer",
      "maximum": 5,
      "minimum": 0
    },
    "currency": {
      "type": "string",
      "description": "ISO 4217 currency code (default USD)."
    },
    "location": {
      "type": "string",
      "description": "Optional override for the trip's destination."
    },
    "min_beds": {
      "type": "integer",
      "minimum": 0
    },
    "amenities": {
      "type": "array",
      "items": {
        "enum": [
          "wifi",
          "air_conditioning",
          "pool",
          "kitchen",
          "free_parking",
          "gym",
          "hot_tub",
          "heating",
          "washer",
          "dryer",
          "workspace",
          "ev_charger"
        ],
        "type": "string"
      },
      "description": "Only listings with ALL of these amenities. These are the only supported amenity filters; there is no keyword/free-text filter."
    },
    "check_out": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Check-out date YYYY-MM-DD."
    },
    "price_max": {
      "type": "integer",
      "minimum": 0
    },
    "price_min": {
      "type": "integer",
      "minimum": 0
    },
    "room_type": {
      "enum": [
        "entire_home",
        "private_room",
        "shared_room"
      ],
      "type": "string"
    },
    "max_results": {
      "type": "integer",
      "maximum": 5,
      "minimum": 1,
      "description": "Default 5, max 5."
    },
    "min_bedrooms": {
      "type": "integer",
      "minimum": 0
    },
    "min_bathrooms": {
      "type": "integer",
      "minimum": 0
    }
  }
}
assistant_airbnb_search_trip annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
known_participants — Known Trip Participants
Advertised by the server during the last successful anonymous check.
Advertised read-only

Search people the authenticated user previously added to trips. Use before traveler_add, then obtain explicit invitation consent and confirm the email address.

known_participants input schema
{
  "type": "object",
  "required": [
    "names"
  ],
  "properties": {
    "names": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 10,
      "minItems": 1,
      "description": "Names to match against prior trip participants."
    }
  }
}
known_participants annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
traveler_add — Add trip traveler
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Add a traveler only after known_participants and the user's explicit invitation decision. With an invitation, pass email and invite_confirmed=true; this creates and sends the trip invitation. If the user explicitly declines, omit email and pass invite_confirmed=false. If the email matches someone the user already added to a trip, that existing traveler's name is reused instead of creating a second identity for the same person.

traveler_add input schema
{
  "type": "object",
  "required": [
    "trip_id",
    "name",
    "invite_confirmed"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Traveler's display name"
    },
    "email": {
      "type": "string",
      "description": "Confirmed invitation email. Required when invite_confirmed=true and forbidden when false."
    },
    "trip_id": {
      "type": "string",
      "description": "The trip ID to add the traveler to"
    },
    "invite_confirmed": {
      "type": "boolean",
      "description": "True only after the user explicitly confirms sending an invitation. False only after they explicitly decline."
    }
  }
}
traveler_add annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
traveler_update_email — Correct pending traveler email
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Correct one pending, unaccepted trip traveler's email after the owner supplies the exact traveler ID and new email. A changed address revokes the old link and automatically sends a renewed invitation. Report invitationSent truthfully; an unchanged address sends nothing.

traveler_update_email input schema
{
  "type": "object",
  "required": [
    "trip_id",
    "traveler_id",
    "email"
  ],
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "maxLength": 320,
      "description": "New email explicitly supplied by the owner"
    },
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "Trip ID owned by the caller"
    },
    "traveler_id": {
      "type": "string",
      "format": "uuid",
      "description": "Exact pending traveler ID from trip_travelers"
    }
  },
  "additionalProperties": false
}
traveler_update_email annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": true
}
train_booking_link — Train Booking Link
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Return a train or bus search handoff between two cities, routed by region. Asian routes open 12Go with the route and date prefilled. European routes open the Omio route page (Madrid-Barcelona opens a prefilled search; Tokyo-Kyoto also gets the Omio page). Routes in other regions, such as the Americas, return no handoff. Confirm dates and passengers on the partner site; the card preserves the requested date for reference. No live fares, availability, or tickets are provided.

train_booking_link input schema
{
  "type": "object",
  "required": [
    "origin",
    "destination",
    "departureDate"
  ],
  "properties": {
    "locale": {
      "type": "string",
      "description": "Optional locale, such as en."
    },
    "origin": {
      "type": "string",
      "description": "Departure city or station."
    },
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "Optional Tineo trip ID (from trips_list) this request is for. Used only to default the currency to that trip's currency when currency is omitted and the user has no preferred currency; ignored if the trip is not found or not accessible to the user."
    },
    "currency": {
      "type": "string",
      "description": "Optional ISO-style three-letter display currency, such as EUR. Omit to use the user's preferred currency, then the currency of the trip given by trip_id, then EUR."
    },
    "passengers": {
      "type": "integer",
      "maximum": 9,
      "minimum": 1,
      "description": "Optional passenger count. Defaults to 1."
    },
    "returnDate": {
      "type": "string",
      "format": "date",
      "description": "Optional return date in YYYY-MM-DD format."
    },
    "destination": {
      "type": "string",
      "description": "Arrival city or station."
    },
    "departureDate": {
      "type": "string",
      "format": "date",
      "description": "Local departure date in YYYY-MM-DD format."
    }
  }
}
train_booking_link annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
affiliate_program_catalog — Affiliate Program Catalog
Advertised by the server during the last successful anonymous check.
Advertised read-only

Return Tineo's travel-affiliate catalog with truthful implementation status. Use only for questions about supported affiliate programs, never for a link to a specific or previously searched travel result. With generic search intent, validated generic adapters may include safe Tineo-owned CTA links. A card with bookingLink=null is metadata only, not a booking handoff or live inventory.

affiliate_program_catalog input schema
{
  "type": "object",
  "properties": {
    "limit": {
      "type": "integer",
      "maximum": 54,
      "minimum": 1,
      "description": "Optional result cap. Defaults to 54."
    },
    "locale": {
      "type": "string",
      "description": "Optional locale. Defaults to en."
    },
    "endDate": {
      "type": "string",
      "format": "date",
      "description": "Optional local end/check-out date in YYYY-MM-DD format."
    },
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "Optional Tineo trip ID (from trips_list) this request is for. Used only to default the currency to that trip's currency when currency is omitted and the user has no preferred currency; ignored if the trip is not found or not accessible to the user."
    },
    "currency": {
      "type": "string",
      "description": "Optional ISO-style three-letter display currency. Omit to use the user's preferred currency, then the currency of the trip given by trip_id, then USD."
    },
    "location": {
      "type": "string",
      "description": "Optional city or destination used to build the provider search."
    },
    "vertical": {
      "type": "string",
      "description": "Optional category filter, such as Hotels, Tours, Flights, Trains, or Transfers."
    },
    "startDate": {
      "type": "string",
      "format": "date",
      "description": "Optional local start/check-in date in YYYY-MM-DD format."
    },
    "travelers": {
      "type": "integer",
      "maximum": 30,
      "minimum": 1,
      "description": "Optional traveler count. Defaults to 1."
    },
    "searchTerm": {
      "type": "string",
      "description": "Concrete search intent. Required to generate booking CTA buttons."
    },
    "includeResearch": {
      "type": "boolean",
      "description": "Include catalogued/research programs. Defaults to true."
    }
  }
}
affiliate_program_catalog annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
ground_transfer_booking_links — Ground Transfer Booking Links
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Return Welcome Pickups and GetTransfer affiliate cards for a dated pickup and drop-off route. These are provider search or quote handoffs only, not live availability, prices, or confirmed bookings.

ground_transfer_booking_links input schema
{
  "type": "object",
  "required": [
    "pickup_location",
    "dropoff_location",
    "pickup_date"
  ],
  "properties": {
    "locale": {
      "type": "string",
      "description": "Optional locale. Defaults to en."
    },
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "Optional Tineo trip ID (from trips_list) this request is for. Used only to default the currency to that trip's currency when currency is omitted and the user has no preferred currency; ignored if the trip is not found or not accessible to the user."
    },
    "currency": {
      "type": "string",
      "description": "Optional ISO-style three-letter display currency. Omit to use the user's preferred currency, then the currency of the trip given by trip_id, then USD."
    },
    "passengers": {
      "type": "integer",
      "maximum": 30,
      "minimum": 1,
      "description": "Optional passenger count. Defaults to 1."
    },
    "pickup_date": {
      "type": "string",
      "format": "date",
      "description": "Local pickup date in YYYY-MM-DD format."
    },
    "pickup_location": {
      "type": "string",
      "description": "Pickup airport, hotel, port, station, address, or place name."
    },
    "dropoff_location": {
      "type": "string",
      "description": "Drop-off hotel, airport, port, station, address, or place name."
    }
  }
}
ground_transfer_booking_links annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
car_rental_booking_links — Car Rental Booking Links
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Return DiscoverCars, Expedia and Booking.com affiliate car-rental search cards for a pickup city or airport and dates. These are provider search handoffs only, not live availability, prices, vehicles, or confirmed bookings.

car_rental_booking_links input schema
{
  "type": "object",
  "required": [
    "pickup_location",
    "pickup_date"
  ],
  "properties": {
    "locale": {
      "type": "string",
      "description": "Optional locale. Defaults to en."
    },
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "Optional Tineo trip ID (from trips_list) this request is for. Used only to default the currency to that trip's currency when currency is omitted and the user has no preferred currency; ignored if the trip is not found or not accessible to the user."
    },
    "currency": {
      "type": "string",
      "description": "Optional ISO-style three-letter display currency. Omit to use the user's preferred currency, then the currency of the trip given by trip_id, then USD."
    },
    "pickup_date": {
      "type": "string",
      "format": "date",
      "description": "Local pickup date in YYYY-MM-DD format."
    },
    "dropoff_date": {
      "type": "string",
      "format": "date",
      "description": "Optional local drop-off date in YYYY-MM-DD format."
    },
    "pickup_location": {
      "type": "string",
      "description": "Pickup city or airport, e.g. Lisbon or LIS. Prefer the airport IATA code when picking up at an airport."
    }
  }
}
car_rental_booking_links annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
travel_document_assign_trip — Assign Travel Document To Trip
Advertised by the server during the last successful anonymous check.
Advertised destructive

Move or assign a travel document (insurance, visa, passport scan, voucher) to another trip the user OWNS, or back to the general library. Provide document_id from a documents listing and trip_id from trips_list. Omit trip_id (or pass null) to move the document to the library. Only trips the user owns are valid targets. The document's linked files move with it; a file also attached to another document is left in place and reported. If more than one document could match the request, confirm which one before moving. Returns the document, its previous and new trip, and how many linked files were re-pointed.

travel_document_assign_trip input schema
{
  "type": "object",
  "required": [
    "document_id"
  ],
  "properties": {
    "trip_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Target trip id owned by the user; omit or null to unassign the document to the library."
    },
    "document_id": {
      "type": "string",
      "description": "Id of the travel document to move."
    }
  }
}
travel_document_assign_trip annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
flight_route_lookup — Flight Route Lookup
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Find scheduled flights by route and date when the flight number is NOT known: origin airport, destination airport, local departure date, and optionally an airline. Returns matching flights with their flight numbers so the exact flight can then be added via flight_quickadd. Use flight_quickadd_lookup instead when the user already has the full flight number.

flight_route_lookup input schema
{
  "type": "object",
  "required": [
    "origin",
    "destination",
    "date"
  ],
  "properties": {
    "date": {
      "type": "string",
      "description": "Local departure date in YYYY-MM-DD format."
    },
    "origin": {
      "type": "string",
      "description": "Departure airport IATA code, such as BUD."
    },
    "destination": {
      "type": "string",
      "description": "Arrival airport IATA code, such as SKG."
    },
    "airline_code": {
      "type": "string",
      "description": "Optional IATA airline code filter, such as W6 for Wizz Air."
    }
  }
}
flight_route_lookup annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
search_flight_prices — Search Flight Prices
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Never send more than 3 search_flight_prices calls in one turn: calls beyond 3 are rejected without searching. Search for flight itineraries with prices between two airports on a date using Google Flights. Returns available itineraries with prices, durations, airlines, layovers, and ranked route-search actions. Ages 12-17 are mapped as adults where a provider requires it; ages 0-1 are infants whose lap-versus-seat placement and provider policy must be confirmed before booking. Each account runs one search at a time; the second and third wait their turn and still return results. When the user names several airports, destinations, dates or trip lengths, search the 1 to 3 most likely combinations first (or one outbound_end_date range of up to 7 days), show the results, then ask before searching more. A queued or slow search returns lookupStatus pending with retry_after_seconds; it keeps its place and finishes on its own, so repeat the identical call after that wait to get its result. When the user rules out airlines or connection airports/countries, pass include_airlines/exclude_airlines/avoid_connection_airports/avoid_connection_countries so excluded routes are removed. Fares carry no baggage allowance: never claim a fare includes bags.

search_flight_prices input schema
{
  "type": "object",
  "required": [
    "departure_airport",
    "arrival_airport",
    "outbound_date"
  ],
  "properties": {
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "Optional Tineo trip ID (from trips_list) this request is for. Used only to default the currency to that trip's currency when currency is omitted and the user has no preferred currency; ignored if the trip is not found or not accessible to the user."
    },
    "currency": {
      "type": "string",
      "description": "Optional ISO-style three-letter currency code. Omit to use the user's preferred currency, then the currency of the trip given by trip_id, then USD."
    },
    "max_stops": {
      "type": "integer",
      "description": "Optional maximum number of stops (0 = nonstop only, 1 = up to 1 stop)."
    },
    "child_ages": {
      "type": "array",
      "items": {
        "type": "integer",
        "maximum": 17,
        "minimum": 0
      },
      "description": "Age of each traveler under 18. Ages 12-17 are provider-mapped as adults where required; ages 2-11 are children and 0-1 are infants. Confirm lap-versus-seat placement with the user/provider for ages 0-1."
    },
    "adult_count": {
      "type": "integer",
      "default": 1,
      "maximum": 9,
      "minimum": 1,
      "description": "Number of adult travelers (default 1)."
    },
    "cabin_class": {
      "enum": [
        "economy",
        "premium_economy",
        "business",
        "first"
      ],
      "type": "string",
      "description": "Cabin class preference: 'economy', 'premium_economy', 'business', or 'first'. Default is 'economy'."
    },
    "return_date": {
      "type": "string",
      "description": "Optional return date in YYYY-MM-DD format for round-trip searches."
    },
    "outbound_date": {
      "type": "string",
      "description": "Outbound date in YYYY-MM-DD format. To compare several departure days, pass outbound_end_date in this one call rather than sending one call per day."
    },
    "arrival_airport": {
      "type": "string",
      "description": "Arrival airport IATA code, such as CDG."
    },
    "exclude_airlines": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional. Remove itineraries with any flight on these airlines (IATA code, airline name, or alliance). Single-date searches only."
    },
    "include_airlines": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional. Keep only itineraries where every flight is on one of these airlines: 2-character IATA code such as LH, airline name, or an alliance (Star Alliance, oneworld, SkyTeam). Single-date searches only."
    },
    "departure_airport": {
      "type": "string",
      "description": "Departure airport IATA code, such as JFK."
    },
    "outbound_end_date": {
      "type": "string",
      "description": "Optional inclusive end date for a cheapest-returned-fare-per-day calendar, up to 7 outbound dates beginning at outbound_date. Each day reports priced, no_results, failed, or not_searched; prices are live estimates and may change. Economy cabin only: omit cabin_class or use economy with a range."
    },
    "avoid_connection_airports": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional. Remove itineraries that connect at these airports (3-letter IATA codes). Single-date searches only."
    },
    "avoid_connection_countries": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional. Remove itineraries that connect in these countries (prefer ISO 3166 alpha-2 codes such as US, TR, RU; translate names to English). Single-date searches only."
    }
  }
}
search_flight_prices annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
get_routes — Get Routes
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Compare available driving, transit, walking, and bicycling route summaries between two places using Google Maps. Returns duration and distance estimates for supported modes, plus Uber, Lyft, Waymo, and Google Maps handoff buttons for the destination. Set origin to 'home' for the user's saved home address. Ground time excludes airport check-in and security. Fares, detailed legs, flights, and ferries are unavailable.

get_routes input schema
{
  "type": "object",
  "required": [
    "origin",
    "destination"
  ],
  "properties": {
    "time": {
      "type": "string",
      "description": "ISO 8601 date-time with an explicit UTC offset. Required for leave_by or arrive_by; omit for leave_now."
    },
    "modes": {
      "type": "array",
      "items": {
        "enum": [
          "driving",
          "transit",
          "walking",
          "bicycling"
        ],
        "type": "string"
      },
      "maxItems": 4,
      "minItems": 1,
      "description": "Modes to compare. Defaults to all four.",
      "uniqueItems": true
    },
    "origin": {
      "type": "string",
      "description": "Starting place or address (1 to 300 characters), or 'home' for the user's private saved home address."
    },
    "time_mode": {
      "enum": [
        "leave_now",
        "leave_by",
        "arrive_by"
      ],
      "type": "string",
      "description": "When to travel. Default leave_now."
    },
    "destination": {
      "type": "string",
      "description": "Ending place or address (1 to 300 characters)."
    }
  }
}
get_routes annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
search_hotels — Search Hotels & Lodging
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Search for hotels and accommodations. Use for any hotel, accommodation or "where should I stay" request unless the user names Airbnb or asks for a vacation rental or whole home. Ordinary searches use the text query. Dated radius searches use a geographic bounding box and exact distance filter; SearchAPI does not apply the text query or style preferences within the radius. Provider coverage may be incomplete and prices may change. A hotel_place_id without radius_meters searches by the resolved hotel name; with radius_meters it searches nearby. Only a unique identity match retains its offer links.

search_hotels input schema
{
  "type": "object",
  "required": [],
  "properties": {
    "limit": {
      "type": "integer",
      "default": 8,
      "maximum": 10,
      "minimum": 1,
      "description": "Maximum number of hotel results to return (max 10)."
    },
    "query": {
      "type": "string",
      "description": "Search query or destination city (e.g. 'hotels in Tokyo'). Required for ordinary hotel search. Google Hotels can mix in properties from nearby towns or districts; cards outside the searched place carry outsideRequestedArea and distanceFromAreaKm, and areaNote says how many. When the user wants a specific neighbourhood, get its coordinates or center_place_id from places_search and use a radius search. Radius search ignores this text in provider selection and filters by geography only. For hotel_place_id without radius_meters, the resolved property name is used for provider search and identity matching."
    },
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "Optional Tineo trip ID (from trips_list) this request is for. Used only to default the currency to that trip's currency when currency is omitted and the user has no preferred currency; ignored if the trip is not found or not accessible to the user."
    },
    "check_in": {
      "type": "string",
      "description": "Check-in date in YYYY-MM-DD format (alias: checkIn)."
    },
    "currency": {
      "type": "string",
      "description": "Optional ISO-style three-letter currency code. Omit to use the user's preferred currency, then the currency of the trip given by trip_id, then USD."
    },
    "latitude": {
      "type": "number",
      "maximum": 90,
      "minimum": -90,
      "description": "Radius center latitude. Supply together with longitude instead of a place ID. Query may be omitted for a coordinate-only radius search."
    },
    "check_out": {
      "type": "string",
      "description": "Check-out date in YYYY-MM-DD format (alias: checkOut)."
    },
    "longitude": {
      "type": "number",
      "maximum": 180,
      "minimum": -180,
      "description": "Radius center longitude. Supply together with latitude instead of a place ID. Query may be omitted for a coordinate-only radius search."
    },
    "adult_count": {
      "type": "integer",
      "default": 1,
      "maximum": 9,
      "minimum": 1,
      "description": "Number of adults (alias: adults)."
    },
    "radius_meters": {
      "type": "integer",
      "maximum": 50000,
      "minimum": 100,
      "description": "Geographic search radius, default 1000 meters when center_place_id or coordinates are given. Requires stay dates and a center. Text query and style preferences are not applied to radius provider selection."
    },
    "hotel_place_id": {
      "type": "string",
      "description": "Optional specific hotel place ID. Searches priced inventory by hotel name, or nearby when radius_meters is supplied. Retains offer links only if identity is uniquely verified. Requires check_in and check_out."
    },
    "center_place_id": {
      "type": "string",
      "description": "Optional place ID for the radius center, from places_search. Requires check_in and check_out."
    }
  }
}
search_hotels annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
search_attractions — Search Attractions & Sights
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Search for popular tourist attractions, sights, landmarks, and things to do in a destination using TripAdvisor and Google Places. Returns attraction cards with ratings, descriptions, addresses, and ticket/experience links. Use when the user asks about top sights, landmarks, or attractions in a city.

search_attractions input schema
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "default": 8,
      "maximum": 10,
      "minimum": 1,
      "description": "Maximum number of attractions to return (max 10)."
    },
    "query": {
      "type": "string",
      "description": "Destination name, landmark, or attraction search term (e.g. 'Rome', 'Eiffel Tower', 'museums in London')."
    },
    "location": {
      "type": "string",
      "description": "Optional city/area location filter."
    }
  }
}
search_attractions annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
search_tours — Search Tours & Activities
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Search for bookable tours, activities, excursions, and experiences at a destination using GetYourGuide with Viator and Tiqets travelpayouts fallbacks. Returns tour options with titles, prices, ratings, durations, and booking links. Use when the user asks about things to do, tours, activities, excursions, or experiences in a city or destination. Search one destination per call.

search_tours input schema
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "date": {
      "type": "string",
      "description": "Optional date in YYYY-MM-DD format to filter tours available on that day."
    },
    "limit": {
      "type": "integer",
      "default": 10,
      "maximum": 30,
      "minimum": 1,
      "description": "Maximum number of tour results to return (default 10, max 30)."
    },
    "query": {
      "type": "string",
      "description": "Search query for ONE destination, optionally with an activity type (e.g. 'walking tour Rome', 'snorkeling Cancun'). Never list several cities in one query: for a multi-city trip, call this tool once per city."
    },
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "Optional Tineo trip ID (from trips_list) this request is for. Used only to default the currency to that trip's currency when currency is omitted and the user has no preferred currency; ignored if the trip is not found or not accessible to the user."
    },
    "currency": {
      "type": "string",
      "description": "Optional ISO-style three-letter currency code. Omit to use the user's preferred currency, then the currency of the trip given by trip_id, then USD."
    },
    "provider": {
      "enum": [
        "all",
        "getyourguide",
        "viator"
      ],
      "type": "string",
      "description": "Preferred tour provider to search ('all', 'getyourguide', or 'viator'). Default is 'all'."
    }
  }
}
search_tours annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
get_trip_weather — Trip Weather
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Get trip weather. Daily detail returns a city-grouped forecast bounded to trip dates with confidence tiers; current or hourly detail returns observed or near-term conditions for one trip city. Provide trip_id from trips_list. The Tineo itinerary already shows each day's weather and refreshes it automatically as the trip gets closer.

get_trip_weather input schema
{
  "type": "object",
  "required": [
    "trip_id"
  ],
  "properties": {
    "hours": {
      "type": "integer",
      "maximum": 48,
      "minimum": 1,
      "description": "Hourly forecast horizon, default 12 hours. Used only when detail is hourly."
    },
    "detail": {
      "enum": [
        "daily",
        "current",
        "hourly"
      ],
      "type": "string",
      "description": "Weather detail. Default daily."
    },
    "city_id": {
      "type": "string",
      "description": "Trip city ID, used for current or hourly weather. If omitted on a multi-city trip, the result lists available city IDs."
    },
    "trip_id": {
      "type": "string",
      "description": "Tineo trip ID (from trips_list)."
    },
    "max_days": {
      "type": "integer",
      "maximum": 35,
      "minimum": 1,
      "description": "Optional forecast horizon cap in days. Default 16."
    }
  }
}
get_trip_weather output schema
{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "trip_weather"
    },
    "cities": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "days": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string"
                },
                "lowC": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "highC": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "condition": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "confidence": {
                  "type": "string"
                },
                "uvIndexMax": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "windMaxKmh": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "conditionIcon": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "precipitationMm": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "precipitationProbabilityPct": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              }
            }
          },
          "countryCode": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "detail": {
      "type": "string"
    },
    "tripId": {
      "type": "string"
    },
    "outcome": {
      "type": "string"
    },
    "weather": {
      "type": [
        "object",
        "null"
      ]
    },
    "availableCities": {
      "type": [
        "array",
        "null"
      ]
    }
  }
}
get_trip_weather annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
estimate_transfer_drive_time — Estimate Transfer Drive Time
Advertised by the server during the last successful anonymous check.
Open-world

Estimate the drive time of a Transfer or Transport segment (taxi, car service, airport transfer, ground transport) from its pickup and drop-off at its pickup time, using Apple Maps traffic prediction. apply=false (default) only reports the estimate; apply=true saves it as the estimated drop-off time so the Tineo calendar and iCal feed show the real ride length instead of a flat hour. A drop-off time already on the booking or set by the user is never changed, and a failed lookup changes nothing. Present the result as an estimate.

estimate_transfer_drive_time input schema
{
  "type": "object",
  "required": [
    "segment_id"
  ],
  "properties": {
    "apply": {
      "type": "boolean",
      "description": "Save the estimate as the drop-off time. Default false."
    },
    "segment_id": {
      "type": "string",
      "description": "ID of the Transfer or Transport segment."
    }
  }
}
estimate_transfer_drive_time annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
generate_packing_list — Generate Packing List
Advertised by the server during the last successful anonymous check.
Open-world

Create a weather- and activity-aware packing checklist for a trip, grouped into sections and saved as a pinned checklist note. Never changes an existing list: if one already exists it is returned unchanged; use packing_list_regenerate to replace it. Requires the trip to have a destination or at least one itinerary item. Provide the trip_id from trips_list. For one list per person, pass people (max 6). Tineo builds the list on its servers with its AI model provider, sending the trip's title, dates, destinations, itinerary items, weather forecast, any context_notes, and each person's age band and notes (never their name).

generate_packing_list input schema
{
  "type": "object",
  "required": [
    "trip_id"
  ],
  "properties": {
    "people": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "name",
          "age_band"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "Person's name or a label such as \"Kid 1\". Used only as the list's title; never sent to the AI model provider."
          },
          "notes": {
            "type": "string",
            "maxLength": 1000,
            "description": "Optional packing-relevant details for this person that the user asked to include. Never include health conditions, medical details or other sensitive personal information."
          },
          "age_band": {
            "enum": [
              "adult",
              "teen",
              "child",
              "toddler",
              "infant"
            ],
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "maxItems": 6,
      "description": "Optional. One personalized list per person (max 6), titled with the person's name."
    },
    "trip_id": {
      "type": "string",
      "description": "Tineo trip ID (from trips_list)."
    },
    "context_notes": {
      "type": "string",
      "maxLength": 1000,
      "description": "Optional packing-relevant details the user asked to include, such as planned activities or special gear. Pass only what the user wants reflected in the list. Never include health conditions, medical details or other sensitive personal information."
    }
  },
  "additionalProperties": false
}
generate_packing_list annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
packing_list_regenerate — Regenerate Packing List
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Regenerate a trip's existing packing checklist: replaces the generated items the user has not touched, and keeps every item the user checked, added or edited. Use only after the user asks to redo or refresh the list. With people, only those people's lists are regenerated (a person without a list gets a new one); a trip with no list yet gets a new one. Provide the trip_id from trips_list. Tineo builds the list on its servers with its AI model provider, sending the trip's title, dates, destinations, itinerary items, weather forecast, any context_notes, and each person's age band and notes (never their name).

packing_list_regenerate input schema
{
  "type": "object",
  "required": [
    "trip_id"
  ],
  "properties": {
    "people": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "name",
          "age_band"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "Person's name or a label such as \"Kid 1\". Used only as the list's title; never sent to the AI model provider."
          },
          "notes": {
            "type": "string",
            "maxLength": 1000,
            "description": "Optional packing-relevant details for this person that the user asked to include. Never include health conditions, medical details or other sensitive personal information."
          },
          "age_band": {
            "enum": [
              "adult",
              "teen",
              "child",
              "toddler",
              "infant"
            ],
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "maxItems": 6,
      "description": "Optional. One personalized list per person (max 6), titled with the person's name."
    },
    "trip_id": {
      "type": "string",
      "description": "Tineo trip ID (from trips_list)."
    },
    "context_notes": {
      "type": "string",
      "maxLength": 1000,
      "description": "Optional packing-relevant details the user asked to include, such as planned activities or special gear. Pass only what the user wants reflected in the list. Never include health conditions, medical details or other sensitive personal information."
    }
  },
  "additionalProperties": false
}
packing_list_regenerate annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
trip_checklists — Trip Checklists
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read every checklist on a trip with its items. Returns each checklist's title and, for every task, a stable itemId, text, category (section heading), position (0-based stored order; the app groups tasks under their section headings in first-appearance order), isChecked (complete for everyone on a shared trip) and checkedByMe (on a shared trip a task you ticked stays unchecked until every traveler ticks it). Tasks are a flat list: there are no subtasks or nested items. Pass checklist_id (the checklist's segment ID) to read just one checklist. Call this before editing items so you have the item IDs. To create a checklist use segment_create (type Note, isChecklist true, checklistItems [{text, category?}]). To change tasks use checklist_items_add (append tasks), checklist_item_update (text, category, or checked to mark done/not done), checklist_items_remove, or checklist_items_reorder, passing checklist_id and the item IDs. Delete a whole checklist with segment_delete. Never show IDs to users.

trip_checklists input schema
{
  "type": "object",
  "required": [
    "trip_id"
  ],
  "properties": {
    "trip_id": {
      "type": "string",
      "description": "ID of the trip (from trips_list)."
    },
    "checklist_id": {
      "type": "string",
      "description": "Optional. The checklist note's segment ID, to read just that one checklist."
    }
  },
  "additionalProperties": false
}
trip_checklists annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
duplicate_checklist — Duplicate Checklist
Advertised by the server during the last successful anonymous check.

Duplicate a checklist into one or more new checklists on the same trip. Each copy keeps item text and sections; every item starts unchecked. Provide source_note_id (a checklist segment ID from trip_details) and one title per copy (max 10).

duplicate_checklist input schema
{
  "type": "object",
  "required": [
    "source_note_id",
    "titles"
  ],
  "properties": {
    "titles": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "One title per copy (1 to 10, each up to 200 characters)."
    },
    "source_note_id": {
      "type": "string",
      "description": "ID of the checklist to copy (from trip_details)."
    }
  }
}
duplicate_checklist annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
checklist_items_add — Add Checklist Items
Advertised by the server during the last successful anonymous check.

Add one or more tasks to the end of an existing trip checklist. Get checklist_id from trip_checklists. Each item has text and an optional category (the section heading it appears under). A checklist holds at most 100 tasks; tasks are a flat list with no subtasks. Calling this twice adds the tasks twice. To create a new checklist use segment_create (type Note, isChecklist true). Never show IDs to users.

checklist_items_add input schema
{
  "type": "object",
  "required": [
    "checklist_id",
    "items"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "text"
        ],
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 500,
            "minLength": 1,
            "description": "The task text."
          },
          "category": {
            "type": "string",
            "maxLength": 40,
            "description": "Optional section heading, e.g. Clothing or Documents."
          }
        },
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 1,
      "description": "Tasks to append, in order."
    },
    "checklist_id": {
      "type": "string",
      "description": "The checklist note's segment ID (checklist_id from trip_checklists)."
    }
  },
  "additionalProperties": false
}
checklist_items_add annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
checklist_item_update — Update Checklist Item
Advertised by the server during the last successful anonymous check.
Advertised destructive

Change one task on a trip checklist: its text, its category (section heading), or whether it is done. Get checklist_id and item_id from trip_checklists. Send only what changes. checked true marks the task done for the current user (on a shared trip it shows complete once every traveler ticks it); checked false unticks it. category "" removes the task from its section. Never show IDs to users.

checklist_item_update input schema
{
  "type": "object",
  "required": [
    "checklist_id",
    "item_id"
  ],
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 500,
      "minLength": 1,
      "description": "New task text."
    },
    "checked": {
      "type": "boolean",
      "description": "true marks the task done for the current user; false unticks it."
    },
    "item_id": {
      "type": "string",
      "description": "The task's itemId from trip_checklists."
    },
    "category": {
      "type": "string",
      "maxLength": 40,
      "description": "New section heading; \"\" clears it."
    },
    "checklist_id": {
      "type": "string",
      "description": "The checklist note's segment ID (checklist_id from trip_checklists)."
    }
  },
  "additionalProperties": false
}
checklist_item_update annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
checklist_items_remove — Remove Checklist Items
Advertised by the server during the last successful anonymous check.
Advertised destructive

Permanently remove one or more tasks from a trip checklist. Get checklist_id and the item IDs from trip_checklists. Confirm with the user before removing. To delete a whole checklist use segment_delete. Never show IDs to users.

checklist_items_remove input schema
{
  "type": "object",
  "required": [
    "checklist_id",
    "item_ids"
  ],
  "properties": {
    "item_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 100,
      "minItems": 1,
      "description": "IDs of the tasks to remove (itemId from trip_checklists).",
      "uniqueItems": true
    },
    "checklist_id": {
      "type": "string",
      "description": "The checklist note's segment ID (checklist_id from trip_checklists)."
    }
  },
  "additionalProperties": false
}
checklist_items_remove annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
checklist_items_reorder — Reorder Checklist Items
Advertised by the server during the last successful anonymous check.
Advertised destructive

Put a trip checklist's tasks in a new order. Get checklist_id and the item IDs from trip_checklists, then send order listing every task ID exactly once in the new order. The app groups tasks under their section headings in first-appearance order. Never show IDs to users.

checklist_items_reorder input schema
{
  "type": "object",
  "required": [
    "checklist_id",
    "order"
  ],
  "properties": {
    "order": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 100,
      "minItems": 1,
      "description": "Every task ID on the checklist, in the new order.",
      "uniqueItems": true
    },
    "checklist_id": {
      "type": "string",
      "description": "The checklist note's segment ID (checklist_id from trip_checklists)."
    }
  },
  "additionalProperties": false
}
checklist_items_reorder annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
trip_cover_update — Update Trip Cover Photo
Advertised by the server during the last successful anonymous check.
Advertised destructive

Set a trip's cover photo from an image URL or a place_photo_reference returned by places_search/place_details. Becomes the trip's hero image immediately. Provide the trip_id from trips_list.

trip_cover_update input schema
{
  "type": "object",
  "required": [
    "trip_id"
  ],
  "properties": {
    "trip_id": {
      "type": "string",
      "description": "Tineo trip ID (from trips_list)."
    },
    "image_url": {
      "type": "string",
      "maxLength": 1024,
      "description": "Direct https:// image URL to use as the cover. Provide this or place_photo_reference."
    },
    "place_photo_reference": {
      "type": "string",
      "maxLength": 1000,
      "description": "A photoReference from a places_search/place_details photos entry. Provide this or image_url."
    }
  },
  "additionalProperties": false
}
trip_cover_update annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
segment_associate_place — Associate Place With Segment
Advertised by the server during the last successful anonymous check.
Advertised destructive

Attach a Google Place to an ALREADY-EXISTING segment retroactively — writes a place association and syncs the segment's address/city/country/coordinates from the place. Use when a segment has a venue/name but no address (e.g. imported from a ticket confirmation with venue-only data). Requires a place_id from places_search/place_details. For CarRental/Transfer segments pass role "origin" or "destination"; omit for single-location segments (Activity, Lodging, EventTicket, Parking), which default to "primary".

segment_associate_place input schema
{
  "type": "object",
  "required": [
    "segment_id",
    "place_id"
  ],
  "properties": {
    "role": {
      "enum": [
        "primary",
        "origin",
        "destination"
      ],
      "type": "string",
      "description": "Which location this place represents. Default \"primary\"."
    },
    "place_id": {
      "type": "string",
      "maxLength": 450,
      "description": "Google Place ID from a prior places_search/place_details call."
    },
    "segment_id": {
      "type": "string",
      "description": "Segment ID (from segment_details/trip_details) to attach the place to."
    }
  },
  "additionalProperties": false
}
segment_associate_place annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
segment_link_add — Add Link To Segment
Advertised by the server during the last successful anonymous check.

Add a separate labeled, clickable URL (for example a restaurant Menu, online check-in, or directions link) to an ALREADY-EXISTING itinerary segment. Additive only: imported and existing links are never changed or removed, and an identical URL already on the segment is reported instead of duplicated. Find the segment first: call trips_list, then trip_details with sections ["segments"] on each candidate trip and match the segment by title or venue (keyword search can miss names), then confirm with the user. Returns the saved link and every link now on the segment.

segment_link_add input schema
{
  "type": "object",
  "required": [
    "segment_id",
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "maxLength": 2048,
      "description": "Absolute http(s) URL to add, such as a restaurant menu page."
    },
    "label": {
      "type": "string",
      "maxLength": 200,
      "description": "Short button label shown for the link, such as \"Menu\", \"Online Check-in\", or \"Directions\"."
    },
    "link_type": {
      "enum": [
        "CheckIn",
        "ManageBooking",
        "ViewTickets",
        "SelectSeats",
        "GetDirections",
        "CancelReservation",
        "ViewItinerary",
        "Other"
      ],
      "type": "string",
      "description": "Optional link category. Defaults to Other (use Other for menus and general websites)."
    },
    "segment_id": {
      "type": "string",
      "description": "Segment ID (from trip_details/segment_details) to add the link to."
    }
  },
  "additionalProperties": false
}
segment_link_add annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_flight_airport_conditions — Flight Airport Conditions
Advertised by the server during the last successful anonymous check.
Advertised read-only

Get cached airport conditions, delay indices, weather, and flight rules for an IATA airport code (e.g. "ORD") or a flight segment's departure and arrival airports. Cache-only: reads existing airport intelligence and never triggers an external fetch.

get_flight_airport_conditions input schema
{
  "type": "object",
  "properties": {
    "route_to": {
      "type": "string",
      "description": "Optional destination IATA airport code when checking a specific route."
    },
    "iata_code": {
      "type": "string",
      "description": "3-letter IATA airport code, such as ORD or LHR."
    },
    "flight_segment_id": {
      "type": "string",
      "format": "uuid",
      "description": "Optional flight segment ID (from trip_details) to look up both departure and arrival conditions."
    }
  },
  "additionalProperties": false
}
get_flight_airport_conditions annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_trip_expense_summary — Trip Expense Summary
Advertised by the server during the last successful anonymous check.
Advertised read-only

Get trip spend totals, per-currency breakdowns, traveler balances, and calculated who-pays-whom settlement suggestions for a trip.

get_trip_expense_summary input schema
{
  "type": "object",
  "required": [
    "trip_id"
  ],
  "properties": {
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "Tineo trip ID (from trips_list)."
    },
    "include_settlements": {
      "type": "boolean",
      "description": "Whether to include optimal who-pays-whom settlement suggestions. Default true."
    }
  },
  "additionalProperties": false
}
get_trip_expense_summary annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
trip_expenses_list — Trip Expenses
Advertised by the server during the last successful anonymous check.
Advertised read-only

List a trip's individual expenses with who paid and how each is split, plus the trip's travelers (ID, name, and which one is the user). Use it to find an expense or traveler ID before trip_expense_update or trip_expense_create. For totals and who owes whom use get_trip_expense_summary.

trip_expenses_list input schema
{
  "type": "object",
  "required": [
    "trip_id"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "Optional words to match in the description, vendor or category."
    },
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "Tineo trip ID (from trips_list)."
    }
  },
  "additionalProperties": false
}
trip_expenses_list annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
trip_expense_create — Add trip expense
Advertised by the server during the last successful anonymous check.

Add expenses to a trip's shared expense ledger, with who paid and how each is split. Uses the same rules as the Expenses screen in Tineo. For one expense, send description and amount; for several (a list of receipts, a spreadsheet, a whole trip's costs), send them all in expenses in one call, up to 50 per call, instead of one call per expense. Each item in expenses is added or rejected on its own; failed items come back by index with the reason, so resend only those. Get traveler IDs from trip_expenses_list. Defaults: payer is the user, date is today in the user's profile time zone, an equal split with everyone on the trip (all on the payer on a solo trip). Confirm the amounts, payers and splits with the user before calling; for a batch, confirm the list once.

trip_expense_create input schema
{
  "type": "object",
  "required": [
    "trip_id"
  ],
  "properties": {
    "date": {
      "type": "string",
      "description": "Expense date, YYYY-MM-DD. Defaults to today in the user's profile time zone; send the user's local date when you know it."
    },
    "notes": {
      "type": "string"
    },
    "split": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "enum": [
            "payer",
            "equal",
            "percentage",
            "exact"
          ],
          "type": "string"
        },
        "participants": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "traveler_id"
            ],
            "properties": {
              "amount": {
                "type": "number",
                "description": "Required for exact splits."
              },
              "percentage": {
                "type": "number",
                "description": "Required for percentage splits."
              },
              "traveler_id": {
                "type": "string",
                "description": "Traveler ID from trip_expenses_list travelers, or \"me\"."
              }
            },
            "additionalProperties": false
          }
        }
      },
      "description": "Who the cost belongs to. type payer = all of it is the payer's cost (no split). equal = divided evenly among participants (omit participants for everyone on the trip). percentage = each participant's percentage, summing to 100. exact = each participant's amount, summing to the expense amount. To make an expense 100% one person's: if they paid, use type payer with paid_by set to them; if someone else paid, use percentage with only that person at 100.",
      "additionalProperties": false
    },
    "amount": {
      "type": "number",
      "description": "Total amount, greater than 0."
    },
    "vendor": {
      "type": "string",
      "description": "Merchant or vendor."
    },
    "paid_by": {
      "type": "string",
      "description": "Traveler ID from trip_expenses_list travelers, or \"me\". Defaults to me."
    },
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "Tineo trip ID (from trips_list)."
    },
    "category": {
      "enum": [
        "Transportation",
        "Lodging",
        "CarRental",
        "Food",
        "Activities",
        "Shopping",
        "Insurance",
        "Communication",
        "Tips",
        "Fees",
        "Other"
      ],
      "type": "string"
    },
    "currency": {
      "type": "string",
      "description": "3-letter currency code. Defaults to the trip currency, else USD."
    },
    "expenses": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "description",
          "amount"
        ],
        "properties": {
          "date": {
            "type": "string",
            "description": "Expense date, YYYY-MM-DD. Defaults to today in the user's profile time zone; send the user's local date when you know it."
          },
          "notes": {
            "type": "string"
          },
          "split": {
            "type": "object",
            "required": [
              "type"
            ],
            "properties": {
              "type": {
                "enum": [
                  "payer",
                  "equal",
                  "percentage",
                  "exact"
                ],
                "type": "string"
              },
              "participants": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "traveler_id"
                  ],
                  "properties": {
                    "amount": {
                      "type": "number",
                      "description": "Required for exact splits."
                    },
                    "percentage": {
                      "type": "number",
                      "description": "Required for percentage splits."
                    },
                    "traveler_id": {
                      "type": "string",
                      "description": "Traveler ID from trip_expenses_list travelers, or \"me\"."
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "description": "Who the cost belongs to. type payer = all of it is the payer's cost (no split). equal = divided evenly among participants (omit participants for everyone on the trip). percentage = each participant's percentage, summing to 100. exact = each participant's amount, summing to the expense amount. To make an expense 100% one person's: if they paid, use type payer with paid_by set to them; if someone else paid, use percentage with only that person at 100.",
            "additionalProperties": false
          },
          "amount": {
            "type": "number",
            "description": "Total amount, greater than 0."
          },
          "vendor": {
            "type": "string",
            "description": "Merchant or vendor."
          },
          "paid_by": {
            "type": "string",
            "description": "Traveler ID from trip_expenses_list travelers, or \"me\". Defaults to me."
          },
          "category": {
            "enum": [
              "Transportation",
              "Lodging",
              "CarRental",
              "Food",
              "Activities",
              "Shopping",
              "Insurance",
              "Communication",
              "Tips",
              "Fees",
              "Other"
            ],
            "type": "string"
          },
          "currency": {
            "type": "string",
            "description": "3-letter currency code. Defaults to the trip currency, else USD."
          },
          "description": {
            "type": "string",
            "description": "What the expense was for, e.g. Travel insurance."
          }
        },
        "additionalProperties": false
      },
      "maxItems": 50,
      "minItems": 1,
      "description": "Several expenses in one call, each with the same fields as a single expense. Use instead of description and amount at the top level."
    },
    "description": {
      "type": "string",
      "description": "What the expense was for, e.g. Travel insurance."
    }
  },
  "additionalProperties": false
}
trip_expense_create annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
trip_expense_update — Edit trip expense
Advertised by the server during the last successful anonymous check.
Advertised destructive

Change an existing trip expense: amount, description, date, category, who paid, or how it is split (for example, make an expense 100% one person's). Get the expense ID and traveler IDs from trip_expenses_list. Send only the fields that change; a split replaces the whole split. Changing the amount of an equal or percentage split keeps the same people and proportions. Only the trip owner or an editor can edit expenses.

trip_expense_update input schema
{
  "type": "object",
  "required": [
    "expense_id"
  ],
  "properties": {
    "date": {
      "type": "string",
      "description": "Expense date, YYYY-MM-DD."
    },
    "notes": {
      "type": "string"
    },
    "split": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "enum": [
            "payer",
            "equal",
            "percentage",
            "exact"
          ],
          "type": "string"
        },
        "participants": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "traveler_id"
            ],
            "properties": {
              "amount": {
                "type": "number",
                "description": "Required for exact splits."
              },
              "percentage": {
                "type": "number",
                "description": "Required for percentage splits."
              },
              "traveler_id": {
                "type": "string",
                "description": "Traveler ID from trip_expenses_list travelers, or \"me\"."
              }
            },
            "additionalProperties": false
          }
        }
      },
      "description": "Who the cost belongs to. type payer = all of it is the payer's cost (no split). equal = divided evenly among participants (omit participants for everyone on the trip). percentage = each participant's percentage, summing to 100. exact = each participant's amount, summing to the expense amount. To make an expense 100% one person's: if they paid, use type payer with paid_by set to them; if someone else paid, use percentage with only that person at 100.",
      "additionalProperties": false
    },
    "amount": {
      "type": "number",
      "description": "Total amount, greater than 0."
    },
    "vendor": {
      "type": "string",
      "description": "Merchant or vendor."
    },
    "paid_by": {
      "type": "string",
      "description": "Traveler ID from trip_expenses_list travelers, or \"me\"."
    },
    "category": {
      "enum": [
        "Transportation",
        "Lodging",
        "CarRental",
        "Food",
        "Activities",
        "Shopping",
        "Insurance",
        "Communication",
        "Tips",
        "Fees",
        "Other"
      ],
      "type": "string"
    },
    "currency": {
      "type": "string",
      "description": "3-letter currency code."
    },
    "expense_id": {
      "type": "string",
      "format": "uuid",
      "description": "Expense ID from trip_expenses_list."
    },
    "description": {
      "type": "string",
      "description": "What the expense was for, e.g. Travel insurance."
    }
  },
  "additionalProperties": false
}
trip_expense_update annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
get_flight_change_history — Flight Change History
Advertised by the server during the last successful anonymous check.
Advertised read-only

Get recorded historical timeline of flight schedule changes, gate changes, and delays for flights monitored on the user's trips.

get_flight_change_history input schema
{
  "type": "object",
  "properties": {
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "Optional trip ID to filter changes for flights on that trip."
    },
    "since_days": {
      "type": "integer",
      "maximum": 365,
      "minimum": 1,
      "description": "Lookback window in days. Default 30."
    },
    "flight_date": {
      "type": "string",
      "format": "date",
      "description": "Optional flight departure date in YYYY-MM-DD format."
    },
    "airline_code": {
      "type": "string",
      "description": "Optional 2-letter airline code, such as UA."
    },
    "flight_number": {
      "type": "string",
      "description": "Optional flight number, such as 1234."
    },
    "flight_segment_id": {
      "type": "string",
      "format": "uuid",
      "description": "Optional flight segment ID."
    }
  },
  "additionalProperties": false
}
get_flight_change_history annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
diagnose_failed_import — Diagnose Failed Import
Advertised by the server during the last successful anonymous check.
Advertised read-only

Triage a failed, held, or partially processed email import on the user's account. Returns the failure step, error message, likely reason, and actionable next steps.

diagnose_failed_import input schema
{
  "type": "object",
  "properties": {
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "Optional trip ID to look up the most recent non-clean import for that trip."
    },
    "import_id": {
      "type": "string",
      "format": "uuid",
      "description": "Specific EmailImport ID to diagnose."
    }
  },
  "additionalProperties": false
}
diagnose_failed_import annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_day_of_travel_brief — Day Of Travel Brief
Advertised by the server during the last successful anonymous check.
Advertised read-only

Get airport day-of-travel intelligence combining cached airport conditions and ground-transportation guides (trains, shuttles, taxis) for an airport code or flight segment.

get_day_of_travel_brief input schema
{
  "type": "object",
  "properties": {
    "iata_code": {
      "type": "string",
      "description": "3-letter IATA airport code, such as ATL."
    },
    "flight_segment_id": {
      "type": "string",
      "format": "uuid",
      "description": "Optional flight segment ID (from trip_details) to check departure and arrival airports."
    }
  },
  "additionalProperties": false
}
get_day_of_travel_brief output schema
{
  "type": "object",
  "properties": {
    "note": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "const": "day_of_travel_brief"
    },
    "airports": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "city": {
            "type": [
              "string",
              "null"
            ]
          },
          "iata": {
            "type": "string"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "type": "string"
          },
          "conditions": {
            "type": [
              "object",
              "null"
            ]
          },
          "groundTransport": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "groundTransportNote": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "retrievedAt": {
      "type": "string"
    }
  }
}
get_day_of_travel_brief annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
search_airport_lounges — Search Airport Lounges
Advertised by the server during the last successful anonymous check.
Advertised read-only

Requires Tineo Ultra access. Search Tineo's populated first-party airport-lounge catalog by IATA and optional terminal/gate. Returns terminal, concourse, stored gate reference, location, access, amenity, rating, and day-pass fields with categorical gate relevance (not walking distance).

search_airport_lounges input schema
{
  "type": "object",
  "required": [
    "iata_code"
  ],
  "properties": {
    "gate": {
      "type": "string",
      "maxLength": 40,
      "description": "Optional gate, such as A17."
    },
    "terminal": {
      "type": "string",
      "maxLength": 100,
      "description": "Optional terminal or concourse, such as Terminal 5 or Concourse A."
    },
    "iata_code": {
      "type": "string",
      "pattern": "^[A-Za-z]{3}$",
      "description": "Required 3-letter IATA airport code, such as ATL."
    },
    "max_results": {
      "type": "integer",
      "maximum": 20,
      "minimum": 1,
      "description": "Maximum lounges returned. Default 10."
    }
  },
  "additionalProperties": false
}
search_airport_lounges output schema
{
  "type": "object",
  "required": [
    "type",
    "schemaVersion",
    "airportIata",
    "totalMatches",
    "lounges"
  ],
  "properties": {
    "gate": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 40
    },
    "note": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 500
    },
    "type": {
      "type": "string",
      "const": "airport_lounge_search"
    },
    "lounges": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "airportIata",
          "loungeName",
          "loungeSlug",
          "terminal",
          "concourse",
          "gate",
          "gateRelevance",
          "locationDetails",
          "crowdLevel",
          "dayPassAvailable",
          "dayPassMinPriceUsd",
          "dayPassBookingUrl",
          "dayPassProvider",
          "overallRating",
          "accessTypes",
          "accessRules",
          "amenities",
          "amenityDetails",
          "hours",
          "photos",
          "sourceUrl"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "gate": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 40
          },
          "hours": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "dayOfWeek",
                "dayName",
                "openTime",
                "closeTime",
                "is24Hours",
                "isClosed",
                "rawSchedule"
              ],
              "properties": {
                "dayName": {
                  "type": "string",
                  "maxLength": 20
                },
                "isClosed": {
                  "type": "boolean"
                },
                "openTime": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 20
                },
                "closeTime": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 20
                },
                "dayOfWeek": {
                  "type": "integer",
                  "maximum": 6,
                  "minimum": 0
                },
                "is24Hours": {
                  "type": "boolean"
                },
                "rawSchedule": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 100
                }
              },
              "additionalProperties": false
            },
            "maxItems": 7
          },
          "photos": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uri",
              "maxLength": 2048
            },
            "maxItems": 3
          },
          "terminal": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 100
          },
          "amenities": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 150
            },
            "maxItems": 50
          },
          "concourse": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 100
          },
          "sourceUrl": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri",
            "maxLength": 2048
          },
          "crowdLevel": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 50
          },
          "loungeName": {
            "type": "string",
            "maxLength": 200
          },
          "loungeSlug": {
            "type": "string",
            "maxLength": 200
          },
          "accessRules": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "accessType",
                "ruleName",
                "description",
                "conditions"
              ],
              "properties": {
                "ruleName": {
                  "type": "string",
                  "maxLength": 150
                },
                "accessType": {
                  "type": "string",
                  "maxLength": 50
                },
                "conditions": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 500
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "maxLength": 500
                }
              },
              "additionalProperties": false
            },
            "maxItems": 20
          },
          "accessTypes": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 50
            },
            "maxItems": 20
          },
          "airportIata": {
            "type": "string",
            "pattern": "^[A-Z]{3}$",
            "maxLength": 3,
            "minLength": 3
          },
          "gateRelevance": {
            "enum": [
              "exact_gate",
              "same_terminal_or_concourse",
              "airport_only",
              null
            ],
            "type": [
              "string",
              "null"
            ],
            "maxLength": 50
          },
          "overallRating": {
            "type": [
              "number",
              "null"
            ],
            "maximum": 5,
            "exclusiveMinimum": 0
          },
          "amenityDetails": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "category",
                "amenityName",
                "isComplimentary",
                "priceExtraUsd"
              ],
              "properties": {
                "category": {
                  "type": "string",
                  "maxLength": 100
                },
                "amenityName": {
                  "type": "string",
                  "maxLength": 150
                },
                "priceExtraUsd": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "minimum": 0
                },
                "isComplimentary": {
                  "type": "boolean"
                }
              },
              "additionalProperties": false
            },
            "maxItems": 50
          },
          "dayPassProvider": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 100
          },
          "locationDetails": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 500
          },
          "dayPassAvailable": {
            "type": "boolean"
          },
          "dayPassBookingUrl": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 2048
          },
          "dayPassMinPriceUsd": {
            "type": [
              "number",
              "null"
            ],
            "minimum": 0
          }
        },
        "additionalProperties": false
      },
      "maxItems": 20
    },
    "terminal": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 100
    },
    "localDate": {
      "type": [
        "string",
        "null"
      ],
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
    },
    "timeFormat": {
      "enum": [
        "auto",
        "h12",
        "h24"
      ],
      "type": "string",
      "description": "The signed-in user's saved time format. Absent or auto uses the host locale."
    },
    "airportIata": {
      "type": "string",
      "pattern": "^[A-Z]{3}$",
      "maxLength": 3,
      "minLength": 3
    },
    "totalMatches": {
      "type": "integer",
      "maximum": 2147483647,
      "minimum": 0
    },
    "schemaVersion": {
      "type": "integer",
      "const": 1
    },
    "airportTimeZone": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 100
    }
  },
  "additionalProperties": false
}
search_airport_lounges annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
forwarding_address_get — Get Forwarding Address
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read the authenticated user's Tineo email forwarding addresses without changing anything. Returns the personal forwarding address when one exists, any other active personal addresses, and the universal trips@tineo.ai address, which works for mail forwarded from the user's primary or registered email. A personal address can also receive mail sent by an assistant or travel provider. If the user has no personal address and wants one, use forwarding_address_create after they ask for it.

forwarding_address_get input schema
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
forwarding_address_get annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
forwarding_address_create — Create Forwarding Address
Advertised by the server during the last successful anonymous check.
Open-world

Create the authenticated user's personal Tineo forwarding address when they explicitly ask for one. Tineo reads email sent to that address and adds the travel bookings it finds to the user's trips, so the user can forward confirmations from any inbox or give it to a travel agent or booking site. Never replaces or changes an existing address: if one already exists it is returned unchanged. Use forwarding_address_get to read addresses without creating one.

forwarding_address_create input schema
{
  "type": "object",
  "required": [
    "confirmed"
  ],
  "properties": {
    "confirmed": {
      "type": "boolean",
      "description": "Must be true, set only after the user explicitly asks to create a forwarding address."
    }
  },
  "additionalProperties": false
}
forwarding_address_create annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
get_travel_stats — Get Travel Stats
Advertised by the server during the last successful anonymous check.
Advertised read-only

Get lifetime travel summary statistics across all owned and shared trips: total trips, completed trips, total segments, and segment counts by type.

get_travel_stats input schema
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
get_travel_stats annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
audit_travel_documents — Audit Travel Documents
Advertised by the server during the last successful anonymous check.
Advertised read-only

Audit expiration dates of the user's travel documents (passports, visas, insurance) and flag expired, expiring soon (<180 days), or expiring before trip end.

audit_travel_documents input schema
{
  "type": "object",
  "properties": {
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "Optional trip ID to check documents against that trip's dates."
    }
  },
  "additionalProperties": false
}
audit_travel_documents annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
friends_list — List Friends
Advertised by the server during the last successful anonymous check.
Advertised read-only

List the authenticated user's accepted friends (paged). Returns each friend's name, home location, your label for them (Friend/Family) and your two-way trip-sharing state. Never returns other users' email addresses.

friends_list input schema
{
  "type": "object",
  "required": [],
  "properties": {
    "page": {
      "type": "integer",
      "minimum": 1,
      "description": "1-based page number. Default 1."
    },
    "search": {
      "type": "string",
      "description": "Optional case-insensitive name filter."
    },
    "page_size": {
      "type": "integer",
      "maximum": 50,
      "minimum": 1,
      "description": "Friends per page (max 50). Default 20."
    }
  }
}
friends_list annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
friend_requests_pending — Pending Friend Requests
Advertised by the server during the last successful anonymous check.
Advertised read-only

List the authenticated user's pending friend requests, split into incoming (awaiting your response) and outgoing (awaiting the other person). Returns the counterpart's name only, never their email. Use the returned request_id with friend_request_accept / friend_request_decline / friend_request_resend.

friend_requests_pending input schema
{
  "type": "object",
  "required": [],
  "properties": {}
}
friend_requests_pending annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
friend_request_send — Send Friend Request
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Send a friend request to another user by user_id, or by email. This emails a real person, so ALWAYS confirm the recipient with the user before calling, and pass confirmed=true only once they agree. Provide exactly one of user_id or email. If the email belongs to someone not on Tineo, an invitation to join is sent instead. For privacy, the email path always reports the same neutral result whether or not the address is registered.

friend_request_send input schema
{
  "type": "object",
  "required": [
    "confirmed"
  ],
  "properties": {
    "email": {
      "type": "string",
      "description": "Target email address. Provide this OR user_id, not both."
    },
    "message": {
      "type": "string",
      "description": "Optional personal note (max 280 chars)."
    },
    "user_id": {
      "type": "string",
      "description": "Target user id (e.g. from friends_list or a suggestion). Provide this OR email, not both."
    },
    "confirmed": {
      "type": "boolean",
      "description": "Must be true. Set only after the user has confirmed they want to send this request/invite."
    }
  }
}
friend_request_send annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
friend_request_accept — Accept Friend Request
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Accept an INCOMING pending friend request by request_id (from friend_requests_pending). This connects you and notifies the sender, so confirm with the user before calling.

friend_request_accept input schema
{
  "type": "object",
  "required": [
    "request_id"
  ],
  "properties": {
    "request_id": {
      "type": "string",
      "description": "The incoming request id from friend_requests_pending."
    }
  }
}
friend_request_accept annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
friend_request_decline — Decline Friend Request
Advertised by the server during the last successful anonymous check.
Advertised destructive

Decline an INCOMING pending friend request by request_id (from friend_requests_pending). Confirm with the user before calling.

friend_request_decline input schema
{
  "type": "object",
  "required": [
    "request_id"
  ],
  "properties": {
    "request_id": {
      "type": "string",
      "description": "The incoming request id from friend_requests_pending."
    }
  }
}
friend_request_decline annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
friend_request_resend — Resend Friend Request
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Resend the notification email for one of YOUR OUTGOING pending friend requests by request_id (from friend_requests_pending). This re-emails the recipient, so confirm with the user first and pass confirmed=true. Throttled on an escalating cadence (60s after the original send, 24h after the first resend) and capped at 2 total resends per request.

friend_request_resend input schema
{
  "type": "object",
  "required": [
    "request_id",
    "confirmed"
  ],
  "properties": {
    "confirmed": {
      "type": "boolean",
      "description": "Must be true. Set only after the user confirms they want to resend."
    },
    "request_id": {
      "type": "string",
      "description": "The outgoing request id from friend_requests_pending."
    }
  }
}
friend_request_resend annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
trip_sharing_get — Get trip sharing
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read who can see the user's own trips, one trip (trip_id) or every trip they own (paged). For each trip it reports the three sharing mechanisms separately: people with per-trip access (access edit/view/invited/none, where invited means an invitation awaits acceptance and can still be revoked; invitation status pending/accepted/declined/expired, level view/edit, and traveler role), whether a public view link is active, and the trip's own friend-sharing switches (hidden from friends, plans shared with friends; per trip, not account settings). Pass friend_user_id (from friends_list) to also get that friend's exact state on each trip: per-trip access, invitation, and whether they see the trip summary or full plan through friend sharing (planVisibleVia: friend_grant = the user shares plans with this friend on every trip, trip_grant = this trip shares plans with all friends, or both). Use this before trip_sharing_set and to report sharing status. Only the trip owner can read this. Revoked invitations are deleted, so they are not listed. Never show IDs to the user.

trip_sharing_get input schema
{
  "type": "object",
  "required": [],
  "properties": {
    "page": {
      "type": "integer",
      "minimum": 1,
      "description": "1-based page when trip_id is omitted. Default 1."
    },
    "trip_id": {
      "type": "string",
      "description": "Optional trip ID. Omit to page through every trip the user owns."
    },
    "page_size": {
      "type": "integer",
      "maximum": 50,
      "minimum": 1,
      "description": "Trips per page (max 50). Default 25."
    },
    "upcoming_only": {
      "type": "boolean",
      "description": "Only trips that have not ended yet. Default false."
    },
    "friend_user_id": {
      "type": "string",
      "description": "Optional friend user_id from friends_list. Adds that friend's access on each trip."
    }
  }
}
trip_sharing_get annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
trip_sharing_set — Share trips with a friend
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Give one friend view or edit access to the user's own trips, change their level, or remove it (access=none), for specific trips (trip_ids) or every trip the user owns (all_trips=true, 25 per page). Idempotent: it checks each trip first and only changes what differs, so re-running it never sends a duplicate invitation. New access is an invitation emailed to the friend, who gets access once they accept. Without confirmed=true nothing is written or emailed: it returns the plan per trip (would_invite, would_update_access, would_revoke, already_correct, already_invited, needs_attention). Show that plan, and call again with the same arguments plus confirmed=true only once the user has explicitly asked for this change, in this conversation or in the instructions of a scheduled task they set up; after they approve the plan, apply it without previewing or asking again. Results per trip: invited, invitation_updated, access_updated, revoked, already_correct, already_invited, needs_attention (with a reason, e.g. not the owner or access via the traveler list) or failed; report them to the user, describing invited trips as pending invitations rather than access already granted. Friend summaries are separate and never changed here: they follow the user's friend settings and each trip's hide-from-friends switch. Only friends can get access; for someone who is not a friend yet, offer friend_request_send first. If their friend request is still pending, the call changes nothing and returns friendRequest and a note: tell the user they haven't accepted yet, and only if the user still wants it, call again with confirmed=true and pending_friend_confirmed=true. Get friend_user_id from friends_list; never guess it from a name. Never show IDs to the user.

trip_sharing_set input schema
{
  "type": "object",
  "required": [
    "friend_user_id",
    "access"
  ],
  "properties": {
    "page": {
      "type": "integer",
      "minimum": 1,
      "description": "With all_trips, the 1-based page of 25 trips. Default 1."
    },
    "access": {
      "enum": [
        "view",
        "edit",
        "none"
      ],
      "type": "string",
      "description": "view = can see the trip; edit = can change it; none = remove their per-trip access."
    },
    "message": {
      "type": "string",
      "description": "Optional note for new invitation emails (max 280 chars)."
    },
    "trip_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 25,
      "description": "Trip IDs to change. Provide this OR all_trips."
    },
    "all_trips": {
      "type": "boolean",
      "description": "Apply to every trip the user owns, 25 per page. Provide this OR trip_ids."
    },
    "confirmed": {
      "type": "boolean",
      "description": "true applies the change. Omit or false to preview without writing or emailing anything."
    },
    "upcoming_only": {
      "type": "boolean",
      "description": "With all_trips, only trips that have not ended yet. Default false."
    },
    "friend_user_id": {
      "type": "string",
      "description": "The friend's user_id from friends_list. For access=none, any user_id listed with access in trip_sharing_get."
    },
    "pending_friend_confirmed": {
      "type": "boolean",
      "description": "Only when the friend request is still pending: true once the user, told they haven't accepted yet, still wants to grant this access."
    }
  }
}
trip_sharing_set annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": true
}
trip_share_link — Get a share link for a trip
Advertised by the server during the last successful anonymous check.
Open-world

Get a share link for one of the user's trips, so they can send it to the people they are planning or travelling with. Anyone who has the link can open the trip in a browser without a Tineo account; they see the itinerary, and private details such as a stay's street address are left out. A trip has one share link: calling this again returns the same link. Use it when the user asks to share a trip, send it to friends or family, or get a link for a group, including a trip of saved search results to compare. Without confirmed=true nothing is created: it returns what the link will do. Call with confirmed=true only after the user has asked for a share link for this trip. Give the user the link as a clickable link. For giving one existing Tineo friend view or edit access, use trip_sharing_set instead. Never show IDs to the user.

trip_share_link input schema
{
  "type": "object",
  "required": [
    "trip_id"
  ],
  "properties": {
    "trip_id": {
      "type": "string",
      "description": "The trip's ID from trips_list, trip_create or batch_segment_create."
    },
    "confirmed": {
      "type": "boolean",
      "description": "true creates or returns the link. Omit or false to preview without creating anything."
    }
  },
  "additionalProperties": false
}
trip_share_link annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
cities_search — Search City Catalog
Advertised by the server during the last successful anonymous check.
Advertised read-only

Search the saved city catalog by city name or alias before adding a city to a trip. Matches whole names, name prefixes and word starts (not text inside a word), exact matches first. Pass country to limit results to one country. An empty result does not mean the place does not exist: trip_city_add can add a real town or island that is missing from the catalog when you pass city_name and country. Returns stored city IDs and location details. Search results do not add or select a city.

cities_search input schema
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "maximum": 50,
      "minimum": 1,
      "description": "Maximum number of results, from 1 to 50. Defaults to 10."
    },
    "query": {
      "type": "string",
      "maxLength": 100,
      "minLength": 2,
      "description": "City name or alias to search; two to 100 characters after trimming."
    },
    "country": {
      "type": "string",
      "maxLength": 100,
      "description": "Optional country name or ISO code (for example CR or Costa Rica) to limit results to that country. Pass it whenever the user named a country."
    }
  },
  "additionalProperties": false
}
cities_search annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
trip_cities_list — List Trip Cities
Advertised by the server during the last successful anonymous check.
Advertised read-only

List the ordered city associations for a trip. Returns trip_city_id values used by update, remove, and reorder.

trip_cities_list input schema
{
  "type": "object",
  "required": [
    "trip_id"
  ],
  "properties": {
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "Trip ID."
    }
  }
}
trip_cities_list annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
trip_city_add — Add Trip City
Advertised by the server during the last successful anonymous check.

Add a city to the end of a trip's ordered city list. This is idempotent when an equivalent city is already present. Pass city_name plus country: names are matched against the catalog (including aliases), a major city that shares its name with smaller places resolves to the major one, and a real town or island missing from the catalog (for example Bijagua or Santorini) is looked up in that country and added automatically.

trip_city_add input schema
{
  "type": "object",
  "required": [
    "trip_id"
  ],
  "properties": {
    "city_id": {
      "type": "string",
      "format": "uuid",
      "description": "Exact city catalog ID. Provide this OR city_name."
    },
    "country": {
      "type": "string",
      "description": "Country name or ISO code (for example CR or Costa Rica). Strongly recommended with city_name: it disambiguates same-named cities and lets Tineo add a place that is missing from the catalog."
    },
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "Trip ID."
    },
    "city_name": {
      "type": "string",
      "description": "City, town or island name. Provide this OR city_id; ambiguous names return candidates, so pass country as well."
    }
  }
}
trip_city_add annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
trip_city_update — Update Trip City
Advertised by the server during the last successful anonymous check.
Advertised destructive

Replace one trip-city association with another city. This never edits the shared city catalog record.

trip_city_update input schema
{
  "type": "object",
  "required": [
    "trip_id",
    "trip_city_id"
  ],
  "properties": {
    "city_id": {
      "type": "string",
      "format": "uuid",
      "description": "Exact city catalog ID. Provide this OR city_name."
    },
    "country": {
      "type": "string",
      "description": "Country name or ISO code (for example CR or Costa Rica). Strongly recommended with city_name: it disambiguates same-named cities and lets Tineo add a place that is missing from the catalog."
    },
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "Trip ID."
    },
    "city_name": {
      "type": "string",
      "description": "City, town or island name. Provide this OR city_id; ambiguous names return candidates, so pass country as well."
    },
    "trip_city_id": {
      "type": "string",
      "format": "uuid",
      "description": "Trip-city association ID returned by trip_cities_list."
    }
  }
}
trip_city_update annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
trip_city_remove — Remove Trip City
Advertised by the server during the last successful anonymous check.
Advertised destructive

Remove one city association from a trip by trip_city_id. Confirm this destructive action with the user first.

trip_city_remove input schema
{
  "type": "object",
  "required": [
    "trip_id",
    "trip_city_id"
  ],
  "properties": {
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "Trip ID."
    },
    "trip_city_id": {
      "type": "string",
      "format": "uuid",
      "description": "Trip-city association ID returned by trip_cities_list."
    }
  }
}
trip_city_remove annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
trip_cities_reorder — Reorder Trip Cities
Advertised by the server during the last successful anonymous check.
Advertised destructive

Replace the trip city order using every current trip_city_id exactly once. The first city drives the automatic cover when an image is available.

trip_cities_reorder input schema
{
  "type": "object",
  "required": [
    "trip_id",
    "ordered_trip_city_ids"
  ],
  "properties": {
    "trip_id": {
      "type": "string",
      "format": "uuid",
      "description": "Trip ID."
    },
    "ordered_trip_city_ids": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "description": "Complete ordered list of current trip_city_id values."
    }
  }
}
trip_cities_reorder annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
journal_entry_create — Save Journal Entry
Advertised by the server during the last successful anonymous check.

Save one real entry in the user's Library Journal when they ask to save or create a journal entry or travel memory. This is NOT a trip NoteSegment: never substitute a note categorized Journal or claim a journal was saved without this tool succeeding. Use the user's text or, when requested, a factual summary of retrieved trip events. Do not invent attendance, experiences or feelings from itinerary plans. Use dates supplied or established by the user; ask when the date or source is unclear. An explicit create/save request authorizes this private additive save without another confirmation; a request to draft text alone does not. Entries are private and excluded from shared travel books; linking a trip does not share the entry. Generate a new clientId UUID once per entry and reuse the exact UUID and content on retries. On success use the returned entryUrl to open the actual saved entry. On errors do not claim success or silently switch to another storage type.

journal_entry_create input schema
{
  "type": "object",
  "required": [
    "clientId",
    "title",
    "story",
    "entryDate"
  ],
  "properties": {
    "story": {
      "type": "string",
      "maxLength": 20000,
      "minLength": 1,
      "description": "Preserve the user's own account. When summarizing retrieved itinerary events, describe them neutrally as booked or scheduled plans, even for past dates. A booking is not evidence the user attended. Never write that the user or 'we' attended, visited, enjoyed, watched, joined or experienced something unless the user supplied that fact. Do not invent feelings or sensory details."
    },
    "title": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "description": "A concise title from the user's text or requested factual event summary."
    },
    "tripId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "Optional exact accessible trip ID. Null saves without a trip."
    },
    "clientId": {
      "type": "string",
      "format": "uuid",
      "description": "New UUID for this entry. Reuse unchanged on a transport retry."
    },
    "entryDate": {
      "type": "string",
      "format": "date",
      "description": "Journal date, YYYY-MM-DD. Resolve relative dates from the user's context; ask if unclear."
    },
    "locationName": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 300,
      "description": "Optional user-supplied place label."
    }
  },
  "additionalProperties": false
}
journal_entry_create annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
library_lists_search — Find Library Lists
Advertised by the server during the last successful anonymous check.
Advertised read-only

Find the signed-in user's Tineo Library Lists by title or description. Return candidate IDs; when several titles match, ask the user to select one. These are freestanding Library Lists, separate from trip packing/checklists. Only lists are supported; do not invent journal, place or file edits.

library_lists_search input schema
{
  "type": "object",
  "required": [],
  "properties": {
    "limit": {
      "type": "integer",
      "default": 20,
      "maximum": 50,
      "minimum": 0,
      "description": "Maximum candidates, 1..50. Omitted or zero uses 20."
    },
    "query": {
      "type": "string",
      "maxLength": 2000
    },
    "offset": {
      "type": "integer",
      "default": 0,
      "minimum": 0
    },
    "itemType": {
      "enum": [
        "list"
      ],
      "type": "string",
      "default": "list"
    }
  },
  "additionalProperties": false
}
library_lists_search annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
library_list_get — Read Library List
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read one owned Tineo Library List, including every stable item UUID and its version. Read before editing; preserve fields the user did not ask to change. Never use trip segment IDs or guess list/item IDs.

library_list_get input schema
{
  "type": "object",
  "required": [
    "listId"
  ],
  "properties": {
    "listId": {
      "type": "string",
      "format": "uuid"
    },
    "itemType": {
      "enum": [
        "list"
      ],
      "type": "string",
      "default": "list"
    }
  },
  "additionalProperties": false
}
library_list_get annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
library_list_update — Update Library List
Advertised by the server during the last successful anonymous check.
Advertised destructive

Change one owned Library List's own details (title, emoji, color, description). Changes only the fields named in updateFields; never touches the list's items. Use the listId and expectedVersion from the latest library_list_get. On library_version_mismatch, read the list again and reconsider the change; never retry blindly. Library Lists only, not trip checklists.

library_list_update input schema
{
  "type": "object",
  "required": [
    "listId",
    "expectedVersion",
    "updateFields",
    "updates"
  ],
  "properties": {
    "listId": {
      "type": "string",
      "format": "uuid",
      "description": "Library List ID from library_lists_search or library_list_get."
    },
    "updates": {
      "type": "object",
      "properties": {
        "color": {
          "type": "string",
          "maxLength": 64
        },
        "emoji": {
          "type": "string",
          "maxLength": 16,
          "minLength": 1
        },
        "title": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1
        },
        "description": {
          "type": "string",
          "maxLength": 2000
        }
      },
      "description": "New values for the fields named in updateFields.",
      "minProperties": 1,
      "additionalProperties": false
    },
    "updateFields": {
      "type": "array",
      "items": {
        "enum": [
          "title",
          "emoji",
          "color",
          "description"
        ],
        "type": "string"
      },
      "maxItems": 4,
      "minItems": 1,
      "description": "The fields the user asked to change. Only these keys of updates are applied. To clear a nullable field, name it here and set it to an empty string, only when the user asks to clear it.",
      "uniqueItems": true
    },
    "expectedVersion": {
      "type": "string",
      "maxLength": 64,
      "minLength": 64,
      "description": "Opaque version from the latest library_list_get or Library List tool result."
    }
  },
  "additionalProperties": false
}
library_list_update annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
library_list_item_add — Add Library List Item
Advertised by the server during the last successful anonymous check.

Add one item to an owned Library List. Generate one new itemId UUID for the item and reuse it on retries, so a retried call never adds a duplicate. Use the listId and expectedVersion from the latest library_list_get. On library_version_mismatch, read the list again and reconsider the change; never retry blindly. Library Lists only, not trip checklists.

library_list_item_add input schema
{
  "type": "object",
  "required": [
    "listId",
    "expectedVersion",
    "itemId",
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 2000,
      "minLength": 1,
      "description": "The item's text."
    },
    "itemId": {
      "type": "string",
      "format": "uuid",
      "description": "New caller-generated UUID for the item; reuse the same value when retrying."
    },
    "listId": {
      "type": "string",
      "format": "uuid",
      "description": "Library List ID from library_lists_search or library_list_get."
    },
    "expectedVersion": {
      "type": "string",
      "maxLength": 64,
      "minLength": 64,
      "description": "Opaque version from the latest library_list_get or Library List tool result."
    }
  },
  "additionalProperties": false
}
library_list_item_add annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
library_list_items_add — Add Library List Items
Advertised by the server during the last successful anonymous check.

Add several items to an owned Library List in one call, in order (for example a whole packing or to-do list). Give each item its own new itemId UUID and reuse the same values on retries, so a retried call never adds duplicates. Up to 100 items per call; split longer lists. Use the listId and expectedVersion from the latest library_list_get. On library_version_mismatch, read the list again and reconsider the change; never retry blindly. Library Lists only, not trip checklists.

library_list_items_add input schema
{
  "type": "object",
  "required": [
    "listId",
    "expectedVersion",
    "items"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "itemId",
          "text"
        ],
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 2000,
            "minLength": 1,
            "description": "The item's text."
          },
          "itemId": {
            "type": "string",
            "format": "uuid",
            "description": "New caller-generated UUID for this item; reuse the same value when retrying."
          }
        },
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 1,
      "description": "The new items in order."
    },
    "listId": {
      "type": "string",
      "format": "uuid",
      "description": "Library List ID from library_lists_search or library_list_get."
    },
    "expectedVersion": {
      "type": "string",
      "maxLength": 64,
      "minLength": 64,
      "description": "Opaque version from the latest library_list_get or Library List tool result."
    }
  },
  "additionalProperties": false
}
library_list_items_add annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
library_list_item_update — Update Library List Item
Advertised by the server during the last successful anonymous check.
Advertised destructive

Change one existing item in an owned Library List (text, completed, color, notes, priority, dueDate), for example to check it off. Changes only the fields named in updateFields. Use the listId and expectedVersion from the latest library_list_get. On library_version_mismatch, read the list again and reconsider the change; never retry blindly. Library Lists only, not trip checklists.

library_list_item_update input schema
{
  "type": "object",
  "required": [
    "listId",
    "expectedVersion",
    "itemId",
    "updateFields",
    "updates"
  ],
  "properties": {
    "itemId": {
      "type": "string",
      "format": "uuid",
      "description": "Existing item ID from library_list_get."
    },
    "listId": {
      "type": "string",
      "format": "uuid",
      "description": "Library List ID from library_lists_search or library_list_get."
    },
    "updates": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "maxLength": 2000,
          "minLength": 1
        },
        "color": {
          "type": "string",
          "maxLength": 64
        },
        "notes": {
          "type": "string",
          "maxLength": 4000
        },
        "dueDate": {
          "type": "string",
          "maxLength": 32
        },
        "priority": {
          "type": "string",
          "pattern": "^(low|medium|high)?$"
        },
        "completed": {
          "type": "boolean"
        }
      },
      "description": "New values for the fields named in updateFields.",
      "minProperties": 1,
      "additionalProperties": false
    },
    "updateFields": {
      "type": "array",
      "items": {
        "enum": [
          "text",
          "completed",
          "color",
          "notes",
          "priority",
          "dueDate"
        ],
        "type": "string"
      },
      "maxItems": 6,
      "minItems": 1,
      "description": "The fields the user asked to change. Only these keys of updates are applied. To clear a nullable field, name it here and set it to an empty string, only when the user asks to clear it.",
      "uniqueItems": true
    },
    "expectedVersion": {
      "type": "string",
      "maxLength": 64,
      "minLength": 64,
      "description": "Opaque version from the latest library_list_get or Library List tool result."
    }
  },
  "additionalProperties": false
}
library_list_item_update annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
library_list_item_delete — Delete Library List Item
Advertised by the server during the last successful anonymous check.
Advertised destructive

Permanently delete one item from an owned Library List. Show the user the exact item first; call with confirmed=true only after they confirm. Use the listId and expectedVersion from the latest library_list_get. On library_version_mismatch, read the list again and reconsider the change; never retry blindly. Library Lists only, not trip checklists.

library_list_item_delete input schema
{
  "type": "object",
  "required": [
    "listId",
    "expectedVersion",
    "itemId",
    "confirmed"
  ],
  "properties": {
    "itemId": {
      "type": "string",
      "format": "uuid",
      "description": "Existing item ID from library_list_get."
    },
    "listId": {
      "type": "string",
      "format": "uuid",
      "description": "Library List ID from library_lists_search or library_list_get."
    },
    "confirmed": {
      "type": "boolean",
      "description": "True only after the user explicitly confirms this exact change. Without it the tool changes nothing and returns the change for review."
    },
    "expectedVersion": {
      "type": "string",
      "maxLength": 64,
      "minLength": 64,
      "description": "Opaque version from the latest library_list_get or Library List tool result."
    }
  },
  "additionalProperties": false
}
library_list_item_delete annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
library_list_items_reorder — Reorder Library List Items
Advertised by the server during the last successful anonymous check.
Advertised destructive

Reorder the items of an owned Library List. orderedItemIds must contain every current item ID exactly once, in the new order. Show the user the proposed order first; call with confirmed=true only after they confirm. Use the listId and expectedVersion from the latest library_list_get. On library_version_mismatch, read the list again and reconsider the change; never retry blindly. Library Lists only, not trip checklists.

library_list_items_reorder input schema
{
  "type": "object",
  "required": [
    "listId",
    "expectedVersion",
    "orderedItemIds",
    "confirmed"
  ],
  "properties": {
    "listId": {
      "type": "string",
      "format": "uuid",
      "description": "Library List ID from library_lists_search or library_list_get."
    },
    "confirmed": {
      "type": "boolean",
      "description": "True only after the user explicitly confirms this exact change. Without it the tool changes nothing and returns the change for review."
    },
    "orderedItemIds": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "maxItems": 10000,
      "minItems": 1,
      "description": "Every current item ID exactly once, in the new order.",
      "uniqueItems": true
    },
    "expectedVersion": {
      "type": "string",
      "maxLength": 64,
      "minLength": 64,
      "description": "Opaque version from the latest library_list_get or Library List tool result."
    }
  },
  "additionalProperties": false
}
library_list_items_reorder annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
library_list_clear_completed — Clear Completed Library List Items
Advertised by the server during the last successful anonymous check.
Advertised destructive

Permanently delete every completed item from an owned Library List. Tell the user how many items will be removed; call with confirmed=true only after they confirm. Use the listId and expectedVersion from the latest library_list_get. On library_version_mismatch, read the list again and reconsider the change; never retry blindly. Library Lists only, not trip checklists.

library_list_clear_completed input schema
{
  "type": "object",
  "required": [
    "listId",
    "expectedVersion",
    "confirmed"
  ],
  "properties": {
    "listId": {
      "type": "string",
      "format": "uuid",
      "description": "Library List ID from library_lists_search or library_list_get."
    },
    "confirmed": {
      "type": "boolean",
      "description": "True only after the user explicitly confirms this exact change. Without it the tool changes nothing and returns the change for review."
    },
    "expectedVersion": {
      "type": "string",
      "maxLength": 64,
      "minLength": 64,
      "description": "Opaque version from the latest library_list_get or Library List tool result."
    }
  },
  "additionalProperties": false
}
library_list_clear_completed annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
library_list_delete — Delete Library List
Advertised by the server during the last successful anonymous check.
Advertised destructive

Delete an entire owned Library List and all of its items. Name the list to the user first; call with confirmed=true only after they confirm. Use the listId and expectedVersion from the latest library_list_get. On library_version_mismatch, read the list again and reconsider the change; never retry blindly. Library Lists only, not trip checklists.

library_list_delete input schema
{
  "type": "object",
  "required": [
    "listId",
    "expectedVersion",
    "confirmed"
  ],
  "properties": {
    "listId": {
      "type": "string",
      "format": "uuid",
      "description": "Library List ID from library_lists_search or library_list_get."
    },
    "confirmed": {
      "type": "boolean",
      "description": "True only after the user explicitly confirms this exact change. Without it the tool changes nothing and returns the change for review."
    },
    "expectedVersion": {
      "type": "string",
      "maxLength": 64,
      "minLength": 64,
      "description": "Opaque version from the latest library_list_get or Library List tool result."
    }
  },
  "additionalProperties": false
}
library_list_delete annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
trips_hub — Tineo: My Trips
Advertised by the server during the last successful anonymous check.
Advertised read-only

Opens the Tineo trips app: browse current, upcoming, and past trips and open a trip's day-by-day itinerary. The user launches it from the ChatGPT sidebar or a conversation panel.

trips_hub input schema
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
trips_hub output schema
{
  "type": "object",
  "$defs": {
    "tripCards": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "title",
          "destination",
          "imageUrl",
          "startDate",
          "endDate",
          "segmentCount",
          "travelerCount"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "title": {
            "type": "string"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "imageUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "destination": {
            "type": "string"
          },
          "segmentCount": {
            "type": "integer"
          },
          "travelerCount": {
            "type": "integer"
          }
        }
      }
    }
  },
  "required": [
    "type",
    "sections",
    "totalCount",
    "pastTruncated",
    "activeCount",
    "upcomingTruncated"
  ],
  "properties": {
    "type": {
      "type": "string",
      "const": "trips_hub"
    },
    "sections": {
      "type": "object",
      "required": [
        "current",
        "upcoming",
        "past"
      ],
      "properties": {
        "past": {
          "$ref": "#/$defs/tripCards"
        },
        "current": {
          "$ref": "#/$defs/tripCards"
        },
        "upcoming": {
          "$ref": "#/$defs/tripCards"
        }
      }
    },
    "totalCount": {
      "type": "integer"
    },
    "activeCount": {
      "type": "integer"
    },
    "pastTruncated": {
      "type": "boolean"
    },
    "upcomingTruncated": {
      "type": "boolean"
    }
  }
}
trips_hub annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
mentions_search — Find Trips to Mention
Advertised by the server during the last successful anonymous check.
Advertised read-only

Typeahead search over the user's Tineo trips for composer @-mentions. Returns resource links to trips.

mentions_search input schema
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "maxLength": 200,
      "description": "Search text; may be empty."
    }
  },
  "additionalProperties": false
}
mentions_search output schema
{
  "type": "object",
  "required": [
    "items"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "type",
          "uri",
          "name"
        ],
        "properties": {
          "uri": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "const": "resource_link"
          },
          "icons": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "src"
              ],
              "properties": {
                "src": {
                  "type": "string"
                },
                "sizes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "mimeType": {
                  "type": "string"
                }
              }
            }
          },
          "title": {
            "type": "string"
          },
          "mimeType": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        }
      }
    }
  }
}
mentions_search annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
settings_read — Read Tineo Settings
Advertised by the server during the last successful anonymous check.
Advertised read-only

Reads the user's Tineo display and notification settings: units, date and time formats, flight monitoring, and trip reminder emails.

settings_read input schema
{
  "type": "object",
  "additionalProperties": false
}
settings_read output schema
{
  "type": "object",
  "required": [
    "schema",
    "values"
  ],
  "properties": {
    "layout": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "schema": {
      "type": "object"
    },
    "values": {
      "type": "object"
    }
  }
}
settings_read annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
settings_update — Update Tineo Settings
Advertised by the server during the last successful anonymous check.
Advertised destructive

Changes the user's Tineo display and notification settings. Only include settings the user asked to change.

settings_update input schema
{
  "type": "object",
  "required": [
    "set"
  ],
  "properties": {
    "set": {
      "type": "object",
      "properties": {
        "dateFormat": {
          "enum": [
            "Automatic",
            "Year-Month-Day",
            "Day/Month/Year",
            "Month/Day/Year"
          ],
          "type": "string"
        },
        "timeFormat": {
          "enum": [
            "Automatic",
            "12-hour",
            "24-hour"
          ],
          "type": "string"
        },
        "distanceUnit": {
          "enum": [
            "Automatic",
            "Kilometers",
            "Miles"
          ],
          "type": "string"
        },
        "temperatureUnit": {
          "enum": [
            "Automatic",
            "Celsius",
            "Fahrenheit"
          ],
          "type": "string"
        },
        "flightMonitoring": {
          "type": "boolean"
        },
        "tripReminderEmails": {
          "type": "boolean"
        }
      },
      "minProperties": 1,
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}
settings_update output schema
{
  "type": "object",
  "required": [
    "values"
  ],
  "properties": {
    "values": {
      "type": "object"
    }
  }
}
settings_update annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
cruise_get — Get commercial cruise
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read the complete commercial Cruise and linked CruiseDay fields, including soft-deleted items and version. Null and empty fields are omitted. Omit cruiseId to read the trip version before creation. For commercial cruise reservations and sea/port days use cruise_* tools. Never substitute Activity, CruiseActivity or another segment type for a cruise day. Ordinary shore excursions remain valid Activity/CruiseActivity. If cruise tools are unavailable explain the limitation and ask for clarification.

cruise_get input schema
{
  "type": "object",
  "required": [
    "tripId"
  ],
  "properties": {
    "tripId": {
      "type": "string",
      "format": "uuid"
    },
    "cruiseId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    }
  },
  "additionalProperties": false
}
cruise_get output schema
{
  "type": "object",
  "required": [
    "success",
    "contractVersion",
    "status",
    "result"
  ],
  "properties": {
    "result": {
      "oneOf": [
        {
          "type": "object",
          "required": [
            "tripId",
            "cruiseId",
            "version",
            "cruise",
            "days",
            "activities"
          ],
          "properties": {
            "days": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "id",
                  "tripId",
                  "type",
                  "isDeleted"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "cost": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "date": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "date"
                  },
                  "dock": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "port": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "type": {
                    "type": "string"
                  },
                  "notes": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "title": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "tripId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "dayType": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                  },
                  "website": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "currency": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "portCity": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "portName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "dayNumber": {
                    "type": "integer"
                  },
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "sortOrder": {
                    "type": "integer"
                  },
                  "timeBasis": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "endDateTime": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "portCountry": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contactEmail": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contactPhone": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "isTenderPort": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "true means tender; false means docked; null means unknown."
                  },
                  "startDateTime": {
                    "type": "string",
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "dayNumberBasis": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "excursionNotes": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentCruiseId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "uuid"
                  },
                  "portTimezoneId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "arrivalTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "allAboardTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "confirmationNumber": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "departureTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "isOvernightPortCall": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "additionalProperties": true
              }
            },
            "cruise": {
              "anyOf": [
                {
                  "type": "object",
                  "required": [
                    "id",
                    "tripId",
                    "type",
                    "isDeleted"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cost": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string"
                    },
                    "notes": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "title": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "tripId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "groupId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "website": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "currency": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "shipName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinDeck": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinType": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "eventName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "isDeleted": {
                      "type": "boolean"
                    },
                    "occupancy": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "sortOrder": {
                      "type": "integer"
                    },
                    "cruiseLine": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkCity": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "endDateTime": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "contactEmail": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contactPhone": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "voyageNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkCity": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkCountry": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "leadPassenger": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "startDateTime": {
                      "type": "string",
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "contactAddress": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkPortName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkTerminal": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "onboardCredits": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkTimeLocal": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "bookingReference": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkCountry": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "itineraryEndDate": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "disembarkPortName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "reservationNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cancellationPolicy": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "confirmationNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkTimeLocal": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "itineraryStartDate": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    }
                  },
                  "additionalProperties": true
                },
                {
                  "type": "null"
                }
              ]
            },
            "tripId": {
              "type": "string",
              "format": "uuid"
            },
            "version": {
              "type": "string"
            },
            "cruiseId": {
              "type": [
                "string",
                "null"
              ],
              "format": "uuid"
            },
            "activities": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          "additionalProperties": false
        },
        {
          "type": "object",
          "required": [
            "confirmationToken",
            "expiresAtUtc",
            "payloadHash",
            "before",
            "after",
            "createdDayIds",
            "warnings"
          ],
          "properties": {
            "after": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "before": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "payloadHash": {
              "type": "string"
            },
            "expiresAtUtc": {
              "type": "string",
              "format": "date-time"
            },
            "createdDayIds": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "format": "uuid"
              }
            },
            "confirmationToken": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        {
          "type": "object",
          "required": [
            "receiptId",
            "idempotencyKey",
            "payloadHash",
            "snapshot",
            "createdDayIds",
            "changedSegmentIds",
            "deletedSegmentIds",
            "warnings",
            "replayed"
          ],
          "properties": {
            "replayed": {
              "type": "boolean"
            },
            "snapshot": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "receiptId": {
              "type": "string",
              "format": "uuid"
            },
            "payloadHash": {
              "type": "string"
            },
            "createdDayIds": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "format": "uuid"
              }
            },
            "idempotencyKey": {
              "type": "string",
              "format": "uuid"
            },
            "changedSegmentIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "deletedSegmentIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "additionalProperties": false
        }
      ]
    },
    "status": {
      "enum": [
        "read",
        "confirmation_required",
        "committed"
      ],
      "type": "string"
    },
    "success": {
      "type": "boolean",
      "const": true
    },
    "contractVersion": {
      "type": "string",
      "const": "cruise.builder.v1"
    }
  },
  "additionalProperties": false
}
cruise_get annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
cruise_create — cruise create
Advertised by the server during the last successful anonymous check.

Preview and commit cruise create operations atomically. First call cruise_get for expectedVersion. Omit confirmationToken to preview, show the changes to the user, then repeat the unchanged request with its token only after the user approves. Reuse idempotencyKey for retries. Omitting a field preserves it; null clears nullable fields. For commercial cruise reservations and sea/port days use cruise_* tools. Never substitute Activity, CruiseActivity or another segment type for a cruise day. Ordinary shore excursions remain valid Activity/CruiseActivity. If cruise tools are unavailable explain the limitation and ask for clarification.

cruise_create input schema
{
  "type": "object",
  "required": [
    "request"
  ],
  "properties": {
    "request": {
      "type": "object",
      "required": [
        "tripId",
        "idempotencyKey",
        "expectedVersion",
        "operations"
      ],
      "properties": {
        "tripId": {
          "type": "string",
          "format": "uuid"
        },
        "cruiseId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "operations": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "kind",
                  "fields"
                ],
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "CreateCruise"
                  },
                  "fields": {
                    "type": "object",
                    "required": [],
                    "properties": {
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "enum": [
                          "Tentative",
                          "Confirmed",
                          "Cancelled",
                          "Completed",
                          "PendingCompletion"
                        ],
                        "type": "string"
                      },
                      "groupId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "shipName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "cabinDeck": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "cabinType": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "eventName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "occupancy": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "sortOrder": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "cruiseLine": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "embarkCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "cabinNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "voyageNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "disembarkCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "embarkCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "leadPassenger": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "contactAddress": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "embarkPortName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "embarkTerminal": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "onboardCredits": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "embarkTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "bookingReference": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "disembarkCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "itineraryEndDate": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "disembarkPortName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reservationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "cancellationPolicy": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "disembarkTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "itineraryStartDate": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "kind",
                  "clientId",
                  "fields"
                ],
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "AddDay"
                  },
                  "fields": {
                    "type": "object",
                    "required": [],
                    "properties": {
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "enum": [
                          "Tentative",
                          "Confirmed",
                          "Cancelled",
                          "Completed",
                          "PendingCompletion"
                        ],
                        "type": "string"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer",
                        "minimum": 1
                      },
                      "sortOrder": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "timeBasis": {
                        "enum": [
                          "Unknown",
                          "PortLocal",
                          "ShipTime",
                          null
                        ],
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "enum": [
                          "LegacyCalendarDate",
                          "OfficialSequence",
                          null
                        ],
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  "clientId": {
                    "type": "string",
                    "maxLength": 100,
                    "minLength": 1
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "maxItems": 250,
          "minItems": 1
        },
        "idempotencyKey": {
          "type": "string",
          "format": "uuid"
        },
        "expectedVersion": {
          "type": "string",
          "minLength": 1,
          "description": "Exact version returned by cruise_get, including the trip-only read before creating a cruise."
        }
      },
      "additionalProperties": false
    },
    "confirmationToken": {
      "type": "string",
      "minLength": 1,
      "description": "Omit to preview. After the user reviews and approves the exact preview, repeat the unchanged request with its token to commit. Never manufacture approval."
    }
  },
  "additionalProperties": false
}
cruise_create output schema
{
  "type": "object",
  "required": [
    "success",
    "contractVersion",
    "status",
    "result"
  ],
  "properties": {
    "result": {
      "oneOf": [
        {
          "type": "object",
          "required": [
            "tripId",
            "cruiseId",
            "version",
            "cruise",
            "days",
            "activities"
          ],
          "properties": {
            "days": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "id",
                  "tripId",
                  "type",
                  "isDeleted"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "cost": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "date": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "date"
                  },
                  "dock": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "port": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "type": {
                    "type": "string"
                  },
                  "notes": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "title": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "tripId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "dayType": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                  },
                  "website": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "currency": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "portCity": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "portName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "dayNumber": {
                    "type": "integer"
                  },
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "sortOrder": {
                    "type": "integer"
                  },
                  "timeBasis": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "endDateTime": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "portCountry": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contactEmail": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contactPhone": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "isTenderPort": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "true means tender; false means docked; null means unknown."
                  },
                  "startDateTime": {
                    "type": "string",
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "dayNumberBasis": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "excursionNotes": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentCruiseId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "uuid"
                  },
                  "portTimezoneId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "arrivalTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "allAboardTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "confirmationNumber": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "departureTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "isOvernightPortCall": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "additionalProperties": true
              }
            },
            "cruise": {
              "anyOf": [
                {
                  "type": "object",
                  "required": [
                    "id",
                    "tripId",
                    "type",
                    "isDeleted"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cost": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string"
                    },
                    "notes": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "title": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "tripId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "groupId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "website": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "currency": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "shipName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinDeck": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinType": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "eventName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "isDeleted": {
                      "type": "boolean"
                    },
                    "occupancy": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "sortOrder": {
                      "type": "integer"
                    },
                    "cruiseLine": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkCity": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "endDateTime": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "contactEmail": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contactPhone": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "voyageNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkCity": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkCountry": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "leadPassenger": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "startDateTime": {
                      "type": "string",
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "contactAddress": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkPortName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkTerminal": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "onboardCredits": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkTimeLocal": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "bookingReference": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkCountry": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "itineraryEndDate": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "disembarkPortName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "reservationNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cancellationPolicy": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "confirmationNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkTimeLocal": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "itineraryStartDate": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    }
                  },
                  "additionalProperties": true
                },
                {
                  "type": "null"
                }
              ]
            },
            "tripId": {
              "type": "string",
              "format": "uuid"
            },
            "version": {
              "type": "string"
            },
            "cruiseId": {
              "type": [
                "string",
                "null"
              ],
              "format": "uuid"
            },
            "activities": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          "additionalProperties": false
        },
        {
          "type": "object",
          "required": [
            "confirmationToken",
            "expiresAtUtc",
            "payloadHash",
            "before",
            "after",
            "createdDayIds",
            "warnings"
          ],
          "properties": {
            "after": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "before": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "payloadHash": {
              "type": "string"
            },
            "expiresAtUtc": {
              "type": "string",
              "format": "date-time"
            },
            "createdDayIds": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "format": "uuid"
              }
            },
            "confirmationToken": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        {
          "type": "object",
          "required": [
            "receiptId",
            "idempotencyKey",
            "payloadHash",
            "snapshot",
            "createdDayIds",
            "changedSegmentIds",
            "deletedSegmentIds",
            "warnings",
            "replayed"
          ],
          "properties": {
            "replayed": {
              "type": "boolean"
            },
            "snapshot": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "receiptId": {
              "type": "string",
              "format": "uuid"
            },
            "payloadHash": {
              "type": "string"
            },
            "createdDayIds": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "format": "uuid"
              }
            },
            "idempotencyKey": {
              "type": "string",
              "format": "uuid"
            },
            "changedSegmentIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "deletedSegmentIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "additionalProperties": false
        }
      ]
    },
    "status": {
      "enum": [
        "read",
        "confirmation_required",
        "committed"
      ],
      "type": "string"
    },
    "success": {
      "type": "boolean",
      "const": true
    },
    "contractVersion": {
      "type": "string",
      "const": "cruise.builder.v1"
    }
  },
  "additionalProperties": false
}
cruise_create annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
cruise_update — cruise update
Advertised by the server during the last successful anonymous check.
Advertised destructive

Preview and commit cruise update operations atomically. First call cruise_get for expectedVersion. Omit confirmationToken to preview, show the changes to the user, then repeat the unchanged request with its token only after the user approves. Reuse idempotencyKey for retries. Omitting a field preserves it; null clears nullable fields. For commercial cruise reservations and sea/port days use cruise_* tools. Never substitute Activity, CruiseActivity or another segment type for a cruise day. Ordinary shore excursions remain valid Activity/CruiseActivity. If cruise tools are unavailable explain the limitation and ask for clarification.

cruise_update input schema
{
  "type": "object",
  "required": [
    "request"
  ],
  "properties": {
    "request": {
      "type": "object",
      "required": [
        "tripId",
        "idempotencyKey",
        "expectedVersion",
        "operations",
        "cruiseId"
      ],
      "properties": {
        "tripId": {
          "type": "string",
          "format": "uuid"
        },
        "cruiseId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "operations": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "kind",
                  "fields"
                ],
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "UpdateCruise"
                  },
                  "fields": {
                    "type": "object",
                    "required": [],
                    "properties": {
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "enum": [
                          "Tentative",
                          "Confirmed",
                          "Cancelled",
                          "Completed",
                          "PendingCompletion"
                        ],
                        "type": "string"
                      },
                      "groupId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "shipName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "cabinDeck": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "cabinType": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "eventName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "occupancy": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "sortOrder": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "cruiseLine": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "embarkCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "cabinNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "voyageNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "disembarkCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "embarkCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "leadPassenger": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "contactAddress": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "embarkPortName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "embarkTerminal": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "onboardCredits": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "embarkTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "bookingReference": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "disembarkCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "itineraryEndDate": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "disembarkPortName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reservationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "cancellationPolicy": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "disembarkTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "itineraryStartDate": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "kind",
                  "clientId",
                  "fields"
                ],
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "AddDay"
                  },
                  "fields": {
                    "type": "object",
                    "required": [],
                    "properties": {
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "enum": [
                          "Tentative",
                          "Confirmed",
                          "Cancelled",
                          "Completed",
                          "PendingCompletion"
                        ],
                        "type": "string"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer",
                        "minimum": 1
                      },
                      "sortOrder": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "timeBasis": {
                        "enum": [
                          "Unknown",
                          "PortLocal",
                          "ShipTime",
                          null
                        ],
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "enum": [
                          "LegacyCalendarDate",
                          "OfficialSequence",
                          null
                        ],
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  "clientId": {
                    "type": "string",
                    "maxLength": 100,
                    "minLength": 1
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "kind",
                  "dayId",
                  "fields"
                ],
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "UpdateDay"
                  },
                  "dayId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "fields": {
                    "type": "object",
                    "required": [],
                    "properties": {
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "enum": [
                          "Tentative",
                          "Confirmed",
                          "Cancelled",
                          "Completed",
                          "PendingCompletion"
                        ],
                        "type": "string"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer",
                        "minimum": 1
                      },
                      "sortOrder": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "timeBasis": {
                        "enum": [
                          "Unknown",
                          "PortLocal",
                          "ShipTime",
                          null
                        ],
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "enum": [
                          "LegacyCalendarDate",
                          "OfficialSequence",
                          null
                        ],
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "kind",
                  "dayId"
                ],
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "DeleteDay"
                  },
                  "dayId": {
                    "type": "string",
                    "format": "uuid"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "kind",
                  "dayId"
                ],
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "RestoreDay"
                  },
                  "dayId": {
                    "type": "string",
                    "format": "uuid"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "required": [
                  "kind",
                  "dayIds"
                ],
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "ReorderDays"
                  },
                  "dayIds": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "description": "Every live cruise day ID exactly once in the desired order. Reordering preserves dates and day numbers.",
                    "uniqueItems": true
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "maxItems": 250,
          "minItems": 1
        },
        "idempotencyKey": {
          "type": "string",
          "format": "uuid"
        },
        "expectedVersion": {
          "type": "string",
          "minLength": 1,
          "description": "Exact version returned by cruise_get, including the trip-only read before creating a cruise."
        }
      },
      "additionalProperties": false
    },
    "confirmationToken": {
      "type": "string",
      "minLength": 1,
      "description": "Omit to preview. After the user reviews and approves the exact preview, repeat the unchanged request with its token to commit. Never manufacture approval."
    }
  },
  "additionalProperties": false
}
cruise_update output schema
{
  "type": "object",
  "required": [
    "success",
    "contractVersion",
    "status",
    "result"
  ],
  "properties": {
    "result": {
      "oneOf": [
        {
          "type": "object",
          "required": [
            "tripId",
            "cruiseId",
            "version",
            "cruise",
            "days",
            "activities"
          ],
          "properties": {
            "days": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "id",
                  "tripId",
                  "type",
                  "isDeleted"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "cost": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "date": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "date"
                  },
                  "dock": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "port": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "type": {
                    "type": "string"
                  },
                  "notes": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "title": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "tripId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "dayType": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                  },
                  "website": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "currency": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "portCity": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "portName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "dayNumber": {
                    "type": "integer"
                  },
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "sortOrder": {
                    "type": "integer"
                  },
                  "timeBasis": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "endDateTime": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "portCountry": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contactEmail": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contactPhone": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "isTenderPort": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "true means tender; false means docked; null means unknown."
                  },
                  "startDateTime": {
                    "type": "string",
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "dayNumberBasis": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "excursionNotes": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentCruiseId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "uuid"
                  },
                  "portTimezoneId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "arrivalTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "allAboardTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "confirmationNumber": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "departureTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "isOvernightPortCall": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "additionalProperties": true
              }
            },
            "cruise": {
              "anyOf": [
                {
                  "type": "object",
                  "required": [
                    "id",
                    "tripId",
                    "type",
                    "isDeleted"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cost": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string"
                    },
                    "notes": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "title": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "tripId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "groupId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "website": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "currency": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "shipName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinDeck": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinType": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "eventName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "isDeleted": {
                      "type": "boolean"
                    },
                    "occupancy": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "sortOrder": {
                      "type": "integer"
                    },
                    "cruiseLine": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkCity": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "endDateTime": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "contactEmail": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contactPhone": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "voyageNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkCity": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkCountry": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "leadPassenger": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "startDateTime": {
                      "type": "string",
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "contactAddress": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkPortName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkTerminal": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "onboardCredits": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkTimeLocal": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "bookingReference": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkCountry": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "itineraryEndDate": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "disembarkPortName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "reservationNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cancellationPolicy": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "confirmationNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkTimeLocal": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "itineraryStartDate": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    }
                  },
                  "additionalProperties": true
                },
                {
                  "type": "null"
                }
              ]
            },
            "tripId": {
              "type": "string",
              "format": "uuid"
            },
            "version": {
              "type": "string"
            },
            "cruiseId": {
              "type": [
                "string",
                "null"
              ],
              "format": "uuid"
            },
            "activities": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          "additionalProperties": false
        },
        {
          "type": "object",
          "required": [
            "confirmationToken",
            "expiresAtUtc",
            "payloadHash",
            "before",
            "after",
            "createdDayIds",
            "warnings"
          ],
          "properties": {
            "after": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "before": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "payloadHash": {
              "type": "string"
            },
            "expiresAtUtc": {
              "type": "string",
              "format": "date-time"
            },
            "createdDayIds": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "format": "uuid"
              }
            },
            "confirmationToken": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        {
          "type": "object",
          "required": [
            "receiptId",
            "idempotencyKey",
            "payloadHash",
            "snapshot",
            "createdDayIds",
            "changedSegmentIds",
            "deletedSegmentIds",
            "warnings",
            "replayed"
          ],
          "properties": {
            "replayed": {
              "type": "boolean"
            },
            "snapshot": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "receiptId": {
              "type": "string",
              "format": "uuid"
            },
            "payloadHash": {
              "type": "string"
            },
            "createdDayIds": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "format": "uuid"
              }
            },
            "idempotencyKey": {
              "type": "string",
              "format": "uuid"
            },
            "changedSegmentIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "deletedSegmentIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "additionalProperties": false
        }
      ]
    },
    "status": {
      "enum": [
        "read",
        "confirmation_required",
        "committed"
      ],
      "type": "string"
    },
    "success": {
      "type": "boolean",
      "const": true
    },
    "contractVersion": {
      "type": "string",
      "const": "cruise.builder.v1"
    }
  },
  "additionalProperties": false
}
cruise_update annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
cruise_delete — cruise delete
Advertised by the server during the last successful anonymous check.
Advertised destructive

Preview and commit cruise delete operations atomically. First call cruise_get for expectedVersion. Omit confirmationToken to preview, show the changes to the user, then repeat the unchanged request with its token only after the user approves. Reuse idempotencyKey for retries. Omitting a field preserves it; null clears nullable fields. For commercial cruise reservations and sea/port days use cruise_* tools. Never substitute Activity, CruiseActivity or another segment type for a cruise day. Ordinary shore excursions remain valid Activity/CruiseActivity. If cruise tools are unavailable explain the limitation and ask for clarification.

cruise_delete input schema
{
  "type": "object",
  "required": [
    "request"
  ],
  "properties": {
    "request": {
      "type": "object",
      "required": [
        "tripId",
        "idempotencyKey",
        "expectedVersion",
        "operations",
        "cruiseId"
      ],
      "properties": {
        "tripId": {
          "type": "string",
          "format": "uuid"
        },
        "cruiseId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "operations": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "kind"
                ],
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "DeleteCruise"
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "maxItems": 250,
          "minItems": 1
        },
        "idempotencyKey": {
          "type": "string",
          "format": "uuid"
        },
        "expectedVersion": {
          "type": "string",
          "minLength": 1,
          "description": "Exact version returned by cruise_get, including the trip-only read before creating a cruise."
        }
      },
      "additionalProperties": false
    },
    "confirmationToken": {
      "type": "string",
      "minLength": 1,
      "description": "Omit to preview. After the user reviews and approves the exact preview, repeat the unchanged request with its token to commit. Never manufacture approval."
    }
  },
  "additionalProperties": false
}
cruise_delete output schema
{
  "type": "object",
  "required": [
    "success",
    "contractVersion",
    "status",
    "result"
  ],
  "properties": {
    "result": {
      "oneOf": [
        {
          "type": "object",
          "required": [
            "tripId",
            "cruiseId",
            "version",
            "cruise",
            "days",
            "activities"
          ],
          "properties": {
            "days": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "id",
                  "tripId",
                  "type",
                  "isDeleted"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "cost": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "date": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "date"
                  },
                  "dock": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "port": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "type": {
                    "type": "string"
                  },
                  "notes": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "title": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "tripId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "dayType": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                  },
                  "website": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "currency": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "portCity": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "portName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "dayNumber": {
                    "type": "integer"
                  },
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "sortOrder": {
                    "type": "integer"
                  },
                  "timeBasis": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "endDateTime": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "portCountry": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contactEmail": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contactPhone": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "isTenderPort": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "true means tender; false means docked; null means unknown."
                  },
                  "startDateTime": {
                    "type": "string",
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "dayNumberBasis": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "excursionNotes": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentCruiseId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "uuid"
                  },
                  "portTimezoneId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "arrivalTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "allAboardTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "confirmationNumber": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "departureTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "isOvernightPortCall": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "additionalProperties": true
              }
            },
            "cruise": {
              "anyOf": [
                {
                  "type": "object",
                  "required": [
                    "id",
                    "tripId",
                    "type",
                    "isDeleted"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cost": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string"
                    },
                    "notes": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "title": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "tripId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "groupId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "website": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "currency": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "shipName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinDeck": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinType": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "eventName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "isDeleted": {
                      "type": "boolean"
                    },
                    "occupancy": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "sortOrder": {
                      "type": "integer"
                    },
                    "cruiseLine": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkCity": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "endDateTime": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "contactEmail": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contactPhone": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "voyageNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkCity": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkCountry": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "leadPassenger": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "startDateTime": {
                      "type": "string",
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "contactAddress": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkPortName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkTerminal": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "onboardCredits": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkTimeLocal": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "bookingReference": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkCountry": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "itineraryEndDate": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "disembarkPortName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "reservationNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cancellationPolicy": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "confirmationNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkTimeLocal": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "itineraryStartDate": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    }
                  },
                  "additionalProperties": true
                },
                {
                  "type": "null"
                }
              ]
            },
            "tripId": {
              "type": "string",
              "format": "uuid"
            },
            "version": {
              "type": "string"
            },
            "cruiseId": {
              "type": [
                "string",
                "null"
              ],
              "format": "uuid"
            },
            "activities": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          "additionalProperties": false
        },
        {
          "type": "object",
          "required": [
            "confirmationToken",
            "expiresAtUtc",
            "payloadHash",
            "before",
            "after",
            "createdDayIds",
            "warnings"
          ],
          "properties": {
            "after": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "before": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "payloadHash": {
              "type": "string"
            },
            "expiresAtUtc": {
              "type": "string",
              "format": "date-time"
            },
            "createdDayIds": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "format": "uuid"
              }
            },
            "confirmationToken": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        {
          "type": "object",
          "required": [
            "receiptId",
            "idempotencyKey",
            "payloadHash",
            "snapshot",
            "createdDayIds",
            "changedSegmentIds",
            "deletedSegmentIds",
            "warnings",
            "replayed"
          ],
          "properties": {
            "replayed": {
              "type": "boolean"
            },
            "snapshot": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "receiptId": {
              "type": "string",
              "format": "uuid"
            },
            "payloadHash": {
              "type": "string"
            },
            "createdDayIds": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "format": "uuid"
              }
            },
            "idempotencyKey": {
              "type": "string",
              "format": "uuid"
            },
            "changedSegmentIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "deletedSegmentIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "additionalProperties": false
        }
      ]
    },
    "status": {
      "enum": [
        "read",
        "confirmation_required",
        "committed"
      ],
      "type": "string"
    },
    "success": {
      "type": "boolean",
      "const": true
    },
    "contractVersion": {
      "type": "string",
      "const": "cruise.builder.v1"
    }
  },
  "additionalProperties": false
}
cruise_delete annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
cruise_restore — cruise restore
Advertised by the server during the last successful anonymous check.
Advertised destructive

Preview and commit cruise restore operations atomically. First call cruise_get for expectedVersion. Omit confirmationToken to preview, show the changes to the user, then repeat the unchanged request with its token only after the user approves. Reuse idempotencyKey for retries. Omitting a field preserves it; null clears nullable fields. For commercial cruise reservations and sea/port days use cruise_* tools. Never substitute Activity, CruiseActivity or another segment type for a cruise day. Ordinary shore excursions remain valid Activity/CruiseActivity. If cruise tools are unavailable explain the limitation and ask for clarification.

cruise_restore input schema
{
  "type": "object",
  "required": [
    "request"
  ],
  "properties": {
    "request": {
      "type": "object",
      "required": [
        "tripId",
        "idempotencyKey",
        "expectedVersion",
        "operations",
        "cruiseId"
      ],
      "properties": {
        "tripId": {
          "type": "string",
          "format": "uuid"
        },
        "cruiseId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "operations": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "kind"
                ],
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "RestoreCruise"
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "maxItems": 250,
          "minItems": 1
        },
        "idempotencyKey": {
          "type": "string",
          "format": "uuid"
        },
        "expectedVersion": {
          "type": "string",
          "minLength": 1,
          "description": "Exact version returned by cruise_get, including the trip-only read before creating a cruise."
        }
      },
      "additionalProperties": false
    },
    "confirmationToken": {
      "type": "string",
      "minLength": 1,
      "description": "Omit to preview. After the user reviews and approves the exact preview, repeat the unchanged request with its token to commit. Never manufacture approval."
    }
  },
  "additionalProperties": false
}
cruise_restore output schema
{
  "type": "object",
  "required": [
    "success",
    "contractVersion",
    "status",
    "result"
  ],
  "properties": {
    "result": {
      "oneOf": [
        {
          "type": "object",
          "required": [
            "tripId",
            "cruiseId",
            "version",
            "cruise",
            "days",
            "activities"
          ],
          "properties": {
            "days": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "id",
                  "tripId",
                  "type",
                  "isDeleted"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "cost": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "date": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "date"
                  },
                  "dock": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "port": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "type": {
                    "type": "string"
                  },
                  "notes": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "title": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "tripId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "dayType": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                  },
                  "website": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "currency": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "portCity": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "portName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "dayNumber": {
                    "type": "integer"
                  },
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "sortOrder": {
                    "type": "integer"
                  },
                  "timeBasis": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "endDateTime": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "portCountry": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contactEmail": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contactPhone": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "isTenderPort": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "true means tender; false means docked; null means unknown."
                  },
                  "startDateTime": {
                    "type": "string",
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "dayNumberBasis": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "excursionNotes": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentCruiseId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "uuid"
                  },
                  "portTimezoneId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "arrivalTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "allAboardTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "confirmationNumber": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "departureTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "isOvernightPortCall": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "additionalProperties": true
              }
            },
            "cruise": {
              "anyOf": [
                {
                  "type": "object",
                  "required": [
                    "id",
                    "tripId",
                    "type",
                    "isDeleted"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cost": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string"
                    },
                    "notes": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "title": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "tripId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "groupId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "website": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "currency": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "shipName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinDeck": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinType": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "eventName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "isDeleted": {
                      "type": "boolean"
                    },
                    "occupancy": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "sortOrder": {
                      "type": "integer"
                    },
                    "cruiseLine": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkCity": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "endDateTime": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "contactEmail": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contactPhone": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "voyageNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkCity": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkCountry": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "leadPassenger": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "startDateTime": {
                      "type": "string",
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "contactAddress": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkPortName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkTerminal": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "onboardCredits": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkTimeLocal": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "bookingReference": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkCountry": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "itineraryEndDate": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "disembarkPortName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "reservationNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cancellationPolicy": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "confirmationNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkTimeLocal": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "itineraryStartDate": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    }
                  },
                  "additionalProperties": true
                },
                {
                  "type": "null"
                }
              ]
            },
            "tripId": {
              "type": "string",
              "format": "uuid"
            },
            "version": {
              "type": "string"
            },
            "cruiseId": {
              "type": [
                "string",
                "null"
              ],
              "format": "uuid"
            },
            "activities": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          "additionalProperties": false
        },
        {
          "type": "object",
          "required": [
            "confirmationToken",
            "expiresAtUtc",
            "payloadHash",
            "before",
            "after",
            "createdDayIds",
            "warnings"
          ],
          "properties": {
            "after": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "before": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "payloadHash": {
              "type": "string"
            },
            "expiresAtUtc": {
              "type": "string",
              "format": "date-time"
            },
            "createdDayIds": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "format": "uuid"
              }
            },
            "confirmationToken": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        {
          "type": "object",
          "required": [
            "receiptId",
            "idempotencyKey",
            "payloadHash",
            "snapshot",
            "createdDayIds",
            "changedSegmentIds",
            "deletedSegmentIds",
            "warnings",
            "replayed"
          ],
          "properties": {
            "replayed": {
              "type": "boolean"
            },
            "snapshot": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "receiptId": {
              "type": "string",
              "format": "uuid"
            },
            "payloadHash": {
              "type": "string"
            },
            "createdDayIds": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "format": "uuid"
              }
            },
            "idempotencyKey": {
              "type": "string",
              "format": "uuid"
            },
            "changedSegmentIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "deletedSegmentIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "additionalProperties": false
        }
      ]
    },
    "status": {
      "enum": [
        "read",
        "confirmation_required",
        "committed"
      ],
      "type": "string"
    },
    "success": {
      "type": "boolean",
      "const": true
    },
    "contractVersion": {
      "type": "string",
      "const": "cruise.builder.v1"
    }
  },
  "additionalProperties": false
}
cruise_restore annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
cruise_reorder — cruise reorder
Advertised by the server during the last successful anonymous check.
Advertised destructive

Preview and commit cruise reorder operations atomically. First call cruise_get for expectedVersion. Omit confirmationToken to preview, show the changes to the user, then repeat the unchanged request with its token only after the user approves. Reuse idempotencyKey for retries. Omitting a field preserves it; null clears nullable fields. For commercial cruise reservations and sea/port days use cruise_* tools. Never substitute Activity, CruiseActivity or another segment type for a cruise day. Ordinary shore excursions remain valid Activity/CruiseActivity. If cruise tools are unavailable explain the limitation and ask for clarification.

cruise_reorder input schema
{
  "type": "object",
  "required": [
    "request"
  ],
  "properties": {
    "request": {
      "type": "object",
      "required": [
        "tripId",
        "idempotencyKey",
        "expectedVersion",
        "operations",
        "cruiseId"
      ],
      "properties": {
        "tripId": {
          "type": "string",
          "format": "uuid"
        },
        "cruiseId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "operations": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "kind",
                  "dayIds"
                ],
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "ReorderDays"
                  },
                  "dayIds": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "description": "Every live cruise day ID exactly once in the desired order. Reordering preserves dates and day numbers.",
                    "uniqueItems": true
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "maxItems": 250,
          "minItems": 1
        },
        "idempotencyKey": {
          "type": "string",
          "format": "uuid"
        },
        "expectedVersion": {
          "type": "string",
          "minLength": 1,
          "description": "Exact version returned by cruise_get, including the trip-only read before creating a cruise."
        }
      },
      "additionalProperties": false
    },
    "confirmationToken": {
      "type": "string",
      "minLength": 1,
      "description": "Omit to preview. After the user reviews and approves the exact preview, repeat the unchanged request with its token to commit. Never manufacture approval."
    }
  },
  "additionalProperties": false
}
cruise_reorder output schema
{
  "type": "object",
  "required": [
    "success",
    "contractVersion",
    "status",
    "result"
  ],
  "properties": {
    "result": {
      "oneOf": [
        {
          "type": "object",
          "required": [
            "tripId",
            "cruiseId",
            "version",
            "cruise",
            "days",
            "activities"
          ],
          "properties": {
            "days": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "id",
                  "tripId",
                  "type",
                  "isDeleted"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "cost": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "date": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "date"
                  },
                  "dock": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "port": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "type": {
                    "type": "string"
                  },
                  "notes": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "title": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "tripId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "dayType": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                  },
                  "website": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "currency": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "portCity": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "portName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "dayNumber": {
                    "type": "integer"
                  },
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "sortOrder": {
                    "type": "integer"
                  },
                  "timeBasis": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "endDateTime": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "portCountry": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contactEmail": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contactPhone": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "isTenderPort": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "true means tender; false means docked; null means unknown."
                  },
                  "startDateTime": {
                    "type": "string",
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "dayNumberBasis": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "excursionNotes": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentCruiseId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "uuid"
                  },
                  "portTimezoneId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "arrivalTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "allAboardTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "confirmationNumber": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "departureTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "isOvernightPortCall": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "additionalProperties": true
              }
            },
            "cruise": {
              "anyOf": [
                {
                  "type": "object",
                  "required": [
                    "id",
                    "tripId",
                    "type",
                    "isDeleted"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cost": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string"
                    },
                    "notes": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "title": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "tripId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "groupId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "website": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "currency": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "shipName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinDeck": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinType": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "eventName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "isDeleted": {
                      "type": "boolean"
                    },
                    "occupancy": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "sortOrder": {
                      "type": "integer"
                    },
                    "cruiseLine": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkCity": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "endDateTime": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "contactEmail": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contactPhone": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "voyageNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkCity": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkCountry": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "leadPassenger": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "startDateTime": {
                      "type": "string",
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "contactAddress": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkPortName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkTerminal": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "onboardCredits": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkTimeLocal": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "bookingReference": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkCountry": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "itineraryEndDate": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "disembarkPortName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "reservationNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cancellationPolicy": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "confirmationNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkTimeLocal": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "itineraryStartDate": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    }
                  },
                  "additionalProperties": true
                },
                {
                  "type": "null"
                }
              ]
            },
            "tripId": {
              "type": "string",
              "format": "uuid"
            },
            "version": {
              "type": "string"
            },
            "cruiseId": {
              "type": [
                "string",
                "null"
              ],
              "format": "uuid"
            },
            "activities": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          "additionalProperties": false
        },
        {
          "type": "object",
          "required": [
            "confirmationToken",
            "expiresAtUtc",
            "payloadHash",
            "before",
            "after",
            "createdDayIds",
            "warnings"
          ],
          "properties": {
            "after": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "before": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "payloadHash": {
              "type": "string"
            },
            "expiresAtUtc": {
              "type": "string",
              "format": "date-time"
            },
            "createdDayIds": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "format": "uuid"
              }
            },
            "confirmationToken": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        {
          "type": "object",
          "required": [
            "receiptId",
            "idempotencyKey",
            "payloadHash",
            "snapshot",
            "createdDayIds",
            "changedSegmentIds",
            "deletedSegmentIds",
            "warnings",
            "replayed"
          ],
          "properties": {
            "replayed": {
              "type": "boolean"
            },
            "snapshot": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "receiptId": {
              "type": "string",
              "format": "uuid"
            },
            "payloadHash": {
              "type": "string"
            },
            "createdDayIds": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "format": "uuid"
              }
            },
            "idempotencyKey": {
              "type": "string",
              "format": "uuid"
            },
            "changedSegmentIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "deletedSegmentIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "additionalProperties": false
        }
      ]
    },
    "status": {
      "enum": [
        "read",
        "confirmation_required",
        "committed"
      ],
      "type": "string"
    },
    "success": {
      "type": "boolean",
      "const": true
    },
    "contractVersion": {
      "type": "string",
      "const": "cruise.builder.v1"
    }
  },
  "additionalProperties": false
}
cruise_reorder annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
cruise_day_create — cruise day create
Advertised by the server during the last successful anonymous check.

Preview and commit cruise day create operations atomically. First call cruise_get for expectedVersion. Omit confirmationToken to preview, show the changes to the user, then repeat the unchanged request with its token only after the user approves. Reuse idempotencyKey for retries. Omitting a field preserves it; null clears nullable fields. For commercial cruise reservations and sea/port days use cruise_* tools. Never substitute Activity, CruiseActivity or another segment type for a cruise day. Ordinary shore excursions remain valid Activity/CruiseActivity. If cruise tools are unavailable explain the limitation and ask for clarification.

cruise_day_create input schema
{
  "type": "object",
  "required": [
    "request"
  ],
  "properties": {
    "request": {
      "type": "object",
      "required": [
        "tripId",
        "idempotencyKey",
        "expectedVersion",
        "operations",
        "cruiseId"
      ],
      "properties": {
        "tripId": {
          "type": "string",
          "format": "uuid"
        },
        "cruiseId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "operations": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "kind",
                  "clientId",
                  "fields"
                ],
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "AddDay"
                  },
                  "fields": {
                    "type": "object",
                    "required": [],
                    "properties": {
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "enum": [
                          "Tentative",
                          "Confirmed",
                          "Cancelled",
                          "Completed",
                          "PendingCompletion"
                        ],
                        "type": "string"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer",
                        "minimum": 1
                      },
                      "sortOrder": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "timeBasis": {
                        "enum": [
                          "Unknown",
                          "PortLocal",
                          "ShipTime",
                          null
                        ],
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "enum": [
                          "LegacyCalendarDate",
                          "OfficialSequence",
                          null
                        ],
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  "clientId": {
                    "type": "string",
                    "maxLength": 100,
                    "minLength": 1
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "maxItems": 250,
          "minItems": 1
        },
        "idempotencyKey": {
          "type": "string",
          "format": "uuid"
        },
        "expectedVersion": {
          "type": "string",
          "minLength": 1,
          "description": "Exact version returned by cruise_get, including the trip-only read before creating a cruise."
        }
      },
      "additionalProperties": false
    },
    "confirmationToken": {
      "type": "string",
      "minLength": 1,
      "description": "Omit to preview. After the user reviews and approves the exact preview, repeat the unchanged request with its token to commit. Never manufacture approval."
    }
  },
  "additionalProperties": false
}
cruise_day_create output schema
{
  "type": "object",
  "required": [
    "success",
    "contractVersion",
    "status",
    "result"
  ],
  "properties": {
    "result": {
      "oneOf": [
        {
          "type": "object",
          "required": [
            "tripId",
            "cruiseId",
            "version",
            "cruise",
            "days",
            "activities"
          ],
          "properties": {
            "days": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "id",
                  "tripId",
                  "type",
                  "isDeleted"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "cost": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "date": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "date"
                  },
                  "dock": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "port": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "type": {
                    "type": "string"
                  },
                  "notes": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "title": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "tripId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "dayType": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                  },
                  "website": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "currency": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "portCity": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "portName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "dayNumber": {
                    "type": "integer"
                  },
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "sortOrder": {
                    "type": "integer"
                  },
                  "timeBasis": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "endDateTime": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "portCountry": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contactEmail": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contactPhone": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "isTenderPort": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "true means tender; false means docked; null means unknown."
                  },
                  "startDateTime": {
                    "type": "string",
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "dayNumberBasis": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "excursionNotes": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentCruiseId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "uuid"
                  },
                  "portTimezoneId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "arrivalTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "allAboardTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "confirmationNumber": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "departureTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "isOvernightPortCall": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "additionalProperties": true
              }
            },
            "cruise": {
              "anyOf": [
                {
                  "type": "object",
                  "required": [
                    "id",
                    "tripId",
                    "type",
                    "isDeleted"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cost": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string"
                    },
                    "notes": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "title": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "tripId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "groupId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "website": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "currency": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "shipName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinDeck": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinType": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "eventName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "isDeleted": {
                      "type": "boolean"
                    },
                    "occupancy": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "sortOrder": {
                      "type": "integer"
                    },
                    "cruiseLine": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkCity": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "endDateTime": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "contactEmail": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contactPhone": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "voyageNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkCity": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkCountry": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "leadPassenger": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "startDateTime": {
                      "type": "string",
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "contactAddress": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkPortName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkTerminal": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "onboardCredits": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkTimeLocal": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "bookingReference": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkCountry": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "itineraryEndDate": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "disembarkPortName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "reservationNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cancellationPolicy": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "confirmationNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkTimeLocal": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "itineraryStartDate": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    }
                  },
                  "additionalProperties": true
                },
                {
                  "type": "null"
                }
              ]
            },
            "tripId": {
              "type": "string",
              "format": "uuid"
            },
            "version": {
              "type": "string"
            },
            "cruiseId": {
              "type": [
                "string",
                "null"
              ],
              "format": "uuid"
            },
            "activities": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          "additionalProperties": false
        },
        {
          "type": "object",
          "required": [
            "confirmationToken",
            "expiresAtUtc",
            "payloadHash",
            "before",
            "after",
            "createdDayIds",
            "warnings"
          ],
          "properties": {
            "after": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "before": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "payloadHash": {
              "type": "string"
            },
            "expiresAtUtc": {
              "type": "string",
              "format": "date-time"
            },
            "createdDayIds": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "format": "uuid"
              }
            },
            "confirmationToken": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        {
          "type": "object",
          "required": [
            "receiptId",
            "idempotencyKey",
            "payloadHash",
            "snapshot",
            "createdDayIds",
            "changedSegmentIds",
            "deletedSegmentIds",
            "warnings",
            "replayed"
          ],
          "properties": {
            "replayed": {
              "type": "boolean"
            },
            "snapshot": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "receiptId": {
              "type": "string",
              "format": "uuid"
            },
            "payloadHash": {
              "type": "string"
            },
            "createdDayIds": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "format": "uuid"
              }
            },
            "idempotencyKey": {
              "type": "string",
              "format": "uuid"
            },
            "changedSegmentIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "deletedSegmentIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "additionalProperties": false
        }
      ]
    },
    "status": {
      "enum": [
        "read",
        "confirmation_required",
        "committed"
      ],
      "type": "string"
    },
    "success": {
      "type": "boolean",
      "const": true
    },
    "contractVersion": {
      "type": "string",
      "const": "cruise.builder.v1"
    }
  },
  "additionalProperties": false
}
cruise_day_create annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
cruise_day_update — cruise day update
Advertised by the server during the last successful anonymous check.
Advertised destructive

Preview and commit cruise day update operations atomically. First call cruise_get for expectedVersion. Omit confirmationToken to preview, show the changes to the user, then repeat the unchanged request with its token only after the user approves. Reuse idempotencyKey for retries. Omitting a field preserves it; null clears nullable fields. For commercial cruise reservations and sea/port days use cruise_* tools. Never substitute Activity, CruiseActivity or another segment type for a cruise day. Ordinary shore excursions remain valid Activity/CruiseActivity. If cruise tools are unavailable explain the limitation and ask for clarification.

cruise_day_update input schema
{
  "type": "object",
  "required": [
    "request"
  ],
  "properties": {
    "request": {
      "type": "object",
      "required": [
        "tripId",
        "idempotencyKey",
        "expectedVersion",
        "operations",
        "cruiseId"
      ],
      "properties": {
        "tripId": {
          "type": "string",
          "format": "uuid"
        },
        "cruiseId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "operations": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "kind",
                  "dayId",
                  "fields"
                ],
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "UpdateDay"
                  },
                  "dayId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "fields": {
                    "type": "object",
                    "required": [],
                    "properties": {
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "enum": [
                          "Tentative",
                          "Confirmed",
                          "Cancelled",
                          "Completed",
                          "PendingCompletion"
                        ],
                        "type": "string"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer",
                        "minimum": 1
                      },
                      "sortOrder": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "timeBasis": {
                        "enum": [
                          "Unknown",
                          "PortLocal",
                          "ShipTime",
                          null
                        ],
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "enum": [
                          "LegacyCalendarDate",
                          "OfficialSequence",
                          null
                        ],
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "maxItems": 250,
          "minItems": 1
        },
        "idempotencyKey": {
          "type": "string",
          "format": "uuid"
        },
        "expectedVersion": {
          "type": "string",
          "minLength": 1,
          "description": "Exact version returned by cruise_get, including the trip-only read before creating a cruise."
        }
      },
      "additionalProperties": false
    },
    "confirmationToken": {
      "type": "string",
      "minLength": 1,
      "description": "Omit to preview. After the user reviews and approves the exact preview, repeat the unchanged request with its token to commit. Never manufacture approval."
    }
  },
  "additionalProperties": false
}
cruise_day_update output schema
{
  "type": "object",
  "required": [
    "success",
    "contractVersion",
    "status",
    "result"
  ],
  "properties": {
    "result": {
      "oneOf": [
        {
          "type": "object",
          "required": [
            "tripId",
            "cruiseId",
            "version",
            "cruise",
            "days",
            "activities"
          ],
          "properties": {
            "days": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "id",
                  "tripId",
                  "type",
                  "isDeleted"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "cost": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "date": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "date"
                  },
                  "dock": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "port": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "type": {
                    "type": "string"
                  },
                  "notes": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "title": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "tripId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "dayType": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                  },
                  "website": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "currency": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "portCity": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "portName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "dayNumber": {
                    "type": "integer"
                  },
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "sortOrder": {
                    "type": "integer"
                  },
                  "timeBasis": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "endDateTime": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "portCountry": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contactEmail": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contactPhone": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "isTenderPort": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "true means tender; false means docked; null means unknown."
                  },
                  "startDateTime": {
                    "type": "string",
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "dayNumberBasis": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "excursionNotes": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentCruiseId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "uuid"
                  },
                  "portTimezoneId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "arrivalTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "allAboardTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "confirmationNumber": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "departureTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "isOvernightPortCall": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "additionalProperties": true
              }
            },
            "cruise": {
              "anyOf": [
                {
                  "type": "object",
                  "required": [
                    "id",
                    "tripId",
                    "type",
                    "isDeleted"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cost": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string"
                    },
                    "notes": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "title": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "tripId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "groupId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "website": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "currency": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "shipName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinDeck": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinType": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "eventName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "isDeleted": {
                      "type": "boolean"
                    },
                    "occupancy": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "sortOrder": {
                      "type": "integer"
                    },
                    "cruiseLine": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkCity": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "endDateTime": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "contactEmail": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contactPhone": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "voyageNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkCity": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkCountry": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "leadPassenger": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "startDateTime": {
                      "type": "string",
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "contactAddress": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkPortName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkTerminal": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "onboardCredits": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkTimeLocal": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "bookingReference": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkCountry": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "itineraryEndDate": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "disembarkPortName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "reservationNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cancellationPolicy": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "confirmationNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkTimeLocal": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "itineraryStartDate": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    }
                  },
                  "additionalProperties": true
                },
                {
                  "type": "null"
                }
              ]
            },
            "tripId": {
              "type": "string",
              "format": "uuid"
            },
            "version": {
              "type": "string"
            },
            "cruiseId": {
              "type": [
                "string",
                "null"
              ],
              "format": "uuid"
            },
            "activities": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          "additionalProperties": false
        },
        {
          "type": "object",
          "required": [
            "confirmationToken",
            "expiresAtUtc",
            "payloadHash",
            "before",
            "after",
            "createdDayIds",
            "warnings"
          ],
          "properties": {
            "after": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "before": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "payloadHash": {
              "type": "string"
            },
            "expiresAtUtc": {
              "type": "string",
              "format": "date-time"
            },
            "createdDayIds": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "format": "uuid"
              }
            },
            "confirmationToken": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        {
          "type": "object",
          "required": [
            "receiptId",
            "idempotencyKey",
            "payloadHash",
            "snapshot",
            "createdDayIds",
            "changedSegmentIds",
            "deletedSegmentIds",
            "warnings",
            "replayed"
          ],
          "properties": {
            "replayed": {
              "type": "boolean"
            },
            "snapshot": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "receiptId": {
              "type": "string",
              "format": "uuid"
            },
            "payloadHash": {
              "type": "string"
            },
            "createdDayIds": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "format": "uuid"
              }
            },
            "idempotencyKey": {
              "type": "string",
              "format": "uuid"
            },
            "changedSegmentIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "deletedSegmentIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "additionalProperties": false
        }
      ]
    },
    "status": {
      "enum": [
        "read",
        "confirmation_required",
        "committed"
      ],
      "type": "string"
    },
    "success": {
      "type": "boolean",
      "const": true
    },
    "contractVersion": {
      "type": "string",
      "const": "cruise.builder.v1"
    }
  },
  "additionalProperties": false
}
cruise_day_update annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
cruise_day_delete — cruise day delete
Advertised by the server during the last successful anonymous check.
Advertised destructive

Preview and commit cruise day delete operations atomically. First call cruise_get for expectedVersion. Omit confirmationToken to preview, show the changes to the user, then repeat the unchanged request with its token only after the user approves. Reuse idempotencyKey for retries. Omitting a field preserves it; null clears nullable fields. For commercial cruise reservations and sea/port days use cruise_* tools. Never substitute Activity, CruiseActivity or another segment type for a cruise day. Ordinary shore excursions remain valid Activity/CruiseActivity. If cruise tools are unavailable explain the limitation and ask for clarification.

cruise_day_delete input schema
{
  "type": "object",
  "required": [
    "request"
  ],
  "properties": {
    "request": {
      "type": "object",
      "required": [
        "tripId",
        "idempotencyKey",
        "expectedVersion",
        "operations",
        "cruiseId"
      ],
      "properties": {
        "tripId": {
          "type": "string",
          "format": "uuid"
        },
        "cruiseId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "operations": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "kind",
                  "dayId"
                ],
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "DeleteDay"
                  },
                  "dayId": {
                    "type": "string",
                    "format": "uuid"
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "maxItems": 250,
          "minItems": 1
        },
        "idempotencyKey": {
          "type": "string",
          "format": "uuid"
        },
        "expectedVersion": {
          "type": "string",
          "minLength": 1,
          "description": "Exact version returned by cruise_get, including the trip-only read before creating a cruise."
        }
      },
      "additionalProperties": false
    },
    "confirmationToken": {
      "type": "string",
      "minLength": 1,
      "description": "Omit to preview. After the user reviews and approves the exact preview, repeat the unchanged request with its token to commit. Never manufacture approval."
    }
  },
  "additionalProperties": false
}
cruise_day_delete output schema
{
  "type": "object",
  "required": [
    "success",
    "contractVersion",
    "status",
    "result"
  ],
  "properties": {
    "result": {
      "oneOf": [
        {
          "type": "object",
          "required": [
            "tripId",
            "cruiseId",
            "version",
            "cruise",
            "days",
            "activities"
          ],
          "properties": {
            "days": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "id",
                  "tripId",
                  "type",
                  "isDeleted"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "cost": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "date": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "date"
                  },
                  "dock": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "port": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "type": {
                    "type": "string"
                  },
                  "notes": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "title": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "tripId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "dayType": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                  },
                  "website": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "currency": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "portCity": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "portName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "dayNumber": {
                    "type": "integer"
                  },
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "sortOrder": {
                    "type": "integer"
                  },
                  "timeBasis": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "endDateTime": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "portCountry": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contactEmail": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contactPhone": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "isTenderPort": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "true means tender; false means docked; null means unknown."
                  },
                  "startDateTime": {
                    "type": "string",
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "dayNumberBasis": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "excursionNotes": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentCruiseId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "uuid"
                  },
                  "portTimezoneId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "arrivalTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "allAboardTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "confirmationNumber": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "departureTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "isOvernightPortCall": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "additionalProperties": true
              }
            },
            "cruise": {
              "anyOf": [
                {
                  "type": "object",
                  "required": [
                    "id",
                    "tripId",
                    "type",
                    "isDeleted"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cost": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string"
                    },
                    "notes": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "title": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "tripId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "groupId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "website": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "currency": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "shipName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinDeck": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinType": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "eventName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "isDeleted": {
                      "type": "boolean"
                    },
                    "occupancy": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "sortOrder": {
                      "type": "integer"
                    },
                    "cruiseLine": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkCity": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "endDateTime": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "contactEmail": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contactPhone": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "voyageNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkCity": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkCountry": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "leadPassenger": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "startDateTime": {
                      "type": "string",
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "contactAddress": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkPortName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkTerminal": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "onboardCredits": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkTimeLocal": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "bookingReference": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkCountry": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "itineraryEndDate": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "disembarkPortName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "reservationNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cancellationPolicy": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "confirmationNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkTimeLocal": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "itineraryStartDate": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    }
                  },
                  "additionalProperties": true
                },
                {
                  "type": "null"
                }
              ]
            },
            "tripId": {
              "type": "string",
              "format": "uuid"
            },
            "version": {
              "type": "string"
            },
            "cruiseId": {
              "type": [
                "string",
                "null"
              ],
              "format": "uuid"
            },
            "activities": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          "additionalProperties": false
        },
        {
          "type": "object",
          "required": [
            "confirmationToken",
            "expiresAtUtc",
            "payloadHash",
            "before",
            "after",
            "createdDayIds",
            "warnings"
          ],
          "properties": {
            "after": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "before": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "payloadHash": {
              "type": "string"
            },
            "expiresAtUtc": {
              "type": "string",
              "format": "date-time"
            },
            "createdDayIds": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "format": "uuid"
              }
            },
            "confirmationToken": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        {
          "type": "object",
          "required": [
            "receiptId",
            "idempotencyKey",
            "payloadHash",
            "snapshot",
            "createdDayIds",
            "changedSegmentIds",
            "deletedSegmentIds",
            "warnings",
            "replayed"
          ],
          "properties": {
            "replayed": {
              "type": "boolean"
            },
            "snapshot": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "receiptId": {
              "type": "string",
              "format": "uuid"
            },
            "payloadHash": {
              "type": "string"
            },
            "createdDayIds": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "format": "uuid"
              }
            },
            "idempotencyKey": {
              "type": "string",
              "format": "uuid"
            },
            "changedSegmentIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "deletedSegmentIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "additionalProperties": false
        }
      ]
    },
    "status": {
      "enum": [
        "read",
        "confirmation_required",
        "committed"
      ],
      "type": "string"
    },
    "success": {
      "type": "boolean",
      "const": true
    },
    "contractVersion": {
      "type": "string",
      "const": "cruise.builder.v1"
    }
  },
  "additionalProperties": false
}
cruise_day_delete annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
cruise_day_restore — cruise day restore
Advertised by the server during the last successful anonymous check.
Advertised destructive

Preview and commit cruise day restore operations atomically. First call cruise_get for expectedVersion. Omit confirmationToken to preview, show the changes to the user, then repeat the unchanged request with its token only after the user approves. Reuse idempotencyKey for retries. Omitting a field preserves it; null clears nullable fields. For commercial cruise reservations and sea/port days use cruise_* tools. Never substitute Activity, CruiseActivity or another segment type for a cruise day. Ordinary shore excursions remain valid Activity/CruiseActivity. If cruise tools are unavailable explain the limitation and ask for clarification.

cruise_day_restore input schema
{
  "type": "object",
  "required": [
    "request"
  ],
  "properties": {
    "request": {
      "type": "object",
      "required": [
        "tripId",
        "idempotencyKey",
        "expectedVersion",
        "operations",
        "cruiseId"
      ],
      "properties": {
        "tripId": {
          "type": "string",
          "format": "uuid"
        },
        "cruiseId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "operations": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "kind",
                  "dayId"
                ],
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "RestoreDay"
                  },
                  "dayId": {
                    "type": "string",
                    "format": "uuid"
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "maxItems": 250,
          "minItems": 1
        },
        "idempotencyKey": {
          "type": "string",
          "format": "uuid"
        },
        "expectedVersion": {
          "type": "string",
          "minLength": 1,
          "description": "Exact version returned by cruise_get, including the trip-only read before creating a cruise."
        }
      },
      "additionalProperties": false
    },
    "confirmationToken": {
      "type": "string",
      "minLength": 1,
      "description": "Omit to preview. After the user reviews and approves the exact preview, repeat the unchanged request with its token to commit. Never manufacture approval."
    }
  },
  "additionalProperties": false
}
cruise_day_restore output schema
{
  "type": "object",
  "required": [
    "success",
    "contractVersion",
    "status",
    "result"
  ],
  "properties": {
    "result": {
      "oneOf": [
        {
          "type": "object",
          "required": [
            "tripId",
            "cruiseId",
            "version",
            "cruise",
            "days",
            "activities"
          ],
          "properties": {
            "days": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "id",
                  "tripId",
                  "type",
                  "isDeleted"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "cost": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "date": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "date"
                  },
                  "dock": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "port": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "type": {
                    "type": "string"
                  },
                  "notes": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "title": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "tripId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "dayType": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                  },
                  "website": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "currency": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "portCity": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "portName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "dayNumber": {
                    "type": "integer"
                  },
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "sortOrder": {
                    "type": "integer"
                  },
                  "timeBasis": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "endDateTime": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "portCountry": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contactEmail": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "contactPhone": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "isTenderPort": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "true means tender; false means docked; null means unknown."
                  },
                  "startDateTime": {
                    "type": "string",
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "dayNumberBasis": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "excursionNotes": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "parentCruiseId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "uuid"
                  },
                  "portTimezoneId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "arrivalTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "allAboardTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "confirmationNumber": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "departureTimeLocal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                  },
                  "isOvernightPortCall": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "additionalProperties": true
              }
            },
            "cruise": {
              "anyOf": [
                {
                  "type": "object",
                  "required": [
                    "id",
                    "tripId",
                    "type",
                    "isDeleted"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "cost": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string"
                    },
                    "notes": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "title": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "tripId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "groupId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "website": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "currency": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "shipName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinDeck": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinType": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "eventName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "isDeleted": {
                      "type": "boolean"
                    },
                    "occupancy": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "sortOrder": {
                      "type": "integer"
                    },
                    "cruiseLine": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkCity": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cabinNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "endDateTime": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "contactEmail": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contactPhone": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "voyageNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkCity": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkCountry": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "leadPassenger": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "startDateTime": {
                      "type": "string",
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "contactAddress": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkPortName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkTerminal": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "onboardCredits": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "embarkTimeLocal": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "bookingReference": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkCountry": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "itineraryEndDate": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "disembarkPortName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "reservationNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cancellationPolicy": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "confirmationNumber": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disembarkTimeLocal": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    },
                    "itineraryStartDate": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                    }
                  },
                  "additionalProperties": true
                },
                {
                  "type": "null"
                }
              ]
            },
            "tripId": {
              "type": "string",
              "format": "uuid"
            },
            "version": {
              "type": "string"
            },
            "cruiseId": {
              "type": [
                "string",
                "null"
              ],
              "format": "uuid"
            },
            "activities": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          "additionalProperties": false
        },
        {
          "type": "object",
          "required": [
            "confirmationToken",
            "expiresAtUtc",
            "payloadHash",
            "before",
            "after",
            "createdDayIds",
            "warnings"
          ],
          "properties": {
            "after": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "before": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "payloadHash": {
              "type": "string"
            },
            "expiresAtUtc": {
              "type": "string",
              "format": "date-time"
            },
            "createdDayIds": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "format": "uuid"
              }
            },
            "confirmationToken": {
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        {
          "type": "object",
          "required": [
            "receiptId",
            "idempotencyKey",
            "payloadHash",
            "snapshot",
            "createdDayIds",
            "changedSegmentIds",
            "deletedSegmentIds",
            "warnings",
            "replayed"
          ],
          "properties": {
            "replayed": {
              "type": "boolean"
            },
            "snapshot": {
              "type": "object",
              "required": [
                "tripId",
                "cruiseId",
                "version",
                "cruise",
                "days",
                "activities"
              ],
              "properties": {
                "days": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "tripId",
                      "type",
                      "isDeleted"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "cost": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "date"
                      },
                      "dock": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "port": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "tripId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "dayType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Use Embarkation, SeaDay, Port, ScenicCruising or Disembarkation for these known meanings. Preserve unfamiliar stored or source labels verbatim; do not coerce them to Port or SeaDay."
                      },
                      "website": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "currency": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portCity": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "portName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "dayNumber": {
                        "type": "integer"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "sortOrder": {
                        "type": "integer"
                      },
                      "timeBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "endDateTime": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "portCountry": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactEmail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contactPhone": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "isTenderPort": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "description": "true means tender; false means docked; null means unknown."
                      },
                      "startDateTime": {
                        "type": "string",
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "dayNumberBasis": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excursionNotes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "parentCruiseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "format": "uuid"
                      },
                      "portTimezoneId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "arrivalTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "allAboardTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "confirmationNumber": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "departureTimeLocal": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                      },
                      "isOvernightPortCall": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "cruise": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "tripId",
                        "type",
                        "isDeleted"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cost": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "notes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "tripId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "currency": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shipName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinDeck": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDeleted": {
                          "type": "boolean"
                        },
                        "occupancy": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sortOrder": {
                          "type": "integer"
                        },
                        "cruiseLine": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cabinNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endDateTime": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactEmail": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "contactPhone": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voyageNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCity": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "leadPassenger": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startDateTime": {
                          "type": "string",
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "contactAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTerminal": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "onboardCredits": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "embarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "bookingReference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkCountry": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "itineraryEndDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "disembarkPortName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "reservationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "cancellationPolicy": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "confirmationNumber": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "disembarkTimeLocal": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        },
                        "itineraryStartDate": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Independent local date or date and time, YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss, without UTC offsets or conversion. Never invent missing times."
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tripId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "string"
                },
                "cruiseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "uuid"
                },
                "activities": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              },
              "additionalProperties": false
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "receiptId": {
              "type": "string",
              "format": "uuid"
            },
            "payloadHash": {
              "type": "string"
            },
            "createdDayIds": {
              "type": "object",
              "additionalProperties": {
                "type": "string",
                "format": "uuid"
              }
            },
            "idempotencyKey": {
              "type": "string",
              "format": "uuid"
            },
            "changedSegmentIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "deletedSegmentIds": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "additionalProperties": false
        }
      ]
    },
    "status": {
      "enum": [
        "read",
        "confirmation_required",
        "committed"
      ],
      "type": "string"
    },
    "success": {
      "type": "boolean",
      "const": true
    },
    "contractVersion": {
      "type": "string",
      "const": "cruise.builder.v1"
    }
  },
  "additionalProperties": false
}
cruise_day_restore annotations
{
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}

Prompts

Not advertised

No prompt definitions available.

Resources

20 advertised

Trips — Trips

Advertised by the server during the last successful anonymous check.

Shows the user's trips as cards. The user can already see the list, so summarize instead of repeating every trip.

Trips URI
ui://widget/trip-list-2026-10-22.1.html

MIME type: text/html;profile=mcp-app

Trip Details — Trip Details

Advertised by the server during the last successful anonymous check.

Shows one trip's itinerary with its segments. Summarize or answer questions instead of restating the itinerary.

Trip Details URI
ui://widget/trip-detail-2026-11-22.1.html

MIME type: text/html;profile=mcp-app

Segments — Segments

Advertised by the server during the last successful anonymous check.

Shows a list of a trip's segments, such as flights, lodging, transport, and activities.

Segments URI
ui://widget/segment-list-2026-09-08.2.html

MIME type: text/html;profile=mcp-app

Segment Details — Segment Details

Advertised by the server during the last successful anonymous check.

Shows one segment's details, such as times, places, and booking information. Do not repeat every field the card already shows.

Segment Details URI
ui://widget/segment-detail-2026-11-22.1.html

MIME type: text/html;profile=mcp-app

Segment Form — Segment Form

Advertised by the server during the last successful anonymous check.

Shows a segment create or edit form with the proposed details for the user to review. Briefly explain the change instead of restating every field.

Segment Form URI
ui://widget/segment-form-2026-10-22.1.html

MIME type: text/html;profile=mcp-app

Discover — Discover

Advertised by the server during the last successful anonymous check.

Shows hotel, restaurant, attraction, or activity suggestions as cards with links. Highlight a few picks instead of listing every card.

Discover URI
ui://widget/discovery-cards-2026-11-21.1.html

MIME type: text/html;profile=mcp-app

Booking links — Booking links

Advertised by the server during the last successful anonymous check.

Shows booking links for the trip or segment, including the user's saved links and partner search handoffs. Booking happens on the partner site.

Booking links URI
ui://widget/booking-cards-2026-10-21.1.html

MIME type: text/html;profile=mcp-app

Airbnb stays — Airbnb stays

Advertised by the server during the last successful anonymous check.

Airbnb listing cards

Airbnb stays URI
ui://widget/airbnb-cards-2026-11-21.4.html

MIME type: text/html;profile=mcp-app

Trip Weather — Trip Weather

Advertised by the server during the last successful anonymous check.

Shows the weather forecast for the trip's destinations and dates. Mention notable conditions instead of reading out every day.

Trip Weather URI
ui://widget/trip-weather-2026-10-22.1.html

MIME type: text/html;profile=mcp-app

Trip Expenses — Trip Expenses

Advertised by the server during the last successful anonymous check.

Shows the trip's expense totals, balances, and settlements between travelers. Point out key figures instead of repeating the whole breakdown.

Trip Expenses URI
ui://widget/trip-expenses-2026-10-22.1.html

MIME type: text/html;profile=mcp-app

Places — Places

Advertised by the server during the last successful anonymous check.

Shows place search results or one place's details, such as address and rating.

Places URI
ui://widget/place-cards-2026-10-22.1.html

MIME type: text/html;profile=mcp-app

Flight Status — Flight Status

Advertised by the server during the last successful anonymous check.

Shows live status for a flight saved in the user's trip: departure and arrival times, delays, gates, and terminals.

Flight Status URI
ui://widget/flight-status-2026-11-21.1.html

MIME type: text/html;profile=mcp-app

Import Preview — Import Preview

Advertised by the server during the last successful anonymous check.

Shows the segments parsed from pasted text or a link before anything is saved, so the user can review them.

Import Preview URI
ui://widget/import-preview-2026-11-22.1.html

MIME type: text/html;profile=mcp-app

Routes — Routes

Advertised by the server during the last successful anonymous check.

Shows route options between two places with ride-hailing and map app handoffs.

Routes URI
ui://widget/route-options-2026-11-17.1.html

MIME type: text/html;profile=mcp-app

Journal Entry — Journal Entry

Advertised by the server during the last successful anonymous check.

Shows the saved private Library journal entry and a link to open it. Confirm the save without repeating the whole story.

Journal Entry URI
ui://widget/journal-entry-2026-11-17.1.html

MIME type: text/html;profile=mcp-app

Flights — Flights

Advertised by the server during the last successful anonymous check.

Shows flight options with prices, each linking to a partner booking site.

Flights URI
ui://widget/flight-cards-2026-11-21.3.html

MIME type: text/html;profile=mcp-app

My Trips — My Trips

Advertised by the server during the last successful anonymous check.

Tineo trips app: browse current, upcoming, and past trips and open a trip's day-by-day itinerary.

My Trips URI
ui://widget/trips-hub-2026-11-22.1.html

MIME type: text/html;profile=mcp-app

Tours — Tours

Advertised by the server during the last successful anonymous check.

Shows tour and activity options with prices, ratings, and partner booking links. Highlight a few picks instead of listing every tour.

Tours URI
ui://widget/tour-cards-2026-11-14.1.html

MIME type: text/html;profile=mcp-app

Events — Events

Advertised by the server during the last successful anonymous check.

Shows Ticketmaster events with dates, venues, prices, and ticket links. Highlight a few events instead of listing every card.

Events URI
ui://widget/event-cards-2026-10-23.1.html

MIME type: text/html;profile=mcp-app

Airport Lounges — Airport Lounges

Advertised by the server during the last successful anonymous check.

Shows airport lounges at the requested airport with key details for each lounge.

Airport Lounges URI
ui://widget/lounge-cards-2026-10-22.2.html

MIME type: text/html;profile=mcp-app

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (38 of 38 checks answered)

  1. 2026-11-17: 2 of 2 checks answered
  2. 2026-11-18: 5 of 5 checks answered
  3. 2026-11-19: 4 of 4 checks answered
  4. 2026-11-20: 3 of 3 checks answered
  5. 2026-11-21: 4 of 4 checks answered
  6. 2026-11-22: 4 of 4 checks answered
  7. 2026-11-23: 3 of 3 checks answered
  8. 2026-11-24: 4 of 4 checks answered
  9. 2026-11-25: 4 of 4 checks answered
  10. 2026-11-26: 4 of 4 checks answered
  11. 2026-11-27: 1 of 1 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
1809 ms
95th percentile latency
1900 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 1910 ms · metadata changed · refuses unauthenticated resources/templates/list (HTTP 401)
  • · probe · passed · 1707 ms · metadata changed · refuses unauthenticated resources/templates/list (HTTP 401)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http tineo-mcp https://api.tineo.ai/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add tineo-mcp --url https://api.tineo.ai/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable tineo-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "tineo-mcp": {
      "url": "https://api.tineo.ai/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "tineo-mcp": {
      "type": "streamableHttp",
      "url": "https://api.tineo.ai/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start tineo-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "tineo-mcp": {
      "type": "http",
      "url": "https://api.tineo.ai/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http tineo-mcp https://api.tineo.ai/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://api.tineo.ai/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "tineo-mcp": {
      "serverUrl": "https://api.tineo.ai/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Tineo MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run Tineo MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing