Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SDName-schema to current API-version #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pygti/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -1506,10 +1506,12 @@ def DateTime(dt):
combinedName: str combination of name and city field.
* since version 6 (0 - None)
id: str the unique id of a SDName object (0 - None)
globalId: str
type: SDType the type of a SDName object, type can be:
UNKNOWN, STATION , ADDRESS, POI, COORDINATE.
Unknown type is only for requests. Default: UNKNOWN (0 - None)
coordinate: Coordinate the coordinate of a SDName object (0 - None)
layer: int
tariffDetails: TariffDetails Detailed information about the tariff. (0 - None)
serviceTypes: str Type of vehicles that stops at this station. (Only filled on SDType Station)
* since version 16 (0 - unbounded)
Expand All @@ -1524,8 +1526,10 @@ def DateTime(dt):
"city": str,
"combinedName": str,
"id": str,
"globalId": str,
"type": SDType,
"coordinate": Coordinate,
"layer": int,
"tariffDetails": TariffDetails,
"serviceTypes": [str],
"hasStationInformation": bool,
Expand Down
Loading