schemaorg-coda :: Example

eg-0184

From v29.4

JSON-LD

{
  "@context": "https://schema.org",
  "@type": "RentalCarReservation",
  "reservationId": "546323",
  "reservationStatus": "https://schema.org/ReservationConfirmed",
  "underName": {
    "@type": "Person",
    "name": "John Smith"
  },
  "reservationFor": {
    "@type": "Car",
    "name": "Economy Class Car",
    "model": "Civic",
    "brand": {
      "@type": "Brand",
      "name": "Honda"
    }
  },
  "provider": {
        "@type": "Organization",
        "name": "Hertz"
      },
  "pickupLocation": {
    "@type": "Place",
    "name": "Hertz San Diego Airport",
    "address": {
      "@type": "PostalAddress",
      "streetAddress": "1500 Orange Avenue",
      "addressLocality": "San Diego",
      "addressRegion": "CA",
      "postalCode": "94043",
      "addressCountry": "US"
    }
  },
  "pickupTime": "2017-08-05T16:00:00-07:00",
  "dropoffLocation": {
    "@type": "Place",
    "name": "Hertz LAX",
    "address": {
      "@type": "PostalAddress",
      "streetAddress": "1234 First Street",
      "addressLocality": "Los Angeles",
      "addressRegion": "CA",
      "postalCode": "94043",
      "addressCountry": "US"
    }
  },
  "dropoffTime": "2017-08-06T20:00:00-07:00"
}

Pre-Markup

Car rental reservation #546323
Customer: John Smith
Car: Honda Civic (Economy Class)
Rental company: Hertz
Pick up location: Hertz San Diego Airport
1500 Orange Avenue
San Diego, CA 94043

Pickup time: 2017-08-05T16:00:00-07:00

Drop off location: Hertz LAX
1234 First Street
Los Angeles, CA 94043

Drop off time: 2017-08-06T20:00:00-07:00