Skip to content

Commit

Permalink
Add preset for emergency=fire_service_inlet and fields for fire_mains…
Browse files Browse the repository at this point in the history
… and fire_sprinkler (#806)
  • Loading branch information
tiptoptom authored Mar 14, 2023
1 parent 5a75ce9 commit 29130c5
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 0 deletions.
15 changes: 15 additions & 0 deletions data/fields/fire_mains.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"key": "fire_mains",
"type": "combo",
"label": "Network-Type",
"strings": {
"options": {
"dry": "Dedicated Network (Normally Dry)",
"wet": "Connected to Mains (Permanently Filled)",
"yes": "Unknown Type",
"no": "No"
}
},
"autoSuggestions": false,
"customValues": false
}
15 changes: 15 additions & 0 deletions data/fields/fire_service_inlet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"key": "fire_service_inlet",
"type": "combo",
"label": "Shape",
"strings": {
"options": {
"pillar": "Pillar/Aboveground",
"underground": "Underground",
"wall": "Wall",
"pipe": "Capped Pipe"
}
},
"autoSuggestions": false,
"customValues": false
}
16 changes: 16 additions & 0 deletions data/fields/fire_sprinkler.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"key": "fire_sprinkler",
"type": "combo",
"label": "Fire Sprinkler Inlet",
"strings": {
"options": {
"dry": "Dedicated Network (Normally Dry)",
"wet": "Connected to Mains (Permanently Filled)",
"pre-action": "Connected to Mains (Pre-Action System)",
"yes": "Unknown Type",
"no": "No"
}
},
"autoSuggestions": false,
"customValues": false
}
35 changes: 35 additions & 0 deletions data/presets/emergency/fire_service_inlet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"icon": "maki-water",
"fields": [
"fire_mains",
"fire_sprinkler",
"couplings"
],
"moreFields": [
"level",
"survey/date",
"fire_service_inlet",
"ref"
],
"geometry": [
"point",
"vertex"
],
"terms": [
"building hydrant inlet",
"charged riser",
"dry riser inlet",
"dry standpipe",
"fdc",
"fire service inlet",
"fire sprinkler inlet",
"riser inlet",
"standpipe",
"wet riser inlet",
"wet standpipe"
],
"tags": {
"emergency": "fire_service_inlet"
},
"name": "Fire Department Connection"
}

0 comments on commit 29130c5

Please sign in to comment.