{ "id": "ticket_validator", "name": { "en": "Ticket Validators", "de": "Fahrkartenentwerter" }, "description": { "en": "Find ticket validators to validate public transport tickets", "de": "Finden Sie Fahrkartenentwerter, um Tickets für den öffentlichen Nahverkehr zu entwerten" }, "source": { "osmTags": "amenity=ticket_validator" }, "minzoom": 19, "title": { "render": { "en": "Ticket Validator", "de": "Fahrkartenentwerter" } }, "tagRenderings": [ "images", "level", { "id": "barrier", "condition": "barrier~*", "render": { "en": "This ticket validator is part of a barrier of type {barrier}", "de": "Dieser Fahrkartenentwerter ist Teil einer Zugangsbarriere vom Typ {barrier}" }, "mappings": [ { "if": "barrier=gate", "then": { "en": "This ticket validator is part of a gate", "de": "Dieser Fahrscheinentwerter ist Teil einer Zugangsbarriere" } } ] }, { "id": "validator-operator", "question": { "en": "Who is the operator of this ticket validator?", "de": "Wer ist der Betreiber dieses Fahrkartenentwerters?" }, "render": { "en": "This ticket validator is operated by {operator}", "de": "Dieser Fahrkartenentwerter wird betrieben von {operator}" }, "freeform": { "key": "operator", "type": "string", "placeholder": { "en": "Name of the operator", "de": "Name des Betreibers", "nl": "Naam van de beheerder" } } }, { "builtin": "payment-options", "override": { "mappings+": [ { "if": "payment:OV-Chipkaart=yes", "ifnot": "payment:OV-Chipkaart=no", "then": { "en": "This ticket validator accepts OV-Chipkaart" }, "hideInAnswer": true }, { "if": "payment:ov-chipkaart=yes", "ifnot": "payment:ov-chipkaart=no", "then": { "en": "This ticket validator accepts OV-Chipkaart" }, "hideInAnswer": "_country!=nl" } ] } } ], "presets": [ { "tags": [ "amenity=ticket_validator" ], "title": { "en": "a ticket validator", "de": "einen Fahrkartenentwerter" }, "description": { "en": "A ticket validator to validate a public transport ticket. This can be either a digital reader, reading a card or ticket, or a machine stamping or punching a ticket." } } ], "mapRendering": [ { "icon": "square:green;./assets/themes/stations/public_transport_tickets.svg", "iconSize": "20,20,center", "location": [ "point", "centroid" ] } ] }