mirror of
https://github.com/openstreetmap/id-tagging-schema.git
synced 2025-10-26 12:23:52 +01: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:
parent
4e60539d32
commit
1ce208b988
5 changed files with 29 additions and 2 deletions
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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue