-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexample.json
50 lines (50 loc) · 1.29 KB
/
example.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
{
"_id":"c-05",
"_parentId":"b-05",
"_type":"component",
"_component":"visTimeline",
"_classes":"",
"_layout":"full",
"title":"adapt-visTimeline",
"displayTitle":"adapt-visTimeline",
"body": "This timeline component is built upon the Javascript libraries of <a href='http://visjs.org/timeline_examples.html' target='_blank'>visjs.org</a>.",
"instruction":"",
"_options": {
"width": "100%",
"height": "600px",
"margin": {
"item": 20
},
"showCurrentTime": false,
"template": "visTimelineItem"
},
"_items-url": "assets/dataForTemplate.json",
"_groups-url": "assets/dataForGroups.json",
"_groups": [
{
"id": 1,
"content": "First",
"style": ""
},
{
"id": 2,
"content": "Second",
"classname": ""
}
],
"_items": [
{
"content": "Item 1: Although type is 'range', it will revert to 'box' since there is no 'end'.",
"start": "2013-04-14",
"title": "",
"end": "",
"type": "range",
"group": 1
},
{
"content": "Item 2",
"start": "2013-04-20",
"group": 2
}
]
}