{
  "success" : true,
  "project" : {
    "calendar"     : "general",
    "startDate"    : "2017-01-16",
    "hoursPerDay"  : 24,
    "daysPerWeek"  : 5,
    "daysPerMonth" : 20
  },
  "calendars" : {
    "rows" : [
      {
        "id"        : "general",
        "name"      : "General",
        "intervals" : [
          {
            "recurrentStartDate" : "on Sat",
            "recurrentEndDate"   : "on Mon",
            "isWorking"          : false
          },
          {
            "name"      : "Some big holiday",
            "startDate" : "2017-02-01",
            "endDate"   : "2017-02-02",
            "isWorking" : false,
            "cls"       : "holiday"
          },
          {
            "name"      : "Chinese New Year",
            "startDate" : "2017-01-11",
            "endDate"   : "2017-01-12",
            "isWorking" : false,
            "cls"       : "holiday"
          },
          {
            "name"      : "Additional holiday",
            "startDate" : "2017-02-15",
            "endDate"   : "2017-02-18",
            "isWorking" : false,
            "cls"       : "holiday"
          }
        ]
      }
    ]
  },
  "dependencies" : {
    "rows" : [
      {
        "id"       : 1,
        "fromTask" : 11,
        "toTask"   : 17
      },
      {
        "id"       : 2,
        "fromTask" : 12,
        "toTask"   : 17
      },
      {
        "id"       : 3,
        "fromTask" : 13,
        "toTask"   : 17
      },
      {
        "id"       : 4,
        "fromTask" : 17,
        "toTask"   : 34
      },
      {
        "id"       : 10,
        "fromTask" : 21,
        "toTask"   : 5
      },
      {
        "id"       : 12,
        "fromTask" : 17,
        "toTask"   : 16
      },
      {
        "id"       : 13,
        "fromTask" : 16,
        "toTask"   : 20
      },
      {
        "id"       : 14,
        "fromTask" : 16,
        "toTask"   : 19
      },
      {
        "id"       : 15,
        "fromTask" : 16,
        "toTask"   : 18
      },
      {
        "id"       : 16,
        "fromTask" : 18,
        "toTask"   : 21
      },
      {
        "id"       : 21,
        "fromTask" : 130,
        "toTask"   : 170
      },
      {
        "id"       : 22,
        "fromTask" : 120,
        "toTask"   : 170
      },
      {
        "id"       : 23,
        "fromTask" : 110,
        "toTask"   : 170
      },
      {
        "id"       : 24,
        "fromTask" : 170,
        "toTask"   : 40
      },
      {
        "id"       : 25,
        "fromTask" : 40,
        "toTask"   : 50
      },
      {
        "id"       : 26,
        "fromTask" : 50,
        "toTask"   : 60
      },
      {
        "id"       : 27,
        "fromTask" : 60,
        "toTask"   : 100
      },
      {
        "id"       : 28,
        "fromTask" : 5,
        "toTask"   : 50,
        "cls"      : "crossPD"
      }
    ]
  },
  "assignments" : {
    "rows" : [
      {
        "id"         : 1,
        "taskId"     : 11,
        "resourceId" : 1,
        "units"      : 100
      },
      {
        "id"         : 2,
        "taskId"     : 11,
        "resourceId" : 2,
        "units"      : 80
      },
      {
        "id"         : 3,
        "taskId"     : 12,
        "resourceId" : 5,
        "units"      : 50
      },
      {
        "id"         : 4,
        "taskId"     : 13,
        "resourceId" : 6,
        "units"      : 50
      }
    ]
  },
  "resources" : {
    "rows" : [
      {
        "id"         : 1,
        "rate"       : 180,
        "perUseCost" : 180,
        "name"       : "Mats"
      },
      {
        "id"         : 2,
        "rate"       : 180,
        "perUseCost" : 500,
        "name"       : "Nickolay"
      },
      {
        "id"   : 3,
        "rate" : 180,
        "name" : "Goran"
      },
      {
        "id"   : 4,
        "rate" : 70,
        "name" : "Dan"
      },
      {
        "id"   : 5,
        "rate" : 50,
        "name" : "Jake"
      },
      {
        "id"   : 6,
        "rate" : 60,
        "name" : "Kim"
      },
      {
        "id"   : 7,
        "rate" : 50,
        "name" : "Bart"
      }
    ]
  },
  "tasks" : {
    "rows" : [
      {
        "id"                : 1000,
        "startDate"         : "2017-01-16",
        "name"              : "Project A",
        "TaskType"          : "Gnt.examples.advanced.model.Project",
        "description"       : "Project A description",
        "allowDependencies" : true,
        "percentDone"       : 48.627450980392155,
        "duration"          : 20,
        "iconCls"           : "projectIcon",
        "expanded"          : true,
        "children"          : [
          {
            "id"          : 1,
            "name"        : "Planning",
            "percentDone" : 50,
            "startDate"   : "2017-01-16",
            "duration"    : 10,
            "expanded"    : true,
            "rollup"      : true,
            "baselines"   : [
              {
                "startDate" : "2017-01-13",
                "endDate"   : "2017-01-30"
              }
            ],
            "children" : [
              {
                "id"          : 11,
                "leaf"        : true,
                "name"        : "Investigate",
                "percentDone" : 50,
                "cls"         : "LowPrio",
                "startDate"   : "2017-01-16",
                "duration"    : 8,
                "baselines"   : [
                  {
                    "startDate" : "2017-01-18",
                    "endDate"   : "2017-01-26"
                  }
                ],
                "segments" : [
                  {
                    "id"        : 1,
                    "startDate" : "2017-01-16",
                    "duration"  : 1
                  },
                  {
                    "id"        : 2,
                    "startDate" : "2017-01-18",
                    "duration"  : 2
                  },
                  {
                    "id"        : 3,
                    "startDate" : "2017-01-23",
                    "duration"  : 5
                  }
                ]
              },
              {
                "id"          : 12,
                "leaf"        : true,
                "name"        : "Assign resources",
                "percentDone" : 50,
                "startDate"   : "2017-01-16",
                "duration"    : 10,
                "baselines"   : [{
                  "startDate" : "2017-01-25",
                  "endDate"   : "2017-01-30"
                }]
              },
              {
                "id"           : 13,
                "leaf"         : true,
                "name"         : "Gather documents (not resizable)",
                "resizable"    : false,
                "percentDone"  : 50,
                "startDate"    : "2017-01-16",
                "DeadlineDate" : "2017-02-10",
                "cls"          : "important",
                "duration"     : 10,
                "baselines"    : [{
                  "startDate" : "2017-01-25",
                  "endDate"   : "2017-01-30"
                }]
              },
              {
                "id"          : 17,
                "leaf"        : true,
                "name"        : "Report to management",
                "percentDone" : 0,
                "startDate"   : "2017-01-28",
                "duration"    : 0,
                "baselines"   : [{
                  "startDate" : "2017-01-27",
                  "endDate"   : "2017-02-04"
                }]
              }
            ]
          },
          {
            "id"          : 4,
            "cls"         : "LowPrio",
            "name"        : "Implementation Phase",
            "percentDone" : 46.95652173913044,
            "startDate"   : "2017-01-30",
            "duration"    : 10,
            "expanded"    : true,
            "rollup"      : true,
            "baselines"   : [{
              "startDate" : "2017-01-23",
              "endDate"   : "2017-03-15"
            }],
            "children" : [
              {
                "id"          : 34,
                "leaf"        : true,
                "name"        : "Preparation work",
                "percentDone" : 30,
                "startDate"   : "2017-01-30",
                "duration"    : 5,
                "baselines"   : [{
                  "startDate" : "2017-01-20",
                  "endDate"   : "2017-01-25"
                }]
              },
              {
                "id"          : 16,
                "leaf"        : true,
                "name"        : "Choose technology suite",
                "percentDone" : 30,
                "startDate"   : "2017-01-30",
                "duration"    : 5,
                "rollup"      : true,
                "baselines"   : [{
                  "startDate" : "2017-03-10",
                  "endDate"   : "2017-03-20"
                }]
              },
              {
                "id"          : 15,
                "name"        : "Build prototype",
                "percentDone" : 60,
                "startDate"   : "2017-02-06",
                "duration"    : 5,
                "expanded"    : false,
                "baselines"   : [{
                  "startDate" : "2017-01-28",
                  "endDate"   : "2017-03-06"
                }],
                "children" : [
                  {
                    "id"          : 20,
                    "leaf"        : true,
                    "name"        : "Step 1",
                    "percentDone" : 60,
                    "startDate"   : "2017-02-06",
                    "duration"    : 4,
                    "baselines"   : [{
                      "startDate" : "2017-01-27",
                      "endDate"   : "2017-02-06"
                    }]
                  },
                  {
                    "id"          : 19,
                    "leaf"        : true,
                    "name"        : "Step 2",
                    "percentDone" : 60,
                    "startDate"   : "2017-02-06",
                    "duration"    : 4,
                    "baselines"   : [{
                      "startDate" : "2017-02-17",
                      "endDate"   : "2017-02-22"
                    }]
                  },
                  {
                    "id"          : 18,
                    "leaf"        : true,
                    "name"        : "Step 3",
                    "percentDone" : 60,
                    "startDate"   : "2017-02-06",
                    "duration"    : 4,
                    "baselines"   : [{
                      "startDate" : "2017-02-25",
                      "endDate"   : "2017-03-07"
                    }]
                  },
                  {
                    "id"          : 21,
                    "leaf"        : true,
                    "name"        : "Follow up with customer",
                    "percentDone" : 60,
                    "startDate"   : "2017-02-10",
                    "duration"    : 1,
                    "rollup"      : true,
                    "baselines"   : [{
                      "startDate" : "2017-03-04",
                      "endDate"   : "2017-03-08"
                    }]
                  }
                ]
              }
            ]
          },
          {
            "id"          : 5,
            "leaf"        : true,
            "name"        : "Customer approval",
            "percentDone" : 0,
            "startDate"   : "2017-02-11",
            "duration"    : 0,
            "cls"         : "CustomerApproval",
            "rollup"      : true,
            "baselines"   : [{
              "startDate" : "2017-03-01",
              "endDate"   : "2017-03-08"
            }]
          }
        ]
      },
      {
        "id"                : 1001,
        "startDate"         : "2017-01-23",
        "name"              : "Project B",
        "TaskType"          : "Gnt.examples.advanced.model.Project",
        "description"       : "Project B description goes here",
        "percentDone"       : 37.4025974025974,
        "allowDependencies" : true,
        "duration"          : 25,
        "expanded"          : true,
        "iconCls"           : "projectIcon",
        "children"          : [
          {
            "id"             : 10,
            "name"           : "Planning",
            "percentDone"    : 50,
            "startDate"      : "2017-01-23",
            "showInTimeline" : true,
            "duration"       : 10,
            "expanded"       : true,
            "rollup"         : true,
            "baselines"      : [{
              "startDate" : "2017-01-13",
              "endDate"   : "2017-01-30"
            }],
            "children" : [
              {
                "id"          : 110,
                "leaf"        : true,
                "name"        : "Investigate",
                "percentDone" : 50,
                "cls"         : "LowPrio",
                "startDate"   : "2017-01-23",
                "duration"    : 5,
                "baselines"   : [{
                  "startDate" : "2017-01-20",
                  "endDate"   : "2017-01-28"
                }]
              },
              {
                "id"          : 120,
                "leaf"        : true,
                "name"        : "Assign resources",
                "percentDone" : 50,
                "startDate"   : "2017-01-23",
                "duration"    : 10,
                "baselines"   : [{
                  "startDate" : "2017-01-25",
                  "endDate"   : "2017-01-30"
                }]
              },
              {
                "id"          : 130,
                "leaf"        : true,
                "name"        : "Gather documents (not resizable)",
                "resizable"   : false,
                "percentDone" : 50,
                "startDate"   : "2017-01-23",
                "duration"    : 10,
                "baselines"   : [{
                  "startDate" : "2017-01-25",
                  "endDate"   : "2017-01-30"
                }]
              },
              {
                "id"             : 170,
                "leaf"           : true,
                "name"           : "Report to management",
                "showInTimeline" : true,
                "percentDone"    : 0,
                "startDate"      : "2017-02-04",
                "duration"       : 0,
                "baselines"      : [{
                  "startDate" : "2017-01-29",
                  "endDate"   : "2017-02-04"
                }]
              }
            ]
          },
          {
            "id"          : 40,
            "cls"         : "LowPrio",
            "name"        : "Implementation Phase 1",
            "percentDone" : 43.92857142857143,
            "startDate"   : "2017-02-06",
            "duration"    : 6,
            "expanded"    : false,
            "rollup"      : true,
            "baselines"   : [{
              "startDate" : "2017-01-23",
              "endDate"   : "2017-03-15"
            }],
            "children" : [
              {
                "id"          : 340,
                "leaf"        : true,
                "name"        : "Preparation work",
                "percentDone" : 30,
                "startDate"   : "2017-02-06",
                "duration"    : 5,
                "baselines"   : [{
                  "startDate" : "2017-01-20",
                  "endDate"   : "2017-01-25"
                }]
              },
              {
                "id"          : 140,
                "leaf"        : true,
                "name"        : "Evaluate chipsets",
                "percentDone" : 30,
                "startDate"   : "2017-02-06",
                "duration"    : 5,
                "baselines"   : [{
                  "startDate" : "2017-02-25",
                  "endDate"   : "2017-03-07"
                }]
              },
              {
                "id"             : 160,
                "leaf"           : true,
                "name"           : "Choose technology suite",
                "showInTimeline" : true,
                "percentDone"    : 30,
                "startDate"      : "2017-02-06",
                "duration"       : 5,
                "rollup"         : true,
                "baselines"      : [{
                  "startDate" : "2017-03-10",
                  "endDate"   : "2017-03-20"
                }]
              },
              {
                "id"             : 150,
                "name"           : "Build prototype",
                "percentDone"    : 60,
                "startDate"      : "2017-02-07",
                "constraintType" : "startnoearlierthan",
                "constraintDate" : "2017-02-07",
                "duration"       : 5,
                "expanded"       : true,
                "baselines"      : [{
                  "startDate" : "2017-01-28",
                  "endDate"   : "2017-03-06"
                }],
                "children" : [
                  {
                    "id"          : 200,
                    "leaf"        : true,
                    "name"        : "Step 1",
                    "percentDone" : 60,
                    "startDate"   : "2017-02-07",
                    "duration"    : 4,
                    "baselines"   : [{
                      "startDate" : "2017-01-27",
                      "endDate"   : "2017-02-06"
                    }]
                  },
                  {
                    "id"          : 190,
                    "leaf"        : true,
                    "name"        : "Step 2",
                    "percentDone" : 60,
                    "startDate"   : "2017-02-07",
                    "duration"    : 4,
                    "baselines"   : [{
                      "startDate" : "2017-02-17",
                      "endDate"   : "2017-02-22"
                    }]
                  },
                  {
                    "id"          : 180,
                    "leaf"        : true,
                    "name"        : "Step 3",
                    "percentDone" : 60,
                    "startDate"   : "2017-02-07",
                    "duration"    : 4,
                    "baselines"   : [{
                      "startDate" : "2017-02-25",
                      "endDate"   : "2017-03-07"
                    }]
                  },
                  {
                    "id"             : 210,
                    "leaf"           : true,
                    "name"           : "Follow up with customer",
                    "percentDone"    : 60,
                    "startDate"      : "2017-02-13",
                    "constraintType" : "startnoearlierthan",
                    "constraintDate" : "2017-02-13",
                    "duration"       : 1,
                    "rollup"         : true,
                    "baselines"      : [{
                      "startDate" : "2017-03-04",
                      "endDate"   : "2017-03-08"
                    }]
                  }
                ]
              }
            ]
          },
          {
            "id"             : 50,
            "leaf"           : true,
            "name"           : "Customer approval",
            "percentDone"    : 0,
            "startDate"      : "2017-02-14",
            "duration"       : 0,
            "showInTimeline" : true,
            "cls"            : "CustomerApproval",
            "rollup"         : true,
            "baselines"      : [{
              "startDate" : "2017-03-01",
              "endDate"   : "2017-03-08"
            }]
          },
          {
            "id"             : 60,
            "name"           : "Implementation Phase 2",
            "percentDone"    : 16.666666666666668,
            "startDate"      : "2017-02-15",
            "duration"       : 8,
            "expanded"       : false,
            "cls"            : "important",
            "constraintType" : "startnoearlierthan",
            "constraintDate" : "2017-02-15",
            "baselines"      : [{
              "startDate" : "2017-03-08",
              "endDate"   : "2017-03-18"
            }],
            "children" : [
              {
                "id"          : 250,
                "leaf"        : true,
                "name"        : "Task 1",
                "percentDone" : 10,
                "startDate"   : "2017-02-15",
                "duration"    : 8,
                "baselines"   : [{
                  "startDate" : "2017-03-08",
                  "endDate"   : "2017-03-18"
                }]
              },
              {
                "id"          : 260,
                "leaf"        : true,
                "name"        : "Task 2",
                "percentDone" : 20,
                "startDate"   : "2017-02-15",
                "duration"    : 8,
                "baselines"   : [{
                  "startDate" : "2017-03-08",
                  "endDate"   : "2017-03-18"
                }]
              },
              {
                "id"          : 270,
                "leaf"        : true,
                "name"        : "Task 3",
                "percentDone" : 20,
                "startDate"   : "2017-02-15",
                "duration"    : 8,
                "rollup"      : true,
                "baselines"   : [{
                  "startDate" : "2017-03-08",
                  "endDate"   : "2017-03-18"
                }]
              }
            ]
          },
          {
            "id"          : 100,
            "leaf"        : true,
            "name"        : "Customer approval 2 (not draggable)",
            "draggable"   : false,
            "percentDone" : 0,
            "startDate"   : "2017-02-25",
            "rollup"      : true,
            "duration"    : 0,
            "baselines"   : [{
              "startDate" : "2017-03-17",
              "endDate"   : "2017-03-17"
            }]
          }
        ]
      }
    ]
  }
}
