OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/config/schemas/user_preferences.schema.json

53 lines
1.5 KiB

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/UserPreferences",
"definitions": {
"UserPreferences": {
"type": "object",
"additionalProperties": false,
"properties": {
"hide_mail": {
"type": "boolean"
},
"time_zone": {
"type": ["string", "null"]
},
"warn_on_leaving_unsaved": {
"type": "boolean"
},
"comments_sorting": {
"type": "string",
"enum": ["asc", "desc"]
},
"auto_hide_popups": {
"type": "boolean"
},
"daily_reminders": {
"$ref": "#/definitions/DailyReminders"
}
},
"title": "UserPreferences"
},
"DailyReminders": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"times": {
"type": "array",
"items": {
"type": "string",
"format": "time"
}
}
},
"required": [
"enabled",
"times"
],
"title": "DailyReminders"
}
}
}