Rezerwacja samochodów w wypożyczalni

Użyj tego typu, aby zadeklarować rezerwację samochodu.

Przypadki użycia

Aby mieć pewność, że znaczniki RentalCarReservation są prawidłowo skonstruowane, postępuj zgodnie z tymi przykładami.

Podstawowe potwierdzenie rezerwacji

Gdy wysyłasz potwierdzenie rezerwacji samochodu, osadź w e-mailu ten kod:

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>

Mikrodane

<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>

Przykład ze wszystkimi obsługiwanymi polami

Oto przykład ze wszystkimi wypełnionymi obsługiwanymi polami:

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>

Mikrodane

<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>

Sprawdź znaczniki

Znaczniki możesz sprawdzać za pomocą narzędzia do testowania znaczników w e-mailach. Wklej kod znaczników i kliknij przycisk Sprawdź , aby przeskanować treść i otrzymać raport o ewentualnych błędach.

Specyfikacja

Sprawdź szczegóły e-maila, aby zobaczyć, czy któraś z tych właściwości dotyczy Twojej rezerwacji. Dzięki dodaniu tych dodatkowych właściwości Google może wyświetlać użytkownikowi znacznie bardziej szczegółowy opis rezerwacji.

RentalCarReservation

Nazwa typu: RentalCarReservation

Rozszerza Reservation

Nazwa Typ Opis
bookingAgent Organizacja lub Osoba Agent lub agencja dokonująca rezerwacji. Akceptuje też ciąg znaków (np. „”).
bookingAgent.name Text Nazwa agenta lub usługi.
bookingAgent.url URL Witryna agenta lub usługi.
bookingTime DateTime Data dokonania rezerwacji.
cancelReservationUrl URL Strona internetowa, na której można anulować rezerwację.
checkinUrl URL Strona internetowa, na której pasażer może się odprawić.
confirmReservationUrl URL Strona internetowa, na której można potwierdzić rezerwację.
dropoffLocation
(wymagany)
AutoRental lub Place Miejsce zwrotu samochodu.
dropoffLocation.address
(wymagany)
PostalAddress Adres miejsca zwrotu.
dropoffLocation.address.addressCountry
(wymagany)
Text lub Country Kraj miejsca zwrotu.
dropoffLocation.address.addressLocality
(wymagany)
Text Miejscowość (np. miasto) miejsca zwrotu.
dropoffLocation.address.addressRegion
(wymagany)
Text Region (np. województwo) miejsca zwrotu.
dropoffLocation.address.postalCode
(wymagany)
Text Kod pocztowy miejsca zwrotu.
dropoffLocation.address.streetAddress
(wymagany)
Text Adres miejsca zwrotu.
dropoffLocation.name
(wymagany)
Text Nazwa miejsca zwrotu.
dropoffLocation.telephone Text (zalecane w przypadku kart potwierdzenia i odpowiedzi w wyszukiwarce) Numer telefonu miejsca.
dropoffTime
(wymagany)
DateTime Data i godzina zwrotu samochodu.
modifiedTime DateTime (zalecane w przypadku kart potwierdzenia i odpowiedzi w wyszukiwarce) Czas ostatniej modyfikacji rezerwacji.
modifyReservationUrl URL (zalecane w przypadku kart potwierdzenia i odpowiedzi w wyszukiwarce) Strona internetowa, na której można zmodyfikować rezerwację.
pickupLocation
(wymagany)
AutoRental lub Place Miejsce odbioru samochodu.
pickupLocation.address
(wymagany)
PostalAddress Adres miejsca odbioru.
pickupLocation.address.addressCountry
(wymagany)
Text lub Country Kraj miejsca odbioru.
pickupLocation.address.addressLocality
(wymagany)
Text Miejscowość (np. miasto) miejsca odbioru.
pickupLocation.address.addressRegion
(wymagany)
Text Region (np. województwo) miejsca odbioru.
pickupLocation.address.postalCode
(wymagany)
Text Kod pocztowy miejsca odbioru.
pickupLocation.address.streetAddress
(wymagany)
Text Adres miejsca odbioru.
pickupLocation.name
(wymagany)
Text Nazwa miejsca odbioru.
pickupLocation.telephone Text (zalecane w przypadku kart potwierdzenia i odpowiedzi w wyszukiwarce) Numer telefonu miejsca.
pickupTime
(wymagany)
DateTime Data i godzina odbioru samochodu.
potentialAction
(wymagany)
CheckInAction, ConfirmAction, CancelAction lub Działania obsługiwane w przypadku RentalCarReservation.
price Text Łączna cena rezerwacji samochodu.
priceCurrency Text Waluta (w trzyliterowym formacie ISO 4217), w której podano cenę rezerwacji samochodu.
programMembership ProgramMembership Członkostwo w programie lojalnościowym dla pasażerów, programie lojalnościowym hotelu itp. stosowane w przypadku rezerwacji.
programMembership.memberNumber Text Identyfikator członkostwa.
programMembership.program Text Nazwa programu.
reservationFor
(wymagany)
Zarezerwowany samochód.
reservationFor.brand
(wymagany)
Brand Marka powiązana z samochodem.
reservationFor.brand.name
(wymagany)
Text Nazwa marki.
reservationFor.description Text Krótki opis samochodu.
reservationFor.model
(wymagany)
Text Model samochodu.
reservationFor.name
(wymagany)
Text Nazwa samochodu.
reservationFor.rentalCompany
(wymagany)
Organization Firma wynajmująca samochód. Akceptuje też ciąg znaków (np. „Hertz”).
reservationFor.rentalCompany.name
(wymagany)
Text Nazwa wypożyczalni samochodów.
reservationNumber
(wymagany)
Text Numer lub identyfikator rezerwacji.
reservationStatus
(wymagany)
ReservationStatus Aktualny stan rezerwacji.
underName
(wymagany)
Organizacja lub Osoba Kierowca.
underName.email Text Adres e-mail.
underName.name
(wymagany)
Text Imię i nazwisko osoby.
url URL Strona internetowa, na której można wyświetlić rezerwację.