schemaorg-coda :: Example

eg-0183

From v29.4

JSON-LD

{
  "@context": "https://schema.org",
  "@type": "LodgingReservation",
  "reservationId": "abc456",
  "reservationStatus": "https://schema.org/ReservationConfirmed",
  "underName": {
    "@type": "Person",
    "name": "John Smith"
  },
  "reservationFor": {
    "@type": "LodgingBusiness",
    "name": "Hilton San Francisco Union Square",
    "address": {
      "@type": "PostalAddress",
      "streetAddress": "333 O'Farrell St",
      "addressLocality": "San Francisco",
      "addressRegion": "CA",
      "postalCode": "94102",
      "addressCountry": "US"
    },
    "telephone": "415-771-1400"
  },
  "checkinTime": "2017-04-11T16:00:00-08:00",
  "checkoutTime": "2017-04-13T11:00:00-08:00"
}

Pre-Markup

Original:
Hotel Reservation #abc456
under name: John Smith
Hilton San Francisco Union Square
333 O'Farrell Street
San Francisco, CA 94102

check in: 2017-04-11T16:00:00-08:00
check out: 2017-04-13T11:00:00-08:00