Commit 9c83d2ec authored by Volker Krause's avatar Volker Krause
Browse files

Document the eos.uptrade ticket format

parent 250e9d9a
Pipeline #211052 passed with stage
in 8 minutes and 38 seconds
......@@ -4,6 +4,18 @@
*/
function parseTicket(ticket, node) {
// U_TLAY block in UIC 918.3 container with type "EOSU",
// up to 9 rows of content
// 0: Traveler name
// 1: Ticket name/tariff
// 2: Area of validity
// 3: Time range of validity
// 4: empty?
// 5: Traveler birth date
// 6: empty? (optional)
// 7: departure station (optional)
// 8: arrival station (optional)
var res = JsonLd.newTrainReservation();
res.reservedTicket = node.result[0];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment