From a8365267a543c44f0581046a031fd1514a223a56 Mon Sep 17 00:00:00 2001 From: Wieland <29458682+wielandb@users.noreply.github.com> Date: Wed, 28 Aug 2024 15:20:50 +0200 Subject: [PATCH] Add speech output question for departures board on platform --- assets/question_catalog/definition.json | 44 +++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/assets/question_catalog/definition.json b/assets/question_catalog/definition.json index 873045f4..968909c0 100644 --- a/assets/question_catalog/definition.json +++ b/assets/question_catalog/definition.json @@ -701,6 +701,50 @@ "passenger_information_display": "yes", "passenger_information_display:speech_output": false }, + "!osm_tags": { + "departures_board": "realtime" + }, + "!parent": [ + { + "osm_tags": { + "public_transport": "platform" + } + } + ] + } + ] + }, + { + "question": { + "name": "@passengerInformationDisplaySpeechOutputName", + "text": "@passengerInformationDisplaySpeechOutputText", + "description": "@passengerInformationDisplaySpeechOutputDescription", + "image": [ + "assets/question_catalog/images/passenger_information_display_speech_output.jpg" + ] + }, + "answer": { + "type": "Bool", + "input": [ + { + "osm_tags": { + "departures_board:speech_output": "yes" + } + }, + { + "osm_tags": { + "departures_board:speech_output": "no" + } + } + ] + }, + "conditions": [ + { + "osm_tags": { + "public_transport": "platform", + "departures_board": "realtime", + "departures_board:speech_output": false + }, "!parent": [ { "osm_tags": {