-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuser_preferences.json
More file actions
49 lines (49 loc) · 1.26 KB
/
user_preferences.json
File metadata and controls
49 lines (49 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"$schema": "https://json-schema.org/draft-07/schema",
"x-cs-indexable-fields": [
{ "field": "/userId", "type": "string", "fql_name": "user_id" },
{ "field": "/theme", "type": "string", "fql_name": "theme" },
{ "field": "/lastUpdated", "type": "integer", "fql_name": "last_updated" }
],
"type": "object",
"properties": {
"dashboardLayout": {
"enum": [
"compact",
"standard",
"expanded"
],
"type": "string",
"title": "Dashboard Layout",
"description": "Dashboard layout preference",
"default": "standard"
},
"lastUpdated": {
"type": "integer",
"title": "Last Updated",
"description": "Unix timestamp of last update"
},
"notificationsEnabled": {
"type": "boolean",
"title": "Notifications Enabled",
"description": "Whether notifications are enabled",
"default": true
},
"theme": {
"enum": [
"light",
"dark"
],
"type": "string",
"title": "Theme",
"description": "User's preferred theme",
"default": "light"
},
"userId": {
"type": "string",
"title": "Email",
"description": "Unique identifier for the user"
}
},
"required": ["userId", "lastUpdated"]
}