Reservasi Mobil Sewa

Kasus penggunaan

Kasus penggunaan berikut menunjukkan contoh umum tentang cara penggunaan skema RentalCarReservation. Gunakan contoh ini untuk memastikan markup Anda terstruktur dengan benar.

Konfirmasi reservasi dasar

Sematkan markup berikut di email Anda saat Anda mengirim konfirmasi reservasi sewa mobil.

JSON-LD

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "RentalCarReservation",
  "reservationNumber": "546323",
  "reservationStatus": "http://schema.org/Confirmed",
  "underName": {
    "@type": "Person",
    "name": "John Smith"
  },
  "reservationFor": {
    "@type": "RentalCar",
    "name": "Economy Class Car",
    "model": "Civic",
    "brand": {
      "@type": "Brand",
      "name": "Honda"
    },
    "rentalCompany": {
      "@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": "2027-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"
    }
  },
  "potentialAction": {
    "@type": "ConfirmAction",
    "target": "http://cheapcar.com/confirm?id=546323"
  },
  "dropoffTime": "2027-08-06T20:00:00-07:00"
}
</script>

Microdata

<div itemscope itemtype="http://schema.org/RentalCarReservation">
  <meta itemprop="reservationNumber" content="546323"/>
  <link itemprop="reservationStatus" href="http://schema.org/Confirmed"/>
  <div itemprop="underName" itemscope itemtype="http://schema.org/Person">
    <meta itemprop="name" content="John Smith"/>
  </div>
  <div itemprop="reservationFor" itemscope itemtype="http://schema.org/RentalCar">
    <meta itemprop="name" content="Economy Class Car"/>
    <meta itemprop="model" content="Civic"/>
    <div itemprop="brand" itemscope itemtype="http://schema.org/Brand">
      <meta itemprop="name" content="Honda"/>
    </div>
    <div itemprop="rentalCompany" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Hertz"/>
    </div>
  </div>
  <div itemprop="pickupLocation" itemscope itemtype="http://schema.org/Place">
    <meta itemprop="name" content="Hertz San Diego Airport"/>
    <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
      <meta itemprop="streetAddress" content="1500 Orange Avenue"/>
      <meta itemprop="addressLocality" content="San Diego"/>
      <meta itemprop="addressRegion" content="CA"/>
      <meta itemprop="postalCode" content="94043"/>
      <meta itemprop="addressCountry" content="US"/>
    </div>
  </div>
  <meta itemprop="pickupTime" content="2027-08-05T16:00:00-07:00"/>
  <div itemprop="dropoffLocation" itemscope itemtype="http://schema.org/Place">
    <meta itemprop="name" content="Hertz LAX"/>
    <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
      <meta itemprop="streetAddress" content="1234 First Street"/>
      <meta itemprop="addressLocality" content="Los Angeles"/>
      <meta itemprop="addressRegion" content="CA"/>
      <meta itemprop="postalCode" content="94043"/>
      <meta itemprop="addressCountry" content="US"/>
    </div>
  </div>
  <meta itemprop="dropoffTime" content="2027-08-06T20:00:00-07:00"/>
  <div itemprop="potentialAction" itemscope itemtype="http://schema.org/ConfirmAction">
    <link itemprop="target" href="http://cheapcar.com/confirm?id=546323"/>
  </div>
</div>

Contoh dengan semua kolom yang didukung

Sebagai referensi, berikut adalah contoh dengan semua kolom yang didukung diisi:

JSON-LD

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "RentalCarReservation",
  "reservationNumber": "546323",
  "reservationStatus": "http://schema.org/Confirmed",
  "url": "http://carrentals.com/view/546323",
  "underName": {
    "@type": "Person",
    "name": "John Smith",
    "email": "john@mail.com"
  },
  "programMembership": {
    "@type": "ProgramMembership",
    "memberNumber": "1234567",
    "program": "AAA"
  },
  "bookingAgent": {
    "@type": "Organization",
    "name": "Car Rentals Internationaly",
    "url": "http://carrentals.com/"
  },
  "bookingTime": "2027-01-14T13:05:00-05:00",
  "modifiedTime": "2027-03-14T13:05:00-05:00",
  "confirmReservationUrl": "http://carrentals.com/confirm?id=546323",
  "cancelReservationUrl": "http://carrentals.com/cancel?id=546323",
  "checkinUrl": "http://carrentals.com/checkin?id=546323",
  "modifyReservationUrl": "http://carrentals.com/edit?id=546323",
  "potentialAction": [
    {
      "@type": "ConfirmAction",
      "target": "http://carrentals.com/confirm?id=546323"
    },
    {
      "@type": "CancelAction",
      "target": "http://carrentals.com/cancel?id=546323"
    },
    {
      "@type": "EditAction",
      "target": "http://carrentals.com/edit?id=546323"
    },
    {
      "@type": "CheckInAction",
      "target": "http://carrentals.com/checkin?id=546323"
    }
  ],
  "reservationFor": {
    "@type": "RentalCar",
    "name": "Economy Class Car",
    "model": "Civic",
    "brand": {
      "@type": "Brand",
      "name": "Honda"
    },
    "description": "Sedan 4 Door, 5 Seatbelts, Automatic transmission",
    "rentalCompany": {
      "@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"
    },
    "telephone": "+1-800-123-4567"
  },
  "pickupTime": "2027-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"
    },
    "telephone": "+1-800-123-4567"
  },
  "dropoffTime": "2027-08-06T20:00:00-07:00",
  "price": "119.00",
  "priceCurrency": "USD"
}
</script>

Microdata

<div itemscope itemtype="http://schema.org/RentalCarReservation">
  <meta itemprop="reservationNumber" content="546323"/>
  <link itemprop="reservationStatus" href="http://schema.org/Confirmed"/>
  <link itemprop="url" href="http://carrentals.com/view/546323"/>
  <div itemprop="underName" itemscope itemtype="http://schema.org/Person">
    <meta itemprop="name" content="John Smith"/>
    <meta itemprop="email" content="john@mail.com"/>
  </div>
  <div itemprop="programMembership" itemscope itemtype="http://schema.org/ProgramMembership">
    <meta itemprop="memberNumber" content="1234567"/>
    <meta itemprop="program" content="AAA"/>
  </div>
  <div itemprop="bookingAgent" itemscope itemtype="http://schema.org/Organization">
    <meta itemprop="name" content="Car Rentals Internationaly"/>
    <link itemprop="url" href="http://carrentals.com/"/>
  </div>
  <meta itemprop="bookingTime" content="2027-01-14T13:05:00-05:00"/>
  <meta itemprop="modifiedTime" content="2027-03-14T13:05:00-05:00"/>
  <link itemprop="confirmReservationUrl" href="http://carrentals.com/confirm?id=546323"/>
  <link itemprop="cancelReservationUrl" href="http://carrentals.com/cancel?id=546323"/>
  <link itemprop="modifyReservationUrl" href="http://carrentals.com/edit?id=546323"/>
  <link itemprop="checkinUrl" href="http://carrentals.com/checkin?id=546323"/>
  <div itemprop="potentialAction" itemscope itemtype="http://schema.org/ConfirmAction">
    <link itemprop="target" href="http://carrentals.com/confirm?id=546323"/>
  </div>
  <div itemprop="potentialAction" itemscope itemtype="http://schema.org/CancelAction">
    <link itemprop="target" href="http://carrentals.com/cancel?id=546323"/>
  </div>
  <div itemprop="potentialAction" itemscope itemtype="http://schema.org/EditAction">
    <link itemprop="target" href="http://carrentals.com/edit?id=546323"/>
  </div>
  <div itemprop="potentialAction" itemscope itemtype="http://schema.org/CheckInAction">
    <link itemprop="target" href="http://carrentals.com/checkin?id=546323"/>
  </div>
  <div itemprop="reservationFor" itemscope itemtype="http://schema.org/RentalCar">
    <meta itemprop="name" content="Economy Class Car"/>
    <meta itemprop="model" content="Civic"/>
    <div itemprop="brand" itemscope itemtype="http://schema.org/Brand">
      <meta itemprop="name" content="Honda"/>
    </div>
    <meta itemprop="description" content="Sedan 4 Door, 5 Seatbelts, Automatic transmission"/>
    <div itemprop="rentalCompany" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Hertz"/>
    </div>
  </div>
  <div itemprop="pickupLocation" itemscope itemtype="http://schema.org/Place">
    <meta itemprop="name" content="Hertz San Diego Airport"/>
    <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
      <meta itemprop="streetAddress" content="1500 Orange Avenue"/>
      <meta itemprop="addressLocality" content="San Diego"/>
      <meta itemprop="addressRegion" content="CA"/>
      <meta itemprop="postalCode" content="94043"/>
      <meta itemprop="addressCountry" content="US"/>
    </div>
    <meta itemprop="telephone" content="+1-800-123-4567"/>
  </div>
  <meta itemprop="pickupTime" content="2027-08-05T16:00:00-07:00"/>
  <div itemprop="dropoffLocation" itemscope itemtype="http://schema.org/Place">
    <meta itemprop="name" content="Hertz LAX"/>
    <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
      <meta itemprop="streetAddress" content="1234 First Street"/>
      <meta itemprop="addressLocality" content="Los Angeles"/>
      <meta itemprop="addressRegion" content="CA"/>
      <meta itemprop="postalCode" content="94043"/>
      <meta itemprop="addressCountry" content="US"/>
    </div>
    <meta itemprop="telephone" content="+1-800-123-4567"/>
  </div>
  <meta itemprop="dropoffTime" content="2027-08-06T20:00:00-07:00"/>
  <meta itemprop="price" content="119.00"/>
  <meta itemprop="priceCurrency" content="USD"/>
</div>

Menguji Markup

Anda dapat memvalidasi markup menggunakan Alat Penguji Markup Email. Tempelkan kode markup Anda dan klik tombol Validasi untuk memindai konten dan menerima laporan tentang error yang ada.

Spesifikasi

Tinjau detail email Anda untuk melihat apakah salah satu properti ini berlaku untuk reservasi Anda. Dengan menandai properti tambahan ini, Anda mengizinkan Google menampilkan deskripsi reservasi yang jauh lebih lengkap kepada pengguna.

RentalCarReservation

Nama jenis: RentalCarReservation

Memperluas Reservasi

Nama Jenis Deskripsi
bookingAgent Organisasi atau Person Agen atau agensi pemesanan. Juga menerima string (misalnya, "").
bookingAgent.name Teks Nama agen/layanan.
bookingAgent.url URL Situs agen/layanan.
bookingTime DateTime Tanggal reservasi dibuat.
cancelReservationUrl URL Halaman web tempat reservasi dapat dibatalkan.
checkinUrl URL Halaman web tempat penumpang dapat check in.
confirmReservationUrl URL Halaman web tempat reservasi dapat dikonfirmasi.
dropoffLocation
(Wajib)
AutoRental atau Place Tempat mobil dikembalikan.
dropoffLocation.address
(Wajib)
PostalAddress Alamat lokasi pengembalian.
dropoffLocation.address.addressCountry
(Wajib)
Teks atau Country Negara lokasi pengembalian.
dropoffLocation.address.addressLocality
(Wajib)
Teks Lokalitas (misalnya, kota) lokasi pengembalian.
dropoffLocation.address.addressRegion
(Wajib)
Teks Wilayah (misalnya, Negara Bagian) lokasi pengembalian.
dropoffLocation.address.postalCode
(Wajib)
Teks Kode pos lokasi pengembalian.
dropoffLocation.address.streetAddress
(Wajib)
Teks Alamat jalan lokasi pengembalian.
dropoffLocation.name
(Wajib)
Teks Nama lokasi pengembalian.
dropoffLocation.telephone Teks (direkomendasikan untuk Kartu Konfirmasi/Jawaban Penelusuran) Nomor telepon Tempat.
dropoffTime
(Wajib)
DateTime Waktu mobil dikembalikan.
modifiedTime DateTime (direkomendasikan untuk Kartu Konfirmasi/Jawaban Penelusuran) Waktu reservasi terakhir diubah.
modifyReservationUrl URL (direkomendasikan untuk Kartu Konfirmasi/Jawaban Penelusuran) Halaman web tempat reservasi dapat diubah.
pickupLocation
(Wajib)
AutoRental atau Place Tempat mobil diambil.
pickupLocation.address
(Wajib)
PostalAddress Alamat lokasi pengambilan.
pickupLocation.address.addressCountry
(Wajib)
Teks atau Country Negara lokasi pengambilan.
pickupLocation.address.addressLocality
(Wajib)
Teks Lokalitas (misalnya, kota) lokasi pengambilan.
pickupLocation.address.addressRegion
(Wajib)
Teks Wilayah (misalnya, Negara Bagian) lokasi pengambilan.
pickupLocation.address.postalCode
(Wajib)
Teks Kode pos lokasi pengambilan.
pickupLocation.address.streetAddress
(Wajib)
Teks Alamat jalan lokasi pengambilan.
pickupLocation.name
(Wajib)
Teks Nama lokasi pengambilan.
pickupLocation.telephone Teks (direkomendasikan untuk Kartu Konfirmasi/Jawaban Penelusuran) Nomor telepon Tempat.
pickupTime
(Wajib)
DateTime Waktu mobil diambil.
potentialAction
(Wajib)
CheckInAction, ConfirmAction, CancelAction atau Tindakan yang didukung untuk RentalCarReservation.
price Teks Total harga RentalCarReservation.
priceCurrency Teks Mata uang (dalam format ISO 4217 3 huruf) harga RentalCarReservation.
programMembership ProgramMembership Keanggotaan dalam program loyalitas hotel, maskapai penerbangan, dll. yang diterapkan pada reservasi.
programMembership.memberNumber Teks ID keanggotaan.
programMembership.program Teks Nama program.
reservationFor
(Wajib)
Mobil yang dipesan.
reservationFor.brand
(Wajib)
Brand Brand yang terkait dengan RentalCar.
reservationFor.brand.name
(Wajib)
Teks Nama Brand.
reservationFor.description Teks Deskripsi singkat RentalCar.
reservationFor.model
(Wajib)
Teks Model RentalCar.
reservationFor.name
(Wajib)
Teks Nama RentalCar.
reservationFor.rentalCompany
(Wajib)
Organization Perusahaan yang menyewakan mobil. Juga menerima string (misalnya, "Hertz").
reservationFor.rentalCompany.name
(Wajib)
Teks Nama perusahaan penyewaan.
reservationNumber
(Wajib)
Teks Nomor atau ID reservasi.
reservationStatus
(Wajib)
ReservationStatus Status reservasi saat ini.
underName
(Wajib)
Organisasi atau Person Pengemudi.
underName.email Teks Alamat email.
underName.name
(Wajib)
Teks Nama Orang.
url URL Halaman web tempat reservasi dapat dilihat.