changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "flights": {
+ "description": "Matching options, capped at 30",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "categories": {
+ "description": "Which curated selections this flight appeared in; may be more than one",
+ "items": {
+ "enum": [
+ "best",
+ "cheapest",
+ "fastest"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "currency": {
+ "description": "ISO currency code of `price`",
+ "type": "string"
+ },
+ "deep_link": {
+ "description": "Link to complete this booking on alice.co.il",
+ "type": "string"
+ },
+ "inbound": {
+ "$ref": "#/properties/flights/items/properties/outbound",
+ "description": "Absent on one-way trips"
+ },
+ "outbound": {
+ "additionalProperties": false,
+ "properties": {
+ "arrival_local": {
+ "type": "string"
+ },
+ "departure_local": {
+ "type": "string"
+ },
+ "duration_minutes": {
+ "type": "number"
+ },
+ "flights": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "arrival_local": {
+ "type": "string"
+ },
+ "brand": {
+ "description": "Fare brand, e.g. 'LITE', 'FLEX'",
+ "type": "string"
+ },
+ "cabin": {
+ "description": "Raw cabin code, e.g. 'Y', 'C'/'J', 'F'",
+ "type": "string"
+ },
+ "checked_bag_included": {
+ "type": "boolean"
+ },
+ "departure_local": {
+ "type": "string"
+ },
+ "duration_minutes": {
+ "type": "number"
+ },
+ "flight_number": {
+ "type": "string"
+ },
+ "from": {
+ "type": "string"
+ },
+ "seats_remaining": {
+ "type": "number"
+ },
+ "terminal_from": {
+ "type": "string"
+ },
+ "terminal_to": {
+ "type": "string"
+ },
+ "to": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to",
+ "departure_local",
+ "arrival_local",
+ "flight_number",
+ "duration_minutes"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "from": {
+ "type": "string"
+ },
+ "layovers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "airport_code": {
+ "type": "string"
+ },
+ "arrival_local": {
+ "type": "string"
+ },
+ "departure_local": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "airport_code",
+ "arrival_local",
+ "departure_local"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "to": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to",
+ "departure_local",
+ "arrival_local",
+ "duration_minutes",
+ "flights",
+ "layovers"
+ ],
+ "type": "object"
+ },
+ "price": {
+ "description": "Total trip price for all passengers",
+ "type": "number"
+ },
+ "pricing_details": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "passenger_type": {
+ "enum": [
+ "ADT",
+ "CHD",
+ "INF",
+ "YCD"
+ ],
+ "type": "string"
+ },
+ "total_price": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "passenger_type",
+ "total_price"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "seats_remaining": {
+ "description": "Seats bookable at this price; 4 or fewer means limited availability",
+ "type": "number"
+ }
+ },
+ "required": [
+ "outbound",
+ "pricing_details",
+ "categories"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "query": {
+ "additionalProperties": false,
+ "description": "The search parameters, with defaults applied",
+ "properties": {
+ "adults": {
+ "default": 1,
+ "description": "Number of adult passengers (0–9)",
+ "maximum": 9,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "children": {
+ "default": 0,
+ "description": "Number of child passengers (0–9)",
+ "maximum": 9,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "departure_date": {
+ "description": "Departure date in YYYY-MM-DD format",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "destination": {
+ "description": "3-letter IATA city or airport code (e.g. 'TLV', 'LON', 'MAD')",
+ "maxLength": 3,
+ "minLength": 3,
+ "type": "string"
+ },
+ "flight_class": {
+ "default": "tour",
+ "description": "Cabin class: tour (economy), tourPlus (premium economy), business, or first",
+ "enum": [
+ "tour",
+ "tourPlus",
+ "business",
+ "first"
+ ],
+ "type": "string"
+ },
+ "infants": {
+ "default": 0,
+ "description": "Number of infant passengers (0–9)",
+ "maximum": 9,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "language": {
+ "default": "en",
+ "description": "Language for the interactive results widget. Set 'he' when the conversation is in Hebrew; defaults to English.",
+ "enum": [
+ "en",
+ "he"
+ ],
+ "type": "string"
+ },
+ "origin": {
+ "description": "3-letter IATA city or airport code (e.g. 'TLV', 'LON', 'MAD')",
+ "maxLength": 3,
+ "minLength": 3,
+ "type": "string"
+ },
+ "return_date": {
+ "description": "Return date for round trips (YYYY-MM-DD). Omit for one-way.",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "seniors": {
+ "default": 0,
+ "description": "Number of senior passengers (0–9)",
+ "maximum": 9,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "origin",
+ "destination",
+ "departure_date"
+ ],
+ "type": "object"
+ },
+ "total": {
+ "description": "Total matches found, which may exceed `flights.length`",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "query",
+ "flights",
+ "total"
+ ],
+ "type": "object"
+}