add fields for fire_hydrant

This commit is contained in:
mm
2018-11-03 21:50:00 +01:00
parent 63c2528b51
commit 4831d40345
5 changed files with 42 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
{
"key": "flow_rate",
"type": "number",
"label": "Nominal flow rate with unit of measure."
}

View File

@@ -0,0 +1,6 @@
{
"key": "survey:date",
"type": "text",
"universal": true,
"label": "Date of last site survey (YYYY-MM-DD)"
}

View File

@@ -0,0 +1,7 @@
{
"key": "water_source",
"default": "main",
"type": "combo",
"label": "Water source",
"options": [ "main", "groundwater", "stream", "river", "canal", "drain", "ditch", "pond", "lake", "water_tank", "swimming_pool" ]
}

View File

@@ -0,0 +1,5 @@
{
"key": "water_volume",
"type": "number",
"label": "Volume of the water reserve (only tanks and pools)."
}

View File

@@ -2,11 +2,28 @@
"icon": "temaki-fire_hydrant",
"fields": [
"fire_hydrant/type",
"fire_hydrant/diameter",
"fire_hydrant/pressure",
"fire_hydrant/diameter",
"water_source",
"survey/date",
"fire_hydrant/position",
"water_volume",
"flow_rate",
"fire_hydrant/awwa_class",
"pillar/type",
"couplings",
"couplings/type",
"couplings/diameters",
"colour",
"bonnet/colour",
"cap/colour",
"reflective/colour",
"manufacturer",
"model",
"fire_hydrant/count",
"fire_hydrant/style",
"ref",
"operator"
"name"
],
"geometry": [
"point",