Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
breakoutModefull-width
languagexml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<PublicationDelivery xmlns="http://www.netex.org.uk/netex">
    <PublicationTimestamp>2019-11-27T12:50:21</PublicationTimestamp> <!-- Timestamp of export -->
    <ParticipantRef>SAM</ParticipantRef> <!-- Required Codespace for data submitter, participant identifier. We currently don't use this value for anything, so it's not important for our import. -->
    <dataObjects>
        <CompositeFrame created="2019-11-27T12:50:21" version="20191127125021" id="SE:253:CompositeFrame:9011005005300000">
            <ValidBetween>
                <FromDate>2005-01-01T00:00:00</FromDate>
                <!-- ToDate is omitted since if there are elements within the frame that have indefinite validity, the frame must also have that. -->
            </ValidBetween>
            <codespaces>
                <Codespace id="253"> <!-- id is the same as Xmlns below -->
                    <Xmlns>253</Xmlns> <!-- From Samtrafiken's registry of producer numbers, provided by Samtrafiken -->
                    <XmlnsUrl>http://www.samtrafiken.se/ns/Östgötatrafiken</XmlnsUrl> <!-- "Östgötatrafiken" is based on data source and ensures that the url is unique, but is otherwise ignored during import -->
                </Codespace>
            </codespaces>
            <FrameDefaults>
                <DefaultLocale>
                    <TimeZone>Europe/Stockholm</TimeZone>
                    <DefaultLanguage>se</DefaultLanguage>
                </DefaultLocale>
                <DefaultLocationSystem>4326</DefaultLocationSystem>
            </FrameDefaults>
            <frames>
                <ServiceFrame version="20191127125021" id="SE:253:ServiceFrame:9011005005300000">
                    <routes>
                        <!-- Description of a route, specified as a sorted list of RoutePoints. -->
                        <Route version="any" id="SE:253:Route:55700000035050824">
                            <Name>Motala</Name> <!-- Required -->
                            <LineRef ref="SE:253:Line:9011005005300000" version="20131215"/> <!-- Required -->
                            <DirectionType>outbound</DirectionType> <!-- inbound/outbound -->
                        </Route>
                        <!-- More Route elements -->
                    </routes>
                    <lines>
                        <Line version="20131215" id="SE:253:Line:9011005005300000">
                            <Name>53</Name> <!-- Required -->
                            <TransportMode>bus</TransportMode> <!-- Required -->
                            <!-- TransportSubmode is currently ignored-->
                            <PublicCode>53</PublicCode> <!-- Optional. The publicly advertised line number -->
                            <PrivateCode>53</PrivateCode> <!-- Required. Internal (non-public) identifier for the line. This needs to fit in a numeric(4), can't be a String. -->
                            <RepresentedByGroupRef ref="SE:253:Network:9010005000000000"/> <!-- Required Reference to the Line's Network, defined in the _shared_data.xml-file -->
                        </Line>
                    </lines>
                    <journeyPatterns>
                        <JourneyPattern version="any" id="SE:253:JourneyPattern:55700000035050824">
                            <RouteRef ref="SE:253:Route:55700000035050824" version="any"/> <!-- Required -->
                            <pointsInSequence>
                                <!-- Only StopPointInJourneyPattern is allowed -->
                                <StopPointInJourneyPattern order="1" version="any" id="SE:253:StopPointInJourneyPattern:55700000035050829">
                                    <ScheduledStopPointRef ref="SE:253:ScheduledStopPoint:9022005000001001"/> <!-- Required -->
                                    <ForAlighting>false</ForAlighting> <!-- default true -->
                                    <ForBoarding>true</ForBoarding> <!-- default true -->
                                    <DestinationDisplayRef ref="SE:253:DestinationDisplay:55700000037211691"/> <!-- Should be present on at least the first StopPointInJourneyPattern -->
                                    <RequestStop>true</RequestStop> <!-- default false -->
                                </StopPointInJourneyPattern>
                                <StopPointInJourneyPattern order="2" version="any" id="SE:253:StopPointInJourneyPattern:55700000035050830">
                                    <ScheduledStopPointRef ref="SE:253:ScheduledStopPoint:9022005001364002"/>
                                    <ForAlighting>true</ForAlighting>
                                    <ForBoarding>true</ForBoarding>
                                    <RequestStop>true</RequestStop>
                                </StopPointInJourneyPattern>
                                <StopPointInJourneyPattern order="3" version="any" id="SE:253:StopPointInJourneyPattern:55700000035050831">
                                    <ScheduledStopPointRef ref="SE:253:ScheduledStopPoint:9022005000057002"/>
                                    <ForAlighting>true</ForAlighting>
                                    <ForBoarding>false</ForBoarding>
                                    <RequestStop>false</RequestStop>
                                </StopPointInJourneyPattern>
                                <!-- More StopPointInJourneyPattern elements -->
                            </pointsInSequence>
                            <linksInSequence>  <!-- Optional, omit if empty -->
                                <!-- References to relevant ServiceLinks that has been defined in the _shared_data.xml-file -->
                                <ServiceLinkInJourneyPattern order="1" version="any" id="SE:253:ServiceLinkInJourneyPattern:BUS_391">
                                    <ServiceLinkRef ref="SE:253:ServiceLink:BUS_9025005000136402_9025005000005702"/>
                                </ServiceLinkInJourneyPattern>
                                <!-- More ServiceLinkInJourneyPattern elements -->
                            </linksInSequence>
                            <!-- PrivateCode is ignored -->
                            <!-- runTimes is ignored -->
                            <!-- waitTimes is ignored -->
                            <!-- headways is ignored -->
                        </JourneyPattern>
                    </journeyPatterns>
                </ServiceFrame>
                <TimetableFrame version="20191127125021" id="SE:253:TimetableFrame:9011005005300000">
                    <!-- A planned journey from starting point to a destination, according to a JourneyPattern. -->
                    <vehicleJourneys>
                        <!-- Only ServiceJourney and DeadRun are allowed, but DeadRun is ignored -->
                        <ServiceJourney version="any" id="SE:253:ServiceJourney:55700000049527547">
                            <PrivateCode>123<PrivateCode> <!-- Optional, numeric(6). Represents an internal journey number that is not supposed to be shown to passengers. -->
                            <TransportMode>bus</TransportMode> <!-- Required -->
                            <!-- TransportSubmode is currently ignored -->
                            <dayTypes> <!-- Required -->
                                <DayTypeRef ref="SE:253:DayType:1"/> <!-- at least 1 -->
                            </dayTypes>
                            <JourneyPatternRef ref="SE:253:JourneyPattern:55700000035050824" version="any"/> <!-- Required -->
                            <OperatorRef ref="SE:253:Operator:9013005918200000"/>
                            <passingTimes> <!-- Required -->
                                <TimetabledPassingTime version="any" id="SE:253:TimetabledPassingTime:55700000049527529"> <!-- Required -->
                                    <StopPointInJourneyPatternRef ref="SE:253:StopPointInJourneyPattern:55700000035050829" version="any"/>
                                    <!-- Optional DepartureDayOffset, default value = 0 -->
                                    <!-- Optional ArrivalDayOffset, default value = 0 -->
                                    <DepartureTime>06:40:00</DepartureTime>
                                    <!-- WaitingTime is ignored -->
                                </TimetabledPassingTime>
                                <TimetabledPassingTime version="any" id="SE:253:TimetabledPassingTime:55700000049527530">
                                    <StopPointInJourneyPatternRef ref="SE:253:StopPointInJourneyPattern:55700000035050830" version="any"/>
                                    <ArrivalTime>06:41:28</ArrivalTime>
                                    <DepartureTime>06:41:28</DepartureTime>
                                </TimetabledPassingTime>
                                <!-- More TimetabledPassingTime elements -->
                                <TimetabledPassingTime version="any" id="SE:253:TimetabledPassingTime:55700000049527544">
                                    <StopPointInJourneyPatternRef ref="SE:253:StopPointInJourneyPattern:55700000035050829" version="any"/>
                                    <ArrivalTime>07:50:00</ArrivalTime>
                                </TimetabledPassingTime>
                            </passingTimes>
                        </ServiceJourney>
                        <!-- More ServiceJourneys -->
                    </vehicleJourneys>
                    <!-- Mappings between Notices defined in the _shared_data.xml-file and ServiceJourneys -->
                    <noticeAssignments>
                        <NoticeAssignment order="1" version="1" id="SE:NoticeAssignment:55700000050931583">
                            <NoticeRef ref="SE:253:Notice:55700000050931583"/>
                            <NoticedObjectRef ref="SE:253:ServiceJourney:55700000049527547" /> <!-- Only refs to ServiceJourney are allowed -->
                        </NoticeAssignment>
                    </noticeAssignments>
                    <journeyInterchanges>
                        <!-- other than ServiceJourneyInterchange is ignored -->
                        <ServiceJourneyInterchange version="any" id="SE:253:ServiceJourneyInterchange:55700000051347301_1">
                            <!-- Guaranteed and Advertised are ignored-->
                            <FromPointRef ref="SE:253:ScheduledStopPoint:9022005000001001"/>
                            <ToPointRef ref="SE:253:ScheduledStopPoint:9022005001364002" version="20190426"/>
                            <FromJourneyRef ref="SE:253:ServiceJourney:55700000049527547"/>
                            <ToJourneyRef ref="SE:253:ServiceJourney:55700000049527548" version="any"/>
                        </ServiceJourneyInterchange>
                    </journeyInterchanges>
                </TimetableFrame>
            </frames>
        </CompositeFrame>
    </dataObjects>
</PublicationDelivery>