Common Elements of the Railway Server
- Person - the Passenger. Data type - custom.
- Person.DateOfBirth - Passenger's date of birth in the dd.mm.yyyy format. Data type - string.
- Person.PlaceOfBirth - Place of birth, maximum 100 characters. Data type - string.
- Person.Nationality - Passenger's country of birth two-letter code (RU, UA, etc.). Data type - string.
- Person.Gender - Passenger's gender. Data type - enumeration. Possible values:
- 0 (M) - Male
- 1 (F) - Female
- Person.FirstName - Passenger's name. Data type - string.
- Person.MiddleName - Passenger's middle name. Data type - string.
- Person.LastName - Passenger's last name. Data type - string.
- Person.Type - Passenger type. Data type - enumeration. Possible values:
- adult - from 10 years.
- child - UFS: from 5 to 10 years. UIT: in Ukraine from 6 to 14, in the CIS countries - from 5 to 10 years
- infant - UFS: up to 5 years.
- Person.Phone - Passenger's phone number (UFS, Sirena). Data type - string.
- Person.Email - Passenger's email address (UFS, Sirena). Data type - string.
- Person.Document - Information on the passenger's document (passport). Data type - custom.
- Person.Document.DocType - Document type. Data type - enumeration. Possible values are described in Document Types
- Person.Document.DocNum - Document number. Data type - string.
- Person.Document.CountryCode - Two-letter code of the document's country of issue (RU, UA, etc.). Data type - string.
- Person.Document.DocElapsedTime - Expiration date of the document in the dd.mm.yyyy format. Data type - string.
- Money - Contains a description of a certain amount of money. Data type - custom.
- Money.Value - The amount of money. Data type - fractional number.
- Money.Currency - ISO Alpha 3 currency code. Data type - string.