From 82382ddea39e9d75987631677b40c28201ee01d7 Mon Sep 17 00:00:00 2001 From: Tu-Tho Thai Date: Wed, 22 Apr 2026 08:36:19 +0200 Subject: [PATCH 1/8] adding PublishToAudioAction Adding the possibility to publish a situation via a pre-recorded message - Same structure as the ParametrisedAction - Only extension: URL for the pre-recorded message --- xsd/siri_model/siri_situationActions.xsd | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/xsd/siri_model/siri_situationActions.xsd b/xsd/siri_model/siri_situationActions.xsd index 3e4b44f6..406ee530 100644 --- a/xsd/siri_model/siri_situationActions.xsd +++ b/xsd/siri_model/siri_situationActions.xsd @@ -252,6 +252,7 @@ Rail transport, Roads and road transport + @@ -399,6 +400,27 @@ Rail transport, Roads and road transport + + + Action: Publish SITUATION via Audio messages. + + + + + Type for Action Publish SITUATION via Audio messages. + + + + + + + Url for the pre-recorded message + + + + + + From 8a6cef702f6be65f6ae630e606800fb7dccae529 Mon Sep 17 00:00:00 2001 From: Tu-Tho Thai Date: Wed, 22 Apr 2026 11:18:56 +0200 Subject: [PATCH 2/8] adding language attribute to the URL possibility to give more details on the language in which the message has been recorded --- xsd/siri_model/siri_situationActions.xsd | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/xsd/siri_model/siri_situationActions.xsd b/xsd/siri_model/siri_situationActions.xsd index 406ee530..ffd358d3 100644 --- a/xsd/siri_model/siri_situationActions.xsd +++ b/xsd/siri_model/siri_situationActions.xsd @@ -414,7 +414,13 @@ Rail transport, Roads and road transport - Url for the pre-recorded message + Url for the pre-recorded message. If there is no language attribute specified, there is the assumption that the language is multilingual. Producers must change the URL whenever they want a different message to be broadcasted (i.e., situation has changed). + + + + + + From 725b5c86b0878222b04a2fcf7597dc32a75cee3e Mon Sep 17 00:00:00 2001 From: Tu-Tho Thai Date: Wed, 13 May 2026 09:17:17 +0200 Subject: [PATCH 3/8] Apply suggestion from @skinkie Co-authored-by: Stefan de Konink --- xsd/siri_model/siri_situationActions.xsd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xsd/siri_model/siri_situationActions.xsd b/xsd/siri_model/siri_situationActions.xsd index ffd358d3..4d67feba 100644 --- a/xsd/siri_model/siri_situationActions.xsd +++ b/xsd/siri_model/siri_situationActions.xsd @@ -416,7 +416,8 @@ Rail transport, Roads and road transport Url for the pre-recorded message. If there is no language attribute specified, there is the assumption that the language is multilingual. Producers must change the URL whenever they want a different message to be broadcasted (i.e., situation has changed). - + + From 476395ca5b29d3a06a73300edf94592912e7cfcb Mon Sep 17 00:00:00 2001 From: Tu-Tho Thai Date: Sun, 17 May 2026 17:18:45 +0200 Subject: [PATCH 4/8] Add example, fix attributes - Fixing the position of the URL attributes in the XSD - Adding an example --- ...xm_situationExchange_responsewithaudio.xml | 127 ++++++++++++++++++ xsd/siri_model/siri_situationActions.xsd | 17 ++- 2 files changed, 137 insertions(+), 7 deletions(-) create mode 100644 examples/siri_exm_SX/exm_situationExchange_responsewithaudio.xml diff --git a/examples/siri_exm_SX/exm_situationExchange_responsewithaudio.xml b/examples/siri_exm_SX/exm_situationExchange_responsewithaudio.xml new file mode 100644 index 00000000..beaaf540 --- /dev/null +++ b/examples/siri_exm_SX/exm_situationExchange_responsewithaudio.xml @@ -0,0 +1,127 @@ + + + + + + 2026-05-17T16:00:26+01:00 + GT7 + true + false + + + 2026-05-17T16:00:26+01:00 + + + 2026-05-17T16:00:00.0Z + fr + GT7 + 123456 + 0 + + + 2026-05-17T16:00:00 + fr + GT7 + 123456 + 0 + + + + fr + directReport + 987654 + 2026-05-17T15:55:00.0Z + + verified + open + certain + + 2026-05-17T16:00:00.0Z + 2026-05-17T17:30:00.0Z + + unattendedBag + slight + 5 + public + point + Bagage oublié à la station Rome + Bagage oublié à la station Rome. Service temporairement interrompu. + + + + + + + ROM123SSP + Rome + + + + + ROM123SP + Rome + underground + + + + + + + 2026-05-17T16:00:00.0Z + 2026-05-17T17:30:00.0Z + + disruption + slight + + true + true + + + noAlighting + noBoarding + + + + + + + ShortText + Babage oublié à Rome. Service interrompu jusqu'à 17h30. + Unattended bag at Rome station. Disruption of service until 17:30. + + true + true + false + + + + ShortText + Babage oublié à Rome. Service interrompu jusqu'à 17h30. + Unattended bag at Rome station. Disruption of service until 17:30. + + true + false + + + + ShortText + Babage oublié à Rome. Service interrompu jusqu'à 17h30. + Unattended bag at Rome station. Disruption of service until 17:30. + + true + + + + ShortText + Babage oublié à Rome. Service interrompu jusqu'à 17h30. + Unattended bag at Rome station. Disruption of service until 17:30. + + http://mediabank.aom.fr/audio/unattended_bag_fr.mp3 + http://mediabank.aom.fr/audio/unattended_bag_en.mp3 + + + + + + + \ No newline at end of file diff --git a/xsd/siri_model/siri_situationActions.xsd b/xsd/siri_model/siri_situationActions.xsd index 4d67feba..378908ee 100644 --- a/xsd/siri_model/siri_situationActions.xsd +++ b/xsd/siri_model/siri_situationActions.xsd @@ -416,15 +416,18 @@ Rail transport, Roads and road transport Url for the pre-recorded message. If there is no language attribute specified, there is the assumption that the language is multilingual. Producers must change the URL whenever they want a different message to be broadcasted (i.e., situation has changed). - - - - - - - + + + Identifies the type of file carrying the pre-recorded message. + + + + + If the pre-recorded message is in a specific language, please indicate which one using this attribute. + + From 40b52546b439a88b2adbb56ba4b5b1307f0d2b51 Mon Sep 17 00:00:00 2001 From: Tu-Tho Thai Date: Sun, 17 May 2026 18:11:12 +0200 Subject: [PATCH 5/8] addition of AudioURI type - Add AudioURI in siri_types.xsd to allow for additional attributes (type for MIME and lang) - Remove these attributes from siri_situationActions.xsd - Edit example to match the changes in the XSD --- ...xm_situationExchange_responsewithaudio.xml | 52 +++++++++---------- xsd/siri_model/siri_situationActions.xsd | 14 +---- xsd/siri_utility/siri_types.xsd | 19 +++++++ 3 files changed, 47 insertions(+), 38 deletions(-) diff --git a/examples/siri_exm_SX/exm_situationExchange_responsewithaudio.xml b/examples/siri_exm_SX/exm_situationExchange_responsewithaudio.xml index beaaf540..9a0c5c41 100644 --- a/examples/siri_exm_SX/exm_situationExchange_responsewithaudio.xml +++ b/examples/siri_exm_SX/exm_situationExchange_responsewithaudio.xml @@ -59,8 +59,8 @@ ROM123SP - Rome - underground + Rome + metroStation @@ -68,7 +68,7 @@ 2026-05-17T16:00:00.0Z - 2026-05-17T17:30:00.0Z + 2026-05-17T17:30:00.0Z disruption slight @@ -85,43 +85,43 @@ - ShortText - Babage oublié à Rome. Service interrompu jusqu'à 17h30. - Unattended bag at Rome station. Disruption of service until 17:30. - - true + ShortText + Babage oublié à Rome. Service interrompu jusqu'à 17h30. + Unattended bag at Rome station. Disruption of service until 17:30. + + true true false - ShortText - Babage oublié à Rome. Service interrompu jusqu'à 17h30. - Unattended bag at Rome station. Disruption of service until 17:30. - - true + ShortText + Babage oublié à Rome. Service interrompu jusqu'à 17h30. + Unattended bag at Rome station. Disruption of service until 17:30. + + true false - ShortText - Babage oublié à Rome. Service interrompu jusqu'à 17h30. - Unattended bag at Rome station. Disruption of service until 17:30. - - true + ShortText + Babage oublié à Rome. Service interrompu jusqu'à 17h30. + Unattended bag at Rome station. Disruption of service until 17:30. + + true - + - ShortText - Babage oublié à Rome. Service interrompu jusqu'à 17h30. - Unattended bag at Rome station. Disruption of service until 17:30. - - http://mediabank.aom.fr/audio/unattended_bag_fr.mp3 - http://mediabank.aom.fr/audio/unattended_bag_en.mp3 + ShortText + Babage oublié à Rome. Service interrompu jusqu'à 17h30. + Unattended bag at Rome station. Disruption of service until 17:30. + + http://mediabank.aom.fr/audio/unattended_bag_fr.mp3 + http://mediabank.aom.fr/audio/unattended_bag_EN.mp3 - \ No newline at end of file + diff --git a/xsd/siri_model/siri_situationActions.xsd b/xsd/siri_model/siri_situationActions.xsd index 378908ee..66b8a140 100644 --- a/xsd/siri_model/siri_situationActions.xsd +++ b/xsd/siri_model/siri_situationActions.xsd @@ -412,22 +412,12 @@ Rail transport, Roads and road transport - + Url for the pre-recorded message. If there is no language attribute specified, there is the assumption that the language is multilingual. Producers must change the URL whenever they want a different message to be broadcasted (i.e., situation has changed). - - - - Identifies the type of file carrying the pre-recorded message. - - - - - If the pre-recorded message is in a specific language, please indicate which one using this attribute. - - + diff --git a/xsd/siri_utility/siri_types.xsd b/xsd/siri_utility/siri_types.xsd index 4dfd2199..f508741c 100644 --- a/xsd/siri_utility/siri_types.xsd +++ b/xsd/siri_utility/siri_types.xsd @@ -166,4 +166,23 @@ The value range is normally 0-100, but could in some circumstances go beyond 100 + + + Allow the addition of attributes in an URL to add further details about the pre-recorded audio messages that the link points to. + + + + + + Specifies the MIME media type of the file carrying the pre-recorded message, optionally including a codecs parameter. + + + + + >If the pre-recorded message is in a single language, specifies which one. + + + + + From 068909dadf9016f75d00bc092d6e6d6f28585395 Mon Sep 17 00:00:00 2001 From: Tu-Tho Thai Date: Mon, 18 May 2026 08:30:37 +0200 Subject: [PATCH 6/8] edit example Based on @skinkie review --- ...xm_situationExchange_responsewithaudio.xml | 26 +++++++++---------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/examples/siri_exm_SX/exm_situationExchange_responsewithaudio.xml b/examples/siri_exm_SX/exm_situationExchange_responsewithaudio.xml index 9a0c5c41..2055cd3d 100644 --- a/examples/siri_exm_SX/exm_situationExchange_responsewithaudio.xml +++ b/examples/siri_exm_SX/exm_situationExchange_responsewithaudio.xml @@ -44,8 +44,8 @@ 5 public point - Bagage oublié à la station Rome - Bagage oublié à la station Rome. Service temporairement interrompu. + Bagage oublié à la station Rome + Bagage oublié à la station Rome. Service temporairement interrompu. @@ -53,7 +53,7 @@ ROM123SSP - Rome + Rome @@ -86,8 +86,8 @@ ShortText - Babage oublié à Rome. Service interrompu jusqu'à 17h30. - Unattended bag at Rome station. Disruption of service until 17:30. + Babage oublié à Rome. Service interrompu jusqu'à 17h30. + Unattended bag at Rome station. Disruption of service until 17:30. true true @@ -96,8 +96,8 @@ ShortText - Babage oublié à Rome. Service interrompu jusqu'à 17h30. - Unattended bag at Rome station. Disruption of service until 17:30. + Babage oublié à Rome. Service interrompu jusqu'à 17h30. + Unattended bag at Rome station. Disruption of service until 17:30. true false @@ -105,19 +105,17 @@ ShortText - Babage oublié à Rome. Service interrompu jusqu'à 17h30. - Unattended bag at Rome station. Disruption of service until 17:30. + Babage oublié à Rome. Service interrompu jusqu'à 17h30. + Unattended bag at Rome station. Disruption of service until 17:30. true - ShortText - Babage oublié à Rome. Service interrompu jusqu'à 17h30. - Unattended bag at Rome station. Disruption of service until 17:30. + RecordedMessage - http://mediabank.aom.fr/audio/unattended_bag_fr.mp3 - http://mediabank.aom.fr/audio/unattended_bag_EN.mp3 + http://mediabank.aom.fr/audio/unattended_bag_fr.mp3 + http://mediabank.aom.fr/audio/unattended_bag_en.mp3 From 52be72174571a8d1f2b7c4f7c5e208dfd2e43df5 Mon Sep 17 00:00:00 2001 From: Tu-Tho Thai Date: Mon, 18 May 2026 08:35:40 +0200 Subject: [PATCH 7/8] change attribute of Url Changed the attribute lang to xml:lang for consistency Changed the example to reflect this --- .../siri_exm_SX/exm_situationExchange_responsewithaudio.xml | 4 ++-- xsd/siri_utility/siri_types.xsd | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/siri_exm_SX/exm_situationExchange_responsewithaudio.xml b/examples/siri_exm_SX/exm_situationExchange_responsewithaudio.xml index 2055cd3d..2d6b2a46 100644 --- a/examples/siri_exm_SX/exm_situationExchange_responsewithaudio.xml +++ b/examples/siri_exm_SX/exm_situationExchange_responsewithaudio.xml @@ -114,8 +114,8 @@ RecordedMessage - http://mediabank.aom.fr/audio/unattended_bag_fr.mp3 - http://mediabank.aom.fr/audio/unattended_bag_en.mp3 + http://mediabank.aom.fr/audio/unattended_bag_fr.mp3 + http://mediabank.aom.fr/audio/unattended_bag_en.mp3 diff --git a/xsd/siri_utility/siri_types.xsd b/xsd/siri_utility/siri_types.xsd index f508741c..7d12cda1 100644 --- a/xsd/siri_utility/siri_types.xsd +++ b/xsd/siri_utility/siri_types.xsd @@ -177,7 +177,7 @@ The value range is normally 0-100, but could in some circumstances go beyond 100 Specifies the MIME media type of the file carrying the pre-recorded message, optionally including a codecs parameter. - + >If the pre-recorded message is in a single language, specifies which one. From 29a6f279c7c8ff5df026236799b653bbd20bfa69 Mon Sep 17 00:00:00 2001 From: Tu-Tho Thai Date: Mon, 18 May 2026 12:38:24 +0200 Subject: [PATCH 8/8] edits based on review - In the example file, removal of the attribute `overridden` - In the XSD, removal of a typo --- .../siri_exm_SX/exm_situationExchange_responsewithaudio.xml | 4 ++-- xsd/siri_utility/siri_types.xsd | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/siri_exm_SX/exm_situationExchange_responsewithaudio.xml b/examples/siri_exm_SX/exm_situationExchange_responsewithaudio.xml index 2d6b2a46..9d48bb41 100644 --- a/examples/siri_exm_SX/exm_situationExchange_responsewithaudio.xml +++ b/examples/siri_exm_SX/exm_situationExchange_responsewithaudio.xml @@ -44,8 +44,8 @@ 5 public point - Bagage oublié à la station Rome - Bagage oublié à la station Rome. Service temporairement interrompu. + Bagage oublié à la station Rome + Bagage oublié à la station Rome. Service temporairement interrompu. diff --git a/xsd/siri_utility/siri_types.xsd b/xsd/siri_utility/siri_types.xsd index 7d12cda1..9d2fcc5b 100644 --- a/xsd/siri_utility/siri_types.xsd +++ b/xsd/siri_utility/siri_types.xsd @@ -179,7 +179,7 @@ The value range is normally 0-100, but could in some circumstances go beyond 100 - >If the pre-recorded message is in a single language, specifies which one. + If the pre-recorded message is in a single language, specifies which one.