mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
7.6 KiB
7.6 KiB
SerializedTimeLimitRule Schema
https://timelimit.io/SerializedParentAction#/definitions/SerializedTimeLimitRule
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|---|---|---|---|---|---|---|---|
| Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | SerializedParentAction.schema.json* |
SerializedTimeLimitRule Type
object (SerializedTimeLimitRule)
SerializedTimeLimitRule Properties
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| ruleId | string |
Required | cannot be null | SerializedParentAction |
| categoryId | string |
Required | cannot be null | SerializedParentAction |
| time | number |
Required | cannot be null | SerializedParentAction |
| days | number |
Required | cannot be null | SerializedParentAction |
| extraTime | boolean |
Required | cannot be null | SerializedParentAction |
| start | number |
Optional | cannot be null | SerializedParentAction |
| end | number |
Optional | cannot be null | SerializedParentAction |
| dur | number |
Optional | cannot be null | SerializedParentAction |
| pause | number |
Optional | cannot be null | SerializedParentAction |
| perDay | boolean |
Optional | cannot be null | SerializedParentAction |
ruleId
ruleId
- is required
- Type:
string - cannot be null
- defined in: SerializedParentAction
ruleId Type
string
categoryId
categoryId
- is required
- Type:
string - cannot be null
- defined in: SerializedParentAction
categoryId Type
string
time
time
- is required
- Type:
number - cannot be null
- defined in: SerializedParentAction
time Type
number
days
days
- is required
- Type:
number - cannot be null
- defined in: SerializedParentAction
days Type
number
extraTime
extraTime
- is required
- Type:
boolean - cannot be null
- defined in: SerializedParentAction
extraTime Type
boolean
start
start
- is optional
- Type:
number - cannot be null
- defined in: SerializedParentAction
start Type
number
end
end
- is optional
- Type:
number - cannot be null
- defined in: SerializedParentAction
end Type
number
dur
dur
- is optional
- Type:
number - cannot be null
- defined in: SerializedParentAction
dur Type
number
pause
pause
- is optional
- Type:
number - cannot be null
- defined in: SerializedParentAction
pause Type
number
perDay
perDay
- is optional
- Type:
boolean - cannot be null
- defined in: SerializedParentAction
perDay Type
boolean