diff --git a/assets/layers/tourism_accomodation/tourism_accomodation.json b/assets/layers/tourism_accomodation/tourism_accomodation.json index 11171f23d6..81524d9fda 100644 --- a/assets/layers/tourism_accomodation/tourism_accomodation.json +++ b/assets/layers/tourism_accomodation/tourism_accomodation.json @@ -308,6 +308,42 @@ } }, "{preset_type_select()}", + { + "condition": { + "and": [ + "tourism=hostel" + ] + }, + "question": { + "de": "Ist diese Unterkunft ausschließlich für Gruppen?", + "en": "Is this hostel exclusively for groups?" + }, + "mappings": [ + { + "if": { + "and": [ + "group_only=yes" + ] + }, + "then": { + "en": "This hostel is exclusively for groups", + "de": "Diese Unterkunft ist ausschließlich für Gruppen" + } + }, + { + "if": { + "and": [ + "group_only=no" + ] + }, + "then": { + "en": "This hostel is not exclusively for groups", + "de": "Diese Unterkunft ist nicht ausschließlich für Gruppen" + } + } + ], + "id": "group_only" + }, "brand", "contact", "wheelchair-access",