https://ns.adobe.com/xdm/mixins/profile/travel-preferences
Tracks a user's travel preferences, including home airport code, meal preferences, seating preferences, etc.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Stable | No | Forbidden | Permitted | fieldgroups/profile/profile-travel-preferences.schema.json |
{
"xdm:seat": "window",
"xdm:seatSection ": "forward",
"xdm:meal": "regularMeal",
"xdm:preferredDepartureAirportCode": "ORD",
"xdm:ticketDelivery": "eTicket",
"xdm:roomType": "king",
"xdm:smokingRoom": false,
"xdm:earlyCheckIn": true,
"xdm:gym": true,
"xdm:vehicleType": "standardSUV",
"xdm:smoking": false,
"xdm:manualTransmission": true
}
Property | Type | Required | Defined by |
---|---|---|---|
xdm:travelPreferences | object |
Optional | Travel Preferences (this schema) |
* |
any | Additional | this schema allows additional properties |
Captures details related to the users's travel preferences.
xdm:travelPreferences
- is optional
- type:
object
- defined in this schema
object
with following properties:
Property | Type | Required |
---|---|---|
xdm:crib |
boolean | Optional |
xdm:earlyCheckIn |
boolean | Optional |
xdm:foamPillows |
boolean | Optional |
xdm:gym |
boolean | Optional |
xdm:hasRestaurant |
boolean | Optional |
xdm:manualTransmission |
boolean | Optional |
xdm:meal |
string | Optional |
xdm:medicalAlerts |
string | Optional |
xdm:pool |
boolean | Optional |
xdm:preferredDepartureAirportCode |
string | Optional |
xdm:rollAwayBed |
boolean | Optional |
xdm:roomService |
boolean | Optional |
xdm:roomType |
string | Optional |
xdm:seat |
string | Optional |
xdm:seatSection |
string | Optional |
xdm:smokingRoom |
boolean | Optional |
xdm:smokingVehicle |
boolean | Optional |
xdm:ticketDelivery |
string | Optional |
xdm:vehicleType |
string | Optional |
xdm:visuallyImpairedAccessible |
boolean | Optional |
xdm:wheelchairAccessible |
boolean | Optional |
Captures if the user requires a crib.
xdm:crib
- is optional
- type:
boolean
boolean
Flags if the user prefers a lodging property with early check-in available.
xdm:earlyCheckIn
- is optional
- type:
boolean
boolean
Captures if the user prefers foam pillows.
xdm:foamPillows
- is optional
- type:
boolean
boolean
Flags if the user prefers a lodging property with a gym/fitness room.
xdm:gym
- is optional
- type:
boolean
boolean
Flags if the user prefers a lodging property with a restaurant.
xdm:hasRestaurant
- is optional
- type:
boolean
boolean
Records if a user prefers a manual transmission instead of an automatic transmission.
xdm:manualTransmission
- is optional
- type:
boolean
boolean
Tracks the user's meal preference, if provided.
xdm:meal
- is optional
- type:
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
regularMeal |
Regular Meal |
blandLowResidue |
Bland / Low Residue |
childMeal |
Child Meal |
diabeticMeal |
Diabetic Meal |
fruitPlatter |
Fruit Platter |
glutenFreeMeal |
Gluten Free Meal |
infantBabyMeal |
Infant / Baby Meal |
kosherMeal |
Kosher Meal |
lowCalorieMeal |
Low Calorie Meal |
lowSaltSodiumMeal |
Low Salt / Sodium Meal |
halalMeal |
Halal Meal |
noSaltMeal |
No Salt Meal |
nonLactoseMeal |
Non Lactose Meal |
peanutFreeMeal |
Peanut Free Meal |
seafoodMeal |
Seafood Meal |
vegLactoOvo |
Veg Lacto-Ovo |
vegetarian |
Vegetarian |
vegetarianKosher |
Vegetarian Kosher |
vegetarianRaw |
Vegetarian, Raw |
Captures any medical alerts for the user.
xdm:medicalAlerts
- is optional
- type:
string
string
Flags if the user prefers a lodging property with a swimming pool.
xdm:pool
- is optional
- type:
boolean
boolean
Records the user's preferred home/departure airport code.
xdm:preferredDepartureAirportCode
- is optional
- type:
string
string
All instances must conform to this regular expression (test examples here):
^[A-Z]{3}$
Captures if the user requires a rollaway bed.
xdm:rollAwayBed
- is optional
- type:
boolean
boolean
Flags if the user prefers a lodging property with room service available.
xdm:roomService
- is optional
- type:
boolean
boolean
Tracks the user's preferred room type.
xdm:roomType
- is optional
- type:
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
noPreference |
No Preference |
king |
King |
queen |
Queen |
double |
Double |
twin |
Twin |
single |
Single |
disability |
Disability |
Captures the user's preferred seat type for flights.
xdm:seat
- is optional
- type:
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
noPreference |
No Preference |
aisle |
Aisle |
window |
Window |
middle |
Middle |
Captures the user's preferred seat sectionfor flights.
xdm:seatSection
- is optional
- type:
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
noPreference |
No Preference |
forward |
Forward |
bulkhead |
Bulkhead |
exitRow |
Exit Row |
rear |
Rear |
Flags if the user prefers a smoking room.
xdm:smokingRoom
- is optional
- type:
boolean
boolean
Flags if the user prefers a smoking vehicle.
xdm:smokingVehicle
- is optional
- type:
boolean
boolean
Defines the user's preferred ticket delivery method.
xdm:ticketDelivery
- is optional
- type:
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
eTicket |
E-Ticket |
physical |
Physical |
Records the user's vehicle type preference.
xdm:vehicleType
- is optional
- type:
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
miniCar |
Mini Car |
economyCar |
Economy Car |
economyCarHybrid |
Economy Car Hybrid |
compactCar |
Compact Car |
compactCarHybrid |
Compact Car Hybrid |
intermediateCar |
Intermediate Car |
intermediateCarHybrid |
Intermediate Car Hybrid |
standardCar |
Standard Car |
standardCarHybrid |
Standard Car Hybrid |
fullSizeCar |
Full-size Car |
fullSizeCarHybrid |
Full-size Car Hybrid |
intermediateSUV |
Intermediate SUV |
miniVan |
Mini Van |
standardSUV |
Standard SUV |
fullSizeSUV |
Full-size SUV |
fullSizePickup |
Full-size Pickup |
premiumCar |
Premium Car |
luxuryCar |
Luxury Car |
specializedVehicle |
Specialized Vehicle |
Tracks if the user requres a visually impaired accessible room.
xdm:visuallyImpairedAccessible
- is optional
- type:
boolean
boolean
Tracks if the user requres a wheelchair accessible room.
xdm:wheelchairAccessible
- is optional
- type:
boolean
boolean