กรณีการใช้งาน
กรณีการใช้งานต่อไปนี้แสดงตัวอย่างทั่วไปเกี่ยวกับวิธีใช้สคีมา TrainReservation ใช้ตัวอย่างเหล่านี้เพื่อตรวจสอบว่ามาร์กอัปมีโครงสร้างที่ถูกต้อง
การยืนยันการจองขั้นพื้นฐาน
ฝังมาร์กอัปต่อไปนี้ในอีเมลเมื่อคุณส่งการยืนยันการจอง
แอป Google จะแสดงรายละเอียดการจองในวันที่เดินทางและจะแจ้งให้ผู้ใช้ทราบถึงเวลาออกเดินทางเพื่อให้ไปถึงสถานีรถไฟตรงเวลา (โดยคำนึงถึงรูปแบบการเดินทาง การจราจร ฯลฯ) หากคุณระบุ URL การเช็คอินเหมือนในตัวอย่างด้านล่าง แอป Google จะแสดง URL นี้ให้ผู้ใช้เห็น 24 ชั่วโมงก่อนการเดินทางไปยังผู้ใช้
JSON-LD
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "TrainReservation",
"reservationNumber": "AB3XY2",
"reservationStatus": "http://schema.org/ReservationConfirmed",
"reservationFor": {
"@type": "TrainTrip",
"departureStation": {
"@type": "TrainStation",
"name": "Munich Central"
},
"departureTime": "2017-01-04T10:30:00+01:00",
"arrivalStation": {
"@type": "TrainStation",
"name": "Paris Gare De Lyon"
},
"arrivalTime": "2017-01-04T03:10:00+01:00"
}
}
</script>
Microdata
<div itemscope itemtype="http://schema.org/TrainReservation">
<meta itemprop="reservationNumber" content="AB3XY2"/>
<link itemprop="reservationStatus" href="http://schema.org/ReservationConfirmed"/>
<div itemprop="reservationFor" itemscope itemtype="http://schema.org/TrainTrip">
<div itemprop="departureStation" itemscope itemtype="http://schema.org/TrainStation">
<meta itemprop="name" content="Munich Central"/>
</div>
<meta itemprop="departureTime" content="2017-01-04T10:30:00+01:00"/>
<div itemprop="arrivalStation" itemscope itemtype="http://schema.org/TrainStation">
<meta itemprop="name" content="Paris Gare De Lyon"/>
</div>
<meta itemprop="arrivalTime" content="2017-01-04T03:10:00+01:00"/>
</div>
</div>
บอร์ดดิ้งพาสและตั๋ว
นอกจากการยืนยันการจองแล้ว คุณยังเรียกใช้บอร์ดดิ้งพาสสำหรับบัตรยืนยันในอีเมลแยกต่างหากได้
การ์ดยืนยันไม่เพียงช่วยให้ผู้ใช้ไปยังสถานีรถไฟตรงเวลาเท่านั้น แต่ยังแสดงตั๋วให้ผู้ใช้เห็นระหว่างการเดินทางอีกด้วย สำหรับกรณีนี้ ฟิลด์เพิ่มเติมบางฟิลด์ต้องรวมอยู่ในมาร์กอัป หากมีช่องอื่นๆ ที่ต้องกรอกเพื่อขึ้นผู้โดยสาร ให้ใส่ช่องดังกล่าวในช่อง additionalTicketText
สำหรับตั๋วแบบไม่จองที่นั่ง ช่องข้อมูลเหล่านี้คือ numSeats, ticketNumber, ticketToken
JSON-LD
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "TrainReservation",
"reservationNumber": "AB3XY2",
"underName": {
"@type": "Person",
"name": "Eva Green"
},
"reservationStatus": "http://schema.org/ReservationConfirmed",
"reservationFor": {
"@type": "TrainTrip",
"departureStation": {
"@type": "TrainStation",
"name": "Munich Central"
},
"departureTime": "2017-01-04T10:30:00+01:00",
"arrivalStation": {
"@type": "TrainStation",
"name": "Paris Gare De Lyon"
},
"arrivalTime": "2017-01-04T03:10:00+01:00"
},
"reservedTicket": {
"@type": "Ticket",
"underName": "Eva Green",
"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>
Microdata
<div itemscope itemtype="http://schema.org/TrainReservation">
<meta itemprop="reservationNumber" content="AB3XY2"/>
<div itemprop="underName" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="Eva Green"/>
</div>
<link itemprop="reservationStatus" href="http://schema.org/ReservationConfirmed"/>
<div itemprop="reservationFor" itemscope itemtype="http://schema.org/TrainTrip">
<div itemprop="departureStation" itemscope itemtype="http://schema.org/TrainStation">
<meta itemprop="name" content="Munich Central"/>
</div>
<meta itemprop="departureTime" content="2017-01-04T10:30:00+01:00"/>
<div itemprop="arrivalStation" itemscope itemtype="http://schema.org/TrainStation">
<meta itemprop="name" content="Paris Gare De Lyon"/>
</div>
<meta itemprop="arrivalTime" content="2017-01-04T03:10:00+01:00"/>
</div>
<div itemprop="reservedTicket" itemscope itemtype="http://schema.org/Ticket">
<meta itemprop="underName" content="Eva Green"/>
<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>
สำหรับตั๋วแบบจองที่นั่ง ช่องข้อมูลเหล่านี้คือ seatNumber, seatingType, ticketNumber, ticketToken
JSON-LD
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "TrainReservation",
"reservationNumber": "AB3XY2",
"underName": {
"@type": "Person",
"name": "Eva Green"
},
"reservationStatus": "http://schema.org/ReservationConfirmed",
"reservationFor": {
"@type": "TrainTrip",
"departureStation": {
"@type": "TrainStation",
"name": "Munich Central"
},
"departureTime": "2017-01-04T10:30:00+01:00",
"arrivalStation": {
"@type": "TrainStation",
"name": "Paris Gare De Lyon"
},
"arrivalTime": "2017-01-04T03:10:00+01:00"
},
"reservedTicket": {
"@type": "Ticket",
"underName": "Eva Green",
"ticketedSeat": {
"@type": "Seat",
"seatNumber": "27B",
"seatingType": "1st Class"
},
"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>
Microdata
<div itemscope itemtype="http://schema.org/TrainReserva>tio<n"
meta itemprop="reservationNumber&quo>t; <content="AB3XY2"/
div itemprop="underName" items>cope <itemtype="http://schema.org/Person&q>uot<;
> m<eta itemprop="name" content="Eva Green"/
/div
link itemp>rop<="reservationStatus" href="http://schema.org/ReservationConfirm>ed&qu<ot;/
div itemprop="reservationFor" itemscope itemtype="http://sche>ma.org/<TrainTrip"
div itemprop="departu>reSta<tion>"<; itemscope itemtype="http://schema.org/TrainStation"
> m<eta itemprop="name" content="Munich Central"/
/div
me>ta item<prop="departureTime" content="2017->01-04<T10:>30:00<+01:00"/
div itemprop="arrivalStation" itemsc>ope< ite>mty<pe="http://schema.org/TrainStation"
meta itemprop="nam>e&quo<t; content="Paris Gare De Lyon"/
> /div<
meta itemprop="arrivalTime" content="2017-01-04T03:>10:00+0<1:00"/
/div
div itemprop="r>eserved<Ticket" itemscope itemtype="http://sch>ema.o<rg/T>icket<"
meta itemprop="underName"> cont<ent="Eva Green"/
div itemprop="tic>keted<Seat" itemscope itemtype="http://schema.org/Seat"
meta itemprop="seatNumber" content="27B"/
meta itemprop="seatingType" content="1st Class"/
> /<div
> < m>eta 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
ผู้โดยสารหลายคน
หากต้องการอธิบายการจองที่มีผู้โดยสารหลายคน ให้ใช้ 1 TrainReservation ต่อผู้โดยสาร 1 คนต่อเที่ยว
JSON-LD
<script type="application/ld+>json"
[
{
"@context": "http://schema.org",
"@type": "TrainReservation",
"reservationNumber": "AB3XY2",
"reservationStatus": "http://schema.org/ReservationConfirmed",
"reservationFor": {
"@type": "TrainTrip",
"departureStation": {
"@type": "TrainStation",
"name": "Munich Central"
},
"departureTime": "2017-01-04T10:30:00+01:00",
"arrivalStation": {
"@type": "TrainStation",
"name": "Paris Gare De Lyon"
},
"arrivalTime": "2017-01-04T03:10:00+01:00"
},
"reservedTicket": {
"@type": "Ticket",
"underName": {
"@type": "Person",
"name": "Eva Green"
}
}
},
{
"@context": "http://schema.org",
"@type": "TrainReservation",
"reservationNumber": "AB3XY2",
"reservationStatus": "http://schema.org/ReservationConfirmed",
"reservationFor": {
"@type": "TrainTrip",
"departureStation": {
"@type": "TrainStation",
"name": "Munich Central"
},
"departureTime": "2017-01-04T10:30:00+01:00",
"arrivalStation": {
"@type": "TrainStation",
"name": "Paris Gare De Lyon"
},
"arrivalTime": "2017-01-04T03:10:00+01:00"
},
"reservedTicket": {
"@type": "Ticket",
"underName": {
"@type": "Person",
"name": "John Green"
}
}
},
{
"@context": "http://schema.org",
"@type": "TrainReservation",
"reservationNumber": "AB3XY2",
"reservationStatus": "http://schema.org/ReservationConfirmed",
"reservationFor": {
"@type": "TrainTrip",
"departureStation": {
"@type": "TrainStation",
"name": "Munich Central"
},
"departureTime": "2017-01-04T10:30:00+01:00",
"arrivalStation": {
"@type": "TrainStation",
"name": "Paris Gare De Lyon"
< },
> "arrivalTime": "2017-01-04T03:10:00+01:00"
},
"reservedTicket": {
"@type": "Ticket",
"underName": {
"@type": "Person",
"name": "Carol Green"
}
}
},
{
"@context": "http://schema.org",
"@type": "TrainReservation",
"reservationNumber": "AB3XY2",
"reservationStatus": "http://schema.org/ReservationConfirmed",
"reservationFor": {
"@type": "TrainTrip",
"departureStation": {
"@type": "TrainStation",
"name": "Munich Central"
},
"departureTime": "2017-01-04T10:30:00+01:00",
"arrivalStation": {
"@type": "TrainStation",
"name": "Paris Gare De Lyon"
},
"arrivalTime": "2017-01-04T03:10:00+01:00"
},
"reservedTicket": {
"@type": "Ticket",
"underName": {
"@type": "Person",
"name": "Daniel Green"
}
}
}
]
/script
Microdata
<div itemscope itemtype="http://schema.org/TrainReserva>tio<n"
meta itemprop="reservationNumber&quo>t; <content="AB3XY2"/
link itemprop="reservationStatus" href=&>quo<t;http://schema.org/ReservationConfirmed"/
div itemprop="reservati>onFor<" itemscope itemtype="http://schema.org/TrainTrip"
div itemprop=>"d<epartureStation" itemscope itemtype=">;http<://s>chema<.org/TrainStation"
meta itemprop="name" conte>nt=&q<uot;Munich Central"/
/div
meta itemprop="departureTime" co>ntent=&<quot;2017-01-04T10:30:00+01:00"/
div item>prop=<&quo>t;arr<ivalStation" itemscope itemtype="http://schema.org/Tra>inS<tati>on&<quot;
meta itemprop="name" content="Paris Gare De Lyon>"<;/
/div
meta itemprop="arrivalTime" content="20>17-01-0<4T03:10:00+01:00"/
/div
div item>prop=<&quo>t;r<eser>v<edTi>c<ket" itemscope itemtype="http://schema.org/Ticket>&qu<ot;
div itemprop="underName" itemscop>e i<temtype="http://schema.org/Person"
meta itemprop="name">; c<ontent="Eva Green"/
/div
/div
/div
div itemscope itemtype=&quo>t;htt<p://schema.org/TrainReservation"
meta itemprop="reservationNumber"> conten<t="AB3XY2"/
link itemprop="re>serva<tion>Statu<s" href="http://schema.org/ReservationConfirmed"/
> div <itemprop="reservationFor" itemscope itemtype="http://schema.org/Tr>ainTrip<"
div itemprop="departureStation&quo>t; it<emsc>ope i<temtype="http://schema.org/TrainStation"
meta it>emp<rop=>&qu<ot;name" content="Munich Central"/
/div
meta itempro>p=&qu<ot;departureTime" content="2017-01-04T10:30:00+01:00"/
> div< itemprop="arrivalStation" items>cope <item>typ<e=&q>u<ot;h>t<tp://schema.org/TrainStation"
meta itemprop=&quo>t;n<ame" content="Paris Gare De Lyon"/
> </div
meta itemprop="arrivalTime" content="2017-01-04T03:10:00>+01<:00"/
/div
div itemprop="reservedTicket" itemscope itemtype>=&quo<t;http://schema.org/Ticket"
div itemprop="underName" itemscope i>temtype<="http://schema.org/Person"
me>ta it<empr>op=&q<uot;name" content="John Green"/
/div
/div
/di>v
div< itemscope itemtype="http://schema.org/TrainReservation"
meta itempro>p="<;reservationNumber" content="AB3XY2">;/
<link> item<prop="reservationStatus" href="http://schema.org/>Res<erva>tio<nConfirmed"/
div itemprop="reservationFor" itemscope itemt>ype=&<quot;http://schema.org/TrainTrip"
div itemprop="departur>eStatio<n" itemscope itemtype="http://sch>ema.o<rg/T>rai<nSta>t<ion&>q<uot;
meta itemprop="name" content="Mun>ich< Central"/
/div
meta itemprop="de>par<tureTime" content="2017-01-04T10:30:00+01:00"/
div itemprop=&>quo<t;arrivalStation" itemscope itemtype="http://schema.org/TrainStation>"<;
meta itemprop="name" content="Paris Gare De Lyon"/
>/div
< meta itemprop="arrivalTime" conten>t=&qu<ot;2>017-0<1-04T03:10:00+01:00"/
/div
div itemprop="reservedTic>ket&q<uot; itemscope itemtype="http://schema.org/Ticket"
div itemprop=&qu>ot;unde<rName" itemscope itemtype="http://schema>.org/<Pers>on&qu<ot;
meta itemprop="name" content="Carol Gre>en&<quot>;/
< /div
/div
/div
div itemscope itemtype="http://schema.org/TrainRe>serva<tion"
meta itemprop="reservationNumber" content=">;AB3XY2<"/
link itemprop="reservationSta>tus&q<uot;> hr<ef=&>q<uot;>http://schema.org/ReservationConfirmed"/
div itemprop="reservationFor" itemscope itemtype="http://schema.org/TrainTrip"
div itemprop="departureStation" itemscope itemtype="http://schema.org/TrainStation"
meta itemprop="name" content="Munich Central"/
/div
meta itemprop="departureTime" content="2017-01-04T10:30:00+01:00"/
div itemprop="arrivalStation" itemscope itemtype="http://schema.org/TrainStation"
meta itemprop="name" content="Paris Gare De Lyon"/
/div
meta itemprop="arrivalTime" content="2017-01-04T03:10:00+01:00"/
/div
div itemprop="reservedTicket" itemscope itemtype="http://schema.org/Ticket"
div itemprop="underName" itemscope itemtype="http://schema.org/Person"
meta itemprop="name" content="Daniel Green"/
/div
/div
/div
ตัวอย่างที่มีช่องที่รองรับทั้งหมด
ต่อไปนี้คือตัวอย่างที่มีการใส่ข้อมูลในช่องที่รองรับทั้งหมด
JSON-LD
<script type="application/ld+>json"
{
"@context": "http://schema.org",
"@type": "TrainReservation",
"reservationNumber": "AB3XY2",
"url": "http://eurotravel/view/AB3XY2",
"underName": {
"@type": "Person",
"name": "John Smith",
"email": "john@mail.com"
},
"programMembership": {
"@type": "ProgramMembership",
"memberNumber": "12345",
"program": "STA"
},
"bookingAgent": {
"@type": "Organization",
"name": "European Vacations",
"url": "http://eurotravel/"
},
"bookingTime": "2013-01-14T13:05:00-05:00",
"modifiedTime": "2013-03-14T13:05:00-05:00",
"confirmReservationUrl": "http://eurotravel/confirm?id=AB3XY2",
"cancelReservationUrl": "http://eurotravel/cancel?id=AB3XY2",
"modifyReservationUrl": "http://eurotravel/edit?id=AB3XY2",
"reservationStatus": "http://schema.org/ReservationConfirmed",
"checkinUrl": "http://train.com/checkin?id=AB3XY2",
"reservationFor": {
"@type": "TrainTrip",
"trainNumber": "9203",
"trainName": "Orient Express",
"trainCode": "iGTV",
"trainCompany": {
"@type": "Organization"
},
"departureStation": {
"@type": "TrainStation",
"name": "Munich Central"
},
"departurePlatform": "64",
"departureTime": "2017-01-04T10:30:00+01<:00&quo>t;,
"arrivalStation": {
"@type": "TrainStation",
"name": "Paris Gare De Lyon"
},
"arrivalPlatform": "101B",
"arrivalTime": "2017-01-04T03:10:00+01:00"
},
"reservedTicket": {
"@type": "Ticket",
"ticketNumber": "123XYZ",
"downloadUrl": "?",
"printUrl": "?",
"ticketToken": "qrCode:123456789",
"additionalTicketText": "?",
"price": "135.00",
"priceCurrency": "EUR",
"underName": {
"@type": "Person",
"name": "Mary Smith"
},
"ticketedSeat": {
"@type": "Seat",
"seatingType": "1st Class",
"seatNumber": "27",
"seatRow": "A"
}
}
}
/script
Microdata
<div itemscope itemtype="http://schema.org/TrainReserva>tio<n"
meta itemprop="reservationNumber&quo>t; <content="AB3XY2"/
link itemprop="url&quo>t; <href="http://eurotravel/view/AB3XY2"/
div itemprop="u>nderN<ame" itemscope itemtype="http://>schem<a.org/Person"
meta itemprop="nam>e&q<uot;> co<ntent="John Smith"/
meta itemprop="email" content="john@mail>.com&<quot;/
/div
div itemprop="programMem>bersh<ip" itemscope itemtype="http>://<sche>ma.<org/ProgramMembership"
meta itemprop="memberNumber" content=>"<;12345"/
meta itemprop="program">; con<tent="STA"/
/div
div itemprop=&q>uot<;boo>kin<gAgent" itemscope itemtype="http://schema.org/Organiza>tio<n"
meta itemprop="name" content="European> Va<cations"/
link itemprop="url" href="http://eurotravel/&qu>ot;</
/div
meta itemprop="bookingTime" content="2013-01-14T13:05>:00<-05:00"/
meta itemprop="modifiedTime" content="2013-03->14T<13:05:00-05:00"/
link itemprop="confirmReservationUrl" href=&qu>ot;<http://eurotravel/confirm?id=AB3XY2"/
link itemprop="canc>elR<eservationUrl" href="http://eurotravel/cancel?id=AB3XY2"/
lin>k ite<mprop="modifyReservationUrl" href>=&quo<t;http://eurotravel/edit?id=AB3XY2"/
link it>empro<p="reservationStatus" href=&quo>t;htt<p://schema.org/ReservationConfirmed"/
link itemprop="checkinUrl&quo>t; hr<ef=&>quot;<http://train.com/checkin?id=AB3XY2"/
div itemprop="reservationFor"> itemsc<ope itemtype="http://schema.org/TrainTrip>"<;
> met<a itemprop="trainNumber" content=&quo>t;920<3"/
meta itemprop="trainName" content="Ori>ent E<xpress"/
meta itemprop="trainCode" content="iGTV"/
> div <itemprop="trainCompany" itemscope itemty>pe=&q<uot;>http:<//schema.org/Organization"
/div
di>v ite<mprop="departureStation" itemscope itemtype="http>://<sche>ma.<org/TrainStation"
meta itemprop="name" content="M>unich< Central"/
/div
meta itemprop=&qu>ot;de<parturePlatform" content="64&q>uot;/<
meta itemprop="departureTim>e&quo<t; content="2017-01-04T10:30:00+01:00"/
d>iv it<emprop="arrivalStation" itemscope itemt>ype=&<quot;http://schema.org/TrainStation&quo>t;
< meta itemprop="name" content=&>quot;<Paris Gare De Lyon"/
/div
meta itemprop="arrivalPlat>form&qu<ot; content="101B"/
meta ite>mprop<=&qu>ot;ar<rivalTime" content="2017-01-04T03:10:00+01:00"/
/div
> div it<emprop="reservedTicket" itemscope item>type=&q<uot;http://schema.org/Ticket"
m>eta ite<mprop="ticketNumber" conte>nt=&q<uot;>123<XYZ&>q<uot;>/
meta itemprop="downloadUrl" content="?"/
meta itemprop="printUrl" content="?"/
meta itemprop="ticketToken" content="qrCode:123456789"/
meta itemprop="additionalTicketText" content="?"/
meta itemprop="price" content="135.00"/
meta itemprop="priceCurrency" content="EUR"/
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="1st Class"/
meta itemprop="seatNumber" content="27"/
meta itemprop="seatRow" content="A"/
/div
/div
/div
ทดสอบมาร์กอัปของคุณ
คุณสามารถตรวจสอบมาร์กอัปโดยใช้เครื่องมือทดสอบอีเมลมาร์กอัป วางโค้ดมาร์กอัปแล้วคลิกปุ่มตรวจสอบความถูกต้องเพื่อสแกนเนื้อหาและรับรายงานเกี่ยวกับข้อผิดพลาดที่เกิดขึ้น
ข้อมูลจำเพาะ
ตรวจสอบรายละเอียดในอีเมลเพื่อดูว่าที่พักเหล่านี้มีผลกับการจองรถไฟของคุณหรือไม่ การมาร์กอัปที่พักเพิ่มเติมเหล่านี้หมายความว่าคุณอนุญาตให้ Google แสดงรายละเอียดการจองรถไฟที่สมบูรณ์ยิ่งขึ้นแก่ผู้ใช้
| พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย |
|---|---|---|
| reservationNumber | ข้อความ | (ต้องระบุ) หมายเลขหรือรหัสของการจอง |
| URL | URL | หน้าเว็บที่สามารถดูการจองได้ |
| underName | Person หรือ Organization | ผู้โดยสาร |
| underName.name | ข้อความ | (แนะนำสำหรับการ์ดยืนยัน/คำตอบเกี่ยวกับการค้นหา) ชื่อบุคคล |
| underName.email | ข้อความ | อีเมล |
| programMembership | ProgramMembership | การเป็นสมาชิกในการจองตามการสะสมไมล์ โปรแกรมสะสมคะแนนของโรงแรม และอื่นๆ มีผลกับการจอง |
| programMembership.memberNumber | ข้อความ | ตัวระบุการเป็นสมาชิก |
| programMembership.program | ข้อความ | ชื่อโปรแกรม |
| bookingAgent | Organization หรือ Person | ตัวแทนหรือเอเจนซีด้านการจอง และยังยอมรับสตริง (เช่น "") ด้วย |
| bookingAgent.name | ข้อความ | ชื่อตัวแทน/บริการ |
| bookingAgent.url | URL | เว็บไซต์ของตัวแทน/บริการ |
| bookingTime | DateTime | วันที่ทำการจอง |
| modifiedTime | DateTime | (แนะนำสำหรับการ์ดยืนยัน/คำตอบเกี่ยวกับการค้นหา) เวลาที่แก้ไขการจองครั้งล่าสุด |
| confirmReservationUrl | URL | หน้าเว็บที่สามารถยืนยันการจองได้ |
| cancelReservationUrl | URL | หน้าเว็บที่ยกเลิกการจองได้ |
| modifyReservationUrl | URL | (แนะนำสำหรับการ์ดยืนยัน/คำตอบเกี่ยวกับการค้นหา) หน้าเว็บที่แก้ไขการจองได้ |
| reservationStatus | ReservationStatus | (ต้องระบุ) สถานะปัจจุบันของการจอง |
| checkinUrl | URL | หน้าเว็บที่ผู้โดยสารเช็คอินได้ |
| reservationFor | TrainTrip | (ต้องระบุ) ข้อมูลเกี่ยวกับการเดินทางด้วยรถไฟ |
| reservationFor.trainNumber | ข้อความ | (แนะนำสำหรับการ์ดยืนยัน/คำตอบเกี่ยวกับการค้นหา) หมายเลขสำหรับรถไฟ |
| reservationFor.trainName | ข้อความ | ชื่อรถไฟ |
| reservationFor.trainCode | ข้อความ | ตัวระบุที่ไม่ซ้ำกันสำหรับรถไฟ |
| reservationFor.trainCompany | องค์กร | องค์กรที่ดำเนินการด้านรถไฟ และยังยอมรับสตริง (เช่น "") ด้วย |
| reservationFor.departureStation | TrainStation | (ต้องระบุ) สถานีที่รถไฟออกเดินทาง |
| reservationFor.departureStation.name | ข้อความ | (ต้องระบุ) ชื่อของ TrainStation |
| reservationFor.departurePlatform | ข้อความ | ชานชาลาที่รถไฟออกเดินทาง |
| reservationFor.departureTime | DateTime | (ต้องระบุ) เวลาออกเดินทางที่คาดไว้ |
| reservationFor.arrivalStation | TrainStation | (ต้องระบุ) สถานีที่รถไฟสิ้นสุดลง |
| reservationFor.arrivalStation.name | ข้อความ | (ต้องระบุ) ชื่อของ TrainStation |
| reservationFor.arrivalPlatform | ข้อความ | ชานชาลาที่รถไฟมาถึง |
| reservationFor.arrivalTime | DateTime | (ต้องระบุ) เวลาที่คาดว่าจะมาถึง |
| reservedTicket | ตั๋ว | ข้อมูลตั๋ว |
| reservedTicket.ticketNumber | ข้อความ | หมายเลขหรือรหัสของตั๋ว |
| reservedTicket.downloadUrl | URL | . |
| reservedTicket.printUrl | URL | . |
| reservedTicket.ticketToken | ข้อความหรือ URL | หากรูปภาพบาร์โค้ดโฮสต์อยู่ในเว็บไซต์ของคุณ ค่าของช่องจะเป็น URL ของรูปภาพ หรือ URI ของบาร์โค้ดหรือคิวอาร์โค้ด เช่น "barcode128:AB34" (บาร์โค้ด ISO-15417), "qrCode:AB34" (คิวอาร์โค้ด), "aztecCode:AB34" (รหัสแอซเท็ก), "barcodeEAN:1234" (รหัส EAN) และ "barcodeUPCA:1234" (รหัส UPCA) |
| reservedTicket.additionalTicketText | ข้อความ | ข้อความอธิบายเพิ่มเติมเกี่ยวกับตั๋ว |
| reservedTicket.price | ข้อความ | ราคารวมของตั๋ว |
| reserveTicket.priceCurrency | ข้อความ | สกุลเงิน (ในรูปแบบ ISO 4217 แบบ 3 อักขระ) ของราคาตั๋ว |
| reservedTicket.underName | Person หรือ Organization | บุคคลหรือองค์กรที่ซื้อตั๋วไว้ |
| reservedTicket.underName.name | ข้อความ | ชื่อบุคคล |
| reservedTicket.ticketedSeat | ที่นั่ง | ตำแหน่งของที่นั่งที่จองไว้ (เช่น 27B) |
| reservedTicket.ticketedSeat.seatingType | ข้อความ | ประเภท/คลาสของที่นั่ง |
| reservedTicket.ticketedSeat.seatNumber | ข้อความ | ตำแหน่งของที่นั่งที่จองไว้ |
| reservedTicket.ticketedSeat.seatRow | ข้อความ | ตำแหน่งของแถวของที่นั่งที่จองไว้ |