From 1622ff7f1d4f3b8c6d27a36ff4e35639a86f5b5c Mon Sep 17 00:00:00 2001 From: Tu-Tho Thai Date: Tue, 21 Apr 2026 22:59:49 +0200 Subject: [PATCH 1/2] Adding PublicationRef and ConsequenceCode Need: Data consumers want to track the ParametrisedAction of one or several Consequences Change: - Adding `PublicationRef` to identify a `ParametrisedAction` for easier updates on data consumers side - Adding `ConsequenceRef` in `ParametrisedAction` to strenghten the link between the Consequence of a Situation and its publication - Adding `ConsequenceCode` in `PtConsequence` as a unique identifier of the Consequence that can be referrenced elsewhere --- xsd/siri_model/siri_reference.xsd | 21 +++++++++++++++++++++ xsd/siri_model/siri_situation.xsd | 5 +++++ xsd/siri_model/siri_situationActions.xsd | 12 +++++++++++- 3 files changed, 37 insertions(+), 1 deletion(-) diff --git a/xsd/siri_model/siri_reference.xsd b/xsd/siri_model/siri_reference.xsd index 68d0cc43..a1cfe2a3 100644 --- a/xsd/siri_model/siri_reference.xsd +++ b/xsd/siri_model/siri_reference.xsd @@ -868,4 +868,25 @@ Values for these elements can be specified on an annual schedule and will be inh + + + + + Reference to a Consequence associated with the element. + + + + + Identifier of a PT CONSEQUENCE + + + + + + Type for reference to a PT CONSEQUENCE. + + + + + diff --git a/xsd/siri_model/siri_situation.xsd b/xsd/siri_model/siri_situation.xsd index dfeb9593..33c7e740 100644 --- a/xsd/siri_model/siri_situation.xsd +++ b/xsd/siri_model/siri_situation.xsd @@ -1236,6 +1236,11 @@ Note that if the ControlAction is the master ControlAction of a GroupOfControlAc Type for disruption. + + + Unique identifier of the Consequence, facilitating its link with the ParametrisedActionStructure. + + Period of effect of disruption, if different from that of SITUATION. diff --git a/xsd/siri_model/siri_situationActions.xsd b/xsd/siri_model/siri_situationActions.xsd index 3e4b44f6..507f402d 100644 --- a/xsd/siri_model/siri_situationActions.xsd +++ b/xsd/siri_model/siri_situationActions.xsd @@ -154,12 +154,22 @@ Rail transport, Roads and road transport Data associated with action. + + + Unique identifier of the Published Actionn, intended to faciliate its tracking by data consumers. + + Defines a number of publication windows. When not sent, then the publication windows of higher level are valid. Can be overwritten by deeper level. - + + + Refers to the unique identifier of one or several Consequences that trigerred this Action. + + + From 7fc8699edd2c52a3aa3f24e7efa2aef1f1fd5e41 Mon Sep 17 00:00:00 2001 From: Stefan de Konink Date: Wed, 22 Apr 2026 09:33:46 +0200 Subject: [PATCH 2/2] Apply suggestion from @skinkie --- xsd/siri_model/siri_situationActions.xsd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xsd/siri_model/siri_situationActions.xsd b/xsd/siri_model/siri_situationActions.xsd index 507f402d..04de4058 100644 --- a/xsd/siri_model/siri_situationActions.xsd +++ b/xsd/siri_model/siri_situationActions.xsd @@ -156,7 +156,7 @@ Rail transport, Roads and road transport - Unique identifier of the Published Actionn, intended to faciliate its tracking by data consumers. + Unique identifier of the Published Action, intended to faciliate its tracking by data consumers.