访问区域
访问区域定义设施内会员计划授予访问权限的特定区域。每个区域都可以有自己的访问时间,从而为不同区域设置不同的时间限制。
结构
每个访问区域包括:
-
name
string必填区域名称(例如“Level 3 Tenancy”“Library”“Guest Floors”“Main Gym Floor”)。
-
description
string可选该区域所含内容的说明。
-
access_hours
object可选此区域专用的访问时间。有关时间范围格式,请参阅访问时间。
示例
一栋为租户提供健身房的办公楼:在工作时间内可访问租用区域,从清晨到深夜可访问健身房。
{
"access_zones": [
{
"name": "Level 3 Tenancy",
"description": "Lift lobby, offices and meeting rooms on level 3",
"access_hours": {
"mon": [["07:00", "19:00"]],
"tue": [["07:00", "19:00"]],
"wed": [["07:00", "19:00"]],
"thu": [["07:00", "19:00"]],
"fri": [["07:00", "19:00"]]
}
},
{
"name": "Tenant Gym",
"description": "Ground-floor gym and change rooms for building tenants",
"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": [["07:00", "18:00"]],
"sun": [["07:00", "18:00"]]
}
}
]
}