Dev:Timetable example
Jump to navigation
Jump to search
This is a draft.
<?xml version="1.0" encoding="UTF-8"?> <railml xmlns="http://www.railml.org/schemas/2013" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.railml.org/schemas/2013 http://www.railml.org/schemas/2013/railML-2.2/railML.xsd" version="2.2"> <infrastructure id="is-00"> <tracks> <track id="tk-2"> <trackTopology> <trackBegin pos="0" id="tk-2_tb"> <openEnd id="tk-2_oe01"/> </trackBegin> <trackEnd pos="0" id="tk-2_te"> <openEnd id="tk-2_oe02"/> </trackEnd> </trackTopology> <trackElements> <platformEdges> <platformEdge id="pe-3" pos="0"/> </platformEdges> </trackElements> <ocsElements> <stopPosts> <stopPost id="sp-3" pos="0"/> </stopPosts> </ocsElements> </track> <track id="tk-5"> <trackTopology> <trackBegin pos="0" id="tk-5_tb"> <openEnd id="tk-5_oe01"/> </trackBegin> <trackEnd pos="0" id="tk-5_te"> <openEnd id="tk-5_oe02"/> </trackEnd> </trackTopology> <trackElements> <platformEdges> <platformEdge id="pe-15" pos="0"/> </platformEdges> </trackElements> <ocsElements> <stopPosts> <stopPost id="sp-7" pos="0"/> </stopPosts> </ocsElements> </track> <track id="newTk-1"> <trackTopology> <trackBegin pos="0" id="newTk-1_tb"> <openEnd id="newTk-1_oe01"/> </trackBegin> <trackEnd pos="0" id="newTk-1_te"> <openEnd id="newTk-1_oe02"/> </trackEnd> </trackTopology> <trackElements> <platformEdges> <platformEdge id="pe-8" pos="0"/> </platformEdges> </trackElements> <ocsElements> <stopPosts> <stopPost id="sp-6" pos="0"/> </stopPosts> </ocsElements> </track> </tracks> <operationControlPoints> <ocp id="op-1" name="Arnau"> <designator entry="OAR" register="_RML"/> </ocp> <ocp id="op-3" name="Cranz"> <designator entry="OC" register="_RML"/> </ocp> <ocp id="op-4" name="Dunja"> <designator entry="ODUN" register="_RML"/> </ocp> <ocp id="op-5" name="Eimber"> <designator entry="OEI" register="_RML"/> </ocp> </operationControlPoints> </infrastructure> <rollingstock id="rs-00"> <vehicles> <vehicle id="veh-00" name="101"/> </vehicles> <formations> <formation id="fm-1"/> </formations> </rollingstock> <timetable id="tt-00"> <timetablePeriods> <timetablePeriod id="ttp01" startDate="2022-01-01" endDate="2022-12-31"/> </timetablePeriods> <operatingPeriods> <operatingPeriod id="va-2" bitMask="1111100"/> </operatingPeriods> <trainParts> <trainPart id="it-1" timetablePeriodRef="ttp01"> <formationTT formationRef="fm-1"/> <operatingPeriodRef ref="va-2"/> <ocpsTT> <ocpTT ocpRef="op-1" trackInfo="tk-2"> <times departure="11:52:20" scope="scheduled"/> <sectionTT> <runTimes minimalTime="PT4M" operationalReserve="PT1M"/> </sectionTT> <stopDescription commercial="true" stopPostRef="sp-3"> <platformEdgeRef ref="pe-3"/> </stopDescription> </ocpTT> <ocpTT ocpRef="op-3" trackInfo="tk-5"> <times arrival="11:58:20" departure="12:01:20" scope="scheduled"/> <sectionTT> <runTimes minimalTime="PT2M15S" operationalReserve="PT45S"/> </sectionTT> <stopDescription commercial="true" stopPostRef="sp-7"> <platformEdgeRef ref="pe-15"/> </stopDescription> </ocpTT> <ocpTT ocpRef="op-4"> <times arrival="12:04:20" departure="12:05:20" scope="scheduled"/> <sectionTT> <runTimes minimalTime="PT7M30S" operationalReserve="PT2M30S"/> </sectionTT> <stopDescription commercial="true" onOff="on" stopPostRef="sp-6" stopOnRequest="true"> <platformEdgeRef ref="pe-8"/> </stopDescription> </ocpTT> <ocpTT ocpRef="op-5"> <times arrival="12:15:20" scope="scheduled"/> </ocpTT> </ocpsTT> </trainPart> <trainPart id="it-1.2"> <formationTT formationRef="fm-1"/> <operatingPeriodRef ref="va-2"/> <ocpsTT> <ocpTT sequence="1" ocpRef="op-1"> <times departure="12:52:20" scope="scheduled"/> <sectionTT> <runTimes minimalTime="PT4M" operationalReserve="PT1M"/> </sectionTT> <stopDescription commercial="true"> <platformEdgeRef ref="pe-3"/> </stopDescription> </ocpTT> <ocpTT sequence="2" ocpRef="op-3"> <times arrival="12:58:20" departure="13:01:20" scope="scheduled"/> <sectionTT> <runTimes minimalTime="PT2M15S" operationalReserve="PT45S"/> </sectionTT> <stopDescription commercial="true"> <platformEdgeRef ref="pe-15"/> </stopDescription> </ocpTT> <ocpTT sequence="3" ocpRef="op-4"> <times arrival="13:04:20" departure="13:05:20" scope="scheduled"/> <sectionTT> <runTimes minimalTime="PT7M30S" operationalReserve="PT2M30S"/> </sectionTT> <stopDescription commercial="true"> <platformEdgeRef ref="pe-8"/> </stopDescription> </ocpTT> <ocpTT sequence="4" ocpRef="op-5"> <times arrival="13:15:20" scope="scheduled"/> </ocpTT> </ocpsTT> </trainPart> </trainParts> <trains> <train type="operational" id="ot-1"> <trainPartSequence sequence="1"> <trainPartRef ref="it-1" position="1"/> </trainPartSequence> </train> <train type="operational" id="ot-2"> <trainPartSequence sequence="1"> <trainPartRef ref="it-1.2" position="1"/> </trainPartSequence> </train> </trains> </timetable> </railml>