Adapt capacity tags for camp sites etc. (#107)

* Add capacity:* tags for tourism=camp_site.

* Use capacity:caravans for tourism=caravan_site.

* Use distinct capacity tags for tourism=camp_site.

* upgrade capacity fields to regular fields


Co-authored-by: Martin Raifer <martin@raifer.tech>
This commit is contained in:
jonsger 2021-12-15 12:25:24 +01:00 committed by GitHub
parent 4e60539d32
commit 1ce208b988
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 29 additions and 2 deletions

View file

@ -0,0 +1,7 @@
{
"key": "capacity:caravans",
"type": "number",
"minValue": 0,
"label": "Capacity (Caravans)",
"placeholder": "10, 20, 50..."
}

View file

@ -0,0 +1,7 @@
{
"key": "capacity:persons",
"type": "number",
"minValue": 0,
"label": "Capacity (Persons)",
"placeholder": "50, 100, 200..."
}

View file

@ -0,0 +1,11 @@
{
"key": "capacity:tents",
"type": "number",
"minValue": 0,
"label": "Capacity (Tents)",
"placeholder": "10, 20, 50...",
"prerequisiteTag": {
"key": "tents",
"valueNot": "no"
}
}