[//]: # (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)
5. [Featureview elements and TagRenderings](#featureview-elements-and-tagrenderings)
  - [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)
6. [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:<a href='https://wiki.openstreetmap.org/wiki/Key:amenity' target='_blank'>amenity</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dticket_validator' target='_blank'>ticket_validator</a>

## Basic tags for this layer

Elements must match the expression **<a href='https://wiki.openstreetmap.org/wiki/Key:amenity' target='_blank'>amenity</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dticket_validator' target='_blank'>ticket_validator</a>**

[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 |
-----|-----|----- |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/level#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/level/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [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) |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/barrier#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/barrier/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [barrier](https://wiki.openstreetmap.org/wiki/Key:barrier) | Multiple choice | [gate](https://wiki.openstreetmap.org/wiki/Tag:barrier%3Dgate) |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/operator#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/operator/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [operator](https://wiki.openstreetmap.org/wiki/Key:operator) | [string](../SpecialInputElements.md#string) | [Nederlandse Spoorwegen](https://wiki.openstreetmap.org/wiki/Tag:operator%3DNederlandse Spoorwegen) |

## Featureview elements and TagRenderings

| id | question | labels | freeform key |
-----|-----|-----|----- |
| [images](#images) <br/> _(Original in [questions](./BuiltinQuestions.md#images))_ | _{image_carousel()}{image_upload()}_ |  | _Multiple choice only_ |
| [repeated](#repeated) <br/> _(Original in [questions](./BuiltinQuestions.md#repeated))_ | _Multiple, identical objects can be found on floors {repeat_on}._ | level | _Multiple choice only_ |
| [single_level](#single_level) <br/> _(Original in [questions](./BuiltinQuestions.md#single_level))_ | On what level is this feature located?<br/>_Located on the {level}th floor_<br/>5 options | level | *[level](https://wiki.osm.org/wiki/Key:level)* ([float](../SpecialInputElements.md#float)) |
| [barrier](#barrier)  | _This ticket validator is part of a barrier of type {barrier}_<br/>1 options |  | _Multiple choice only_ |
| [validator-operator](#validator-operator)  | Who is the operator of this ticket validator?<br/>_This ticket validator is operated by {operator}_<br/>1 options |  | *[operator](https://wiki.osm.org/wiki/Key:operator)* ([string](../SpecialInputElements.md#string)) |
| [payment-options](#payment-options) <br/> _(Original in [questions](./BuiltinQuestions.md#payment-options))_ | Which methods of payment are accepted here?<br/>5 options |  | _Multiple choice only_ |
| [leftover-questions](#leftover-questions)  | _{questions( ,hidden)}_ | ignore-docs, added_by_default | _Multiple choice only_ |
| [move-button](#move-button)  | _{move_button()}_ |  | _Multiple choice only_ |
| [delete-button](#delete-button)  | _{delete_button()}_ |  | _Multiple choice only_ |
| [lod](#lod) <br/> _(Original in [questions](./BuiltinQuestions.md#lod))_ | _{linked_data_from_website()}_ | added_by_default | _Multiple choice only_ |

### 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 <a href='https://wiki.openstreetmap.org/wiki/Key:location' target='_blank'>location</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:location%3Dunderground' target='_blank'>underground</a>. _This option cannot be chosen as answer_
 -  *Located on the ground floor* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:level' target='_blank'>level</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:level%3D0' target='_blank'>0</a>
 -  *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 <a href='https://wiki.openstreetmap.org/wiki/Key:level' target='_blank'>level</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:level%3D1' target='_blank'>1</a>
 -  *Located on the first basement level* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:level' target='_blank'>level</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:level%3D-1' target='_blank'>-1</a>

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 <a href='https://wiki.openstreetmap.org/wiki/Key:barrier' target='_blank'>barrier</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:barrier%3Dgate' target='_blank'>gate</a>

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 <a href='https://wiki.openstreetmap.org/wiki/Key:operator' target='_blank'>operator</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:operator%3DNederlandse Spoorwegen' target='_blank'>Nederlandse Spoorwegen</a>

### payment-options

The question is `Which methods of payment are accepted here?`

 - <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/layers/questions/cash.svg'> *Cash is accepted here* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:payment:cash' target='_blank'>payment:cash</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:cash%3Dyes' target='_blank'>yes</a>. Unselecting this answer will add <a href='https://wiki.openstreetmap.org/wiki/Key:payment:cash' target='_blank'>payment:cash</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:cash%3Dno' target='_blank'>no</a>
 - <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/layers/questions/payment_card.svg'> *Payment cards are accepted here* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:payment:cards' target='_blank'>payment:cards</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:cards%3Dyes' target='_blank'>yes</a>. Unselecting this answer will add <a href='https://wiki.openstreetmap.org/wiki/Key:payment:cards' target='_blank'>payment:cards</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:cards%3Dno' target='_blank'>no</a>
 - <img width='38px' height='38px' src='https://dev.mapcomplete.org/./assets/layers/questions/qrcode.svg'> *Payment by QR-code is possible here* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:payment:qr_code' target='_blank'>payment:qr_code</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:qr_code%3Dyes' target='_blank'>yes</a>. Unselecting this answer will add <a href='https://wiki.openstreetmap.org/wiki/Key:payment:qr_code' target='_blank'>payment:qr_code</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:qr_code%3Dno' target='_blank'>no</a>
 -  *This ticket validator accepts OV-Chipkaart* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:payment:OV-Chipkaart' target='_blank'>payment:OV-Chipkaart</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:OV-Chipkaart%3Dyes' target='_blank'>yes</a>. _This option cannot be chosen as answer_. Unselecting this answer will add <a href='https://wiki.openstreetmap.org/wiki/Key:payment:OV-Chipkaart' target='_blank'>payment:OV-Chipkaart</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:OV-Chipkaart%3Dno' target='_blank'>no</a>
 -  *This ticket validator accepts OV-Chipkaart* is shown if with <a href='https://wiki.openstreetmap.org/wiki/Key:payment:ov-chipkaart' target='_blank'>payment:ov-chipkaart</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:ov-chipkaart%3Dyes' target='_blank'>yes</a>. Unselecting this answer will add <a href='https://wiki.openstreetmap.org/wiki/Key:payment:ov-chipkaart' target='_blank'>payment:ov-chipkaart</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:payment:ov-chipkaart%3Dno' target='_blank'>no</a>

### leftover-questions

_This tagrendering has no question and is thus read-only_

*{questions( ,hidden)}*

This tagrendering has labels 
`ignore-docs`
`added_by_default`

### 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://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/layers/ticket_validator/ticket_validator.json)
