Add more ticket validator questions

This commit is contained in:
Robin van der Linde 2022-11-12 00:08:39 +01:00
parent b12aa47bf3
commit d2a54a5d39
Signed by untrusted user: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
2 changed files with 150 additions and 16 deletions

View file

@ -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
}
]
}