Adding PublishToAudioAction to SIRI-SX#210
Conversation
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
possibility to give more details on the language in which the message has been recorded
haeckerbaer
left a comment
There was a problem hiding this comment.
nothing to add if skinkie's comment is taken care of
Co-authored-by: Stefan de Konink <stefan@konink.de>
|
I have applied @skinkie suggestion. For the type of the attribute, let's go with str for now and see if it needs to be updated once used. |
- Fixing the position of the URL attributes in the XSD - Adding an example
|
Example created, which led to the edit of the XSD to move the 2 attributes of the |
- 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
|
@skinkie, it ended up a tad more complicated than my original proposal to ensure both the XSD and the example validate. Kindly help with another review. |
Based on @skinkie review
Changed the attribute lang to xml:lang for consistency Changed the example to reflect this
- In the example file, removal of the attribute `overridden` - In the XSD, removal of a typo
| <ActionData> | ||
| <Type>RecordedMessage</Type> | ||
| </ActionData> | ||
| <Url type="audio/mpeg" xml:lang="fr">http://mediabank.aom.fr/audio/unattended_bag_fr.mp3</Url> | ||
| <Url type="audio/mpeg" xml:lang="en">http://mediabank.aom.fr/audio/unattended_bag_en.mp3</Url> | ||
| </PublishToAudioAction> |
There was a problem hiding this comment.
My proposal would still be to have the Url inside the ActionData. So it would look like analogue to the Prompts.
There was a problem hiding this comment.
But, then it means we add it to all the Actions in ActionsGroup that are based on ParametrisedActionStructure. I am not against it, but wouldn't it be redundant for PublishToWebAction or PublishToMobileAction?
There was a problem hiding this comment.
Actually it would support publishing other media like images too. Hence I thought that was your goal for the République française!
|
During the SIRI-SX meeting of 19 may 2026, the assessment was that the PR is not yet ready for review. Discussed changes / paints points are to be addressed. |
Refers to the discussion on BaseCamp for adding pre-recorded audio messages when a situation occurs.
Change done only in
siri_situationActions.xsdwith:PublishToAudioActioninActionsGroupPublishToAudioActionStructurebased onParametrisedActionStructurewith the extension of URL for the pre-recorded messageTo be discussed in the SIRI-SX task force