dp3.api.internal.models ¶
DataPoint ¶
Bases: BaseModel
Data-point for API
Contains single raw data value received on API. This is generic class for plain, observation and timeseries datapoints.
Provides front line of validation for this data value.
This differs slightly compared to DataPoint
from DP3 in naming of attributes due to historic
reasons.
After validation of this schema, datapoint is validated using attribute-specific validator to ensure full compilance.