Casi d'uso
I seguenti casi d'uso mostrano esempi comuni di utilizzo dello schema RentalCarReservation
. Utilizza questi esempi per assicurarti che il markup sia strutturato correttamente.
Conferma prenotazione di base
Incorpora il seguente markup nell'email quando invii la conferma della prenotazione di un noleggio auto.
<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>
<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>
Esempio con tutti i campi supportati
Come riferimento, ecco un esempio con tutti i campi supportati compilati:
<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>
<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>
Verifica il codice di markup
Puoi convalidare il tuo markup utilizzando lo strumento Tester per il markup delle email. Incolla il codice di markup e fai clic sul pulsante Convalida per eseguire la scansione del contenuto e ricevere un report su eventuali errori presenti.
Specifica
Controlla i dettagli della tua email per verificare se una di queste strutture si applica alla tua prenotazione. Se esegui il markup di queste proprietà aggiuntive, consenti a Google di mostrare all'utente una descrizione molto più dettagliata della prenotazione.
RentalCarReservation
Nome del tipo: RentalCarReservation
Estende la prenotazione
Nome | Tipo | Descrizione |
---|---|---|
bookingAgent | Organization o Person | Agente o agenzia di prenotazione. Accetta anche una stringa (ad es. ""). |
bookingAgent.name | Testo | Nome dell'agente/servizio. |
bookingAgent.url | URL | Sito web dell'agente/servizio. |
bookingTime | DateTime | Data in cui è stata effettuata la prenotazione. |
cancelReservationUrl | URL | Pagina web in cui è possibile annullare la prenotazione. |
checkinUrl | URL | Pagina web in cui il passeggero può fare il check-in. |
confirmReservationUrl | URL | Pagina web in cui è possibile confermare la prenotazione. |
dropoffLocation (obbligatorio) |
AutoRental o Luogo | Località in cui viene restituita l'auto. |
dropoffLocation.address (obbligatorio) |
PostalAddress | Indirizzo del punto di consegna. |
dropoffLocation.address.addressCountry (obbligatorio) |
Text o Country | Paese del punto di destinazione. |
dropoffLocation.address.addressLocality (Obbligatorio) |
Testo | Località (ad es. la città) del punto di destinazione. |
dropoffLocation.address.addressRegion (obbligatorio) |
Testo | Regione (ad es. stato) del punto di destinazione. |
dropoffLocation.address.postalCode (Obbligatorio) |
Testo | Codice postale della località di destinazione. |
dropoffLocation.address.streetAddress (obbligatorio) |
Testo | Indirizzo del punto di consegna. |
dropoffLocation.name (Obbligatorio) |
Testo | Nome del punto di destinazione. |
dropoffLocation.telephone | Testo | (consigliato per schede di conferma/risposte alla ricerca) Numero di telefono del luogo. |
dropoffTime (obbligatorio) |
DateTime | Quando l'auto viene restituita. |
modifiedTime | DateTime | (consigliato per schede di conferma/risposte sulla ricerca) Data e ora dell'ultima modifica della prenotazione. |
modifyReservationUrl | URL | (consigliato per schede di conferma/risposte alla ricerca) Pagina web in cui è possibile modificare la prenotazione. |
pickupLocation (Obbligatorio) |
AutoRental o Luogo | Dove viene ritirata l'auto. |
pickupLocation.address (Obbligatorio) |
PostalAddress | L'indirizzo del punto di prelievo. |
pickupLocation.address.addressCountry (obbligatorio) |
Text o Country | Paese del punto di prelievo. |
pickupLocation.address.addressLocality (obbligatorio) |
Testo | Località (ad es. la città) del punto di prelievo. |
pickupLocation.address.addressRegion (obbligatorio) |
Testo | Regione (ad es. stato) del punto di ritiro. |
pickupLocation.address.postalCode (obbligatorio) |
Testo | Codice postale del punto di ritiro. |
pickupLocation.address.streetAddress (obbligatorio) |
Testo | Indirizzo del punto di ritiro. |
pickupLocation.name (Obbligatorio) |
Testo | Nome del punto di prelievo. |
pickupLocation.telephone | Testo | (consigliato per schede di conferma/risposte alla ricerca) Numero di telefono del luogo. |
pickupTime (Obbligatorio) |
DateTime | Quando l'auto viene ritirata. |
potentialAction potentialAction | CheckInAction, ConfirmAction, CancelAction o | Azioni supportate per RentalCarReservation. |
price | Testo | Prezzo totale di RentalCarReservation. |
priceCurrency | Testo | La valuta (nel formato ISO 4217 a tre lettere) del prezzo di RentalCarReservation. |
programMembership | ProgramMembership | Eventuali abbonamenti a un frequent flyer, a un programma fedeltà di hotel e così via vengono applicati alla prenotazione. |
programMembership.memberNumber | Testo | L'identificatore dell'abbonamento. |
programMembership.program | Testo | Il nome del programma. |
reservationFor (obbligatorio) |
L'auto prenotata. | |
ReserveFor.brand (Obbligatorio) |
Brand | Il brand associato al RentalCar. |
prenotazioneFor.brand.name (obbligatorio) |
Testo | Nome del brand. |
reservationFor.description | Testo | Una breve descrizione di RentalCar. |
ReserveFor.model (obbligatorio) |
Testo | Il modello di RentalCar. |
ReserveFor.name (Obbligatorio) |
Testo | Nome dell'auto a noleggio. |
ReserveFor.rentalCompany (Obbligatorio) |
Organizzazione | La società di noleggio dell'auto. Accetta anche una stringa (ad es. "Hertz"). |
prenotazioneFor.rentalCompany.nome (obbligatorio) |
Testo | Nome della società di noleggio. |
reservationNumber (obbligatorio) |
Testo | Il numero o l'ID della prenotazione. |
reservationStatus (obbligatorio) |
ReservationStatus | Stato attuale della prenotazione. |
underName (obbligatorio) |
Organization o Person | Il conducente. |
underName.email | Testo | Indirizzo email. |
underName.name (Obbligatorio) |
Testo | Nome della persona. |
url | URL | Pagina web in cui è possibile visualizzare la prenotazione. |