API Type 1 - facilities (ANLAGE)
<ElementGroup name="ANLAGE">
<Element>
| tag |
description |
type/value |
unity |
optional |
| <Id> ... </Id> |
primary key |
integer |
-- |
no |
| <mappingKey> ... </mappingKey> |
mapping key |
string |
-- |
yes |
| <Initial> ... </Initial> |
initial |
string |
-- |
yes |
| <Name> ... </Name> |
description |
string |
-- |
no |
| <TypID> ... </TypID> |
type |
object types |
-- |
no |
| <StatusID> ... </StatusID> |
status value |
status values |
-- |
no |
| <SLFStatusID> ... </SLFStatusID> |
additional status value |
condition values |
-- |
yes |
| <fahrplan> ... </fahrplan> |
schedule for element |
schedule |
-- |
yes |
| <BikeTransport> ... </BikeTransport> |
transportation of bikes |
boolean |
-- |
yes |
| <places> ... </places> |
number of places/seats |
integer |
-- |
yes |
| <heightValley> ... </heightValley> |
valley station (sea height) |
integer |
m |
yes |
| <heightMountain> ... </heightMountain> |
mountain station (sea height) |
integer |
m |
yes |
| <heightDifference> ... </heightDifference> |
height difference |
integer |
m |
yes |
| <conveyingCapacity> ... </conveyingCapacity> |
conveying capacity |
integer |
persons/hr |
yes |
| <travelTime> ... </travelTime> |
travel time |
string |
HH:MM |
yes |
</Element>
<Element>
...
</Element>
</ElementGroup>
Schedule
Each <Element>-Tag may contain schedules.
<ElementGroup ... >
<Element>
<fahrplan>
<zeitraum von="2014-10-31" bis="2015-04-30">
<bezeichnung>Sommerfahrplan</bezeichnung>
<tage>1,2,3,4,5,6,7</tage>
<zeiten>09:00-12:00/1,13:00B/2,14:00T,15:00,16:00</zeiten>
</zeitraum>
<zeitraum von="2015-05-01" bis="2015-10-31">
...
</zeitraum>
...
<remarks>
<remark id="1">
<de><![CDATA[... german ...]]></de>
<fr><![CDATA[... french ...]]></fr>
...
</remark>
<remark id="2">
...
</remark>
...
</remarks>
</fahrplan>
</Element>
</ElementGroup>
Comma separated list of days : 1 = Monday ... 7 = Sunday
<tage>1,2,3,4,5,6,7</tage>
Comma separated list of timestrings
<zeiten>09:00-12:00/1,13:00B/2,14:00T,15:00,16:00</zeiten>
Time formats
hh:mm single time
hh:mm-hh:mm continuous operation
Available suffixes
12:00B uphill movement only
12:00T downhill movement only
Additional suffix to reference remarks
12:00/1 reference to remark identified by id=1
Available remarks are identified by Attribute "id":
<fahrplan>
<remarks>
<remark id="1">
<de><![CDATA[... german ...]]></de>
<fr><![CDATA[... french ...]]></fr>
...
</remark>
<remark id="2">
...
</remark>
...
</remarks>
</fahrplan>