mapcomplete/assets/layers/elongated_coin/elongated_coin.json

405 lines
13 KiB
JSON

{
"id": "elongated_coin",
"name": {
"en": "Penny Presses",
"de": "Münzprägeautomaten",
"es": "Prensas de centavo",
"ca": "Premses de cèntims"
},
"description": {
"en": "Layer showing penny presses.",
"de": "Ebene mit Münzprägeautomaten.",
"es": "Capa que muestra prensas de centavos.",
"ca": "Capa que mostra premses de cèntims."
},
"source": {
"osmTags": {
"and": [
"amenity=vending_machine",
"vending=elongated_coin"
]
}
},
"title": {
"render": {
"en": "Penny Press",
"de": "Prägeautomat",
"es": "Prensa de centavo",
"ca": "Premsa de cèntims"
}
},
"tagRenderings": [
"images",
"opening_hours_24_7",
{
"id": "designs",
"question": {
"en": "How many designs are available?",
"de": "Wieviele Motive sind verfügbar?",
"es": "Cuántos diseños hay disponibles?",
"ca": "Quants dissenys hi han disponibles?"
},
"freeform": {
"key": "coin: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)"
}
},
"render": {
"en": "This penny press has {coin:design_count} designs available.",
"de": "Der Prägeautomat hat {coin:design_count} Motive zur Auswahl.",
"es": "Esta prensa tiene {coin:design_count} diseños disponibles.",
"ca": "Esta premsa té {coin:design_count} dissenys disponibles."
},
"mappings": [
{
"if": "coin:design_count=1",
"then": {
"en": "This penny press has one design available.",
"de": "Der Prägeautomat hat ein Motiv zur Auswahl.",
"es": "Esta prensa tiene un diseño disponible.",
"ca": "Esta premsa té un disseny disponible."
}
},
{
"if": "coin:design_count=2",
"then": {
"en": "This penny press has two designs available.",
"de": "Der Prägeautomat hat zwei Motive zur Auswahl.",
"es": "Esta prensa tiene dos diseños disponibles.",
"ca": "Esta premsa té dos dissenys disponibles."
}
},
{
"if": "coin:design_count=3",
"then": {
"en": "This penny press has three designs available.",
"de": "Der Prägeautomat hat drei Motive zur Auswahl.",
"es": "Esta prensa tiene tres diseños disponibles.",
"ca": "Esta premsa té tres dissenys disponibles."
}
},
{
"if": "coin:design_count=4",
"then": {
"en": "This penny press has four designs available.",
"de": "Der Prägeautomat hat vier Motive zur Auswahl.",
"es": "Esta prensa tiene cuatro diseños disponibles.",
"ca": "Esta premsa té quatre dissenys disponibles."
}
}
]
},
{
"id": "fee",
"question": {
"en": "Does it cost money to press a penny?",
"ca": "Costa diners premsar una moneda?",
"de": "Ist das Prägen kostenpflichtig?"
},
"mappings": [
{
"if": "fee=",
"then": {
"en": "It costs money to press a penny.",
"ca": "Costa diners premsar una moneda.",
"de": "Das Prägen ist kostenpflichtig."
}
},
{
"if": "fee=yes",
"then": {
"en": "It costs money to press a penny.",
"ca": "Costa diners premsar una moneda.",
"de": "Das Prägen ist kostenpflichtig."
}
},
{
"if": "fee=no",
"then": {
"en": "It is free to press a penny.",
"ca": "És gratuït premsar una moneda.",
"de": "Das Prägen ist kostenlos."
},
"addExtraTags": [
"payment:qr_code=",
"payment:coins=",
"payment:notes=",
"payment:debit_cards=",
"payment:credit_cards="
]
}
]
},
{
"builtin": "payment-options-split",
"override": {
"condition": {
"or": [
"fee=yes",
"fee="
]
}
}
},
{
"id": "coin",
"question": {
"en": "What coin is used for pressing?",
"de": "Welche Münzen können geprägt werden?",
"es": "Qué moneda se utiliza para prensar?",
"ca": "Quina moneda s'utilitza per a premsar?"
},
"freeform": {
"key": "coin:type",
"type": "string",
"placeholder": {
"en": "Coin type (e.g. 10cent)",
"de": "Münzenart (z.B. 10 Cent)",
"es": "Tipo de moneda (por ejemplo, 10 centavos)",
"pl": "Rodzaj monety (np. 10 centów)",
"ca": "Tipus de moneda (p. e. 10 cèntims)"
}
},
"mappings": [
{
"if": "coin:type=2cent",
"then": {
"en": "This penny press uses a 2 cent coin for pressing.",
"de": "Der Automat prägt 2 Cent Münzen.",
"es": "Esta prensa de centavo utiliza una moneda de 2 centavos para prensar.",
"ca": "Esta premsa de cèntims utilitza una moneda de 2 cèntims per a premsar."
},
"hideInAnswer": {
"and": [
"_currency!~.*EUR.*",
"_currency!~.*USD.*"
]
}
},
{
"if": "coin:type=5cent",
"then": {
"en": "This penny press uses a 5 cent coin for pressing.",
"de": "Der Automat prägt 5 Cent Münzen.",
"es": "Esta prensa de centavo utiliza una moneda de 5 centavos para prensar.",
"ca": "Esta premsa de cèntims utilitza una moneda de 5 cèntims per a premsar."
},
"hideInAnswer": {
"and": [
"_currency!~.*EUR.*",
"_currency!~.*USD.*"
]
}
},
{
"if": "coin:type=10cent",
"then": {
"en": "This penny press uses a 10 cent coin for pressing.",
"de": "Der Automat prägt 10 Cent Münzen.",
"es": "Esta prensa de centavo utiliza una moneda de 10 centavos para prensar.",
"ca": "Esta premsa de cèntims utilitza una moneda de 10 cèntims per a premsar."
},
"hideInAnswer": {
"and": [
"_currency!~.*EUR.*",
"_currency!~.*USD.*"
]
}
},
{
"if": "coin:type=25cent",
"then": {
"en": "This penny press uses a 25 cent coin for pressing.",
"de": "Der Automat prägt 25 Cent Münzen.",
"es": "Esta prensa de centavo utiliza una moneda de 25 centavos para prensar.",
"ca": "Esta premsa de cèntims utilitza una moneda de 25 cèntims per a premsar."
},
"hideInAnswer": "_currency!~.*USD.*"
},
{
"if": "coin:type=50cent",
"then": {
"en": "This penny press uses a 50 cent coin for pressing.",
"de": "Der Automat prägt 50 Cent Münzen.",
"es": "Esta prensa de centavo utiliza una moneda de 50 centavos para prensar.",
"ca": "Esta premsa de cèntims utilitza una moneda de 50 cèntims per a premsar."
},
"hideInAnswer": "_currency!~.*USD.*"
},
{
"if": "coin:type=10centimes",
"then": {
"en": "This penny press uses a 10 centimes coin for pressing.",
"ca": "Esta premsa de cèntims utilitza una moneda de 10 cèntims per a premsar.",
"de": "Der Automat prägt 10 Centime Münzen."
},
"hideInAnswer": "_currency!~.*CHF.*"
},
{
"if": "coin:type=20centimes",
"then": {
"en": "This penny press uses a 20 centimes coin for pressing.",
"ca": "Esta premsa de cèntims utilitza una moneda de 20 cèntims per a premsar.",
"de": "Der Automat prägt 5 Centime Münzen."
},
"hideInAnswer": "_currency!~.*CHF.*"
}
],
"render": {
"en": "This penny press uses a {coin:type} coin for pressing.",
"de": "Der Automat prägt {coin:type} Cent Münzen.",
"es": "Esta prensa de centavo utiliza una moneda {coin:type} para prensar.",
"ca": "Esta premsa de cèntims utilitza una moneda de {coin:type} per a premsar."
}
},
"website",
{
"id": "charge",
"condition": {
"or": [
"fee=yes",
"fee="
]
},
"question": {
"en": "How much does it cost to press a penny?",
"de": "Wieviel kostet die Prägung einer Münze?",
"es": "¿Cuánto cuesta prensar un centavo?",
"ca": "Quant costa premsar un cèntim?"
},
"freeform": {
"key": "charge",
"placeholder": {
"en": "Cost (e.g. 0.50 EUR)",
"de": "Gebühr (z.B. 0,50 €)",
"fr": "Coût (par ex. 0.50 EUR)",
"es": "Costo (por ejemplo, 0.50 euros)",
"ca": "Cost (p. e, 0.50 euros)"
}
},
"mappings": [
{
"if": "charge=1 EUR",
"then": {
"en": "It costs 1 euro to press a penny.",
"de": "Die Prägung einer Münze kostet 1,00 €.",
"es": "Cuesta 1 euro prensar un centavo.",
"ca": "Costa 1 euro premsar un cèntim."
},
"hideInAnswer": "_currency!~.*EUR.*"
},
{
"if": "charge=2 EUR",
"then": {
"en": "It costs 2 euros to press a penny.",
"de": "Die Prägung einer Münze kostet 2,00 €.",
"es": "Cuesta 2 euros prensa un centavo.",
"ca": "Costa 2 euros premsar un cèntim."
},
"hideInAnswer": "_currency!~.*EUR.*"
},
{
"if": "charge=2 CHF",
"then": {
"en": "It costs 2 Swiss francs to press a penny.",
"ca": "Costa 2 francs suïssos premsar un cèntim.",
"de": "Die Prägung einer Münze kostet 2 Schweizer Franken."
},
"hideInAnswer": "_currency!~.*CHF.*"
},
{
"if": "charge=1 CHF",
"then": {
"en": "It costs 1 Swiss franc to press a penny.",
"ca": "Costa 1 franc suís premsar un cèntim.",
"de": "Die Prägung einer Münze kostet 1 Schweizer Franken."
},
"hideInAnswer": "_currency!~.*CHF.*"
}
],
"render": {
"en": "It costs {charge} to press a penny.",
"de": "Die Prägung einer Münze kostet {charge}.",
"es": "Cuesta {charge} prensar un centavo.",
"ca": "Costa {charge} premsar un cèntim."
}
},
"denominations-coins",
{
"id": "indoor",
"question": {
"en": "Is the penny press indoors?",
"de": "Befindet sich der Prägeautomat im Inneren?",
"es": "La prensa de centavo esta al interior?",
"ca": "La premsa de cèntims està a l'interior?"
},
"mappings": [
{
"if": "indoor=yes",
"then": {
"en": "This penny press is located indoors.",
"de": "Der Prägeautomat befindet sich im Inneren.",
"es": "Esta prensa está ubicada en interior.",
"ca": "Esta premsa està ubicada en interior."
}
},
{
"if": "indoor=no",
"then": {
"en": "This penny press is located outdoors.",
"de": "Der Prägeautomat befindet sich im Freien.",
"es": "Esta prensa está ubicada al aire libre.",
"ca": "Esta premsa està ubicada a l'exterior."
}
}
]
},
"level",
"check_date"
],
"mapRendering": [
{
"icon": "circle:#FFFFFF00;./assets/themes/elongated_coin/penny.svg",
"location": [
"point",
"centroid"
],
"iconBadges": [
{
"if": "opening_hours~*",
"then": "icons.isOpen"
}
]
}
],
"presets": [
{
"title": {
"en": "a penny press",
"de": "Einen Münzprägeautomaten",
"es": "una prensa de centavo",
"ca": "una premsa de cèntim"
},
"tags": [
"amenity=vending_machine",
"vending=elongated_coin",
"payment:coins=yes"
]
}
],
"allowMove": {
"enableImproveAccuracy": true,
"enableRelocation": true
},
"deletion": true,
"filter": [
"open_now",
"accepts_debit_cards",
"accepts_credit_cards"
]
}