Groundwater monitoring programs operate under permit conditions that specify maximum (or sometimes minimum) allowable concentrations for specific contaminants. A RegulatoryThreshold stores one such limit — for example, the MCL for benzene at a remediation site tied to a particular analyte and siteId. The source field records the regulatory citation, effectiveDate marks when the limit took effect, and isActive controls whether the threshold is currently used in exceedance detection. The direction field (from the ThresholdDirection enum) determines whether the comparison looks for concentrations above or below the limit.
piper
Regulatory Threshold
A RegulatoryThreshold defines a concentration limit for a specific analyte at a specific site. It records the thresholdValue, thresholdUnit, regulatory source, effectiveDate, comparison direction, and whether it is currently active. When an AnalyticalResult exceeds (or falls below, depending on direction) the threshold, an Exceedance is generated.
Technical section
Data model, API, and internals — visible to developers.
