validateSpatialRelationClaim
@totemsdk/spatial-proof / validateSpatialRelationClaim
Function: validateSpatialRelationClaim()
validateSpatialRelationClaim(
claim):object
Validate the structure of a spatial relation claim (does not re-evaluate the geometry — verification of the proof envelope also checks the claim ID and evidence hashes).
Parameters
claim
Returns
object
errors
errors:
string[]
valid
valid:
boolean
warnings
warnings:
string[]