Anwendungsfälle
Die folgenden Anwendungsfälle zeigen allgemeine Beispiele für die Verwendung des Schemas RentalCarReservation. Mithilfe dieser Beispiele können Sie sicherstellen, dass Ihr Markup korrekt strukturiert ist.
Einfache Reservierungsbestätigung
Betten Sie das folgende Markup in Ihre E-Mail ein, wenn Sie eine Reservierungsbestätigung für die Autovermietung 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 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 über vorhandene Fehler zu erhalten.
Spezifikation
Sehen Sie in den Details Ihrer E-Mail nach, ob eine dieser Unterkünfte auf Ihre Reservierung zutrifft. Durch das Auszeichnen dieser zusätzlichen Unterkünfte erlaubst du Google, dem Nutzer eine viel detailliertere Beschreibung der Reservierung anzuzeigen.
RentalCarReservation
Typname: RentalCarReservation
Erweitert Reservierung
| Name | Typ | Beschreibung |
|---|---|---|
| bookingAgent | Organization oder Person | Buchungsagentur oder -agentur. Es wird auch eine Zeichenfolge (z.B. "") akzeptiert. |
| bookingAgent.name | Text | Name des Agents oder Dienstes. |
| bookingAgent.url | URL | Website des Kundenservicemitarbeiters oder -dienstes |
| bookingTime | DateTime | Datum der Reservierung. |
| cancelReservationUrl | URL | Webseite, auf der Reservierung storniert werden kann. |
| checkinUrl | URL | Webseite, auf der Fahrgäste einchecken können. |
| confirmReservationUrl | URL | Webseite, auf der die Reservierung bestätigt werden kann. |
| dropoffLocation (Erforderlich) |
AutoRental oder Place | Rückgabeort des Autos. |
| dropoffLocation.address (Erforderlich) |
PostalAddress | Adresse des Abgabeorts. |
| dropoffLocation.address.addressCountry (Erforderlich) |
Text oder Land | 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/Antworten für die Suche) Telefonnummer des Orts. |
| dropoffTime (erforderlich) |
DateTime | Wenn das Auto zurückgegeben wird. |
| modifiedTime | DateTime | (empfohlen für Bestätigungskarten/Suchantworten) Zeitpunkt, zu 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 | Abholort des Autos |
| pickupLocation.address (Erforderlich) |
PostalAddress | Adresse des Abholorts. |
| pickupLocation.address.addressCountry (Erforderlich) |
Text oder Land | 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/Antworten für die Suche) Telefonnummer des Orts. |
| pickupTime (erforderlich) |
DateTime | Wenn das Auto abgeholt wird. |
| potentialAction (Erforderlich) |
CheckInAction, ConfirmAction, CancelAction oder | Für RentalCarReservation unterstützte Aktionen |
| price | Text | Gesamtpreis für die Mietwagenreservierung. |
| priceCurrency | Text | Die Währung des Preises von RentalCarReservation im dreistelligen ISO-4217-Format. |
| programMembership | ProgramMembership | Jede Mitgliedschaft in einem Vielfliegerprogramm, Treuepunkteprogramm eines Hotels usw., die auf die Reservierung angerechnet wird. |
| programMembership.memberNumber | Text | Die ID der Mitgliedschaft. |
| programMembership.program | Text | Der Name des Programms. |
| reservationFor (erforderlich) |
Das reservierte Auto. | |
| ReservierungFor.brand (erforderlich) |
Marke | Die mit dem Mietwagen verknüpfte Marke. |
| ReservierungFor.brand.name (Erforderlich) |
Text | Name der Marke. |
| reservationFor.description | Text | Eine kurze Beschreibung des Mietwagens. |
| ReservierungFor.model (erforderlich) |
Text | Mietwagenmodell |
| ReservierungFor.name (Erforderlich) |
Text | Name des Mietwagens. |
| ReservierungFor.rentalCompany (erforderlich) |
Organisation | Das Unternehmen, das das Auto mietet. Akzeptiert auch einen String (z.B. "Hertz"). |
| ReservierungFor.rentalCompany.name (Erforderlich) |
Text | Name der Verleihfirma. |
| reservationNumber (erforderlich) |
Text | Die Nummer oder ID der Reservierung. |
| reservationStatus (erforderlich) |
ReservationStatus | Aktueller Status der Reservierung. |
| underName (erforderlich) |
Organization oder Person | Der Fahrer. |
| underName.email | Text | E-Mail-Adresse. |
| underName.name (Erforderlich) |
Text | Name der Person. |
| url | URL | Webseite, auf der Reservierung angesehen werden kann. |