Use Case
กรณีการใช้งานต่อไปนี้แสดงตัวอย่างที่พบบ่อยเกี่ยวกับวิธีใช้สคีมา 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/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"/>
<div itemprop="ticketedSeat" itemscope itemtype="http://schema.org/Seat">
<meta itemprop="seatNumber" content="27B"/>
<meta itemprop="seatingType" content="1st Class"/>
</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>
ผู้โดยสารหลายคน
หากต้องการอธิบายถึงการจองที่เกี่ยวข้องกับผู้โดยสารหลายคน ให้ใช้ 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/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 itemprop="reservedTicket" itemscope itemtype="http://schema.org/Ticket">
<div itemprop="underName" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="Eva Green"/>
</div>
</div>
</div>
<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 itemprop="reservedTicket" itemscope itemtype="http://schema.org/Ticket">
<div itemprop="underName" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="John Green"/>
</div>
</div>
</div>
<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 itemprop="reservedTicket" itemscope itemtype="http://schema.org/Ticket">
<div itemprop="underName" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="Carol Green"/>
</div>
</div>
</div>
<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 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",
"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/TrainReservation">
<meta itemprop="reservationNumber" content="AB3XY2"/>
<link itemprop="url" href="http://eurotravel/view/AB3XY2"/>
<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="European Vacations"/>
<link itemprop="url" href="http://eurotravel/"/>
</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://eurotravel/confirm?id=AB3XY2"/>
<link itemprop="cancelReservationUrl" href="http://eurotravel/cancel?id=AB3XY2"/>
<link itemprop="modifyReservationUrl" href="http://eurotravel/edit?id=AB3XY2"/>
<link itemprop="reservationStatus" href="http://schema.org/ReservationConfirmed"/>
<link itemprop="checkinUrl" href="http://train.com/checkin?id=AB3XY2"/>
<div itemprop="reservationFor" itemscope itemtype="http://schema.org/TrainTrip">
<meta itemprop="trainNumber" content="9203"/>
<meta itemprop="trainName" content="Orient Express"/>
<meta itemprop="trainCode" content="iGTV"/>
<div itemprop="trainCompany" itemscope itemtype="http://schema.org/Organization">
</div>
<div itemprop="departureStation" itemscope itemtype="http://schema.org/TrainStation">
<meta itemprop="name" content="Munich Central"/>
</div>
<meta itemprop="departurePlatform" content="64"/>
<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="arrivalPlatform" content="101B"/>
<meta itemprop="arrivalTime" content="2017-01-04T03:10:00+01: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="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 แสดงการจองรถไฟเพิ่มเติมลงไปได้อีกมากมาย
พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย |
---|---|---|
หมายเลขการจอง | ข้อความ | (ต้องระบุ) จํานวนหรือรหัสของการจอง |
url | URL | หน้าเว็บที่สามารถดูการจองได้ |
ใต้ชื่อ | ผู้คนหรือองค์กร | ผู้โดยสาร |
underName.ชื่อ | ข้อความ | (แนะนําสําหรับการ์ดยืนยัน/คําตอบในการค้นหา) ชื่อบุคคล |
underName.อีเมล | ข้อความ | อีเมล |
การเป็นสมาชิกของโปรแกรม | การเป็นสมาชิกโปรแกรม | การเป็นสมาชิกในใบปลิว โปรแกรมสะสมคะแนนของโรงแรม ฯลฯ ในการจอง |
programmember.memberNumber | ข้อความ | ตัวระบุของการเป็นสมาชิก |
programMembership. | ข้อความ | ชื่อโปรแกรม |
ตัวแทนการจอง | องค์กรหรือบุคคล | ตัวแทนหรือเอเจนซีที่จอง ยอมรับสตริงด้วย (เช่น "") |
ชื่อ bookingAgent. | ข้อความ | ชื่อของตัวแทน/บริการ |
bookingAgent. URL | URL | เว็บไซต์ของตัวแทน/บริการ |
เวลาจอง | DateTime | วันที่ที่จอง |
เวลาแก้ไข | DateTime | (แนะนําสําหรับการ์ดยืนยัน/คําตอบในการค้นหา) เวลาที่แก้ไขการจองครั้งล่าสุด |
ยืนยัน URL การจอง | URL | หน้าเว็บที่สามารถยืนยันการจองได้ |
ยกเลิก URL การจอง | URL | หน้าเว็บที่ยกเลิกการจองได้ |
แก้ไข URL การจอง | URL | (แนะนําสําหรับการ์ดยืนยัน/คําตอบในการค้นหา) หน้าเว็บที่แก้ไขการจองได้ |
สถานะการจอง | สถานะการจอง | (ต้องระบุ) สถานะปัจจุบันของการจอง |
ตรวจสอบ URL | URL | หน้าเว็บที่ผู้โดยสารสามารถเช็คอินได้ |
จองสําหรับ | รถไฟ | (จําเป็น) ข้อมูลเกี่ยวกับการเดินทางด้วยรถไฟ |
servingFor.trainNumber | ข้อความ | (แนะนําสําหรับการ์ดยืนยัน/คําตอบในการค้นหา) หมายเลขของรถไฟ |
servingFor.trainName | ข้อความ | ชื่อรถไฟ |
servingFor.trainCode | ข้อความ | ตัวระบุที่ไม่ซ้ํากันสําหรับรถไฟ |
servingFor.trainCompany | องค์กร | องค์กรที่บริหารรถไฟ ยอมรับสตริงด้วย (เช่น "") |
servingFor.exitStation | TrainStation | (จําเป็น) สถานีที่รถไฟออกเดินทาง |
ชื่อ servingFor.เวลาออกเดินทางStation. | ข้อความ | (จําเป็น) ชื่อของ TrainStation |
servingFor.เวลาออกเดินทางของแพลตฟอร์ม | ข้อความ | ชานชาลาที่รถไฟจะออกเดินทาง |
servingFor.เวลาออกเดินทาง | DateTime | (จําเป็น) เวลาออกเดินทางที่คาดไว้ |
servingFor.arrivalStation | TrainStation | (จําเป็น) สถานีที่รถไฟสิ้นสุด |
servingFor.arrivalStation. ชื่อ | ข้อความ | (จําเป็น) ชื่อของ TrainStation |
servingFor.arrivalPlatform | ข้อความ | ชานชาลาที่รถไฟมาถึง |
servingFor.arrivalTime | DateTime | (ต้องระบุ) เวลาถึงที่คาดไว้ |
จองไว้ | ตั๋ว | ข้อมูลตั๋ว |
reserveTicket. TicketNumber | ข้อความ | หมายเลขหรือรหัสของตั๋ว |
reserveTicket.downloadUrl | URL | . |
reserveTicket.printUrl | URL | . |
reserveTicket. TicketToken | ข้อความหรือ URL | หากรูปภาพบาร์โค้ดโฮสต์บนเว็บไซต์ของคุณ ค่าของช่องจะเป็น URL ของรูปภาพ หรือบาร์โค้ดหรือ URI แบบคิวอาร์ เช่น "barcode128:AB34" (ISO-15417บาร์โค้ด) "qrCode:AB34" (คิวอาร์โค้ด), "aztecCode:AB34" (รหัส Aztec), "codecodeEAN:1234"UPC (AN:1234"UPC(AN)1234"UPC(A.1:3)" |
reserveTicket.additionalTicketText | ข้อความ | ข้อความอธิบายเพิ่มเติมเกี่ยวกับตั๋ว |
ราคา reserveTicket | ข้อความ | ราคารวมของตั๋ว |
reserveTicket.priceCurrency | ข้อความ | สกุลเงิน (ในรูปแบบ ISO 4217 แบบ 3 ตัวอักษร) ของราคาตั๋ว |
reserveTicket.underName | ผู้คนหรือองค์กร | บุคคลหรือองค์กรที่จําหน่ายตั๋ว |
reservingTicket.underName.ชื่อ | ข้อความ | ชื่อบุคคล |
reserveTicket. TicketedSeat | ที่นั่ง | ตําแหน่งของที่นั่งที่จองไว้ (เช่น 2.7 หมื่นล้าน) |
reserveTicket.TicketedSeat.seatingType | ข้อความ | ประเภท/ประเภทที่นั่ง |
reserveTicket.TicketedSeat.seatNumber | ข้อความ | ตําแหน่งของที่นั่งที่จองไว้ |
reserveTicket.TicketedSeat.seatRow | ข้อความ | ตําแหน่งแถวของที่นั่งที่จองไว้ |