Themes: add animal_shelter, created by the studio

This commit is contained in:
Pieter Vander Vennet 2023-10-13 18:46:42 +02:00
parent f77d99f8ed
commit c4d4a57a08
3 changed files with 112 additions and 2 deletions

View file

@ -0,0 +1,109 @@
{
"id": "animal_shelter",
"credits": "Pieter Vander Vennet",
"source": {
"osmTags": "amenity=animal_shelter"
},
"presets": [
{
"title": {
"en": "an animal shelter"
},
"tags": [
"amenity=animal_shelter"
]
}
],
"lineRendering": [
{
"width": "1",
"lineCap": "square",
"color": "#b5835a"
}
],
"pointRendering": [
{
"location": [
"centroid",
"point"
],
"marker": [
{
"icon": "circle",
"color": "#ffffff"
},
{
"icon": "https://upload.wikimedia.org/wikipedia/commons/7/7a/Animal_Shelter_%288670%29_-_The_Noun_Project.svg"
}
]
}
],
"title": {
"render": {
"en": "Animal shelter"
},
"mappings": [
{
"if": "name~*",
"then": {
"en": "{name}"
}
}
]
},
"tagRenderings": [
"images",
"reviews",
{
"id": "2",
"freeform": {
"invalidValues": {},
"key": "name"
},
"question": {
"en": "What is the name of this animal shelter?"
},
"render": {
"en": "This animal shelter is named <b>{name}</b>"
}
},
"website",
"phone",
"email",
{
"id": "6",
"question": {
"en": "What is the purpose of the animal shelter?"
},
"mappings": [
{
"then": {
"en": "Animals are kept here until adopted by a new owner"
},
"if": "purpose=adoption"
},
{
"then": {
"en": "Animals are taken care of for the rest of their lives"
},
"if": "purpose=sanctuary"
},
{
"then": {
"en": "Injured animals are rehabilitated here until they can be released in nature again "
},
"if": "purpose=release"
}
],
"multiAnswer": true
}
],
"deletion": true,
"allowMove": true,
"name": {
"en": "Animal shelters"
},
"description": {
"en": "An animal shelter is a facility where animals in trouble are brought and facility's staff (volunteers or not) feeds them and cares of them, rehabilitating and healing them if necessary. This definition includes kennels for abandoned dogs, catteries for abandoned cats, shelters for other abandoned pets and wildlife recovery centres. "
}
}

View file

@ -139,4 +139,4 @@
"width": "2"
}
]
}
}

View file

@ -139,7 +139,8 @@
"fixme=freeform shop key used, to be reviewed"
]
},
"condition": "craft="
"condition": "craft=",
"invalidValues": "shop=yes"
}
},
"opening_hours",