forked from marblekirby/budibase-calendar-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.json
76 lines (76 loc) · 1.77 KB
/
schema.json
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
{
"type": "component",
"metadata": {},
"schema": {
"name": "calendar",
"friendlyName": "Calendar",
"description": "Calendar",
"icon": "Text",
"hasChildren":true,
"settings": [
{
"type": "dataProvider",
"label": "Data provider",
"key": "dataProvider",
"required": true
},
{
"type": "text",
"label": "Event date/time Mapping (data source)",
"key": "eventDateMapping",
"required": true
},
{
"type": "text",
"label": "Event title mapping (data source)",
"key": "eventTitleMapping",
"required": true
},
{
"type": "text",
"label": "Allday mapping (data source)",
"key": "eventAllDayMapping",
"required": false
},
{
"type": "event",
"label": "On Event Click",
"key": "onEventClick",
"required": false,
"context": [
{
"label": "Clicked Event",
"key": "clickedEvent"
}
]
},
{
"type": "color",
"label": "Header Background Color",
"key": "stylingHeaderBackgroundColor",
"required": true,
"defaultValue": "#eef"
},
{
"type": "color",
"label": "Header Text Color",
"key": "stylingHeaderTextColor",
"required": true,
"defaultValue": "rgba(81, 86, 93, 0.7)"
},
{
"type": "color",
"label": "Event Highlight Color",
"key": "stylingEventHighlightColor",
"required": true,
"defaultValue": "rgb(38, 128, 235)"
},
{
"type": "boolean",
"label": "Ignore Time Zone",
"key": "ignoreTimeZone",
"defaultValue": true
}
]
}
}