mapcomplete/assets/layers/ticket_validator/ticket_validator.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

110 lines
2.9 KiB
JSON
Raw Normal View History

2022-11-11 23:40:16 +01:00
{
"id": "ticket_validator",
"name": {
2022-12-20 20:42:32 +01:00
"en": "Ticket Validators",
"de": "Fahrkartenentwerter"
2022-11-11 23:40:16 +01:00
},
"description": {
2022-12-20 20:42:32 +01:00
"en": "Find ticket validators to validate public transport tickets",
"de": "Finden Sie Fahrkartenentwerter, um Tickets für den öffentlichen Nahverkehr zu entwerten"
2022-11-11 23:40:16 +01:00
},
"source": {
"osmTags": "amenity=ticket_validator"
},
"minzoom": 19,
"title": {
"render": {
2022-12-20 20:42:32 +01:00
"en": "Ticket Validator",
"de": "Fahrkartenentwerter"
2022-11-11 23:40:16 +01:00
}
},
"tagRenderings": [
"images",
"level",
2022-11-12 00:08:39 +01:00
{
"id": "barrier",
"condition": "barrier~*",
"render": {
2022-12-20 20:42:32 +01:00
"en": "This ticket validator is part of a barrier of type {barrier}",
"de": "Dieser Fahrkartenentwerter ist Teil einer Zugangsbarriere vom Typ {barrier}"
2022-11-12 00:08:39 +01:00
},
"mappings": [
{
"if": "barrier=gate",
"then": {
2022-12-20 20:42:32 +01:00
"en": "This ticket validator is part of a gate",
"de": "Dieser Fahrscheinentwerter ist Teil einer Zugangsbarriere"
2022-11-12 00:08:39 +01:00
}
}
]
},
2022-11-11 23:40:16 +01:00
{
"id": "validator-operator",
"question": {
2022-12-20 20:42:32 +01:00
"en": "Who is the operator of this ticket validator?",
"de": "Wer ist der Betreiber dieses Fahrkartenentwerters?"
2022-11-11 23:40:16 +01:00
},
"render": {
2022-12-20 20:42:32 +01:00
"en": "This ticket validator is operated by {operator}",
"de": "Dieser Fahrkartenentwerter wird betrieben von {operator}"
2022-11-11 23:40:16 +01:00
},
"freeform": {
"key": "operator",
"type": "string",
"placeholder": {
2022-12-20 20:42:32 +01:00
"en": "Name of the operator",
"de": "Name des Betreibers",
"nl": "Naam van de beheerder"
2022-11-11 23:40:16 +01:00
}
}
},
{
"builtin": "payment-options",
"override": {
"mappings+": [
{
"if": "payment:OV-Chipkaart=yes",
"ifnot": "payment:OV-Chipkaart=no",
"then": {
"en": "This ticket validator accepts OV-Chipkaart"
},
2022-12-16 23:20:38 +01:00
"hideInAnswer": true
2022-11-12 00:08:39 +01:00
},
{
"if": "payment:ov-chipkaart=yes",
"ifnot": "payment:ov-chipkaart=no",
"then": {
"en": "This ticket validator accepts OV-Chipkaart"
},
2022-12-16 23:20:38 +01:00
"hideInAnswer": "_country!=nl"
2022-11-11 23:40:16 +01:00
}
]
}
}
],
"presets": [
{
"tags": [
"amenity=ticket_validator"
],
"title": {
2022-12-20 20:42:32 +01:00
"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."
2022-11-11 23:40:16 +01:00
}
}
],
"mapRendering": [
{
2022-11-12 00:02:38 +01:00
"icon": "square:green;./assets/themes/stations/public_transport_tickets.svg",
2022-11-11 23:40:16 +01:00
"iconSize": "20,20,center",
"location": [
"point",
"centroid"
]
}
]
2022-12-23 14:51:36 +01:00
}