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" xmlns:ns2="http://www.opengis.net/gml/3.2" xmlns:ns3="http://www.siri.org.uk/siri">
    <PublicationTimestamp>2019-11-27T12:50:21</PublicationTimestamp> <!-- Timestamp of export -->
    <ParticipantRef>SAM</ParticipantRef>
    <dataObjects>
        <CompositeFrame created="2019-11-27T12:50:21" version="20191127125021" id="SE:253:CompositeFrame:1"> <!-- Version is timestamp of export, id is always 1 -->
            <ValidBetween>
                <FromDate>2005-01-01T00:00:00</FromDate> <!-- Always set to 2005-01-01 -->
            </ValidBetween>
            <codespaces>
                <Codespace id="253"> <!-- id is same as Xmlns -->
                    <Xmlns>253</Xmlns> <!-- From Samtrafiken's registry of producer numbers, based on data source -->
                    <XmlnsUrl>http://www.samtrafiken.se/ns/Östgötatrafiken</XmlnsUrl> <!-- "Östgötatrafiken" is based on data source -->
                </Codespaced>
            </codespaces>
            <FrameDefaults>
                <DefaultLocale>
                    <TimeZone>Europe/Stockholm</TimeZone>
                    <DefaultLanguage>se</DefaultLanguage>
                </DefaultLocale>
                <DefaultLocationSystem>4326</DefaultLocationSystem> <!-- All coordinates are WGS84 -->
            </FrameDefaults>
            <frames>
                <ResourceFrame version="20191127125021" id="SE:253:ResourceFrame:1"> <!-- Version is timestamp of export (YYYYMMDDHHmmSS), id is always 1 -->
                    <organisations>
                        <!-- Authority is based on Noptis.TransportAuthority -->
                        <Authority version="20131206" id="SE:253:Authority:9010005000000000"> <!-- version=Noptis.TransportAuthority.ExistsFromDate, id=Noptis.TransportAuthority.Gid -->
                            <ValidBetween>
                                <FromDate>2019-02-13T00:00:00</FromDate> <!-- Noptis.TransportAuthority.ExistsFromDate -->
                                <!-- ToDate = Noptis.TransportAuthority.ExistsToDate, in this case "ExistsToDate" is null -->
                            </ValidBetween>
                            <PrivateCode>253</PrivateCode>
                            <Name>Östgötatrafiken</Name> <!-- Noptis.TransportAuthority.Name -->
                            <LegalName>Östgötatrafiken</LegalName> <!-- Noptis.Organisation.FormalName -->
                            <OrganisationType>authority</OrganisationType> <!-- Always "authority" -->
                        </Authority>
                        <!-- More Authority elements -->
                        <!-- Operator is based on Noptis.Contractor -->
                        <Operator version="20131211" id="SE:253:Operator:9013005918200000"> <!-- version=Noptis.Contractor.ExistsFromDate, id=Noptis.Contractor.Gid -->
                            <ValidBetween>
                                <FromDate>2019-02-13T00:00:00</FromDate> <!-- Noptis.Contractor.ExistsFromDate -->
                                <!-- ToDate = Noptis.Contractor.ExistsToDate, in this case "ExistsToDate" is null -->
                            </ValidBetween>
                            <Name>eBuss Motala</Name> <!-- Noptis.Contractor.Name -->
                            <LegalName>eBuss i Sverige AB</LegalName> <!-- Noptis.Organisation.FormalName -->
                            <OrganisationType>operator</OrganisationType> <!-- Always "operator" -->
                        </Operator>
                        <!-- More Operator elements -->
                    </organisations>
                </ResourceFrame>
                <ServiceFrame version="20191127125021" id="SE:253:ServiceFrame:1"> <!-- Version is timestamp of export (YYYYMMDDHHmmSS), id is always 1 -->
                    <!-- Each unique Noptis.Line.IsDefinedByTransportAuthority will create a Network with the AuthorityRef. In this case there is only one, 
                    additional Networks would be placed in an "additionalNetworks" element. -->
                    <Network version="20131206" id="SE:253:Network:9010005000000000"> <!-- version=Noptis.TransportAuthority.ExistsFromDate, id=Noptis.TransportAuthority.Gid -->
                        <Name>Östgötatrafiken</Name> <!-- Noptis.TransportAuthority.Name -->
                        <AuthorityRef ref="SE:253:Authority:9010005000000000" version="20131206"/>
                        <!-- WIP, Netex.GroupOfLines is based on Noptis.GroupOfLines -->
                        <groupsOfLines>
                            <GroupOfLines version="1" id="SE:253:GroupOfLines:1">
                                <ValidBetween>
                                    <FromDate>2019-02-13T00:00:00</FromDate> <!-- Noptis.GroupOfLines.ExistsFromDate -->
                                    <!-- ToDate = Noptis.GroupOfLines.ExistsToDate, in this case "ExistsToDate" is null -->
                                </ValidBetween>
                                <Name>Spårvagn</Name> <!-- Noptis.GroupOfLines.Name -->
                                <PrivateCode>SPV</PrivateCode> <!-- Noptis.GroupOfLine.Code -->
                                <members>
                                    <LineRef ref="SE:253:Line:9011005005300000"/> <!-- Based on Noptis.LineInGroupOfLines -->
                                </members>
                            </GroupOfLines>
                        </groupsOfLines>
                    </Network>
                    <routePoints>
                        <!-- RoutePoint, ScheduledStopPoint, PassengerStopAssignment are all based on Noptis.StopPoint -->
                        <RoutePoint version="20190426" id="SE:253:RoutePoint:9022005000001001"> <!-- version=Noptis.StopPoint.ExistsFromDate, id=Noptis.StopPoint.Gid -->
                            <projections>
                                <PointProjection version="20190426" id="SE:253:PointProjection:9022005000001001"> <!-- version=Noptis.StopPoint.ExistsFromDate, id=Noptis.StopPoint.Gid -->
                                    <ProjectedPointRef ref="SE:253:ScheduledStopPoint:9022005000001001" version="20190426"/>
                                </PointProjection>
                            </projections>
                        </RoutePoint>
                        <!-- More RoutePoint elements -->
                    </routePoints>
                    <destinationDisplays>
                        <!-- DestinationDisplay is based on Noptis.DestinationDisplay -->
                        <!-- DestinationDisplays that are used as "via" are created from each Noptis.DestinationDisplay.SecondaryDestinationName. Theses elements are recognized by having "via_" prepended to their id.
                        In the example below, both DestinationDisplay elements are created from the same Noptis.DestinationDisplay. -->
                        <DestinationDisplay version="any" id="SE:253:DestinationDisplay:via_55700000037211691"> <!-- id=Noptis.DestinationDisplay.Id -->
                            <FrontText>Västerlösa</FrontText> <!-- Noptis.DestinationDisplay.SecondaryDestinationName -->
                            <PublicCode>573</PublicCode> <!-- Noptis.DestinationDisplay.LineDesignation -->
                        </DestinationDisplay>
                        <DestinationDisplay version="any" id="SE:253:DestinationDisplay:55700000037211691"> <!-- id=Noptis.DestinationDisplay.Id -->
                            <FrontText>Malmslätt</FrontText> <!-- Noptis.DestinationDisplay.PrimaryDestinationName -->
                            <PublicCode>573</PublicCode> <!-- Noptis.DestinationDisplay.LineDesignation -->
                            <vias>
                                <Via>
                                    <DestinationDisplayRef ref="SE:253:DestinationDisplay:via_55700000037211691" version="any"/>
                                </Via>
                            </vias>
                        </DestinationDisplay>
                        <!-- More DestinationDisplay elements -->
                    </destinationDisplays>
                    <scheduledStopPoints>
                        <!-- RoutePoint, ScheduledStopPoint, PassengerStopAssignment are all based on Noptis.StopPoint -->
                        <ScheduledStopPoint version="20190426" id="SE:253:ScheduledStopPoint:9022005000001001"> <!-- version=Noptis.StopPoint.ExistsFromDate, id=Noptis.StopPoint.Gid -->
                            <Name>Norr Tull</Name> <!-- Noptis.StopPoint.Name -->
                        </ScheduledStopPoint>
                        <!-- More ScheduledStopPoint elements -->
                    </scheduledStopPoints>
                    <serviceLinks>
                        <!-- ServiceLink is based on Noptis.RouteLink -->
                        <ServiceLink version="20190213" id="SE:253:ServiceLink:BUS_9025005000136402_9025005000005702"> <!-- version=Noptis.RouteLink.ExistsFromDate, 
                            id=Noptis.RouteLinkTraversableByTransportModeCode.TransportModeCode + Noptis.RouteLink.StartsAtJourneyPatternPointGid + Noptis.RouteLink.EndsAtJourneyPatternPointGid -->
                            <ValidBetween>
                                <FromDate>2019-02-13T00:00:00</FromDate> <!-- Noptis.RouteLink.ExistsFromDate -->
                                <!-- ToDate = Noptis.RouteLink.ExistsToDate, in this case "ExistsToDate" is null -->
                            </ValidBetween>
                            <Distance>338</Distance> <!-- Noptis.RouteLink.DistanceMeters -->
                            <projections>
                                <LinkSequenceProjection version="20190213" id="SE:253:LinkSequenceProjection:BUS_9025005000136402_9025005000005702"> <!-- Same ID as parent ServiceLink -->
                                    <ns2:LineString srsName="4326" ns2:id="LS_BUS_9025005000136402_9025005000005702"> <!-- Same ID as parent ServiceLink but with "LS_" prepended -->
                                        <ns2:posList count="30" srsDimension="2">58.666991 16.180848 58.666982 16.180848 58.66691 16.180899 58.666703 16.181034 58.666325 16.181358 58.666109 16.181545 58.665821 16.1818 58.665749 16.181834 58.665651 16.181833 58.665624 16.181833 58.665328 16.181743 58.664978 16.18155 58.664593 16.181253 58.664494 16.181166 58.664154 16.180869</ns2:posList> 
                                        <!-- Each coordinate pair is created from one Noptis.PointOnRouteLink -->
                                    </ns2:LineString>
                                </LinkSequenceProjection>
                            </projections>
                            <FromPointRef ref="SE:253:ScheduledStopPoint:9022005001364002" version="20190426"/> <!-- Noptis.RouteLink.StartsAtJourneyPatternPointGid -->
                            <ToPointRef ref="SE:253:ScheduledStopPoint:9022005000057002" version="20190426"/> <!-- Noptis.RouteLink.EndsAtJourneyPatternPointGid -->
                            <VehicleMode>bus</VehicleMode> <!-- See the section "General Noptis to Netex mappings" below -->
                        </ServiceLink>
                        <!-- More ServiceLink elements -->
                    </serviceLinks>
                    <stopAssignments>
                        <!-- RoutePoint, ScheduledStopPoint, PassengerStopAssignment are all based on Noptis.StopPoint -->
                        <PassengerStopAssignment order="0" version="20190426" id="SE:253:PassengerStopAssignment:9022005000001001"> <!-- version=Noptis.StopPoint.ExistsFromDate, id=Noptis.StopPoint.Gid, "order" is always 0 -->
                            <ScheduledStopPointRef ref="SE:253:ScheduledStopPoint:9022005000001001" version="20190426"/>
                            <QuayRef ref="SE:253:Quay:9022005000001001"/>
                        </PassengerStopAssignment>
                        <!-- More PassengerStopAssignment elements -->
                    </stopAssignments>
                    <notices>
                        <!-- Notice is based on Noptis.AdvanceOrderCondition -->
                        <Notice version="any" id="SE:253:Notice:55700000050931583"> <!-- id=Noptis.AdvanceOrderCondition.Id -->
                            <Text>Turen måste förbeställas på 0771 - 71 10 20 senast 2 timmar före avresa från turens starthållplats.</Text> <!-- Noptis.AdvanceOrderCondition.PublicNote -->
                        </Notice>
                        <!-- More Notice elements -->
                    </notices>
                </ServiceFrame>
                <ServiceCalendarFrame version="20191127125021" id="SE:253:ServiceCalendarFrame:1"> <!-- Version is timestamp of export (YYYYMMDDHHmmSS), id is always 1 -->
                    <!-- The content of ServiceCalendarFrame is created based on Noptis.DatedVehicleJourney.OperatingDayDate but a pattern of runnings days and operating period is constructed to represent that data.
                    Each unique combination of operating days of a Noptis.VehicleJourney will create one DayType. -->
                    <dayType
                        <DayType version="any" id="SE:253:DayType:a33m5mgb2thf88dnl75h8a8jt21i3iqu">
                          <properties>
                            <PropertyOfDay>
                              <DaysOfWeek>Monday Tuesday Wednesday Thursday Friday</DaysOfWeek>
                            </PropertyOfDay>
                          </properties>
                        </DayType>
                        <DayType version="any" id="SE:253:DayType:4vfuvln5ed1bte5nrbf56qees9vakerf">
                          <properties>
                            <PropertyOfDay>
                              <DaysOfWeek>Saturday Sunday</DaysOfWeek>
                            </PropertyOfDay>
                          </properties>                        
                        </DayType>
                    </dayTypes>
                    <operatingPeriods>
                        <OperatingPeriod version="any" id="SE:253:OperatingPeriod:221108221209">
                            <FromDate>2022-11-08T00:00:00</FromDate>
                            <ToDate>2022-12-10T00:00:00</ToDate><!-- NBN.B: The period is valid up-to this time, but NOT including this time. So the last possible trip would depart on 2022-12-09 23:59:59 -->
                        </OperatingPeriod>
                        <OperatingPeriod version="any" id="SE:253:OperatingPeriod:221212230331">
                            <FromDate>2022-12-12T00:00:00</FromDate>
                            <ToDate>2023-04-01T00:00:00</ToDate>
                        </OperatingPeriod>
                    </operatingPeriods>                    
                    <dayTypeAssignments>
                        <DayTypeAssignment order="1" version="any" id="SE:253:DayTypeAssignment:a33m5mgb2thf88dnl75h8a8jt21i3iqu">
                            <OperatingPeriodRef ref="SE:253:OperatingPeriod:221108221209" version="any"/>
                            <DayTypeRef ref="SE:253:DayType:a33m5mgb2thf88dnl75h8a8jt21i3iqu" version="any"/>
                        </DayTypeAssignment>
                        <DayTypeAssignment order="1" version="any" id="SE:253:DayTypeAssignment:4vfuvln5ed1bte5nrbf56qees9vakerf">
                            <OperatingPeriodRef ref="SE:253:OperatingPeriod:221212230331" version="any"/>
                            <DayTypeRef ref="SE:253:DayType:4vfuvln5ed1bte5nrbf56qees9vakerf" version="any"/>
                        </DayTypeAssignment>
                        <DayTypeAssignment order="2" version="any" id="SE:253:DayTypeAssignment:4vfuvln5ed1bte5nrbf56qees9vakerf_221226">
                            <Date>2022-12-26</Date>
                            <DayTypeRef ref="SE:253:DayType:4vfuvln5ed1bte5nrbf56qees9vakerf" version="any"/>
                        </DayTypeAssignment>                        
                        <DayTypeAssignment order="3" version="any" id="SE:253:DayTypeAssignment:4vfuvln5ed1bte5nrbf56qees9vakerf_230107">
                            <Date>2023-01-07</Date>
                            <DayTypeRef ref="SE:253:DayType:4vfuvln5ed1bte5nrbf56qees9vakerf" version="any"/>
                            <isAvailable>false</isAvailable>
                        </DayTypeAssignment>
                        <!-- More DayTypeAssignment elements -->
                    </dayTypeAssignments>
                </ServiceCalendarFrame>
            </frames>
        </CompositeFrame>
    </dataObjects>
</PublicationDelivery>

...