Description
Create a TelemetryValidator component that performs semantic validation on incoming pings after structural validation passes. This drops pings that are structurally valid but logically impossible (e.g. coordinates in the ocean, future timestamps).
Scope
- Create
TelemetryValidator as a @Component
- Validate
lat is between -90 and 90
- Validate
lng is between -180 and 180
- Validate
accuracyMeters is positive
- Validate
timestamp is not in the future
- Integrate validator in
TelemetryService before saving
Done When
Priority