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

106 lines
2.9 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"
},
"diff_type": {
"type": "string",
"enum": ["inline", "sbs"]
},
"workdays": {
3 years ago
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 7
}
},
"daily_reminders": {
"$ref": "#/definitions/DailyReminders"
},
"immediate_reminders": {
"$ref": "#/definitions/ImmediateReminders"
},
"pause_reminders": {
"$ref": "#/definitions/PauseReminders"
}
},
"title": "UserPreferences"
},
"DailyReminders": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"times": {
"type": "array",
"items": {
"type": "string",
"format": "time"
}
}
},
"required": [
"enabled",
"times"
],
"title": "DailyReminders"
},
"ImmediateReminders": {
"type": "object",
"additionalProperties": false,
"properties": {
"mentioned": {
"type": "boolean"
}
},
"required": [
"mentioned"
],
"title": "ImmediateReminders"
},
"PauseReminders": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"first_day": {
"type": "string",
"format": "date"
},
"last_day": {
"type": "string",
"format": "date"
}
},
"required": [
"enabled"
],
"title": "PauseReminders"
}
}
}