addedInput schema / properties / creditClass
Added value: +{
+ "description": "The booking class letter for creditTo, when it differs from the class question. Ignored without creditTo.",
+ "pattern": "^[A-Za-z]$",
+ "type": "string"
+}
addedInput schema / properties / creditFlights
Added value: +{
+ "description": "The flights for creditTo: one entry per one-way flight, in order, with its great-circle miles (calculate_flight_distance gives them) and optionally from/to airport codes. Defaults to segs when they carry miles.",
+ "items": {
+ "properties": {
+ "from": {
+ "description": "The departure airport's code; labels the breakdown.",
+ "pattern": "^[A-Za-z0-9]{3,4}$",
+ "type": "string"
+ },
+ "miles": {
+ "description": "Great-circle distance of this flight in miles.",
+ "maximum": 12500,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "to": {
+ "description": "The arrival airport's code; labels the breakdown.",
+ "pattern": "^[A-Za-z0-9]{3,4}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "miles"
+ ],
+ "type": "object"
+ },
+ "maxItems": 8,
+ "minItems": 1,
+ "type": "array"
+}
addedInput schema / properties / creditStatus
Added value: +{
+ "description": "Your status in the creditTo program, by its name as listed under creditTo. Defaults to the base level. Ignored without creditTo.",
+ "maxLength": 64,
+ "type": "string"
+}
addedInput schema / properties / creditTo
Added value: +{
+ "description": "Credit the flights to a partner program instead of Japan Airlines's own: american = American AAdvantage (creditStatus one of: AAdvantage member, AAdvantage Gold, AAdvantage Platinum, AAdvantage Platinum Pro, AAdvantage Executive Platinum); alaska = Atmos Rewards (creditStatus one of: Atmos Rewards member, Atmos Silver, Atmos Gold, Atmos Platinum, Atmos Titanium); flying-blue = Flying Blue (creditStatus one of: Explorer, Silver, Gold, Platinum, Ultimate); ba-club = British Airways Club (creditStatus one of: Blue, Bronze, Silver, Gold). Earns by each flight's distance and the booking class at the program's published partner rates; leave creditTo out for the airline's own program. The booking class is cls (or creditClass). The flights are segs (their miles), or creditFlights.",
+ "enum": [
+ "american",
+ "alaska",
+ "flying-blue",
+ "ba-club"
+ ],
+ "type": "string"
+}