module.exports = function()

in src/spec/testData/singleSceneWithAnnotations.js [1:220]


module.exports = function () {
  return {
    "timeline_json_data": [
      {
        "content_text": "Hirobumi Ito",
        "facet": "Japan",
        "category": "None",
        "start_date": "1885-12-22T16:00:00.000Z",
        "end_date": "1888-04-29T14:59:59.999Z",
        "event_id": 0,
        "annotation_count": 0,
        "segment": "1800s",
        "duration": 859,
        "track": 0,
        "rect_offset_x": 0,
        "rect_offset_y": 0,
        "rect_x_pos": 0,
        "rect_y_pos": 123.75,
        "path_offset_x": 807.5,
        "path_offset_y": 73.125
      },
      {
        "content_text": "Aritomo Yamagata",
        "facet": "Japan",
        "category": "None",
        "start_date": "1898-11-08T16:00:00.000Z",
        "end_date": "1900-10-18T14:59:59.999Z",
        "event_id": 1,
        "annotation_count": 1,
        "segment": "1800s",
        "duration": 709,
        "track": 2,
        "rect_offset_x": 0,
        "rect_offset_y": 0,
        "rect_x_pos": 157.03568985051663,
        "rect_y_pos": 78.75,
        "path_offset_x": 807.5,
        "path_offset_y": 73.125,
        "selected": true
      },
      {
        "content_text": "Taro Katsura",
        "facet": "Japan",
        "category": "None",
        "start_date": "1901-06-02T14:00:00.000Z",
        "end_date": "1906-01-06T16:59:59.999Z",
        "event_id": 2,
        "annotation_count": 1,
        "segment": "1900s",
        "duration": 1679,
        "track": 1,
        "rect_offset_x": 0,
        "rect_offset_y": 0,
        "rect_x_pos": 188.27980536765014,
        "rect_y_pos": 101.25,
        "path_offset_x": 807.5,
        "path_offset_y": 73.125,
        "selected": true
      },
      {
        "content_text": "Kinmochi Saionji",
        "facet": "Japan",
        "category": "Liberal",
        "start_date": "1906-01-07T16:00:00.000Z",
        "end_date": "1908-07-13T14:59:59.999Z",
        "event_id": 3,
        "annotation_count": 1,
        "segment": "1900s",
        "duration": 918,
        "track": 0,
        "rect_offset_x": 0,
        "rect_offset_y": 0,
        "rect_x_pos": 244.36676226738555,
        "rect_y_pos": 123.75,
        "path_offset_x": 807.5,
        "path_offset_y": 73.125,
        "selected": true
      },
      {
        "content_text": "Taro Katsura",
        "facet": "Japan",
        "category": "None",
        "start_date": "1908-07-14T14:00:00.000Z",
        "end_date": "1911-08-29T14:59:59.999Z",
        "event_id": 4,
        "annotation_count": 0,
        "segment": "1900s",
        "duration": 1141,
        "track": 0,
        "rect_offset_x": 0,
        "rect_offset_y": 0,
        "rect_x_pos": 275.0433593475593,
        "rect_y_pos": 123.75,
        "path_offset_x": 807.5,
        "path_offset_y": 73.125
      }
    ],
    "name": "timeline_story.cdc",
    "scenes": [
      {
        "s_width": 1760,
        "s_height": 351.25,
        "s_scale": "Chronological",
        "s_layout": "Unified",
        "s_representation": "Linear",
        "s_categories": [
          [
            {
              "__data__": "( All )"
            }
          ]
        ],
        "s_facets": [
          [
            {
              "__data__": "( All )"
            }
          ]
        ],
        "s_segments": [
          [
            {
              "__data__": "( All )"
            }
          ]
        ],
        "s_filter_type": "Emphasize",
        "s_legend_x": 0,
        "s_legend_y": 0,
        "s_legend_expanded": true,
        "s_captions": [],
        "s_images": [],
        "s_annotations": [
          {
            "annotation_id": "event1_0"
          },
          {
            "annotation_id": "event2_0"
          },
          {
            "annotation_id": "event3_0"
          }
        ],
        "s_selections": [
          1,
          2,
          3
        ],
        "s_timecurve": null,
        "s_order": 0,
        "s_src": "about:blank"
      }
    ],
    "width": 1920,
    "height": 1080,
    "color_palette": [
      "#44b3c2",
      "#f1a94e",
      "#e45641",
      "#5d4c46",
      "#7b8d8e",
      "#2ca02c",
      "#003366",
      "#9467bd",
      "#bcbd22",
      "#e377c2"
    ],
    "usage_log": [
    ],
    "caption_list": [],
    "annotation_list": [
      {
        "id": "event1_0",
        "item_index": 1,
        "count": 0,
        "content_text": "Kinmochi Saionji",
        "x_pos": 326.8667622673855,
        "y_pos": 231.25,
        "x_offset": 78.13323773261448,
        "y_offset": 96.75,
        "x_anno_offset": 50,
        "y_anno_offset": 50,
        "label_width": 100,
        "z_index": 1
      },
      {
        "id": "event2_0",
        "item_index": 2,
        "count": 0,
        "content_text": "Taro Katsura",
        "x_pos": 270.77980536765017,
        "y_pos": 208.75,
        "x_offset": 100.22019463234983,
        "y_offset": 98.25,
        "x_anno_offset": 50,
        "y_anno_offset": 50,
        "label_width": 100,
        "z_index": 2
      },
      {
        "id": "event3_0",
        "item_index": 3,
        "count": 0,
        "content_text": "Aritomo Yamagata",
        "x_pos": 239.53568985051663,
        "y_pos": 186.25,
        "x_offset": 74.46431014948337,
        "y_offset": 95.75,
        "x_anno_offset": 50,
        "y_anno_offset": 50,
        "label_width": 100,
        "z_index": 0
      }
    ],
    "image_list": [],
    "author": "a@a.com",
    "tz_offset": 420,
    "timestamp": 1491515810279
  };
};