are_location_constraints_satisfied#

are_location_constraints_satisfied(location)[source]#

Checks a number of constraints that need to be satisfied for the schema.

Parameters:

location (json) – the json object with location data

Returns:

[True, None] if all constraints are satisfied. [False, str] if a constraint is violated. The returned str is one of the error messages.