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"?>
<Siri xmlns="http://www.siri.org.uk/siri" xmlns:ns2="http://www.ifopt.org.uk/acsb" xmlns:ns3="http://www.ifopt.org.uk/ifopt" xmlns:ns4="http://datex2.eu/schema/2_0RC1/2_0">
    <ServiceDelivery> <!-- contains information about traffic situation messages in real-time format -->
        <ResponseTimestamp>2022-07-04T13:31:37.441471719+02:00</ResponseTimestamp>
        <ProducerRef>005</ProducerRef> 
        <SituationExchangeDelivery> <!-- A data type for the representation of one or more situations -->
            <ResponseTimestamp>2022-07-04T13:31:37.441471719+02:00</ResponseTimestamp> <!-- Timestamp for when the dataset was created/published -->
            <Situations> 
                <PtSituationElement> <!-- A container element for situation data -->
                    <CreationTime>2022-04-15T07:38:33.613+02:00</CreationTime> <!-- Noptis.DeviationMessageVersion.CreatedUtcDateTime -->
                    <ParticipantRef>005</ParticipantRef> <!-- Samtrafiken DataSource Id-->
                    <SituationNumber>SE:005:SituationNumber:53500000089059107</SituationNumber> <!-- Noptis.DeviationMessageVersion.Id -->
                    <Source> <!-- Noptis.directReport -->
                        <SourceType>directReport</SourceType>
                    </Source>
                    <VersionedAtTime>2022-04-15T07:38:33.613+02:00</VersionedAtTime> <!-- Noptis.DeviationMessageVersion.TimeStamp -->
                    <Progress>open</Progress> <!-- Noptis.Opened -->
                    <ValidityPeriod>
                        <StartTime>2022-04-16T10:00:00+02:00</StartTime> <!-- Noptis.DeviationMessageVersion.PublishFromDateTime -->
                        <EndTime>2022-09-23T18:00:00+02:00</EndTime> <!-- Noptis.DeviationMessageVersion.PublishUpToDateTime -->
                    </ValidityPeriod>
                    <UndefinedReason></UndefinedReason> <!-- Noptis.UndefinedReason -->
                    <Priority>9</Priority> <!-- Noptis.PriorityUrgencyLevel -->
                    <ReportType>incident</ReportType> <!-- Noptis.DeviationCase.DeviationReasonStandardCategoryCode. Possible values: "GENERAL" or "INCIDENT" -->
                    <Summary>Hållplats Bollhusgatan avstängd 20 april - 23 september</Summary> <!-- Noptis.MessageVariant.Content on Noptis.MessageVariant.UsageTypeShortName == Header. 
                    If there is no header: Noptis.DeviationMessageVersion.PublicNote -->
                    <Affects> <!-- Noptis.DeviationCaseScopeElement -->
                    	<Networks>
            				<AffectedNetwork>
                				<NetworkRef>RUT:Network:1</NetworkRef> <!-- Noptis.DeviationCaseScopeElement.JourneyScopeGid -->
            				</AffectedNetwork>
        				</Networks>
                    	  <VehicleJourneys> 
                            <AffectedVehicleJourney>
								<VehicleJourneyRef>SE:005:ServiceJourney:55700000065947236</VehicleJourneyRef> <!-- Noptis.DeviationCaseScopeElement.journeyScopeGid -->
								<Route> 
    								<StopPoints>
								        <AffectedStopPoint>
								            <StopPointRef>SE:005:Quay:9022005004171001</StopPointRef> <!-- Noptis.DeviationCaseScopeElement.StopScopeGid -->
								        </AffectedStopPoint>       
    								</StopPoints>
								</Route>
                            </AffectedVehicleJourney>
                        </VehicleJourneys>
                        <StopPlaces>
                            <AffectedStopPlace>
								<StopPlaceRef>SE:005:StopPlace:9021005002270000</StopPlaceRef> <!-- Noptis.DeviationCaseScopeElement.StopScopeGid -->
                            </AffectedStopPlace>
                            <AffectedStopPlace>
								<StopPlaceRef>SE:005:StopPlace:9021005002270000</StopPlaceRef>
                            </AffectedStopPlace> 
                        </StopPlaces>
                    </Affects>
                </PtSituationElement>
            </Situations>
        </SituationExchangeDelivery>
    </ServiceDelivery>
</Siri>

...