There should be a validation method for location data so that for example if locationType is a known value like geojson, it will validate the corresponding location property to check that it's valid GeoJSON. This could be used for both client-side and server-side validation.
Cc @sevnightingale
There should be a validation method for
locationdata so that for example iflocationTypeis a known value likegeojson, it will validate the correspondinglocationproperty to check that it's valid GeoJSON. This could be used for both client-side and server-side validation.Cc @sevnightingale