Skip to content

Latest commit

 

History

History
471 lines (227 loc) · 7.69 KB

File metadata and controls

471 lines (227 loc) · 7.69 KB

Vehicle Reservation Schema

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

Collects all details specific to a vehicle 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-vehicle-reservation.schema.json

Schema Hierarchy

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

Vehicle Reservation Example

{
  "xdm:reservations": {
    "xdm:vehicleReservations": [
      {
        "xdm:couponCode": "10OFF",
        "xdm:vehicleDifferentDropoffLocation": false,
        "xdm:discountPercent": 0.1,
        "xdm:dropOffDateTime": "2021-06-18T15:52:25+00:00",
        "xdm:vehicleDropOffLocation": "Sydney International Airport",
        "xdm:vehicleDropOffLocationCode": "SYD",
        "xdm:freeCancelation": true,
        "xdm:guestID": "R101921H166",
        "xdm:loyaltyID": "X112JX123R594",
        "xdm:payLaterEligible": true,
        "xdm:pickUpDateTime": "2021-06-25T15:52:25+00:00",
        "xdm:vehiclePickUpLocation": "Phoenix Sky Harbor International Airport",
        "xdm:vehiclePickUpLocationCode": "PHX",
        "xdm:prePaid": false,
        "xdm:productID": "2021FRDMST",
        "xdm:refundable": true,
        "xdm:rentersAge": 33,
        "xdm:vehicleClass": "premium"
      }
    ]
  }
}

Vehicle 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