Versions Compared

Key

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

...

Element

Required

Notes

FramedVehicleJourneyRef

Required

One or more.

Should DatedVehicleJourneyRef should match a ServiceJourney in the static NeTEx data. Example: SE:022:ServiceJourney:000500555003

VehicleJourneyRefs

Forbidden

Not supported. Messages containing one or more references will be rejected to prevent incorrect output.

DatedVehicleJourneyRefs

Forbidden

Not supported. Messages containing one or more references will be rejected to prevent incorrect output.

Route

Optional

Ignored by Samtrafiken - AffectedVehicleJourneys are applied to the entire vehicle journey

...

Code Block
breakoutModewide
languagexml
<situationExchangeDeliveryStructure xmlns:ns5="http://www.siri.org.uk/siri" xmlns:ns2="http://www.ifopt.org.uk/acsb" xmlns:ns4="http://datex2.eu/schema/2_0RC1/2_0" xmlns:ns3="http://www.ifopt.org.uk/ifopt">
    <ns5:ResponseTimestamp>2024-10-14T15:18:23.917+02:00</ns5:ResponseTimestamp>
    <ns5:SubscriberRef>Samtrafiken</ns5:SubscriberRef> <!-- as specified by Samtrafiken when the subscription is created, not required when publish/subscribe is not used for data transfer -->
    <ns5:SubscriptionRef>situation_exchange-1728919101</ns5:SubscriptionRef> <!-- as specified by Samtrafiken when the subscription is created, not required when publish/subscribe is not used for data transfer -->
    <ns5:Situations>
        <ns5:PtSituationElement>
            <ns5:CreationTime>2024-10-07T13:57:38.53+02:00</ns5:CreationTime>
            <ns5:ParticipantRef>OrganisationName</ns5:ParticipantRef>
            <ns5:SituationNumber>TX1234567</ns5:SituationNumber>
            <ns5:Source>
                <ns5:Other>RT1234567</ns5:Other>
                <ns5:Name>ORG\USER</ns5:Name>
                <ns5:ExternalCode>RT1234567-TX1234567</ns5:ExternalCode>
            </ns5:Source>
            <ns5:Progress>open</ns5:Progress>
            <ns5:ValidityPeriod>
                <ns5:StartTime>2024-10-07T13:57:00+02:00</ns5:StartTime>
            </ns5:ValidityPeriod>
            <ns5:Summary>Hållplats Västra Saltvik</ns5:Summary>
            <ns5:Description>Hållplats Västra Saltvik i Härnösand är färdigbyggd och trafikeras från och med 7 oktober av linje 501, 532 och 534. Med anledning av detta trafikeras hållplats Hamnleden fortsättningsvis endast i riktning från stan.</ns5:Description>
            <ns5:Affects>
                <ns5:Networks>
                    <ns5:AffectedNetwork>
                        <ns5:AffectedLine>
                            <ns5:LineRef>SE:022:Line:9011022050100000</ns5:LineRef>
                        </ns5:AffectedLine>
                    </ns5:AffectedNetwork>
                    <ns5:AffectedNetwork>
                        <ns5:AffectedLine>
                            <ns5:LineRef>SE:022:Line:9011022053200000</ns5:LineRef>
                            <ns5:Routes>
                                <ns5:AffectedRoute>
                                    <ns5:StopPoints>
                                        <ns5:AffectedOnly>true</ns5:AffectedOnly>
                                        <ns5:AffectedStopPoint>
                                            <ns5:StopPointRef>SE:022:Quay:9022022000898005</ns5:StopPointRef>
                                        </ns5:AffectedStopPoint>
                                        <ns5:AffectedStopPoint>
                                            <ns5:StopPointRef>SE:022:Quay:9022022001948002</ns5:StopPointRef>
                                        </ns5:AffectedStopPoint>
                                        <!-- more stoppoints -->
                                    </ns5:StopPoints>
                                </ns5:AffectedRoute>
                            </ns5:Routes>
                        </ns5:AffectedLine>
                    </ns5:AffectedNetwork>
                    <ns5:AffectedNetwork>
                        <ns5:AffectedLine>
                            <ns5:LineRef>SE:022:Line:9011022053400000</ns5:LineRef>
                            <ns5:Routes>
                                <ns5:AffectedRoute>
                                    <ns5:StopPoints>
                                        <ns5:AffectedOnly>true</ns5:AffectedOnly>
                                        <ns5:AffectedStopPoint>
                                            <ns5:StopPointRef>SE:022:Quay:9022022000898004</ns5:StopPointRef>
                                        </ns5:AffectedStopPoint>
                                        <ns5:AffectedStopPoint>
                                            <ns5:StopPointRef>SE:022:Quay:9022022001948002</ns5:StopPointRef>
                                        </ns5:AffectedStopPoint>
                                        <!-- more points -->
                                    </ns5:StopPoints>
                                </ns5:AffectedRoute>
                            </ns5:Routes>
                        </ns5:AffectedLine>
                    </ns5:AffectedNetwork>
                </ns5:Networks>
                <ns5:StopPoints>
                    <ns5:AffectedStopPoint>
                        <ns5:StopPointRef>SE:022:Quay:9022022080290001</ns5:StopPointRef>
                    </ns5:AffectedStopPoint>
                    <ns5:AffectedStopPoint>
                        <ns5:StopPointRef>SE:022:Quay:9022022080290002</ns5:StopPointRef>
                    </ns5:AffectedStopPoint>
                </ns5:StopPoints>
            </ns5:Affects>
        </ns5:PtSituationElement>
    </ns5:Situations>
</situationExchangeDeliveryStructure>

...

Code Block
breakoutModewide
languagexml
<situationExchangeDeliveryStructure xmlns:ns5="http://www.siri.org.uk/siri" xmlns:ns2="http://www.ifopt.org.uk/acsb" xmlns:ns4="http://datex2.eu/schema/2_0RC1/2_0" xmlns:ns3="http://www.ifopt.org.uk/ifopt">
    <ns5:ResponseTimestamp>2024-10-14T15:18:23.917+02:00</ns5:ResponseTimestamp>
    <ns5:SubscriberRef>Samtrafiken</ns5:SubscriberRef> <!-- as specified by Samtrafiken when the subscription is created, not required when publish/subscribe is not used for data transfer -->
    <ns5:SubscriptionRef>situation_exchange-1728919101</ns5:SubscriptionRef> <!-- as specified by Samtrafiken when the subscription is created, not required when publish/subscribe is not used for data transfer -->
    <ns5:Situations>
        <ns5:PtSituationElement>
            <ns5:CreationTime>2024-10-07T13:57:38.53+02:00</ns5:CreationTime>
            <ns5:ParticipantRef>OrganisationName</ns5:ParticipantRef>
            <ns5:SituationNumber>TX1234567</ns5:SituationNumber>
            <ns5:Source>
                <ns5:Other>RT1234567</ns5:Other>
                <ns5:Name>ORG\USER</ns5:Name>
                <ns5:ExternalCode>RT1234567-TX1234567</ns5:ExternalCode>
            </ns5:Source>
            <ns5:Progress>open</ns5:Progress>
            <ns5:ValidityPeriod>
                <ns5:StartTime>2024-10-07T13:57:00+02:00</ns5:StartTime>
            </ns5:ValidityPeriod>
            <ns5:Summary>Hållplats Västra Saltvik</ns5:Summary>
            <ns5:Description>Hållplats Västra Saltvik i Härnösand är färdigbyggd och trafikeras från och med 7 oktober av linje 501, 532 och 534. Med anledning av detta trafikeras hållplats Hamnleden fortsättningsvis endast i riktning från stan.</ns5:Description>
            <ns5:Affects>
                <ns5:VehicleJourneys>
                    <ns5:AffectedVehicleJourney>
                        <ns5:FramedVehicleJourneyRef>
                            <ns5:DataFrameRef>2024-10-02</ns5:DataFrameRef>
                            <ns5:DatedVehicleJourneyRef>000500555003<:DatedVehicleJourneyRef>SE:022:ServiceJourney:000500555003</ns5:DatedVehicleJourneyRef>
                        </ns5:FramedVehicleJourneyRef>
                        <ns5:Route> <!-- currently ignored by Samtrafiken -->
                            <ns5:StopPoints>
                                <ns5:AffectedStopPoint>
                                    <ns5:StopPointRef>SE:022:Quay:9022022000001001</ns5:StopPointRef>
                                </ns5:AffectedStopPoint>
                            </ns5:StopPoints>
                        </ns5:Route>
                    </ns5:AffectedVehicleJourney>
                </ns5:VehicleJourneys>
            </ns5:Affects>
        </ns5:PtSituationElement>
    </ns5:Situations>
</situationExchangeDeliveryStructure>