Skip to main content
Rodz API
FR EN
v2.0.0

Reference / Schemas / LocationValidationResponse

LocationValidationResponse

object

Result of validating a location name for use in a signal’s location filter.

Attributes (4)

Structure of every attribute, generated from the API code: required or optional, type, bounds, pattern, allowed values.

valid boolean required

True if the name is a recognized location.

id string optional accepts null

Geo id for the recognized location (null when not recognized).

name string optional accepts null

The geo directory's label for the matched location — use it to confirm your input resolved to the place you meant (e.g. uk matches Ukraine). Null when not recognized.

message string optional accepts null

Human-readable reason when valid is false; null when valid.

Used by (1)

Validate a location filter value GET /api/v1/enrichment/validate-location · as response