[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
# ticket_validator
Find ticket validators to validate public transport tickets
- This layer is shown at zoomlevel **18** and higher
## Table of contents
1. [Themes using this layer](#themes-using-this-layer)
2. [Presets](#presets)
3. [Basic tags for this layer](#basic-tags-for-this-layer)
4. [Supported attributes](#supported-attributes)
- [images](#images)
- [repeated](#repeated)
- [single_level](#single_level)
- [barrier](#barrier)
- [validator-operator](#validator-operator)
- [payment-options](#payment-options)
- [leftover-questions](#leftover-questions)
- [move-button](#move-button)
- [delete-button](#delete-button)
- [lod](#lod)
5. [Filters](#filters)
## Themes using this layer
- [stations](https://mapcomplete.org/stations)
## Presets
The following options to create new points are included:
- **a ticket validator** which has the following tags:amenity=ticket_validator
## Basic tags for this layer
Elements must match the expression **amenity=ticket_validator**
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22amenity%22%3D%22ticket_validator%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
## Supported attributes
**Warning:**,this quick overview is incomplete,
| attribute | type | values which are supported by this layer |
-----|-----|----- |
| [level](https://wiki.openstreetmap.org/wiki/Key:level) | [float](../SpecialInputElements.md#float) | [0](https://wiki.openstreetmap.org/wiki/Tag:level%3D0) [1](https://wiki.openstreetmap.org/wiki/Tag:level%3D1) [-1](https://wiki.openstreetmap.org/wiki/Tag:level%3D-1) |
| [barrier](https://wiki.openstreetmap.org/wiki/Key:barrier) | Multiple choice | [gate](https://wiki.openstreetmap.org/wiki/Tag:barrier%3Dgate) |
| [operator](https://wiki.openstreetmap.org/wiki/Key:operator) | [string](../SpecialInputElements.md#string) | [Nederlandse Spoorwegen](https://wiki.openstreetmap.org/wiki/Tag:operator%3DNederlandse Spoorwegen) |
### images
This block shows the known images which are linked with the `image`-keys, but also via `mapillary` and `wikidata` and shows the button to upload new images
_This tagrendering has no question and is thus read-only_
*{image_carousel()}{image_upload()}*
### repeated
_This tagrendering has no question and is thus read-only_
*Multiple, identical objects can be found on floors {repeat_on}.*
This tagrendering is only visible in the popup if the following condition is met: repeat_on~.+
This tagrendering has labels
`level`
### single_level
The question is `On what level is this feature located?`
*Located on the {level}th floor* is shown if `level` is set
- *Located underground* is shown if with location=underground. _This option cannot be chosen as answer_
- *Located on the ground floor* is shown if with level=0
- *Located on the ground floor* is shown if with level=. _This option cannot be chosen as answer_
- *Located on the first floor* is shown if with level=1
- *Located on the first basement level* is shown if with level=-1
This tagrendering has labels
`level`
### barrier
_This tagrendering has no question and is thus read-only_
*This ticket validator is part of a barrier of type {barrier}*
- *This ticket validator is part of a gate* is shown if with barrier=gate
This tagrendering is only visible in the popup if the following condition is met: barrier~.+
### validator-operator
The question is `Who is the operator of this ticket validator?`
*This ticket validator is operated by {operator}* is shown if `operator` is set
- *Dutch Railways (NS)* is shown if with operator=Nederlandse Spoorwegen
### payment-options
The question is `Which methods of payment are accepted here?`
- *Cash is accepted here* is shown if with payment:cash=yes. Unselecting this answer will add payment:cash=no
- *Payment cards are accepted here* is shown if with payment:cards=yes. Unselecting this answer will add payment:cards=no
- *Payment by QR-code is possible here* is shown if with payment:qr_code=yes. Unselecting this answer will add payment:qr_code=no
- *This ticket validator accepts OV-Chipkaart* is shown if with payment:OV-Chipkaart=yes. _This option cannot be chosen as answer_. Unselecting this answer will add payment:OV-Chipkaart=no
- *This ticket validator accepts OV-Chipkaart* is shown if with payment:ov-chipkaart=yes. Unselecting this answer will add payment:ov-chipkaart=no
### leftover-questions
_This tagrendering has no question and is thus read-only_
*{questions( ,)}*
### move-button
_This tagrendering has no question and is thus read-only_
*{move_button()}*
### delete-button
_This tagrendering has no question and is thus read-only_
*{delete_button()}*
### lod
_This tagrendering has no question and is thus read-only_
*{linked_data_from_website()}*
This tagrendering has labels
`added_by_default`
## Filters
| id | question | osmTags |
-----|-----|----- |
| accepts_cash.0 | Accepts cash | payment:cash=yes |
| id | question | osmTags |
-----|-----|----- |
| accepts_cards.0 | Accepts payment cards | payment:cards=yes |
This document is autogenerated from [assets/layers/ticket_validator/ticket_validator.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/ticket_validator/ticket_validator.json)