Parental Controls - Time Limits¶
Template
This payload controls time allowances and curfews as shown in the Parental Controls system preference pane.
Summary¶
| PayloadType: | com.apple.familycontrols.timelimits.v2 |
|---|---|
| Supervised Only: | |
| N/A | |
| macOS: | N/A |
| macOS Deprecated: | |
| N/A | |
| iOS: | N/A |
| iOS Deprecated: | N/A |
| Highlander: | N/A |
Keys¶
familyControlsEnabled¶
Family Controls Enabled
Required. Set to true to use time limits.
| Type | Default | Required | Regex | iOS | macOS | Supervised |
|---|---|---|---|---|---|---|
| boolean | N/A | always | N/A | N/A | N/A | N/A |
limits-list¶
Allowances and Curfews by weekday or weekend.
| Name | Type | Title | Description | Required |
|---|---|---|---|---|
| weekday-allowance | dictionary | Weekday allowance settings | Weekday allowance settings | n/a |
| weekday-curfew | dictionary | Weekday curfew settings | Weekday curfew settings | n/a |
| weekend-allowance | dictionary | Weekend allowance settings | Weekend allowance settings | n/a |
| weekend-curfew | dictionary | Weekend curfew settings | Weekend curfew settings | n/a |
Each of these keys contains a dictionary in the following format:
| Name | Type | Title | Description | Required |
|---|---|---|---|---|
| enabled | boolean | Setting Enabled | Required. Set to true to enable these settings. | always |
| rangeType | integer | Range Type | Required. Type of day range: 0 = weekday, 1 = weekend. | always |
| start | string | Start time | Optional. Curfew start time in the format %d:%d:%d. | n/a |
| end | string | End time | Optional. Curfew end time in the format %d:%d:%d. | n/a |
| secondsPerDay | integer | Seconds per day | Optional. Seconds for that day for allowance. | n/a |