forked from MapComplete/MapComplete
Add more ticket validator questions
This commit is contained in:
parent
b12aa47bf3
commit
d2a54a5d39
2 changed files with 150 additions and 16 deletions
|
@ -18,6 +18,21 @@
|
|||
"tagRenderings": [
|
||||
"images",
|
||||
"level",
|
||||
{
|
||||
"id": "barrier",
|
||||
"condition": "barrier~*",
|
||||
"render": {
|
||||
"en": "This ticket validator is part of a barrier of type {barrier}"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "barrier=gate",
|
||||
"then": {
|
||||
"en": "This ticket validator is part of a gate"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "validator-operator",
|
||||
"question": {
|
||||
|
@ -45,6 +60,14 @@
|
|||
"en": "This ticket validator accepts OV-Chipkaart"
|
||||
},
|
||||
"hideInAnswer": "_country!=nl"
|
||||
},
|
||||
{
|
||||
"if": "payment:ov-chipkaart=yes",
|
||||
"ifnot": "payment:ov-chipkaart=no",
|
||||
"then": {
|
||||
"en": "This ticket validator accepts OV-Chipkaart"
|
||||
},
|
||||
"hideInAnswer": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue