
Key concepts
Before diving into behavior, it helps to understand a few core concepts:- Zone (Jobsite): A physical area where workers must scan in and out. This real-world concept is represented in Odin as a jobsite.
- Nested Zone (Jobsite): A zone that exists entirely within another zone (e.g., Z3 inside Z2).
- Swipe Event: A scan action (inbound or outbound) recorded for a specific zone that captures one moment in time.
- Swipe Session: A time-based record for a worker in a specific zone, defined by a first swipe and last swipe, capturing a range of time between the first inbound and last outbound swipe events of a day.
- Compliance: A swipe session is considered compliant only when it has a valid start and end that allow duration to be calculated.
General rules of nested zone behavior
These rules describe how access, sessions, and time are tracked when jobsites are configured as nested zones. 1. Zones are tracked independently - Entering or exiting a nested zone (Z3) does not automatically start or end a session in the parent zone (Z2). Each zone maintains its own swipe session. 2. Parent zone time includes child zone time - Time spent in a nested zone counts toward the total time in the parent zone. 3. One session per zone - A worker will have one swipe session per zone per day. Nested activity does not split or pause the parent zone session.Missed scan handling
The system is designed to be forgiving when scans are missed. No errors are thrown, but compliance may be affected.- If a worker scans out of a zone without scanning in, the session’s first swipe time and last swipe time are identical, meaning the duration onsite is 0 minutes.
- If a worker scans in but never scans out, the session’s first swipe time and last swipe time remain identical, meaning that the duration remains 0 minutes.
- This applies independently to both parent and nested zones. Missing a scan in or out in a nested zone does not affect the parent zone.