Skip to content

Latest commit

 

History

History
463 lines (219 loc) · 7.28 KB

experienceevent-flight-reservation.schema.md

File metadata and controls

463 lines (219 loc) · 7.28 KB

Flight Reservation Schema

https://ns.adobe.com/xdm/mixins/industry-verticals/experienceevent-flight-reservation

Collects all details specific to a flight reservation.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated Yes Stable No Forbidden Permitted fieldgroups/experience-event/industry-verticals/experienceevent-flight-reservation.schema.json

Schema Hierarchy

  • Flight Reservation https://ns.adobe.com/xdm/mixins/industry-verticals/experienceevent-flight-reservation
    • Reservation Details https://ns.adobe.com/xdm/mixins/industry-verticals/experienceevent-reservation-details

Flight Reservation Example

{
  "xdm:reservations": {
    "xdm:flightReservations": [
      {
        "xdm:reservationID": "RM8I9FG7HR",
        "xdm:securityScreening": "PreCheck",
        "xdm:arrivalLocation": "SYD",
        "xdm:departureLocation": "LAX",
        "xdm:fareClass": "business class",
        "xdm:flightDate": "2004-09-22T15:52:25+00:00",
        "xdm:flightNumber": "815",
        "xdm:loyaltyID": "H1102199221",
        "xdm:flightCheckIn": {}
      }
    ],
    "xdm:flightStatusSearch": {}
  }
}

Flight Reservation Properties

Property Type Required Defined by
xdm:reservations object Optional Reservation Details
* any Additional this schema allows additional properties

xdm:reservations

Interaction tracking for flights, lodging, vehicles, and dining reservations.

xdm:reservations

xdm:reservations Type

object with following properties:

Property Type Required
xdm:ID string Optional
xdm:cancellation integer Optional
xdm:confirmationNumber string Optional
xdm:created integer Optional
xdm:currencyCode string Optional
xdm:endDate string Optional
xdm:length integer Optional
xdm:modification integer Optional
xdm:modificationDate string Optional
xdm:nonRefundableAmount Optional
xdm:numberOfAdults integer Optional
xdm:numberOfChildren integer Optional
xdm:processSteps Optional
xdm:purpose string Optional
xdm:startDate string Optional
xdm:transaction Optional
xdm:triptype string Optional

xdm:ID

ID

Tracks the reservation number/identifier.

xdm:ID

  • is optional
  • type: string
xdm:ID Type

string

xdm:cancellation

Cancellation

Tracked when a reservation has been cancelled.

xdm:cancellation

  • is optional
  • type: integer
xdm:cancellation Type

integer

xdm:confirmationNumber

Confirmation Number

Tracks the reservation confirmation number/identifier.

xdm:confirmationNumber

  • is optional
  • type: string
xdm:confirmationNumber Type

string

xdm:created

Created

Tracked when a reservation has been created.

xdm:created

  • is optional
  • type: integer
xdm:created Type

integer

xdm:currencyCode

Currency Code

Currency code used to make the purchase. ISO 4217 currency code.

xdm:currencyCode

  • is optional
  • type: string
xdm:currencyCode Type

string

All instances must conform to this regular expression (test examples here):

^[A-Z]{3}$

xdm:endDate

End Date

The end drop-off/return/check-out date of the reservation.

xdm:endDate

  • is optional
  • type: string
xdm:endDate Type

string

xdm:length

Length

Tracks the total number of days for a reservation.

xdm:length

  • is optional
  • type: integer
xdm:length Type

integer

xdm:modification

Modification

Captured when a reservation has been modified.

xdm:modification

  • is optional
  • type: integer
xdm:modification Type

integer

xdm:modificationDate

Modification Date

Tracks when a reservation has been modified.

xdm:modificationDate

  • is optional
  • type: string
xdm:modificationDate Type

string

xdm:nonRefundableAmount

Non-Refundable Amount

Amount of the reservation price that is marked as non-refundable.

xdm:nonRefundableAmount

  • is optional
  • type: reference
xdm:nonRefundableAmount Type
  • https://ns.adobe.com/xdm/datatypes/currency

xdm:numberOfAdults

Number of Adults

Captures the number of adults associated with the reservation.

xdm:numberOfAdults

  • is optional
  • type: integer
xdm:numberOfAdults Type

integer

xdm:numberOfChildren

Number of Children

Captures the number of children associated with the reservation.

xdm:numberOfChildren

  • is optional
  • type: integer
xdm:numberOfChildren Type

integer

xdm:processSteps

Process Steps

Extension of toolUsage data type.

xdm:processSteps

  • is optional
  • type: reference
xdm:processSteps Type
  • https://ns.adobe.com/xdm/datatypes/tool-usage

xdm:purpose

Purpose

Tracks the purpose of the reservation, typically either business or personal.

xdm:purpose

  • is optional
  • type: string
xdm:purpose Type

string

xdm:purpose Known Values
Value Description
business Business
personal Personal

xdm:startDate

Start Date

The start pick-up/outbound/check-in date of the reservation.

xdm:startDate

  • is optional
  • type: string
xdm:startDate Type

string

xdm:transaction

Transaction

Extension of transaction data type.

xdm:transaction

  • is optional
  • type: reference
xdm:transaction Type
  • https://ns.adobe.com/xdm/datatypes/transaction

xdm:triptype

Trip Type

Indicates if the reservation is for a one way, round trip, or multi-city.

xdm:triptype

  • is optional
  • type: string
xdm:triptype Type

string

xdm:triptype Known Values
Value Description
roundtrip Roundtrip
oneWay One Way
multiCity Multi-City