[SCHEMA] (for v2.0) Should calibration["measurement_type_id"] be required? #216
Labels
breaking change
Highlights that this issue will be a breaking change
enhancement
New feature or request
Should calibration["measurement_type_id"] be required?
Both because sensors can have multiple measurement_types that can be calibrated separately that need to be differentiated and the current common measurement_type definition does not accept null values.
Longer explanation:
calibration["measurement_type_id"] shares the same definition as measurement_point["measurement_type_id"]. The definition does not allow null values. measurement_point["measurement_type_id"] is a required field so there is no issue, but calibration["measurement_type_id"] is currently an optional field so can cause errors if left blank.
The text was updated successfully, but these errors were encountered: