Yard policy
Per-site yard rules.
Get the yard policy
Answers the declared policy, or the default one (`declared` false) for a site that never declared one: appointments not required, seal mismatch FLAG, lease 300 s, no detention free time. An unknown site is not an error; the only 404 is `resource-not-found` (a NUL character in the path).
Declare the yard policy (DeclareYardPolicy)
Replaces the policy of the site. Holding spots must be known Yard slots of the site (422 `unknown-location`); thresholds and lease must be positive (422 `validation`). `If-Match` makes the replacement conditional on the policy version (412 `precondition-failed`). The only 404 is `resource-not-found` (a NUL character in the path).