# AccessRule

A rule for getting in: a reservation, a permit, a registration, a required guide. Used in arrival.rules and on areas; at most 20.

Group: Planning facts.

## Fields

- `text` (string, required): The rule in the creator's words, at most 300 characters.
- `kind` (string, optional): reservation, permit, guide, registration, no_independent_travel, vehicle or other. One of `reservation`, `permit`, `guide`, `registration`, `no_independent_travel`, `vehicle`, `other`.
- `months` (array of numbers, optional): The months the rule applies (1 to 12); the apps show it only then. Absent means all year.
- `appliesTo` (string, optional): car for a rule that only binds drivers (a timed entry for vehicles), all for everyone. One of `car`, `all`.
- `bookingOpens` (string, optional): When booking opens, in words, at most 100 characters (90 days ahead at 07:00).
- `sourceUrl` (string, optional): The page that states the rule (http or https).

## Used by

- [set_area](https://developers.sceniq.earth/reference/set_area.md)
