mapcomplete/assets/layers/souvenir_note/souvenir_note.json

197 lines
4.8 KiB
JSON

{
"id": "souvenir_note",
"name": {
"en": "Souvenir Banknote Machines",
"de": "Souvenir Banknotenmaschinen"
},
"description": {
"en": "Layer showing machines selling souvenir banknotes",
"de": "Ebene zeigt Maschinen, die Souvenir-Banknoten verkaufen"
},
"source": {
"osmTags": {
"and": [
"amenity=vending_machine",
"vending~.*souvenir_notes.*"
]
}
},
"title": {
"render": {
"en": "Souvenir Banknote Machine",
"de": "Souvenir-Banknotenautomat"
}
},
"pointRendering": [
{
"location": [
"point",
"centroid"
],
"iconBadges": [
{
"if": "opening_hours~*",
"then": "icons.isOpen"
}
],
"marker": [
{
"icon": "circle",
"color": "#FFFFFF00"
},
{
"icon": "./assets/layers/souvenir_note/souvenir_note.svg"
}
]
}
],
"lineRendering": [
{
"width": 1,
"color": "blue"
}
],
"presets": [
{
"title": {
"en": "a souvenir banknote machine",
"de": "eine Souvenir-Banknotenmaschine"
},
"description": {
"en": "Add a machine selling souvenir banknotes",
"de": "Hinzufügen eines Automaten, der Souvenir-Banknoten verkauft"
},
"tags": [
"amenity=vending_machine",
"vending=souvenir_notes"
]
}
],
"tagRenderings": [
"images",
"opening_hours_24_7",
{
"id": "designs",
"question": {
"en": "How many designs are available?",
"de": "Wie viele Designs sind verfügbar?"
},
"freeform": {
"key": "note:design_count",
"type": "pnat",
"placeholder": {
"en": "Number of designs (e.g. 5)",
"de": "Motivanzahl (z.B. 5)",
"es": "Número de diseños (por ejemplo, 5)",
"ca": "Nombre de dissenys (p. e. 5)",
"cs": "Počet vzorů (např. 5)"
}
},
"render": {
"en": "This machine has {note:design_count} designs available.",
"de": "Diese Maschine verfügt über {note:design_count} Designs."
},
"mappings": [
{
"if": "note:design_count=1",
"then": {
"en": "This machine has one design available.",
"de": "Diese Maschine hat ein Design zur Verfügung."
}
},
{
"if": "note:design_count=2",
"then": {
"en": "This machine has two designs available.",
"de": "Diese Maschine hat zwei Designs verfügbar."
}
},
{
"if": "note:design_count=3",
"then": {
"en": "This machine has three designs available.",
"de": "Diese Maschine hat drei Designs verfügbar."
}
},
{
"if": "note:design_count=4",
"then": {
"en": "This machine has four designs available.",
"de": "Diese Maschine hat vier Designs verfügbar."
}
}
]
},
"payment-options-split",
"website",
{
"question": {
"en": "How much does a souvenir note cost?",
"de": "Wie viel kostet eine Souvenirnote?"
},
"id": "charge",
"render": {
"en": "A souvenir note costs {charge}",
"de": "Eine Souvenirnote kostet {charge}"
},
"freeform": {
"key": "charge",
"placeholder": {
"en": "Cost (e.g. 2 EUR)",
"de": "Kosten (z.B. 2 EUR)"
}
},
"mappings": [
{
"if": "charge=2 EUR",
"then": {
"en": "A souvenir note costs 2 euro",
"de": "Eine Souvenirnote kostet 2 Euro"
},
"hideInAnswer": "_currency!~.*EUR.*"
},
{
"if": "charge=3 EUR",
"then": {
"en": "A souvenir note costs 3 euro",
"de": "Eine Souvenirnote kostet 3 Euro"
},
"hideInAnswer": "_currency!~.*EUR.*"
}
]
},
"denominations-coins",
{
"question": {
"en": "Is this machine located indoors?",
"de": "Ist diese Maschine im Innenbereich?"
},
"id": "indoor",
"mappings": [
{
"if": "indoor=yes",
"then": {
"en": "This machine is located indoors.",
"de": "Diese Maschine befindet sich im Innenbereich."
}
},
{
"if": "indoor=no",
"then": {
"en": "This machine is located outdoors.",
"de": "Diese Maschine befindet sich im Freien."
}
}
]
},
"level",
"check_date"
],
"filter": [
"open_now",
"accepts_debit_cards",
"accepts_credit_cards"
],
"deletion": true,
"allowMove": true
}