mirror of
https://github.com/FoggedLens/id-tagging-schema.git
synced 2026-02-13 01:02:47 +00:00
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:
7
data/fields/capacity/caravans.json
Normal file
7
data/fields/capacity/caravans.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"key": "capacity:caravans",
|
||||
"type": "number",
|
||||
"minValue": 0,
|
||||
"label": "Capacity (Caravans)",
|
||||
"placeholder": "10, 20, 50..."
|
||||
}
|
||||
7
data/fields/capacity/persons.json
Normal file
7
data/fields/capacity/persons.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"key": "capacity:persons",
|
||||
"type": "number",
|
||||
"minValue": 0,
|
||||
"label": "Capacity (Persons)",
|
||||
"placeholder": "50, 100, 200..."
|
||||
}
|
||||
11
data/fields/capacity/tents.json
Normal file
11
data/fields/capacity/tents.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"key": "capacity:tents",
|
||||
"type": "number",
|
||||
"minValue": 0,
|
||||
"label": "Capacity (Tents)",
|
||||
"placeholder": "10, 20, 50...",
|
||||
"prerequisiteTag": {
|
||||
"key": "tents",
|
||||
"valueNot": "no"
|
||||
}
|
||||
}
|
||||
@@ -5,7 +5,9 @@
|
||||
"operator",
|
||||
"address",
|
||||
"access_simple",
|
||||
"capacity",
|
||||
"capacity/caravans",
|
||||
"capacity/persons",
|
||||
"capacity/tents",
|
||||
"fee",
|
||||
"payment_multi_fee",
|
||||
"charge_fee"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"fields": [
|
||||
"name",
|
||||
"address",
|
||||
"capacity",
|
||||
"capacity/caravans",
|
||||
"sanitary_dump_station",
|
||||
"power_supply",
|
||||
"internet_access",
|
||||
|
||||
Reference in New Issue
Block a user