Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
407f5f8
Enhancing ActionData
TuThoThai May 18, 2026
1eeadf6
Re-work extension of ActionData
TuThoThai Jul 15, 2026
aeea607
Merge branch 'v2.3-wip' into sx_cr_actiondata_enhancement
TuThoThai Jul 15, 2026
3ce1abd
Delete examples/siri_exm_SX/exm_situationExchange_responsewithprompta…
TuThoThai Jul 15, 2026
0cac8d4
adding PublishToAudioAction
TuThoThai Apr 22, 2026
7ffbe5c
adding language attribute to the URL
TuThoThai Apr 22, 2026
ba913b2
Apply suggestion from @skinkie
TuThoThai May 13, 2026
079edae
Add example, fix attributes
TuThoThai May 17, 2026
631f304
addition of AudioURI type
TuThoThai May 17, 2026
63e0987
edit example
TuThoThai May 18, 2026
0ae1dba
change attribute of Url
TuThoThai May 18, 2026
cd68d85
edits based on review
TuThoThai May 18, 2026
b26631e
Add PublishToAudioAction
TuThoThai Jul 15, 2026
c8d9fe6
Lint and update documentation tables
github-actions[bot] Jul 16, 2026
3d3d27c
Merge branch 'v2.3-wip' into sx_cr_actiondata_enhancement
TuThoThai Jul 16, 2026
6cb297e
Merge branch 'v2.3-wip' into sx_cr_actiondata_enhancement
TuThoThai Sep 28, 2026
c3299f1
Lint and update documentation tables
github-actions[bot] Sep 28, 2026
e26938d
edits after peer review
TuThoThai Oct 1, 2026
501599d
Lint and update documentation tables
github-actions[bot] Oct 1, 2026
bd2d76c
Merge branch 'v2.3-wip' into sx_cr_audiomessage
TuThoThai Oct 1, 2026
195d1a7
Lint and update documentation tables
github-actions[bot] Oct 1, 2026
6da68c0
Merge branch 'sx_cr_actiondata_enhancement' into sx_cr_audiomessage
TuThoThai Oct 1, 2026
fad0847
Lint and update documentation tables
github-actions[bot] Oct 1, 2026
c24589a
edits based on peer review
TuThoThai Oct 1, 2026
124b325
Merge branch 'sx_cr_audiomessage' of https://github.com/TransmodelEco…
TuThoThai Oct 1, 2026
60d1e6c
Lint and update documentation tables
github-actions[bot] Oct 1, 2026
ba2ee09
Merge branch 'v2.3-wip' into sx_cr_audiomessage
TuThoThai Oct 2, 2026
ec9fa19
Lint and update documentation tables
github-actions[bot] Oct 2, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions docs/generated/contab/siri.html
Original file line number Diff line number Diff line change
Expand Up @@ -196660,6 +196660,52 @@ <h3>28.16. The complex type <code>siri:ActionDataStructure</code>
<p class="tableblock darkbrown">Direct link to the content to be published or broadcasted as is (e.g., pre-recorded message, image, video, etc.). There must be only one instanciation of a any given combination between contentType and lang (i.e., only one content for a plain text in English, one content for plain text in French, one for plain text in German, etc.)(+v2.3)</p>
</td>
</tr>
<tr>
<td colspan="1" rowspan="1" class="tableblock halign-left valign-top">
<a shape="rect" href="" title=""/>
</td>
<td colspan="2" rowspan="1" class="tableblock halign-left valign-top">
<p class="tableblock">
<code>siri:Repeat</code>
</p>
</td>
<td colspan="1" rowspan="1" class="tableblock halign-left valign-top">
<p class="tableblock">
<span title="optional, single">0:1</span>
</p>
</td>
<td colspan="1" rowspan="1" class="tableblock halign-left valign-top">
<p class="tableblock">
<em>xs:boolean</em>
</p>
</td>
<td colspan="1" rowspan="1" class="tableblock halign-left valign-top">
<p class="tableblock darkbrown">Indicates if the action data element should be repeated or not. Default is 'true'. +v2.3</p>
</td>
</tr>
<tr>
<td colspan="1" rowspan="1" class="tableblock halign-left valign-top">
<a shape="rect" href="" title=""/>
</td>
<td colspan="2" rowspan="1" class="tableblock halign-left valign-top">
<p class="tableblock">
<code>siri:RepeatInterval</code>
</p>
</td>
<td colspan="1" rowspan="1" class="tableblock halign-left valign-top">
<p class="tableblock">
<span title="optional, single">0:1</span>
</p>
</td>
<td colspan="1" rowspan="1" class="tableblock halign-left valign-top">
<p class="tableblock">
<em>xs:duration</em>
</p>
</td>
<td colspan="1" rowspan="1" class="tableblock halign-left valign-top">
<p class="tableblock darkbrown">Specifies the time interval at which the action data element should be repeated. +v2.3</p>
</td>
</tr>
<tr>
<td colspan="1" rowspan="1" class="tableblock halign-left valign-top">
<a shape="rect" href="" title=""/>
Expand Down
127 changes: 127 additions & 0 deletions examples/siri_exm_SX/exx_situationExchange_responsewithaudio.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- (C) Copyright 2005-2012 CEN SIRI -->
<Siri xmlns="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:d2="http://datex2.eu/schema/2_0RC1/2_0" version="2.3.0" xsi:schemaLocation="http://www.siri.org.uk/siri ../../xsd/siri.xsd">
<ServiceDelivery>
<!--=======HEADER================================================== -->
<ResponseTimestamp>2026-05-17T16:00:26+01:00</ResponseTimestamp>
<ProducerRef>GT7</ProducerRef>
<Status>true</Status>
<MoreData>false</MoreData>
<!--=======PAYLOAD============================================== -->
<SituationExchangeDelivery version="2.0">
<ResponseTimestamp>2026-05-17T16:00:26+01:00</ResponseTimestamp>
<Situations>
<PtSituationElement>
<CreationTime>2026-05-17T16:00:00.0Z</CreationTime>
<CountryRef>fr</CountryRef>
<ParticipantRef>GT7</ParticipantRef>
<SituationNumber>123456</SituationNumber>
<Version>0</Version>
<References>
<RelatedToRef>
<CreationTime>2026-05-17T16:00:00</CreationTime>
<CountryRef>fr</CountryRef>
<ParticipantRef>GT7</ParticipantRef>
<SituationNumber>123456</SituationNumber>
<Version>0</Version>
</RelatedToRef>
</References>
<Source>
<Country>fr</Country>
<SourceType>directReport</SourceType>
<AgentReference>987654</AgentReference>
<TimeOfCommunication>2026-05-17T15:55:00.0Z</TimeOfCommunication>
</Source>
<Verification>verified</Verification>
<Progress>open</Progress>
<QualityIndex>certain</QualityIndex>
<ValidityPeriod>
<StartTime>2026-05-17T16:00:00.0Z</StartTime>
<EndTime>2026-05-17T17:30:00.0Z</EndTime>
</ValidityPeriod>
<AlertCause>unattendedBag</AlertCause>
<Severity>slight</Severity>
<Priority>5</Priority>
<Audience>public</Audience>
<ReportType>point</ReportType>
<Summary xml:lang="fr">Bagage oublié à la station Rome</Summary>
<Description xml:lang="fr">Bagage oublié à la station Rome. Service temporairement interrompu.</Description>
<Affects>
<Operators>
<AllOperators/>
</Operators>
<StopPoints>
<AffectedStopPoint>
<StopPointRef>ROM123SSP</StopPointRef>
<StopPointName xml:lang="fr">Rome</StopPointName>
</AffectedStopPoint>
</StopPoints>
<StopPlaces>
<AffectedStopPlace>
<StopPlaceRef>ROM123SP</StopPlaceRef>
<StopPlaceName xml:lang="FR">Rome</StopPlaceName>
<StopPlaceType>metroStation</StopPlaceType>
</AffectedStopPlace>
</StopPlaces>
</Affects>
<Consequences>
<Consequence>
<Period>
<StartTime>2026-05-17T16:00:00.0Z</StartTime>
<EndTime>2026-05-17T17:30:00.0Z</EndTime>
</Period>
<Condition>disruption</Condition>
<Severity>slight</Severity>
<Blocking>
<JourneyPlanner>true</JourneyPlanner>
<RealTime>true</RealTime>
</Blocking>
<Boarding>
<ArrivalBoardingActivity>noAlighting</ArrivalBoardingActivity>
<DepartureBoardingActivity>noBoarding</DepartureBoardingActivity>
</Boarding>
</Consequence>
</Consequences>
<PublishingActions>
<PublishToWebAction>
<ActionData>
<Type>ShortText</Type>
<Prompt xml:lang="fr">Babage oublié à Rome. Service interrompu jusqu'à 17h30.</Prompt>
<Prompt xml:lang="en">Unattended bag at Rome station. Disruption of service until 17:30.</Prompt>
</ActionData>
<Incidents>true</Incidents>
<HomePage>true</HomePage>
<Ticker>false</Ticker>
</PublishToWebAction>
<PublishToMobileAction>
<ActionData>
<Type>ShortText</Type>
<Prompt xml:lang="fr">Babage oublié à Rome. Service interrompu jusqu'à 17h30.</Prompt>
<Prompt xml:lang="en">Unattended bag at Rome station. Disruption of service until 17:30.</Prompt>
</ActionData>
<Incidents>true</Incidents>
<HomePage>false</HomePage>
</PublishToMobileAction>
<PublishToDisplayAction>
<ActionData>
<Type>ShortText</Type>
<Prompt xml:lang="fr">Babage oublié à Rome. Service interrompu jusqu'à 17h30.</Prompt>
<Prompt xml:lang="en">Unattended bag at Rome station. Disruption of service until 17:30.</Prompt>
</ActionData>
<OnPlace>true</OnPlace>
</PublishToDisplayAction>
<PublishToDisplayAction>
<ActionData>
<Type>AudioMessage</Type>
<Url contentType="audio/mpeg" xml:lang="fr">http://mediabank.aom.fr/audio/unattended_bag_fr.mp3</Url>
<Url contentType="audio/mpeg" xml:lang="en">http://mediabank.aom.fr/audio/unattended_bag_en.mp3</Url>
<Repeat>true</Repeat>
<RepeatInterval>PT3M</RepeatInterval>
</ActionData>
</PublishToDisplayAction>
</PublishingActions>
</PtSituationElement>
</Situations>
</SituationExchangeDelivery>
</ServiceDelivery>
</Siri>
14 changes: 10 additions & 4 deletions xsd/siri_model/siri_situationActions.xsd
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://www.siri.org.uk/siri" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.siri.org.uk/siri" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1" id="siri_situationActions">
<!--
10.01.2018 D. Rubli, Siri_XML-2.0p synchronisation of recommendation with xsd:
- PublishToDisplayAction added to ActionsGroup
-->
<!--
19.12.2017 D. Rubli, Siri_XML-2.0p_a0.2:
- ActionsStructure: extended with PublishingAction
- PassengerInformationAction.ActionValidityPeriod: changed from HalfOpenTimestampOutputRangeStructure to structure with three different time range definitions, with StartTime and Duration
Expand Down Expand Up @@ -248,6 +244,16 @@ Rail transport, Roads and road transport
<xsd:documentation>Direct link to the content to be published or broadcasted as is (e.g., pre-recorded message, image, video, etc.). There must be only one instanciation of a any given combination between contentType and lang (i.e., only one content for a plain text in English, one content for plain text in French, one for plain text in German, etc.)(+v2.3)</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Repeat" type="xsd:boolean" default="true" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Indicates if the action data element should be repeated or not. Default is 'true'. +v2.3</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="RepeatInterval" type="xsd:duration" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies the time interval at which the action data element should be repeated. +v2.3</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="PublishAtScope" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Defines the information area where the action has to be published.</xsd:documentation>
Expand Down
Loading