Anwendungsfälle
Die folgenden Anwendungsfälle zeigen gängige Beispiele für die Verwendung des Schemas RentalCarReservation. Anhand dieser Beispiele können Sie prüfen, ob Ihr Markup richtig strukturiert ist.
Einfache Reservierungsbestätigung
Betten Sie das folgende Markup in Ihre E‑Mail ein, wenn Sie eine Bestätigung für eine Mietwagenreservierung senden.
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>
Mikrodaten
<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>
Beispiel mit allen unterstützten Feldern
Hier ist ein Beispiel mit allen unterstützten Feldern:
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>
Mikrodaten
<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>
Markup testen
Sie können Ihr Markup mit dem E‑Mail-Markup-Tester validieren. Fügen Sie Ihren Markup-Code ein und klicken Sie auf die Schaltfläche Validieren , um den Inhalt zu scannen und einen Bericht zu allen Fehlern zu erhalten.
Spezifikation
Prüfen Sie die Details Ihrer E‑Mail, um festzustellen, ob eine der folgenden Eigenschaften auf Ihre Reservierung zutrifft. Wenn Sie diese zusätzlichen Eigenschaften kennzeichnen, kann Google dem Nutzer eine viel detailliertere Beschreibung der Reservierung anzeigen.
RentalCarReservation
Typname: RentalCarReservation
Erweitert Reservation
| Name | Typ | Beschreibung |
|---|---|---|
| bookingAgent | Organisation oder Person | Buchungsagent oder ‑agentur. Akzeptiert auch einen String (z.B. ""). |
| bookingAgent.name | Text | Name des Agenten/Dienstes. |
| bookingAgent.url | URL | Website des Agenten/Dienstes. |
| bookingTime | DateTime | Datum, an dem die Reservierung vorgenommen wurde. |
| cancelReservationUrl | URL | Webseite, auf der die Reservierung storniert werden kann. |
| checkinUrl | URL | Webseite, auf der der Fahrgast einchecken kann. |
| confirmReservationUrl | URL | Webseite, auf der die Reservierung bestätigt werden kann. |
| dropoffLocation (Erforderlich) |
AutoRental oder Place | Ort, an dem das Auto zurückgegeben wird. |
| dropoffLocation.address (Erforderlich) |
PostalAddress | Adresse des Abgabeorts. |
| dropoffLocation.address.addressCountry (Erforderlich) |
Text oder Country | Land des Abgabeorts. |
| dropoffLocation.address.addressLocality (Erforderlich) |
Text | Ort (z.B. Stadt) des Abgabeorts. |
| dropoffLocation.address.addressRegion (Erforderlich) |
Text | Region (z.B. Bundesland) des Abgabeorts. |
| dropoffLocation.address.postalCode (Erforderlich) |
Text | Postleitzahl des Abgabeorts. |
| dropoffLocation.address.streetAddress (Erforderlich) |
Text | Adresse des Abgabeorts. |
| dropoffLocation.name (Erforderlich) |
Text | Name des Abgabeorts. |
| dropoffLocation.telephone | Text | (Empfohlen für Bestätigungskarten/Suchantworten) Telefonnummer des Ortes. |
| dropoffTime (Erforderlich) |
DateTime | Zeitpunkt, an dem das Auto zurückgegeben wird. |
| modifiedTime | DateTime | (Empfohlen für Bestätigungskarten/Suchantworten) Zeitpunkt, an dem die Reservierung zuletzt geändert wurde. |
| modifyReservationUrl | URL | (Empfohlen für Bestätigungskarten/Suchantworten) Webseite, auf der die Reservierung geändert werden kann. |
| pickupLocation (Erforderlich) |
AutoRental oder Place | Ort, an dem das Auto abgeholt wird. |
| pickupLocation.address (Erforderlich) |
PostalAddress | Adresse des Abholorts. |
| pickupLocation.address.addressCountry (Erforderlich) |
Text oder Country | Land des Abholorts. |
| pickupLocation.address.addressLocality (Erforderlich) |
Text | Ort (z.B. Stadt) des Abholorts. |
| pickupLocation.address.addressRegion (Erforderlich) |
Text | Region (z.B. Bundesland) des Abholorts. |
| pickupLocation.address.postalCode (Erforderlich) |
Text | Postleitzahl des Abholorts. |
| pickupLocation.address.streetAddress (Erforderlich) |
Text | Adresse des Abholorts. |
| pickupLocation.name (Erforderlich) |
Text | Name des Abholorts. |
| pickupLocation.telephone | Text | (Empfohlen für Bestätigungskarten/Suchantworten) Telefonnummer des Ortes. |
| pickupTime (Erforderlich) |
DateTime | Zeitpunkt, an dem das Auto abgeholt wird. |
| potentialAction (Erforderlich) |
CheckInAction, ConfirmAction, CancelAction oder | Für RentalCarReservation unterstützte Aktionen. |
| price | Text | Gesamtpreis der RentalCarReservation. |
| priceCurrency | Text | Die Währung des Preises der RentalCarReservation im dreistelligen ISO 4217-Format. |
| programMembership | ProgramMembership | Mitgliedschaft in einem Vielfliegerprogramm, Hotel-Treueprogramm usw., die auf die Reservierung angewendet wird. |
| programMembership.memberNumber | Text | Die ID der Mitgliedschaft. |
| programMembership.program | Text | Der Name des Programms. |
| reservationFor (Erforderlich) |
Das reservierte Auto. | |
| reservationFor.brand (Erforderlich) |
Marke | Die dem Mietwagen zugeordnete Marke. |
| reservationFor.brand.name (Erforderlich) |
Text | Name der Marke. |
| reservationFor.description | Text | Eine kurze Beschreibung des Mietwagens. |
| reservationFor.model (Erforderlich) |
Text | Modell des Mietwagens. |
| reservationFor.name (Erforderlich) |
Text | Name des Mietwagens. |
| reservationFor.rentalCompany (Erforderlich) |
Organisation | Das Unternehmen, das das Auto vermietet. Akzeptiert auch einen String (z.B. „Hertz“). |
| reservationFor.rentalCompany.name (Erforderlich) |
Text | Name des Vermietungsunternehmens. |
| reservationNumber (Erforderlich) |
Text | Die Nummer oder ID der Reservierung. |
| reservationStatus (Erforderlich) |
ReservationStatus | Aktueller Status der Reservierung. |
| underName (Erforderlich) |
Organisation oder Person | Der Fahrer. |
| underName.email | Text | E-Mail-Adresse. |
| underName.name (Erforderlich) |
Text | Name der Person. |
| url | URL | Webseite, auf der die Reservierung eingesehen werden kann. |