Repository navigation
Expand file tree
/
Copy pathconfig.schema.json
More file actions
97 lines (97 loc) · 2.88 KB
/
Copy pathconfig.schema.json
File metadata and controls
97 lines (97 loc) · 2.88 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"instanceId": {
"type": ["string", "null"],
"description": "Unique identifier for a module instance"
},
"title": {
"type": ["string", "null"],
"description": "Title displayed left of the timeline"
},
"titleWidth": {
"type": "string",
"pattern": "^([0-9]+(?:\\.[0-9]+)?(px|rem|em|ch|vw|vh)|0)$",
"description": "CSS width of the title column"
},
"locale": {
"type": ["string", "null"],
"description": "Locale used for date and hour formatting"
},
"staticMode": {
"type": "boolean",
"description": "Start the timeline at the beginning of the configured day"
},
"refreshInterval": {
"type": "integer",
"minimum": 0,
"description": "Interval in milliseconds for forced timeline refreshes"
},
"waitFetch": {
"type": "integer",
"minimum": 0,
"description": "Time in milliseconds to wait after the first calendar fetch"
},
"animationSpeed": {
"type": "integer",
"minimum": 0,
"description": "DOM update animation duration in milliseconds"
},
"beginHour": {
"type": "integer",
"description": "Hour offset from the reference day or current hour"
},
"hourLength": {
"type": "number",
"minimum": 1,
"description": "Total timeline duration in hours"
},
"hourIndexOptions": {
"type": "object",
"additionalProperties": true,
"description": "Intl.DateTimeFormat options for hour indices"
},
"dateIndexOptions": {
"type": "object",
"additionalProperties": true,
"description": "Intl.DateTimeFormat options for date indices"
},
"calendarSet": {
"type": ["array", "null"],
"items": {
"type": "string"
},
"description": "Calendar names to display; null or an empty array includes all calendars"
},
"groupBy": {
"description": "Property name or callback used to group events"
},
"eventFilter": {
"description": "Callback that returns whether a regularized event should be displayed"
},
"eventTransformer": {
"description": "Callback that transforms a regularized event"
},
"preProcessor": {
"description": "Callback that adjusts or rejects raw calendar event data"
},
"useSymbol": {
"type": "boolean",
"description": "Use Font Awesome symbols instead of dot icons"
},
"notification": {
"type": "string",
"description": "Incoming notification containing calendar events"
},
"maxSlots": {
"type": ["integer", "null"],
"minimum": 1,
"description": "Maximum number of event stacks per group; null disables the limit"
},
"displayLegend": {
"type": "boolean",
"description": "Display the calendar legend"
}
}
}