summaryrefslogtreecommitdiffstats
path: root/misc/uicRailTicketData_v1.3.1_a.data
blob: 49729eb48803de145d0fce2f496048895d18b420 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
value UicRailTicketData ::=  {     
       issuingDetail {
           securityProviderNum 1,
           securityProviderIA5 "1",
           issuerNum         32000,
           issuerIA5         "1",
           issuingYear       2018,
           issuingDay        1,
           issuingTime       600,
           issuerName        "name",
           specimen          TRUE,
           securePaperTicket FALSE,
           activated         TRUE,
           currency          "SRF",
           currencyFract     3,  
           issuerPNR         "issuerTestPNR",
           extension         { extensionId "1", extensionData '82DA'H },	 
           issuedOnTrainNum  123,
           issuedOnTrainIA5  "123",      
           issuedOnLine      12,
           pointOfSale       {
                geoUnit             microDegree,
                coordinateSystem    wgs84
                hemisphereLongitude north,
                hemisphereLatitude  east,
                longitude           12345,
                latitude            56789,
                accuracy            microDegree
           }
       },
       travelerDetail{
            traveler {
               {
	               	firstName      "John",
	       	     	secondName     "Little",
	       	     	lastName       "Dow",
	              	idCard         "12345",
	              	passportId     "JDTS",
	              	title          "PhD",
	              	gender         male,
	              	customerIdIA5  "DZE5gT",
	              	customerIdNum  12345,
		            yearOfBirth	   1901,     										
		            dayOfBirth     331,
		            ticketHolder   TRUE,
		            passengerType  senior,
		            passengerWithReducedMobility FALSE,
		            countryOfResidence 101,
		            countryOfPassport  102,
		            countryOfIdCard    103,
	       		    status  {
	       		       {customerStatus 1, customerStatusDescr "senior" }
	       		    }
               }
            },
            preferredLanguage "EN",
            groupName "myGroup"
       },
       transportDocument {
            {
		      ticket reservation : {
				    trainNum			 12345, 						
				    trainIA5       		 "12345", 	     						
				    departureDate  		 2, 
		            referenceIA5         "810123456789",	
		            referenceNum         80123456789,			     		        															
    			    productOwnerNum		 23456,    
				    productOwnerIA5		 "23456",    
				    productIdNum		 32000,    
				    productIdIA5		 "123456", 
				    serviceBrand    	 12,
				    serviceBrandAbrUTF8  "TGV",      					   	
				    serviceBrandNameUTF8 "Lyria",     					    
				    service         	 couchette,		
				    stationCodeTable     stationUIC,
		            fromStationNum       8100001,
		            fromStationIA5       "8100001",
		            toStationNum         8000002,
		            toStationIA5         "8100002",
				    fromStationNameUTF8  "A-STATION", 
				    toStationNameUTF8    "B-STATION", 
				    departureTime 		 1439,             
				    departureUTCOffset   -60,  
				    arrivalDate		     20,  			
				    arrivalTime		     0,  
				    arrivalUTCOffset     10,   
				    carrierNum          {1080, 1181},
				    carrierIA5          {"1080", "1181"},
				    classCode			first,
				    serviceLevel		"A",   
				    places {
				      coach             "31A",
				      placeString       "31-47",
				      placeDescription  "Window",
				      placeIA5          {"31A", "31B"}, 
				      placeNum          {31, 32}
				    },
   			        additionalPlaces    {
				      coach             "31A",
				      placeString       "31-47",
				      placeDescription  "Window",
				      placeIA5          {"31A", "31B"}, 
				      placeNum          {31, 32}
				    },    
					bicyclePlaces		{
				      coach             "31A",
				      placeString       "31-47",
				      placeDescription  "Window",
				      placeIA5          {"31A", "31B"}, 
				      placeNum          {31, 32}
				    },  
					compartmentDetails  {
				    	coachType				1,    
				    	compartmentType			99,    
				    	specialAllocation		50,   			  	
				    	coachTypeDescr			"xwz",    
				    	compartmentTypeDescr	"xwz",			
				    	specialAllocationDescr	"xwz", 		
				    	position                upperLevel 	
					},
				    numberOfOverbooked	        200,	      
				    berth {
				       {
							berthType   		single,
							numberOfBerths 		999,
							gender 				female			       
				       }
				    },		
		            tariff {
		              {
		              	numberOfPassengers 1,
		              	passengerType      senior,
		              	ageBelow           64,
		              	ageAbove           60,
		              	travelerid         { 1 },
		              	restrictedToCountryOfResidence FALSE,
                        restrictedToRouteSection {
					       stationCodeTable	stationERA,              
					       fromStationNum  		123,
					       fromStationIA5      	"123",
					       toStationNum      	234,     					                
					       toStationIA5        	"234", 				                 
					       fromStationNameUTF8 	"A",    
					       toStationNameUTF8   	"B"
					    },
                        seriesDataDetails {
						   supplyingCarrier    	12345,		
						   offerIdentification 	99,  		
						   series  				23456                     
                        },
		              	tariffIdNum        72,
		              	tariffIdIA5        "72",
		              	tariffDesc         "Leasure Fare",
		              	reductionCard            {
		              	   { 
				               cardIssuerNum            1234,
				               cardIssuerIA5            "1234",
				               cardIdNum                5678,
				               cardIdIA5                "5678",
				               cardName                 "testcard",
				               cardType                 123,
				               leadingCardIdNum	        3456,                                     
					           leadingCardIdIA5   	    "3456",
				               trailingCardIdNum        100,
				               trailingCardIdIA5        "100"
			               }
			            }
		              }
		            },
		            priceType travelPrice,
		            price 12345,
		            vatDetail {
		              {
		                country 80,
		                percentage 70,
		                amount 10,
		                vatId "IUDGTE"
		              }
		            },
		            typeOfSupplement	9,				
					numberOfSupplements	2,
				    luggage {
				          maxHandLuggagePieces    2,
				          maxNonHandLuggagePieces 1,
				          registeredLuggage {
				            {
				              registrationId "IODHUV",
				              maxWeight      20,
				              maxSize        100
				            },
				            {
				              registrationId "XXDHUV",
				              maxWeight      21,
				              maxSize        101
				            }
				          }
				    },
				    infoText	"reservation",
				    extension   {extensionId "1", extensionData '82DA'H}   		      
		      }
		    } 
	   },
       controlDetail {
          identificationByCardReference {
            { 
               cardIssuerNum            1234,
               cardIssuerIA5            "1234",
               cardIdNum                5678,
               cardIdIA5                "5678",
               cardName                 "testcard",
               cardType                 123,
               leadingCardIdNum	        3456,                                     
	           leadingCardIdIA5   	    "3456",
               trailingCardIdNum        100,
               trailingCardIdIA5        "100"
            }
          },
 	      identificationByIdCard	    FALSE,
  	      identificationByPassportId    FALSE
  	      identificationItem            12,
          passportValidationRequired  	FALSE,
    	  onlineValidationRequired    	FALSE,
    	  randomDetailedValidationRequired 50,
          ageCheckRequired            	FALSE ,  	
  	      reductionCardCheckRequired  	FALSE,        
          infoText                     "control",
          includedTickets {
 			          {
			            referenceIA5    "KDJET",
			            referenceNum    801234567890,
			            issuerName      "XYZ",
			            issuerPNR       "LDWDUR45",
			            productOwnerNum 1080,
			            productOwnerIA5 "IEFHU",
			            ticketType      openTicket,
			            linkMode        issuedTogether
			          }
		  },
          extension {extensionId "1", extensionData '82DA'H}          
       }, 
       extension {
          { extensionId "1", extensionData '82DA'H },
          { extensionId "2", extensionData '83DA'H }
       }			
   }