Otobüs Rezervasyonu

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 şekilde yapılandırıldığından emin olmak için bu örnekleri kullanın.

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 kullanıcıyı otobüs durağına zamanında ulaşmak için yola çıkma vakti konusunda bilgilendirir (ulaşım modu, trafik vb. dikkate alınır). Aşağıdaki örnekte olduğu gibi bir check-in URL'si sağlarsanız Google uygulaması, seyahatten 24 saat önce bu URL'yi 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üs durağına zamanında ulaşmasına yardımcı olmanın yanı sıra yolculuk sırasında bileti göstermesini de sağlar. Bunun için işaretlemeye bazı ek alanların dahil edilmesi gerekir. Yolcuları uçağa bindirmek için ek alanlar gerekiyorsa bunları additionalTicketText alanına ekleyin.

Ayrılmış koltuk içermeyen biletlerde bu alanlar : 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 mevcut hatalarla ilgili bir rapor almak için Doğrula düğmesini tıklayın.

Spesifikasyon

Bu özelliklerden herhangi birinin otobüs rezervasyonunuz için geçerli olup olmadığını görmek için e-postanızın ayrıntılarını inceleyin. Bu ek özellikleri işaretleyerek Google'ın otobüs rezervasyonuyla ilgili çok daha ayrıntılı bir açıklamayı kullanıcıya göstermesine izin verirsiniz.

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 (Zorunlu) Yolcu.
underName.name Metin (zorunlu) 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 vb.
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 Aracını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 (zorunlu) Otobüs yolculuğuyla ilgili bilgiler.
reservationFor.name Metin Otobüs gezisinin adı.
reservationFor.busNumber Metin ör. 101.
reservationFor.busName Metin ör. Bolt Express.
reservationFor.busCompany Kuruluş (zorunlu) Örneğin, Bolt NYC. Dize de kabul eder (ör. "Bolt NYC").
reservationFor.busCompany.name Metin (zorunlu) Kuruluşun adı.
reservationFor.departureBusStop BusStop veya BusStation (Zorunlu) Otobüsün kalkış noktası.
reservationFor.departureBusStop.name Metin (zorunlu) Otobüs durağının adı.
reservationFor.departureBusStop.address PostalAddress Kalkış otobüs durağının / istasyonunun adresi.
reservationFor.departureBusStop.address.streetAddress Metin (Onay kartları/Arama Yanıtları için önerilir) Kalkış otobüs durağının / istasyonunun bulunduğu sokak adresi.
reservationFor.departureBusStop.address.addressLocality Metin (Onay kartları/Arama Yanıtları için önerilir) Otobüs durağının / istasyonun bulunduğu yer (ör. şehir).
reservationFor.departureBusStop.address.addressRegion Metin (Onay kartları/Arama Yanıtları için önerilir) Otobüs durağının / istasyonun bulunduğu bölge (ör. eyalet).
reservationFor.departureBusStop.address.postalCode Metin (Onay kartları/Arama Yanıtları için önerilir) Kalkış otobüs durağının / istasyonunun posta kodu.
reservationFor.departureBusStop.address.addressCountry Metin veya Ülke (Onay kartları/Arama Yanıtları için önerilir) Otobüs durağının / istasyonun bulunduğu kalkış ülkesi.
reservationFor.departureBusStop.directions Metin Otobüs durağına yol tarifi.
reservationFor.departureTime DateTime (zorunlu) Otobüs kalkış saati.
reservationFor.arrivalBusStop BusStop veya BusStation (Zorunlu) Otobüsün varış noktası.
reservationFor.arrivalBusStop.name Metin (zorunlu) Otobüs durağının adı.
reservationFor.arrivalBusStop.address PostalAddress Varış otobüs durağının / istasyonunun adresi.
reservationFor.arrivalBusStop.address.streetAddress Metin (Onay kartları/Arama Yanıtları için önerilir) Varış otobüs durağının / istasyonunun sokak adresi.
reservationFor.arrivalBusStop.address.addressLocality Metin (Onay kartları/Arama Yanıtları için önerilir) Varış otobüs durağının / istasyonunun bulunduğu yer (ör. şehir).
reservationFor.arrivalBusStop.address.addressRegion Metin (Onay kartları/Arama Yanıtları için önerilir) Varış otobüs durağının / istasyonunun bulunduğu bölge (ör. eyalet).
reservationFor.arrivalBusStop.address.postalCode Metin (Onay kartları/Arama Yanıtları için önerilir) Varış otobüs durağının / istasyonunun posta kodu.
reservationFor.arrivalBusStop.address.addressCountry Metin veya Ülke (Onay kartları/Arama Yanıtları için önerilir) Varış noktasındaki otobüs durağı / istasyon.
reservationFor.arrivalBusStop.directions Metin Otobüs durağına yol tarifi.
reservationFor.arrivalTime DateTime (Zorunlu) Otobüsün varış saati.
reservedTicket Destek kaydı 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 yeri (ö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.