Files
iD/data/presets/fields/access.json
T
Martin Raifer 4261fefc6e Fix inline tag help for fields that handle multiple tags
Some preset fields like the access-restriction field manage
multiple tags at once (access=*, foot=*, bicycle=*, …). Then
iD wasn't able to show inline help when clicking the ⓘ button.

This introduces a new parameter for these kind of fields:
`referenceKey` determines the tag key which should be used to
search taginfo documentation for.

Fixes #2222.
2014-05-11 21:02:25 +02:00

42 lines
1.4 KiB
JSON

{
"keys": ["access", "foot", "motor_vehicle", "bicycle", "horse"],
"referenceKey": "access",
"type": "access",
"label": "Access",
"placeholder": "Unknown",
"strings": {
"types": {
"access": "General",
"foot": "Foot",
"motor_vehicle": "Motor Vehicles",
"bicycle": "Bicycles",
"horse": "Horses"
},
"options": {
"yes": {
"title": "Allowed",
"description": "Access permitted by law; a right of way"
},
"no": {
"title": "Prohibited",
"description": "Access not permitted to the general public"
},
"permissive": {
"title": "Permissive",
"description": "Access permitted until such time as the owner revokes the permission"
},
"private": {
"title": "Private",
"description": "Access permitted only with permission of the owner on an individual basis"
},
"designated": {
"title": "Designated",
"description": "Access permitted according to signs or specific local laws"
},
"destination": {
"title": "Destination",
"description": "Access permitted only to reach a destination"
}
}
}
}