Access Zones
Access zones define specific areas within a facility where a membership plan grants access. Each zone can have its own access hours, allowing different time restrictions per area.
Structure
Each access zone includes:
-
name
stringrequiredThe name of the zone (e.g., "Main Gym Floor", "Group Fitness Studio").
-
description
stringoptionalDescription of what's included in that zone.
-
access_hours
objectoptionalAccess hours specific to this zone. See Access Hours for the time range format.
Example
"access_zones": [
{
"name": "Main Gym Floor",
"description": "Full access to cardio and weight training equipment",
"access_hours": {
"mon": [["05:00", "22:00"]],
"tue": [["05:00", "22:00"]],
"wed": [["05:00", "22:00"]],
"thu": [["05:00", "22:00"]],
"fri": [["05:00", "22:00"]],
"sat": [["06:00", "20:00"]],
"sun": [["07:00", "18:00"]]
}
},
{
"name": "Group Fitness Studio",
"description": "Access to group fitness classes",
"access_hours": {
"sat": [["06:00", "20:00"]],
"sun": [["07:00", "18:00"]]
}
}
]