Kullanım alanları
BusReservation işaretlemenizin düzgün şekilde yapılandırıldığından emin olmak için aşağıdaki örnekleri inceleyin.
Temel rezervasyon onayı
Rezervasyon onayı gönderirken e-postanıza aşağıdaki işaretlemeyi yerleştirin.
Google uygulaması, yolculuk günü rezervasyon ayrıntılarını gösterir ve ulaşım şekli ile trafiği dikkate alarak kullanıcıya otobüs durağına ne zaman gitmesi gerektiğini bildirir. Aşağıdaki örnekte gösterildiği gibi bir check-in URL'si sağlarsanız Google uygulaması, bu URL'yi yolculuktan 24 saat önce kullanıcıya gösterir.
JSON-LD
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "BusReservation",
"reservationNumber": "123456",
"underName": {
"@type": "Person",
"name": "John Smith"
},
"reservationStatus": "http://schema.org/ReservationConfirmed",
"reservationFor": {
"@type": "BusTrip",
"busCompany": {
"@type": "Organization",
"name": "Bolt NYC"
},
"departureBusStop": {
"@type": "BusStop",
"name": "Port Authority, NYC"
},
"departureTime": "2017-01-04T12:30:00-05:00",
"arrivalBusStop": {
"@type": "BusStop",
"name": "Boston South Station"
},
"arrivalTime": "2017-01-04T17:10:00-05:00"
}
}
</script>
Mikro veri
<div itemscope itemtype="http://schema.org/BusReservation">
<meta itemprop="reservationNumber" content="123456"/>
<div itemprop="underName" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="John Smith"/>
</div>
<link itemprop="reservationStatus" href="http://schema.org/ReservationConfirmed"/>
<div itemprop="reservationFor" itemscope itemtype="http://schema.org/BusTrip">
<div itemprop="busCompany" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Bolt NYC"/>
</div>
<div itemprop="departureBusStop" itemscope itemtype="http://schema.org/BusStop">
<meta itemprop="name" content="Port Authority, NYC"/>
</div>
<meta itemprop="departureTime" content="2017-01-04T12:30:00-05:00"/>
<div itemprop="arrivalBusStop" itemscope itemtype="http://schema.org/BusStop">
<meta itemprop="name" content="Boston South Station"/>
</div>
<meta itemprop="arrivalTime" content="2017-01-04T17:10:00-05:00"/>
</div>
</div>
Biniş kartı ve bilet
Rezervasyon onayına ek olarak, ayrı bir e-postada onay kartı/biniş kartı tetikleyebilirsiniz.
Onay kartları, kullanıcının otobüs durağına zamanında ulaşmasına yardımcı olmanın yanı sıra yolculuk sırasında bileti de gösterir. Bunu yapmak için işaretlemeye ek alanlar ekleyin. Yolcuların uçağa alınması için ek alanlar gerekiyorsa bunları additionalTicketText alanına ekleyin.
Ayrılmış koltuk içermeyen biletlerde bu alanlar şunlardır: numSeats,
ticketNumber, ticketToken
JSON-LD
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "BusReservation",
"reservationNumber": "123456",
"underName": {
"@type": "Person",
"name": "John Smith"
},
"reservationStatus": "http://schema.org/ReservationConfirmed",
"reservationFor": {
"@type": "BusTrip",
"busCompany": "Bolt NYC",
"departureBusStop": {
"@type": "BusStop",
"name": "Port Authority, NYC"
},
"departureTime": "2017-01-04T12:30:00-05:00",
"arrivalBusStop": {
"@type": "BusStop",
"name": "Boston South Station"
},
"arrivalTime": "2017-01-04T17:10:00-05:00"
},
"reservedTicket": {
"@type": "Ticket",
"underName": "John Smith",
"ticketNumber": "123XYZ",
"ticketToken": "aztecCode:AB34",
"additionalTicketText": "We recommend that you arrive at the station at least 30 minutes prior to your scheduled departure. Allow additional time if you need help with baggage or tickets."
}
}
</script>
Mikro veri
<div itemscope itemtype="http://schema.org/BusReservation">
<meta itemprop="reservationNumber" content="123456"/>
<div itemprop="underName" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="John Smith"/>
</div>
<link itemprop="reservationStatus" href="http://schema.org/ReservationConfirmed"/>
<div itemprop="reservationFor" itemscope itemtype="http://schema.org/BusTrip">
<meta itemprop="busCompany" content="Bolt NYC"/>
<div itemprop="departureBusStop" itemscope itemtype="http://schema.org/BusStop">
<meta itemprop="name" content="Port Authority, NYC"/>
</div>
<meta itemprop="departureTime" content="2017-01-04T12:30:00-05:00"/>
<div itemprop="arrivalBusStop" itemscope itemtype="http://schema.org/BusStop">
<meta itemprop="name" content="Boston South Station"/>
</div>
<meta itemprop="arrivalTime" content="2017-01-04T17:10:00-05:00"/>
</div>
<div itemprop="reservedTicket" itemscope itemtype="http://schema.org/Ticket">
<meta itemprop="underName" content="John Smith"/>
<meta itemprop="ticketNumber" content="123XYZ"/>
<meta itemprop="ticketToken" content="aztecCode:AB34"/>
<meta itemprop="additionalTicketText" content="We recommend that you arrive at the station at least 30 minutes prior to your scheduled departure. Allow additional time if you need help with baggage or tickets."/>
</div>
</div>
Numaralı koltuk içeren biletler için bu alanlar şunlardır: seatNumber, seatingType,
ticketNumber, ticketToken
JSON-LD
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "BusReservation",
"reservationNumber": "123456",
"underName": {
"@type": "Person",
"name": "John Smith"
},
"reservationStatus": "http://schema.org/ReservationConfirmed",
"reservationFor": {
"@type": "BusTrip",
"busCompany": "Bolt NYC",
"departureBusStop": {
"@type": "BusStop",
"name": "Port Authority, NYC"
},
"departureTime": "2017-01-04T12:30:00-05:00",
"arrivalBusStop": {
"@type": "BusStop",
"name": "Boston South Station"
},
"arrivalTime": "2017-01-04T17:10:00-05:00"
},
"reservedTicket": {
"@type": "Ticket",
"underName": "John Smith",
"ticketedSeat": {
"@type": "Seat",
"seatNumber": "27B",
"seatingType": "Coach"
},
"ticketNumber": "123XYZ",
"ticketToken": "aztecCode:AB34",
"additionalTicketText": "We recommend that you arrive at the station at least 30 minutes prior to your scheduled departure. Allow additional time if you need help with baggage or tickets."
}
}
</script>
Mikro veri
<div itemscope itemtype="http://schema.org/BusReservation">
<meta itemprop="reservationNumber" content="123456"/>
<div itemprop="underName" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="John Smith"/>
</div>
<link itemprop="reservationStatus" href="http://schema.org/ReservationConfirmed"/>
<div itemprop="reservationFor" itemscope itemtype="http://schema.org/BusTrip">
<meta itemprop="busCompany" content="Bolt NYC"/>
<div itemprop="departureBusStop" itemscope itemtype="http://schema.org/BusStop">
<meta itemprop="name" content="Port Authority, NYC"/>
</div>
<meta itemprop="departureTime" content="2017-01-04T12:30:00-05:00"/>
<div itemprop="arrivalBusStop" itemscope itemtype="http://schema.org/BusStop">
<meta itemprop="name" content="Boston South Station"/>
</div>
<meta itemprop="arrivalTime" content="2017-01-04T17:10:00-05:00"/>
</div>
<div itemprop="reservedTicket" itemscope itemtype="http://schema.org/Ticket">
<meta itemprop="underName" content="John Smith"/>
<div itemprop="ticketedSeat" itemscope itemtype="http://schema.org/Seat">
<meta itemprop="seatNumber" content="27B"/>
<meta itemprop="seatingType" content="Coach"/>
</div>
<meta itemprop="ticketNumber" content="123XYZ"/>
<meta itemprop="ticketToken" content="aztecCode:AB34"/>
<meta itemprop="additionalTicketText" content="We recommend that you arrive at the station at least 30 minutes prior to your scheduled departure. Allow additional time if you need help with baggage or tickets."/>
</div>
</div>
Desteklenen tüm alanları içeren örnek
Referans olarak, desteklenen tüm alanların doldurulduğu bir örneği aşağıda bulabilirsiniz:
JSON-LD
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "BusReservation",
"reservationNumber": "123456",
"url": "http://boltbus.com/view/123456",
"underName": {
"@type": "Person",
"name": "John Smith",
"email": "john@mail.com"
},
"programMembership": {
"@type": "ProgramMembership",
"memberNumber": "12345",
"program": "STA"
},
"bookingAgent": {
"@type": "Organization",
"name": "Bolt Bus NYC",
"url": "http://boltbus.com/"
},
"bookingTime": "2013-01-14T13:05:00-05:00",
"modifiedTime": "2013-03-14T13:05:00-05:00",
"confirmReservationUrl": "http://boltbus.com/confirm?id=123456",
"cancelReservationUrl": "http://boltbus.com/cancel?id=123456",
"modifyReservationUrl": "http://boltbus.com/edit?id=123456",
"checkinUrl": "http://boltbus.com/checkin?id=AB3XY2",
"reservationStatus": "http://schema.org/ReservationConfirmed",
"reservationFor": {
"@type": "BusTrip",
"name": "?",
"busNumber": "63",
"busName": "Bolt Bus NY:Boston",
"busCompany": {
"@type": "Organization",
"name": "Bolt NYC"
},
"departureBusStop": {
"@type": "BusStop",
"name": "Port Authority, NYC",
"address": {
"@type": "PostalAddress",
"streetAddress": "625 8th Avenue",
"addressLocality": "New York",
"addressRegion": "NY",
"postalCode": "10018",
"addressCountry": "USA"
},
"directions": "Bus terminals are at floors 2-4 of the Port Authority building"
},
"departureTime": "2017-01-04T12:30:00-05:00",
"arrivalBusStop": {
"@type": "BusStop",
"name": "Boston South Station",
"address": {
"@type": "PostalAddress",
"streetAddress": "Summer St.",
"addressLocality": "Boston",
"addressRegion": "MA",
"postalCode": "02111",
"addressCountry": "USA"
},
"directions": "Bus stops are at thewest side of the train station."
},
"arrivalTime": "2017-01-04T17:10:00-05:00"
},
"reservedTicket": {
"@type": "Ticket",
"ticketNumber": "123XYZ",
"downloadUrl": "?",
"printUrl": "?",
"ticketToken": "qrCode:123456789",
"additionalTicketText": "?",
"price": "45.00",
"priceCurrency": "USD",
"underName": {
"@type": "Person",
"name": "Mary Smith"
},
"ticketedSeat": {
"@type": "Seat",
"seatingType": "Coach",
"seatNumber": "27",
"seatRow": "A"
}
}
}
</script>
Mikro veri
<div itemscope itemtype="http://schema.org/BusReservation">
<meta itemprop="reservationNumber" content="123456"/>
<link itemprop="url" href="http://boltbus.com/view/123456"/>
<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="12345"/>
<meta itemprop="program" content="STA"/>
</div>
<div itemprop="bookingAgent" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Bolt Bus NYC"/>
<link itemprop="url" href="http://boltbus.com/"/>
</div>
<meta itemprop="bookingTime" content="2013-01-14T13:05:00-05:00"/>
<meta itemprop="modifiedTime" content="2013-03-14T13:05:00-05:00"/>
<link itemprop="confirmReservationUrl" href="http://boltbus.com/confirm?id=123456"/>
<link itemprop="cancelReservationUrl" href="http://boltbus.com/cancel?id=123456"/>
<link itemprop="modifyReservationUrl" href="http://boltbus.com/edit?id=123456"/>
<link itemprop="checkinUrl" href="http://boltbus.com/checkin?id=AB3XY2"/>
<link itemprop="reservationStatus" href="http://schema.org/ReservationConfirmed"/>
<div itemprop="reservationFor" itemscope itemtype="http://schema.org/BusTrip">
<meta itemprop="name" content="?"/>
<meta itemprop="busNumber" content="63"/>
<meta itemprop="busName" content="Bolt Bus NY:Boston"/>
<div itemprop="busCompany" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Bolt NYC"/>
</div>
<div itemprop="departureBusStop" itemscope itemtype="http://schema.org/BusStop">
<meta itemprop="name" content="Port Authority, NYC"/>
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<meta itemprop="streetAddress" content="625 8th Avenue"/>
<meta itemprop="addressLocality" content="New York"/>
<meta itemprop="addressRegion" content="NY"/>
<meta itemprop="postalCode" content="10018"/>
<meta itemprop="addressCountry" content="USA"/>
</div>
<meta itemprop="directions" content="Bus terminals are at floors 2-4 of the Port Authority building"/>
</div>
<meta itemprop="departureTime" content="2017-01-04T12:30:00-05:00"/>
<div itemprop="arrivalBusStop" itemscope itemtype="http://schema.org/BusStop">
<meta itemprop="name" content="Boston South Station"/>
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<meta itemprop="streetAddress" content="Summer St."/>
<meta itemprop="addressLocality" content="Boston"/>
<meta itemprop="addressRegion" content="MA"/>
<meta itemprop="postalCode" content="02111"/>
<meta itemprop="addressCountry" content="USA"/>
</div>
<meta itemprop="directions" content="Bus stops are at thewest side of the train station."/>
</div>
<meta itemprop="arrivalTime" content="2017-01-04T17:10:00-05:00"/>
</div>
<div itemprop="reservedTicket" itemscope itemtype="http://schema.org/Ticket">
<meta itemprop="ticketNumber" content="123XYZ"/>
<meta itemprop="downloadUrl" content="?"/>
<meta itemprop="printUrl" content="?"/>
<meta itemprop="ticketToken" content="qrCode:123456789"/>
<meta itemprop="additionalTicketText" content="?"/>
<meta itemprop="price" content="45.00"/>
<meta itemprop="priceCurrency" content="USD"/>
<div itemprop="underName" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="Mary Smith"/>
</div>
<div itemprop="ticketedSeat" itemscope itemtype="http://schema.org/Seat">
<meta itemprop="seatingType" content="Coach"/>
<meta itemprop="seatNumber" content="27"/>
<meta itemprop="seatRow" content="A"/>
</div>
</div>
</div>
İşaretlemenizi test edin.
E-posta Biçimlendirme Test Aracı'nı kullanarak işaretlemenizi doğrulayabilirsiniz. İşaretleme kodunuzu yapıştırın ve içeriği tarayıp hatalarla ilgili rapor almak için Doğrula düğmesini tıklayın.
Spesifikasyon
E-postanızdaki ayrıntıları inceleyerek bu özelliklerden herhangi birinin otobüs rezervasyonunuz için geçerli olup olmadığını kontrol edin. Bu ek özellikleri işaretleyerek, Google'ın kullanıcıya otobüs rezervasyonu hakkında çok daha ayrıntılı bir açıklama sunmasını sağlarsınız.
| Mülk | Tür | Açıklama |
|---|---|---|
| reservationNumber | Metin | (Zorunlu) Rezervasyonun numarası veya kimliği. |
| url | URL | Rezervasyonun görüntülenebileceği web sayfası. |
| underName | Person veya Organization | (gerekli) Yolcu. |
| underName.name | Metin | (gerekli) Kişinin Adı. |
| underName.email | Metin | E-posta adresi. |
| programMembership | ProgramMembership | Rezervasyonda kullanılan sık uçan yolcu veya otel bağlılık programı üyeliği |
| programMembership.memberNumber | Metin | Üyeliğin tanımlayıcısı. |
| programMembership.program | Metin | Programın adı. |
| bookingAgent | Organization veya Person | Rezervasyon aracısı veya acentesi Dize de kabul eder (ör. ""). |
| bookingAgent.name | Metin | Aracının/hizmetin adı. |
| bookingAgent.url | URL | Ajanın/hizmetin web sitesi. |
| bookingTime | DateTime | Rezervasyonun yapıldığı tarih. |
| modifiedTime | DateTime | (Onay kartları/Arama Yanıtları için önerilir) Rezervasyonun en son değiştirildiği saat. |
| confirmReservationUrl | URL | Rezervasyonun onaylanabileceği web sayfası. |
| cancelReservationUrl | URL | Rezervasyonun iptal edilebileceği web sayfası. |
| modifyReservationUrl | URL | (Onay kartları/arama yanıtları için önerilir) Rezervasyonun değiştirilebileceği web sayfası. |
| checkinUrl | URL | Yolcuların check-in yapabileceği web sayfası. |
| reservationStatus | ReservationStatus | (Zorunlu) Rezervasyonun mevcut durumu. |
| reservationFor | BusTrip | (gerekli) Otobüs yolculuğu hakkında bilgi. |
| rezervasyonİçin.isim | Metin | Otobüs seferinin adı. |
| rezervasyonİçin.otobüsNumarası | Metin | Örnek 101. |
| rezervasyonİçin.otobüsAdı | Metin | Örneğin Bolt Express. |
| rezervasyonİçin.otobüsŞirketi | Kuruluş | (gerekli) örneğin Bolt NYC. Ayrıca bir metin dizesi de kabul eder (örneğin "Bolt NYC"). |
| reservationFor.busCompany.name | Metin | (zorunlu) Kuruluşun adı. |
| reservationFor.departureBusStop | BusStop veya BusStation | (gerekli) Otobüsün kalkış noktası. |
| rezervasyonFor.kalkışOtobüsDurağı.adı | Metin | (gerekli) Otobüs durağının adı. |
| rezervasyonFor.kalkışOtobüsDurağı.adres | PostalAddress | Kalkış otobüs durağının / istasyonunun adresi. |
| rezervasyonFor.kalkışOtobüsDurağı.adresi.sokakAdresi | Metin | (onay kartları/Arama Cevapları için önerilir) Kalkış otobüs durağının / istasyonunun sokak adresi. |
| rezervasyonFor.kalkışOtobüsDurağı.adres.adresYerleşimi | Metin | (onay kartları/Arama Cevapları için önerilir) Kalkış otobüs durağının / istasyonunun bulunduğu yer (örneğin şehir). |
| rezervasyonFor.kalkışOtobüsDurağı.adres.adresBölgesi | Metin | (onay kartları/Arama Cevapları için önerilir) Kalkış otobüs durağı / istasyonunun bulunduğu bölge (örneğin Eyalet). |
| rezervasyonFor.kalkışOtobüsDurağı.adres.postaKodu | Metin | (Onay kartları/Arama Cevapları için önerilir) Kalkış otobüs durağının / istasyonunun posta kodu. |
| rezervasyonFor.kalkışOtobüsDurağı.adres.adresÜlke | Metin veya Ülke | (onay kartları/Arama Cevapları için önerilir) Kalkış ülkesi otobüs durağı / istasyonu. |
| rezervasyonFor.kalkışOtobüsDurağı.yönlendirmeler | Metin | Otobüs durağına nasıl ulaşılır? |
| reservationFor.departureTime | DateTime | (gerekli) Otobüs kalkış saati. |
| rezervasyonİçin.varışOtobüsDurağı | BusStop veya BusStation | (gerekli) Otobüsün vardığı yer. |
| rezervasyonFor.varrivalBusStop.name | Metin | (gerekli) Otobüs durağının adı. |
| rezervasyonFor.varrivalBusStop.adres | PostalAddress | Varış otobüs durağının / istasyonunun adresi. |
| rezervasyonFor.varrivalBusStop.address.sokakAdresi | Metin | (onay kartları/Arama Cevapları için önerilir) Varış otobüs durağının / istasyonunun sokak adresi. |
| rezervasyonFor.varrivalBusStop.address.addressLocality | Metin | (onay kartları/Arama Cevapları için önerilir) Varış otobüs durağının / istasyonunun bulunduğu yer (örneğin şehir). |
| rezervasyonFor.varrivalBusStop.address.addressRegion | Metin | (onay kartları/Arama Cevapları için önerilir) Varış otobüs durağı / istasyonunun bulunduğu bölge (örneğin Eyalet). |
| rezervasyonFor.varrivalBusStop.address.postalCode | Metin | (Onay kartları/Arama Cevapları için önerilir) Varış otobüs durağının / istasyonunun posta kodu. |
| rezervasyonFor.varrivalBusStop.address.addressCountry | Metin veya Ülke | (onay kartları/Arama Cevapları için önerilir) Varış ülkesi otobüs durağı / istasyonu. |
| rezervasyonFor.varrivalBusStop.yol tarifi | Metin | Otobüs durağına nasıl ulaşılır? |
| reservationFor.arrivalTime | DateTime | (gerekli) Otobüs varış saati. |
| reservedTicket | Bilet | Bilet bilgileri. |
| reservedTicket.ticketNumber | Metin | Biletin numarası veya kimliği. |
| reservedTicket.downloadUrl | URL | . |
| reservedTicket.printUrl | URL | . |
| reservedTicket.ticketToken | Metin veya URL | Barkod resmi sitenizde barındırılıyorsa alanın değeri, resmin URL'si veya "barcode128:AB34" (ISO-15417 barkodları), "qrCode:AB34" (QR kodları), "aztecCode:AB34" (Aztek kodları), "barcodeEAN:1234" (EAN kodları) ve "barcodeUPCA:1234" (UPCA kodları) gibi bir barkod ya da QR URI'sidir. |
| reservedTicket.additionalTicketText | Metin | Bilet hakkında ek açıklayıcı metin. |
| reservedTicket.price | Metin | Biletin toplam fiyatı. |
| reservedTicket.priceCurrency | Metin | Bilet fiyatının para birimi (3 harfli ISO 4217 biçiminde). |
| reservedTicket.underName | Person veya Organization | Biletin sahibi olan kişi veya kuruluş. |
| reservedTicket.underName.name | Metin | Kişinin adı. |
| reservedTicket.ticketedSeat | Lisans sayısı | Ayrılan koltuğun konumu (ör. 27B). . |
| reservedTicket.ticketedSeat.seatingType | Metin | Koltuk türü/sınıfı. |
| reservedTicket.ticketedSeat.seatNumber | Metin | Ayrılan koltuğun konumu. |
| reservedTicket.ticketedSeat.seatRow | Metin | Ayrılan koltuğun sıra konumu. |