Kullanım alanları
Aşağıdaki kullanım alanlarında BusReservation
şemasının nasıl kullanıldığına dair yaygın örnekler gösterilmektedir. İşaretlemenizin doğru yapılandırıldığından emin olmak için bu örnekleri kullanın.
Temel rezervasyon onayı
Rezervasyon onayı gönderirken aşağıdaki işaretlemeyi e-postanıza ekleyin.
Google uygulaması, seyahat gününde rezervasyon ayrıntılarını gösterir ve kullanıcıya otobüse zamanında yetişmek için yola çıkması gereken saati bildirir (ulaşım modunu, trafiği vb. dikkate alarak). Aşağıdaki örnekte olduğu gibi bir giriş URL'si sağlarsanız Google uygulaması bunu, seyahatten 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ını tetikleyebilirsiniz.
Onay kartları, kullanıcının otobüse zamanında ulaşmasına yardımcı olmakla kalmaz, aynı zamanda yolculuk sırasında bileti kullanıcıya gösterir. Bunun için işaretlemeye bazı ek alanların eklenmesi gerekir. Uçağa biniş için gerekli ek alanlar varsa bunları additionalTicketText
alanına ekleyin.
Ayrılmış oturma alanı olmayan biletler için şu alanlar bulunur : 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>
Ayrılmış oturma alanı olan biletler için şu alanlar bulunur: 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 olması açısından, desteklenen tüm alanların doldurulduğu bir örneği aşağıda görebilirsiniz:
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.
İşaretlemenizi E-posta Biçimlendirme Test Aracı'nı kullanarak doğrulayabilirsiniz. İşaretleme kodunuzu yapıştırın ve içeriği taramak ve mevcut hatalar hakkında rapor almak için Doğrula düğmesini tıklayın.
Spesifikasyon
Bu mülklerden herhangi birinin otobüs rezervasyonunuz için geçerli olup olmadığını öğrenmek amacıyla e-postanızın ayrıntılarını inceleyin. Bu ek özellikleri işaretleyerek Google'ın, otobüs rezervasyonunu kullanıcıya çok daha zengin bir açıklama göstermesine izin verirsiniz.
Özellik | Tür | Açıklama |
---|---|---|
rezervasyonNumarası | Metin | (zorunlu) Rezervasyonun numarası veya kimliği. |
url | URL | Rezervasyonun görüntülenebileceği web sayfası. |
ad | Kişi veya Kuruluş | (zorunlu) Yolcu. |
altAd.ad | Metin | (zorunlu) Kişinin adı. |
altAd.e-posta | Metin | E-posta adresi. |
programÜyeliği | ProgramÜyeliği | Rezervasyona uygulanan sık uçan yolcu programı, otel bağlılık programı vb. tüm üyelikler. |
programmembership.üyeNumarası | Metin | Üyeliğin tanımlayıcısı. |
programmembership.program | Metin | Programın adı. |
rezervasyon aracısı | Kuruluş veya Kişi | Rezervasyon temsilcisi veya acentesi. Bir dizeyi de kabul eder (ör. ""). |
bookingAgent.adı | Metin | Temsilcinin/hizmetin adı. |
bookingAgent. | URL | Temsilcinin/hizmetin web sitesi. |
rezervasyon zamanı | DateTime | Rezervasyonun yapıldığı tarih. |
modifiedTime | DateTime | (Onay kartları/Arama Yanıtları için önerilir) Rezervasyonun son değiştirilme zamanı. |
OnayRezervasyon URL'si | URL | Rezervasyonun onaylanabileceği web sayfası. |
İptalRezervasyon URL'si | URL | Rezervasyonun iptal edilebileceği web sayfası. |
Değişim Rezervasyonu URL'si | URL | (Onay kartları/Arama Yanıtları için önerilir) Rezervasyonun değiştirilebileceği web sayfası. |
checkinUrlsi | URL | Yolcunun giriş yapabileceği web sayfası. |
rezervasyon durumu | Rezervasyon Durumu | (zorunlu) Rezervasyonun mevcut durumu. |
Rezervasyon | BusTrip | (zorunlu) Otobüs gezisi hakkında bilgi. |
rezervasyonFor.ad | Metin | Busrip'in adı. |
rezervasyon.busNumber | Metin | ör. 101. |
rezervasyon. | Metin | ör. Bolt Express. |
rezervasyon. | Kuruluş | (zorunlu) ör. Bolt NYC. Bir dizeyi de kabul eder (ör. "Bolt NYC"). |
rezervasyonFor.busCompany.name | Metin | (zorunlu) Kuruluşun adı. |
rezervasyon.KalkışBusStop | BusStop veya BusStation | (zorunlu) Otobüsün kalkış yeri. |
rezervasyon..KalkışBusStop.adı | Metin | (zorunlu) Otobüs durağının adı. |
rezervasyon..Ulaşım.adresi | Posta Adresi | Kalkış otobüs durağı / istasyon adresi. |
rezervasyonFor.kalkma.Adres.sokakAdresi | Metin | (onay kartları/Arama Cevapları için önerilir) Kalkış otobüs durağı / istasyon açık adresi. |
rezervasyonFor.kalkma.Adres.adresYerelliği | Metin | (onay kartları/Arama Cevapları için önerilir) Kalkış otobüs durağının / istasyonunun konumu (ör. şehir). |
rezervasyon.BusStop.address.adresBölgesi | Metin | (onay kartları/Arama Yanıtları için önerilir) Kalkış otobüs durağının / istasyonunun bulunduğu bölge (ör. Eyalet). |
rezervasyonFor.kalkma.Adres.posta | Metin | (onay kartları/Arama Yanıtları için önerilir) Kalkış otobüs durağının / istasyonunun posta kodu. |
rezervasyon..Ulaşım.adres.adresÜlkesi | Metin veya Ülke | (onay kartları/Arama Cevapları için önerilir) Kalkış ülkesi/durak istasyonu. |
rezervasyoniçin.KalkışBusStop.yol tarifleri | Metin | Otobüs durağına yol tarifi. |
rezervasyon. | DateTime | (zorunlu) Otobüs kalkış saati. |
rezervasyon.varışBusStop | BusStop veya BusStation | (zorunlu) Otobüsün varış noktası. |
rezervasyonFor.arrivalBusStop.ad | Metin | (zorunlu) Otobüs durağının adı. |
rezervasyonFor.arrivalBusStop.adres | Posta Adresi | Varış otobüs durağının / istasyonunun adresi. |
rezervasyonFor.arrivalBusStop.address.streetAddress | Metin | (onay kartları/Arama Cevapları için önerilir) Varış otobüs durağının/istasyonunun açık adresi. |
rezervasyonFor.arrivalBusStop.address.adresYerelliği | Metin | (onay kartları/Arama Cevapları için önerilir) Varış otobüs durağının/kanalının bulunduğu konum (ör. şehir). |
rezervasyonFor.arrivalBusStop.address.adresBölgesi | Metin | (onay kartları/Arama Yanıtları için önerilir) Varış otobüs durağının/istesinin bulunduğu bölge (ör. Eyalet). |
rezervasyonFor.arrivalBusStop.address.postalCode | Metin | (onay kartları/Arama Yanıtları için önerilir) Varış otobüs durağının / istasyonunun posta kodu. |
rezervasyonFor.arrivalBusStop.address.adresÜlkesi | Metin veya Ülke | (onay kartları/Arama Yanıtları için önerilir) Varış ülkesi otobüs durağı / istasyonu. |
rezervasyonFor.arrivalBusStop.yol tarifi | Metin | Otobüs durağına yol tarifi. |
rezervasyon.varış saati | DateTime | (zorunlu) Otobüs varış saati. |
ayrılmış bilet | Bilet | Bilet bilgileri. |
reserveTicket.ticketNumber | Metin | Biletin numarası veya kimliği. |
reserveTicket.downloadUrl | URL | . |
reserveTicket.printUrl | URL | . |
reserveTicket.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" (Aztec kodları), "barcodeEAN:1234") barkodu veya QR URI'sıdır. |
reserveTicket.additionalTicketText | Metin | Biletle ilgili ek açıklayıcı metin. |
reserveTicket.fiyat | Metin | Biletin toplam fiyatı. |
reserveTicket.priceCurrency | Metin | Bilet fiyatının para birimi (3 harfli ISO 4217 biçiminde). |
reserveTicket.altAd | Kişi veya Kuruluş | Biletin ait olduğu kişi veya kuruluş. |
reserveTicket.underName.ad | Metin | Kişinin adı. |
reserveTicket.biletliKoltuk | Koltuk | Ayrılmış lisansın konumu (ör. 27B). . |
reserveTicket.ticketedSeat.oturmaTürü | Metin | Koltuğun türü/sınıfı. |
reserveTicket.ticketedSeat.seatNumarası | Metin | Ayrılmış koltuğun konumu. |
reserveTicket.ticketedSeat.seatSatır | Metin | Ayrılmış lisansın satır konumu. |