Skip to content

Instantly share code, notes, and snippets.

@Guria
Created October 16, 2024 00:15
Show Gist options
  • Save Guria/c0864410ad0b773af2b3ba8e1cdd5459 to your computer and use it in GitHub Desktop.
Save Guria/c0864410ad0b773af2b3ba8e1cdd5459 to your computer and use it in GitHub Desktop.
{
"name": "Pharmacy Mapping Rules",
"presets": [
{
"name": "Pharmacy",
"geometry": ["point", "area"],
"primary": [
{
"key": "amenity",
"val": "pharmacy"
},
{
"key": "healthcare",
"val": "pharmacy"
}
],
"fields": [
{
"keyCondition": 1,
"key": "name",
"label": "Name",
"placeholder": "Pharmacy name",
"values": []
},
{
"keyCondition": 1,
"key": "opening_hours",
"label": "Opening Hours",
"placeholder": "Mo-Sa 09:00-19:00",
"values": [
{
"valCondition": 2,
"values": ["Mo-Sa 09:00-19:00"],
"suggestedValues": ["Mo-Sa 09:00-19:00", "Mo-Fr 09:00-19:00; Sa 09:00-17:00"]
}
]
},
{
"keyCondition": 2,
"key": "phone",
"label": "Phone Number",
"placeholder": "+1 234 567 8900",
"values": []
},
{
"keyCondition": 2,
"key": "website",
"label": "Website",
"placeholder": "https://www.example.com",
"values": []
}
]
}
],
"disabledFeatures": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment