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

78 lines
2.2 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"
},
"workdays": {
3 years ago
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 7
}
},
"daily_reminders": {
"$ref": "#/definitions/DailyReminders"
},
"immediate_reminders": {
"$ref": "#/definitions/ImmediateReminders"
}
},
"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"
}
}
}