{
  "Modules": [
    { "Id": "splitter1", "Type": "Splitter4", "Degree": null },
    { "Id": "battery1", "Type": "Battery", "Degree": null },
    { "Id": "servo1", "Type": "Servo1", "Degree": 45 },
    { "Id": "servo2", "Type": "Servo2", "Degree": 60 },
    { "Id": "servo3", "Type": "Servo1", "Degree": 90 },
    { "Id": "servo4", "Type": "Servo2", "Degree": 45 },
    { "Id": "servo5", "Type": "Servo1", "Degree": 120 },
    { "Id": "servo6", "Type": "Servo2", "Degree": 30 },
    { "Id": "endModule", "Type": "Gripper", "Degree": null },
    { "Id": "dc1", "Type": "DC", "Degree": null }
  ],
  "Connections": [
    {
      "FromModuleId": "splitter1",
      "ToModuleId": "battery1",
      "FromSocket": "MaleSocket1",
      "ToSocket": "FemaleSocket",
      "Orientation": 0
    },
    {
      "FromModuleId": "battery1",
      "ToModuleId": "servo1",
      "FromSocket": "MaleSocket",
      "ToSocket": "BodySocket",
      "Orientation": 0
    },
    {
      "FromModuleId": "servo1",
      "ToModuleId": "servo2",
      "FromSocket": "MaleSocket",
      "ToSocket": "FemaleSocket",
      "Orientation": 90
    },
    {
      "FromModuleId": "servo2",
      "ToModuleId": "servo3",
      "FromSocket": "MaleSocket",
      "ToSocket": "FemaleSocket",
      "Orientation": 0
    },
    {
      "FromModuleId": "servo3",
      "ToModuleId": "servo4",
      "FromSocket": "MaleSocket",
      "ToSocket": "FemaleSocket",
      "Orientation": 90
    },
    {
      "FromModuleId": "servo4",
      "ToModuleId": "servo5",
      "FromSocket": "MaleSocket",
      "ToSocket": "FemaleSocket",
      "Orientation": 0
    },
    {
      "FromModuleId": "servo5",
      "ToModuleId": "servo6",
      "FromSocket": "MaleSocket",
      "ToSocket": "FemaleSocket",
      "Orientation": 90
    },
    {
      "FromModuleId": "servo6",
      "ToModuleId": "endModule",
      "FromSocket": "MaleSocket",
      "ToSocket": "FemaleSocket",
      "Orientation": 0
    },
    {
      "FromModuleId": "splitter1",
      "ToModuleId": "dc1",
      "FromSocket": "MaleSocket2",
      "ToSocket": "FemaleSocket",
      "Orientation": 0
    }
  ]
}
