AkashSaikia

Monthly Scheduler data structure

Jun 16th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. window.monthlySchedulerData = [
  2.     {
  3.         date: "06-17-2016", // "Month-year-date"
  4.         arrTasks: [
  5.             {
  6.                 task_id: "1",
  7.                 date: "01-01-2017",
  8.                 from: "01-01-2017",
  9.                 to: "01-01-2017",
  10.                 from_time: "9:30am",
  11.                 to_time: "2pm",
  12.                 tags: "Kitchen",
  13.                 otherFields: "..."
  14.             },
  15.             {
  16.                 task_id: "2",
  17.                 date: "01-01-2017",
  18.                 from: "01-01-2017",
  19.                 to: "01-01-2017",
  20.                 from_time: "9:30am",
  21.                 to_time: "2pm",
  22.                 tags: "Kitchen",
  23.                 otherFields: "..."
  24.             }
  25.         ],
  26.         arrHolidays: [
  27.             {
  28.                 name: "Diwali",
  29.                 start_date: "",
  30.                 end_date: ""
  31.             },
  32.             {
  33.                 name: "Xmas",
  34.                 start_date: "",
  35.                 end_date: ""
  36.             }
  37.  
  38.         ]
  39.     },
  40.     {
  41.         date: "06-19-2016", // "Month-year-date"
  42.         arrTasks: [
  43.             {
  44.                 task_id: "1",
  45.                 date: "01-01-2017",
  46.                 from: "01-01-2017",
  47.                 to: "01-01-2017",
  48.                 from_time: "9:30am",
  49.                 to_time: "2pm",
  50.                 tags: "Kitchen",
  51.                 otherFields: "..."
  52.             }
  53.         ]
  54.     }
  55. ];
Add Comment
Please, Sign In to add comment