OpenPlaceRulesrobots.txt for the physical world

Validate a place-rules.json file

Nothing is uploaded. The check runs in this browser tab against the place-rules/0.1 JSON Schema, which is built into this page. Pasted text and chosen files stay on your device.

or paste it below.

The result means the file has the right shape. It does not check that the rules are correct for your place, and it is not legal advice.

How to publish your file

  1. Make the file. Start from the generator or a sample above, then check it here.
  2. Put it at https://<your-domain>/.well-known/place-rules.json, over HTTPS, on the place's own domain. Keep it under 64 KB.
  3. Serve it as JSON: Content-Type: application/json (UTF-8). Most hosts do this for .json files. Check with curl -sI https://<your-domain>/.well-known/place-rules.json.
  4. Allow other sites to read it: send Access-Control-Allow-Origin: * so browser apps and maps can fetch it. On GitHub Pages this is already on. On Netlify or Cloudflare Pages add it in a _headers file; on nginx use add_header Access-Control-Allow-Origin "*"; in a location /.well-known/ block.
  5. Keep updated current and set expires for temporary rules, so readers know when to fetch again.

Claim and verify your place

  1. Get a token on the claim page.
  2. Prove you control the domain in one of three ways: put "verification": {"method": "well-known", "token": "<token>"} in the file, add <meta name="place-rules-verification" content="<token>"> to your home page, or add a DNS TXT record _place-rules.<domain> with place-rules-verification=<token>.
  3. The claim page prefills a GitHub claim issue. An automated check reads your /.well-known/place-rules.json, confirms the token and opens a pull request with your owner file. Once it is merged, your file overrides any reported entry for your place.
  4. Your website badge then reads owner-verified.

Readers fetch your file and the registry with plain GETs; see the developer guide and the spec.