OpenPlaceRules
v0.3.0Is recording, camera glasses, AI capture, a robot or drone allowed here?
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
check_place_rules
Answer "can I record / wear camera glasses / use AI capture / run a robot / fly a drone here?" for a lat/lng. Returns allowed | restricted | prohibited | unknown with sources. Owner-verified rules override reported ones. Chains and operators (rules that apply only at their own sites) count only at their listed sites; the others nearby are returned in chains_and_operators and never decide the answer. Proposed rules are listed but never decide. Unknown does NOT mean allowed. Reported entries are unverified by the place owner.
| Parameter | Type | Description |
|---|---|---|
lat * | number | |
lng * | number | |
activity | string | |
date | string | YYYY-MM-DD; defaults to today |
search_place_rules
Search the OpenPlaceRules registry by text (name, city, kind such as court/school/pool/park/airport), activity, rule value, country code, or verified=true for owner-verified only.
| Parameter | Type | Description |
|---|---|---|
activity | string | |
country | string | ISO 3166-1 alpha-2 |
limit | number | |
q | string | |
value | string | |
verified | boolean |
get_place_rule
Get one registry entry by id, including zones, geometry, lifecycle (expires/temporary), source URL and verification status.
| Parameter | Type | Description |
|---|---|---|
id * | string |
validate_place_rules_file
Validate a /.well-known/place-rules.json document against the place-rules/0.1 spec. Useful when helping a venue write its file.
| Parameter | Type | Description |
|---|---|---|
document * | object |