diff --git a/components/fieldgroups/experience-event/industry-verticals/experienceevent-lodging-reservation.example.1.json b/components/fieldgroups/experience-event/industry-verticals/experienceevent-lodging-reservation.example.1.json index 22d833c85e..badc16a1da 100644 --- a/components/fieldgroups/experience-event/industry-verticals/experienceevent-lodging-reservation.example.1.json +++ b/components/fieldgroups/experience-event/industry-verticals/experienceevent-lodging-reservation.example.1.json @@ -24,7 +24,32 @@ "xdm:roomAccessibilityType": "n/a", "xdm:roomCapacity": 6, "xdm:roomType": "king", - "xdm:smoking": false + "xdm:smoking": false, + "xdm:lodgingCheckout": { + "xdm:receiptURL": "https://adobe.com", + "xdm:dailyCharges": [ + { + "xdm:chargeDescription": "Room charge", + "xdm:chargeReferenceCode": "XYZ", + "xdm:chargeDate": "2020-01-01", + "xdm:dailyCharge": { + "xdm:amount": 1203.01, + "xdm:currencyCode": "USD", + "xdm:conversionDate": "2018-01-12T15:52:25+00:00" + } + }, + { + "xdm:chargeDescription": "State Tax", + "xdm:chargeReferenceCode": "ST-TAX", + "xdm:chargeDate": "2020-01-01", + "xdm:dailyCharge": { + "xdm:amount": 12.01, + "xdm:currencyCode": "USD", + "xdm:conversionDate": "2018-01-12T15:52:25+00:00" + } + } + ] + } } ] } diff --git a/components/fieldgroups/experience-event/industry-verticals/experienceevent-lodging-reservation.schema.json b/components/fieldgroups/experience-event/industry-verticals/experienceevent-lodging-reservation.schema.json index 477275befc..26e98c6e56 100644 --- a/components/fieldgroups/experience-event/industry-verticals/experienceevent-lodging-reservation.schema.json +++ b/components/fieldgroups/experience-event/industry-verticals/experienceevent-lodging-reservation.schema.json @@ -15,13 +15,9 @@ "https://ns.adobe.com/xdm/mixins/industry-verticals/experienceevent-reservation-details" ], "meta:tags": { - "industry": [ - "travel_and_hospitality" - ] + "industry": ["travel_and_hospitality"] }, - "meta:intendedToExtend": [ - "https://ns.adobe.com/xdm/context/experienceevent" - ], + "meta:intendedToExtend": ["https://ns.adobe.com/xdm/context/experienceevent"], "description": "Collects all details specific to a lodging reservation.", "definitions": { "reservations": { @@ -361,6 +357,51 @@ } }, "meta:descriptionId": "experienceevent-lodging-reservation##xdm:lodgingCheckIn##description##53961" + }, + "xdm:lodgingCheckout": { + "type": "object", + "title": "lodgingCheckout", + "description": "Lodging check out information, such as receipt URL, and a list of daily charges to populate a guest receipt.", + "properties": { + "xdm:receiptURL": { + "format": "uri-reference", + "type": "string", + "description": "URL for receipt sent to guest upon checkout.", + "title": "receiptURL" + }, + "xdm:dailyCharges": { + "type": "array", + "description": "List of daily charges.", + "title": "dailyCharges", + "items": { + "type": "object", + "properties": { + "xdm:dailyCharge": { + "$ref": "https://ns.adobe.com/xdm/datatypes/currency", + "type": "object", + "description": "Daily charge amount in the appropriate currency.", + "title": "Daily Charge" + }, + "xdm:chargeDescription": { + "type": "string", + "title": "chargeDescription", + "description": "Description of the charge line item." + }, + "xdm:chargeReferenceCode": { + "type": "string", + "title": "chargeReferenceCode", + "description": "Reference code of the charge line item." + }, + "xdm:chargeDate": { + "format": "date", + "type": "string", + "title": "chargeDate", + "description": "Date of the charge line item." + } + } + } + } + } } } } @@ -383,4 +424,4 @@ "meta:createdDate": "2021-02-10", "meta:titleId": "experienceevent-lodging-reservation##title##34511", "meta:descriptionId": "experienceevent-lodging-reservation##description##14951" -} \ No newline at end of file +}