{"l":{"items":[{"id":"SPK-HEAD-PAINT","category":"Sprinkler heads","title":"Replace painted sprinkler heads","match":[["paint","head|sprinkler"],["overspray"]],"pricing":"standard","unit":"head","setup_hours":0,"labor_hours_per_unit":0,"material_rules":[{"if":"upright","swap":{"HEAD-STD-PEND":"HEAD-STD-UP"}},{"if":"quick.?response|\\bqr\\b","swap":{"HEAD-STD-PEND":"HEAD-QR-PEND"}}],"sub_cost":0,"visit":{"needs_drain_down":true,"needs_lift":true,"is_min_service_item":false,"work_clock_hours":6,"crew":2,"hours_scale_with_qty":false,"why":"Note: drain down. 8 clock hours minus the shared 2-hour drain-down."},"materials":[{"material_id":"JOHN-SPK-HEAD-PAINT","qty_per_unit":1,"unit_cost_override":100.0}]},{"id":"SPK-HEAD-CORR","category":"Sprinkler heads","title":"Replace corroded sprinkler heads","match":[["corro|rust","head|sprinkler"]],"pricing":"standard","unit":"head","setup_hours":0,"labor_hours_per_unit":0,"material_rules":[{"if":"upright","swap":{"HEAD-STD-PEND":"HEAD-STD-UP"}},{"if":"quick.?response|\\bqr\\b","swap":{"HEAD-STD-PEND":"HEAD-QR-PEND"}}],"sub_cost":0,"visit":{"needs_drain_down":true,"needs_lift":true,"is_min_service_item":false,"work_clock_hours":6,"crew":2,"hours_scale_with_qty":false,"why":"Note: drain down. 8 clock hours minus the shared 2-hour drain-down."},"materials":[{"material_id":"JOHN-SPK-HEAD-CORR","qty_per_unit":1,"unit_cost_override":100.0}]},{"id":"SPK-HEAD-LOAD","category":"Sprinkler heads","title":"Replace loaded (dirty) sprinkler heads","match":[["\\bloaded|dust|lint|grease|debris buildup|dirty","head|sprinkler"]],"pricing":"standard","unit":"head","setup_hours":1.5,"labor_hours_per_unit":0.35,"material_rules":[{"if":"upright","swap":{"HEAD-STD-PEND":"HEAD-STD-UP"}},{"if":"quick.?response|\\bqr\\b","swap":{"HEAD-STD-PEND":"HEAD-QR-PEND"}}],"materials":[{"material_id":"HEAD-STD-PEND","qty_per_unit":1}]},{"id":"SPK-HEAD-DMG","category":"Sprinkler heads","title":"Replace damaged or leaking sprinkler heads","match":[["damag|bent|broken|leak|weep|cracked","head|sprinkler\\b"]],"pricing":"standard","unit":"head","setup_hours":1.5,"labor_hours_per_unit":0.4,"material_rules":[{"if":"upright","swap":{"HEAD-STD-PEND":"HEAD-STD-UP"}},{"if":"quick.?response|\\bqr\\b","swap":{"HEAD-STD-PEND":"HEAD-QR-PEND"}}],"materials":[{"material_id":"HEAD-STD-PEND","qty_per_unit":1},{"material_id":"ESC-CHROME","qty_per_unit":1}]},{"id":"SPK-HEAD-GUARD","category":"Sprinkler heads","title":"Install head guards","match":[["guard","head|sprinkler"]],"pricing":"standard","unit":"guard","setup_hours":0,"labor_hours_per_unit":0.2,"materials":[{"material_id":"HEAD-GUARD","qty_per_unit":1}]},{"id":"SPK-ADD-HEAD","category":"Add / relocate heads","title":"Add sprinkler heads (tie into existing branch line)","match":[["\\badd(ed|ing|itional)?\\b|additional|\\bextend|new (partition|wall|office|room|duct|soffit)","head|sprinkler"]],"priority":5,"pricing":"standard","unit":"head","setup_hours":0,"labor_hours_per_unit":5.5,"material_rules":[{"if":"sidewall|side wall","swap":{"HEAD-STD-PEND":"HEAD-STD-SIDE"}},{"if":"upright","swap":{"HEAD-STD-PEND":"HEAD-STD-UP"}},{"if":"quick.?response|\\bqr\\b","swap":{"HEAD-STD-PEND":"HEAD-QR-PEND"}},{"if":"cpvc|13r","swap":{"PIPE-STEEL-LF":"PIPE-CPVC-LF","FIT-STEEL":"FIT-CPVC"}}],"sub_cost":0,"visit":{"needs_drain_down":true,"needs_lift":true,"is_min_service_item":false,"work_clock_hours":null,"crew":2,"hours_scale_with_qty":true,"why":"Scenario 1: 2.75 clock hours per head x crew 2. Drain-down and lift once per visit."},"materials":[{"material_id":"HEAD-STD-PEND","qty_per_unit":1,"unit_cost_override":27.5},{"material_id":"PIPE-STEEL-LF","qty_per_unit":5.0},{"material_id":"FIT-STEEL","qty_per_unit":3.0}]},{"id":"SPK-RELOC-HEAD","category":"Add / relocate heads","title":"Relocate existing sprinkler heads","match":[["re-?locat|\\bmove|\\bmoving|reposition|shift|new ceiling (grid|height)|drop(ped)? ceiling","head|sprinkler"]],"priority":5,"pricing":"standard","unit":"head","setup_hours":0,"labor_hours_per_unit":5.5,"material_rules":[{"if":"sidewall|side wall","swap":{"HEAD-STD-PEND":"HEAD-STD-SIDE"}},{"if":"upright","swap":{"HEAD-STD-PEND":"HEAD-STD-UP"}},{"if":"quick.?response|\\bqr\\b","swap":{"HEAD-STD-PEND":"HEAD-QR-PEND"}},{"if":"cpvc|13r","swap":{"PIPE-STEEL-LF":"PIPE-CPVC-LF","FIT-STEEL":"FIT-CPVC"}}],"sub_cost":0,"visit":{"needs_drain_down":true,"needs_lift":true,"is_min_service_item":false,"work_clock_hours":null,"crew":2,"hours_scale_with_qty":true,"why":"Same method as add, per his scenario 1 note."},"materials":[{"material_id":"HEAD-STD-PEND","qty_per_unit":1,"unit_cost_override":27.5},{"material_id":"PIPE-STEEL-LF","qty_per_unit":5.0},{"material_id":"FIT-STEEL","qty_per_unit":3.0}]},{"id":"SPK-ESC","category":"Sprinkler heads","title":"Install missing escutcheons","match":[["escutcheon|trim ring|cover plate"]],"priority":5,"pricing":"standard","unit":"escutcheon","setup_hours":0,"labor_hours_per_unit":0,"sub_cost":0,"visit":{"needs_drain_down":false,"needs_lift":true,"is_min_service_item":false,"work_clock_hours":8,"crew":2,"hours_scale_with_qty":false,"why":"No drain in his note. Kept his 8 clock hours as work on this line."},"materials":[{"material_id":"JOHN-SPK-ESC","qty_per_unit":1,"unit_cost_override":16.666667}]},{"id":"SPK-OBST","category":"Sprinkler heads","title":"Obstructed sprinkler heads - owner action and re-check","match":[["obstruct|blocked|storage.{0,40}(close|within|too near|below|under)|clearance"]],"pricing":"standard","unit":"location","setup_hours":0,"labor_hours_per_unit":0,"sub_cost":0,"visit":{"needs_drain_down":true,"needs_lift":true,"is_min_service_item":false,"work_clock_hours":6,"crew":2,"hours_scale_with_qty":false,"why":"He priced relocating 3 rack heads (typically a drain-down). 8 minus 2."},"materials":[{"material_id":"JOHN-SPK-OBST","qty_per_unit":1,"unit_cost_override":116.666667}]},{"id":"SPK-SPARE","category":"Sprinkler heads","title":"Restock spare head cabinet","match":[["spare","head|sprinkler|cabinet|wrench"],["wrench","missing|none|no "]],"priority":3,"pricing":"standard","unit":"cabinet","setup_hours":0,"labor_hours_per_unit":0,"sub_cost":0,"visit":{"needs_drain_down":false,"needs_lift":false,"is_min_service_item":false,"work_clock_hours":6,"crew":1,"hours_scale_with_qty":false,"why":"Note says min charge, but he entered 6 hours (not 4). Kept 6 as work, not as a 4-hour minimum."},"materials":[{"material_id":"JOHN-SPK-SPARE","qty_per_unit":1,"unit_cost_override":145.0}]},{"id":"SPK-GAUGE","category":"Valves and gauges","title":"Replace out-of-date or inaccurate gauges","match":[["gauge","date|due|expired|outdated|out of date|replace|calibrat|older than|5.?year|five.?year|inaccurate|broken|cracked|unreadable|exceed"]],"pricing":"standard","unit":"gauge","setup_hours":0,"labor_hours_per_unit":0,"sub_cost":0,"visit":{"needs_drain_down":false,"needs_lift":false,"is_min_service_item":true,"work_clock_hours":0,"crew":2,"hours_scale_with_qty":false,"why":"Note: min requirement for a service call. 4-hour floor is visit-level; add-on is 1 clock hour on a combined call."},"materials":[{"material_id":"JOHN-SPK-GAUGE","qty_per_unit":1,"unit_cost_override":50.0}]},{"id":"SPK-FDC-CAP","category":"Fire department connection","title":"Replace missing FDC caps or plugs","match":[["fdc|fire department connection|f\\.d\\.c","cap|plug"]],"priority":5,"pricing":"standard","unit":"cap","setup_hours":0,"labor_hours_per_unit":0,"sub_cost":0,"visit":{"needs_drain_down":false,"needs_lift":false,"is_min_service_item":true,"work_clock_hours":0,"crew":2,"hours_scale_with_qty":false,"why":"Note: min requirement for a service call."},"materials":[{"material_id":"JOHN-SPK-FDC-CAP","qty_per_unit":1,"unit_cost_override":175.0}]},{"id":"SPK-FDC-DMG","category":"Fire department connection","title":"Repair FDC (debris, swivel, gasket or check valve)","match":[["fdc|fire department connection|f\\.d\\.c","swivel|gasket|debris|clapper|check valve|damag|obstruct|stuck"]],"pricing":"standard","unit":"connection","setup_hours":0.5,"labor_hours_per_unit":1.0,"materials":[{"material_id":"FDC-GASKET","qty_per_unit":2},{"material_id":"MISC-ALLOW","qty_per_unit":1}]},{"id":"SPK-HANGER","category":"Piping","title":"Repair or replace loose/missing pipe hangers","match":[["hanger|sway brace|seismic brac|pipe support|unsupported"]],"pricing":"standard","unit":"hanger","setup_hours":0,"labor_hours_per_unit":0,"sub_cost":0,"visit":{"needs_drain_down":false,"needs_lift":true,"is_min_service_item":false,"work_clock_hours":6,"crew":2,"hours_scale_with_qty":false,"why":"Note: no drain-down; 6 hours for setup and talking with the building engineer, kept as work."},"materials":[{"material_id":"JOHN-SPK-HANGER","qty_per_unit":1,"unit_cost_override":25.0}]},{"id":"SPK-PIPE-LEAK","category":"Piping","title":"Repair leaking pipe or fitting","match":[["leak|weep|drip","pipe|fitting|coupling|tee|elbow|branch line|cross main"]],"pricing":"standard","unit":"leak","setup_hours":0,"labor_hours_per_unit":0,"sub_cost":0,"visit":{"needs_drain_down":true,"needs_lift":true,"is_min_service_item":false,"work_clock_hours":6,"crew":2,"hours_scale_with_qty":false,"why":"Note: drain down required. 8 minus 2."},"materials":[{"material_id":"JOHN-SPK-PIPE-LEAK","qty_per_unit":1,"unit_cost_override":250.0}]},{"id":"SPK-SIGN","category":"Valves and gauges","title":"Install missing valve and system signs","match":[["sign|tag|label|identification|placard","valve|riser|drain|test connection|control|fdc|hydraulic"]],"priority":2,"pricing":"standard","unit":"sign","setup_hours":0,"labor_hours_per_unit":0,"sub_cost":0,"visit":{"needs_drain_down":false,"needs_lift":false,"is_min_service_item":true,"work_clock_hours":0,"crew":1,"hours_scale_with_qty":false,"why":"Note: min charge."},"materials":[{"material_id":"JOHN-SPK-SIGN","qty_per_unit":1,"unit_cost_override":21.666667}]},{"id":"SPK-VALVE-LOCK","category":"Valves and gauges","title":"Lock or seal unsecured control valves","match":[["valve","unlocked|not locked|no lock|chain|seal|not sealed|unsecured|unsupervised|not supervised"]],"pricing":"standard","unit":"valve","setup_hours":0,"labor_hours_per_unit":0,"sub_cost":0,"visit":{"needs_drain_down":false,"needs_lift":false,"is_min_service_item":true,"work_clock_hours":0,"crew":1,"hours_scale_with_qty":false,"why":"Note: min trip charge."},"materials":[{"material_id":"JOHN-SPK-VALVE-LOCK","qty_per_unit":1,"unit_cost_override":65.0}]},{"id":"SPK-TAMPER","category":"Supervisory devices","title":"Replace failed valve tamper switch","match":[["tamper|valve supervisory|supervisory switch","fail|no signal|did not|didn't|inoperable|not transmit|not working|defect|no supervisory"]],"priority":6,"pricing":"standard","unit":"switch","setup_hours":0.5,"labor_hours_per_unit":1.25,"materials":[{"material_id":"TAMPER-SW","qty_per_unit":1}]},{"id":"SPK-FLOW","category":"Supervisory devices","title":"Replace failed waterflow switch","match":[["flow switch|waterflow|water flow|vane|paddle switch|flow alarm","fail|no signal|did not|didn't|inoperable|not transmit|not working|delay|slow|exceed"]],"priority":7,"pricing":"standard","unit":"switch","setup_hours":1.5,"labor_hours_per_unit":1.5,"materials":[{"material_id":"FLOW-SW","qty_per_unit":1}]},{"id":"SPK-BELL","category":"Supervisory devices","title":"Replace exterior alarm bell / water motor gong","match":[["bell|gong|water motor","fail|did not|didn't|inoperable|not sound|no sound|not working|damag|missing"]],"pricing":"standard","unit":"device","setup_hours":0.5,"labor_hours_per_unit":1.0,"materials":[{"material_id":"BELL-EXT","qty_per_unit":1}]},{"id":"DRY-LOWAIR","category":"Dry / preaction systems","title":"Replace failed low-air supervisory switch","match":[["low.?air|air supervisory|air pressure switch","fail|no signal|did not|didn't|inoperable|not transmit|not working|no supervisory|defect"]],"priority":8,"pricing":"standard","unit":"switch","setup_hours":0,"labor_hours_per_unit":0,"sub_cost":0,"visit":{"needs_drain_down":false,"needs_lift":false,"is_min_service_item":true,"work_clock_hours":0,"crew":1,"hours_scale_with_qty":false,"why":"Note: min charge."},"materials":[]},{"id":"DRY-AIR-COMP","category":"Dry / preaction systems","title":"Service air compressor / air maintenance device","match":[["compressor|air maintenance","fail|not|low|cycl|inoperable|won't|will not|runs"],["air pressure","low|below|dropp|not holding"]],"pricing":"standard","unit":"compressor","setup_hours":0.5,"labor_hours_per_unit":2.0,"materials":[{"material_id":"MISC-ALLOW","qty_per_unit":2}]},{"id":"DRY-AUX-DRAIN","category":"Dry / preaction systems","title":"Drain water from auxiliary (low point) drains","match":[["auxiliary drain|aux drain|low point drain|drum drip|condensate",".*"]],"pricing":"standard","unit":"drain","setup_hours":0,"labor_hours_per_unit":0.3,"materials":[]},{"id":"DRY-TRIP-TEST","category":"Dry / preaction systems","title":"Dry valve trip test (overdue or failed)","match":[["trip test|dry valve","due|overdue|not performed|fail|did not|didn't|stuck"]],"pricing":"survey","unit":"valve","setup_hours":0,"labor_hours_per_unit":0,"materials":[]},{"id":"SPK-INTERNAL","category":"Piping","title":"Internal pipe assessment / obstruction investigation","match":[["internal (assessment|inspection)|obstruction investigation|foreign material|scale|mic\\b|microbiolog"]],"priority":4,"pricing":"survey","unit":"system","setup_hours":0,"labor_hours_per_unit":0,"materials":[]},{"id":"FP-PUMP","category":"Fire pump","title":"Fire pump / jockey pump issue","match":[["fire pump|jockey|pump controller|packing gland"]],"pricing":"survey","unit":"pump","setup_hours":0,"labor_hours_per_unit":0,"materials":[]},{"id":"BF-BACKFLOW","category":"Backflow","title":"Backflow preventer test or repair","match":[["backflow|rpz|double check|dcva|dcda"]],"pricing":"standard","unit":"assembly","setup_hours":0,"labor_hours_per_unit":0,"sub_cost":0,"visit":{"needs_drain_down":false,"needs_lift":false,"is_min_service_item":false,"work_clock_hours":8,"crew":1,"hours_scale_with_qty":false,"why":"8 hours, 1 person, no lift. Kept as work on the same call. His note about sending a backflow inspector is still open."},"materials":[{"material_id":"JOHN-BF-BACKFLOW","qty_per_unit":1,"unit_cost_override":350.0}]},{"id":"FA-BATT","category":"Fire alarm","title":"Replace failed standby batteries","match":[["batter","fail|low|replace|swollen|bulg|leak|date|expired|load test|below|dead|\\d+\\.\\d+\\s*v"]],"priority":6,"pricing":"standard","unit":"battery","setup_hours":0.25,"labor_hours_per_unit":0.25,"material_rules":[{"if":"18\\s*ah","swap":{"BATT-12V-7":"BATT-12V-18"}}],"materials":[{"material_id":"BATT-12V-7","qty_per_unit":1}]},{"id":"FA-SMOKE","category":"Fire alarm","title":"Replace failed smoke detector","match":[["smoke","fail|sensitivity|dirty|no alarm|did not|didn't|inoperable|not report|trouble|missing|out of range|damag"]],"priority":3,"pricing":"standard","unit":"detector","setup_hours":0,"labor_hours_per_unit":0.5,"materials":[{"material_id":"SMOKE-DET","qty_per_unit":1}]},{"id":"FA-DUCT","category":"Fire alarm","title":"Repair failed duct smoke detector","match":[["duct (smoke )?detector|duct det","fail|did not|didn't|no alarm|inoperable|trouble|shutdown|shut down|dirty|sampling"]],"priority":9,"pricing":"standard","unit":"detector","setup_hours":0.5,"labor_hours_per_unit":1.5,"materials":[{"material_id":"DUCT-DET","qty_per_unit":1}]},{"id":"FA-HEAT","category":"Fire alarm","title":"Replace failed heat detector","match":[["heat (detector|det)","fail|did not|didn't|no alarm|inoperable|damag|trouble|missing"]],"priority":4,"pricing":"standard","unit":"detector","setup_hours":0,"labor_hours_per_unit":0.4,"materials":[{"material_id":"HEAT-DET","qty_per_unit":1}]},{"id":"FA-NAC","category":"Fire alarm","title":"Replace failed horn/strobe or speaker","match":[["horn|strobe|speaker|notification|nac\\b|chime","fail|did not|didn't|not flash|no flash|inoperable|not sound|no sound|damag|missing|dim|weak|out of sync"]],"priority":2,"pricing":"standard","unit":"device","setup_hours":0,"labor_hours_per_unit":0.6,"materials":[{"material_id":"HS-WALL","qty_per_unit":1}]},{"id":"FA-PULL","category":"Fire alarm","title":"Replace damaged or failed pull station","match":[["pull station|manual station|manual pull","fail|damag|broken|stuck|missing|did not|didn't|inoperable|cracked"]],"priority":4,"pricing":"standard","unit":"station","setup_hours":0,"labor_hours_per_unit":0.5,"materials":[{"material_id":"PULL-STA","qty_per_unit":1}]},{"id":"FA-DOOR","category":"Fire alarm","title":"Repair door holder that does not release","match":[["door holder|magnetic holder|door release|mag lock|maglock","fail|did not|didn't|not release|inoperable|stuck|damag"]],"priority":5,"pricing":"standard","unit":"holder","setup_hours":0,"labor_hours_per_unit":0.75,"materials":[{"material_id":"DOOR-HOLDER","qty_per_unit":1}]},{"id":"FA-COMM","category":"Fire alarm","title":"Repair monitoring communicator / signal path","match":[["communicator|dialer|dact|central station|monitoring (company|center|station)|cellular|signal (was )?not received|not received","fail|did not|didn't|not received|no signal|trouble|inoperable|delay|not report|offline"]],"priority":6,"pricing":"standard","unit":"panel","setup_hours":0,"labor_hours_per_unit":2.0,"materials":[]},{"id":"FA-PANEL-TRBL","category":"Fire alarm","title":"Troubleshoot panel trouble / ground fault","match":[["ground fault|open circuit|panel trouble|trouble condition|active trouble|trouble signal|facp.{0,30}trouble"]],"pricing":"standard","unit":"panel","setup_hours":0,"labor_hours_per_unit":3.0,"materials":[]},{"id":"FE-EXT","category":"Extinguishers","title":"Replace or service fire extinguishers","match":[["extinguisher","missing|discharg|damag|expired|overdue|low|recharge|replace|empty|due"]],"pricing":"standard","unit":"extinguisher","setup_hours":0,"labor_hours_per_unit":0.2,"materials":[{"material_id":"EXT-5ABC","qty_per_unit":1}]}]},"r":{"labor_rate":95.0,"after_hours_labor_rate":195.0,"trip_charge":850.0,"trips":1,"material_markup_pct":45.0,"tax_rate_on_materials_pct":8.25,"minimum_charge":650.0,"round_hours_to":0.25,"sub_markup_pct":45.0,"admin_allowance":500.0,"visit_rules":{"drain_down_clock_hours":2,"drain_down_crew":2,"lift_cost":950,"min_service_call_clock_hours":4,"min_item_addon_clock_hours":1},"materials":[{"id":"HEAD-STD-PEND","cost":8.75},{"id":"HEAD-STD-UP","cost":7.9},{"id":"HEAD-QR-PEND","cost":9.4},{"id":"HEAD-GUARD","cost":6.5},{"id":"ESC-CHROME","cost":1.95},{"id":"SPARE-CAB","cost":38.0},{"id":"SPRINK-WRENCH","cost":14.0},{"id":"GAUGE-300","cost":26.0},{"id":"FDC-CAP-25","cost":42.0},{"id":"FDC-GASKET","cost":4.5},{"id":"HANGER-KIT","cost":14.0},{"id":"SIGN-VALVE","cost":12.0},{"id":"LOCK-CHAIN","cost":24.0},{"id":"TAMPER-SW","cost":145.0},{"id":"FLOW-SW","cost":185.0},{"id":"PRESS-SW-LOWAIR","cost":160.0},{"id":"BELL-EXT","cost":95.0},{"id":"BATT-12V-7","cost":22.0},{"id":"BATT-12V-18","cost":45.0},{"id":"SMOKE-DET","cost":58.0},{"id":"DUCT-DET","cost":210.0},{"id":"HEAT-DET","cost":34.0},{"id":"HS-WALL","cost":68.0},{"id":"PULL-STA","cost":52.0},{"id":"DOOR-HOLDER","cost":85.0},{"id":"EXT-5ABC","cost":48.0},{"id":"MISC-ALLOW","cost":15.0},{"id":"PIPE-1IN-LF","cost":3.85},{"id":"FITTING-ALLOW","cost":9.5},{"id":"HEAD-STD-SIDE","cost":11.2},{"id":"PIPE-STEEL-LF","cost":15.0},{"id":"PIPE-CPVC-LF","cost":9.5},{"id":"FIT-STEEL","cost":85.0},{"id":"FIT-CPVC","cost":75.0}],"company":{"name":"Bluebonnet Sample Fire Protection LLC","rep_name":"Sam Sample"}}}