Skip to main content

Validation rules for asset coordinate data including latitude, longitude presence, precision, and range requirements

Coordinates​

CoordinatesLatitudeMustBePresent​

Preconditions
coordinates is present
DefinitionSeverityAPISampleMode
Validate that latitude is present
VIOLATION
POST_AND_PUT
S

CoordinatesLongitudeMustBePresent​

Preconditions
coordinates is present
DefinitionSeverityAPISampleMode
Validate that longitude is present
VIOLATION
POST_AND_PUT
S

CoordinatesLatitudeMustNotBeEmpty​

DefinitionSeverityAPISampleMode
Validate that latitude is not an empty string
VIOLATION
POST_AND_PUT
S

CoordinatesLongitudeMustNotBeEmpty​

DefinitionSeverityAPISampleMode
Validate that longitude is not an empty string
VIOLATION
POST_AND_PUT
S

CoordinatesLatLongMustNotBeZero​

DefinitionSeverityAPISampleMode
Validates that values of latitude and longitude are not both zero
VIOLATION
POST_AND_PUT
S

CoordinatesMustBeSufficientlyPrecise​

DefinitionSeverityAPISampleMode
Validate that latitude and longitude values possess minimum precision (5 decimal places)
VIOLATION
POST_AND_PUT
S

CoordinatesMustBeWithinValidRange​

DefinitionSeverityAPISampleMode
Validate that values of latitude and longitude are within their expected range
VIOLATION
POST_AND_PUT
S

LatitudeAndLongitudeMatch​

Preconditions
latitude is not 0
longitude is not 0
DefinitionSeverityAPISampleMode
Validate that latitude AND longitude do not match
WARNING
POST_AND_PUT
S