{
  "header":{
    "message_ID": "b427003c-0000-11aa-a1eb-bvcdfghjgfdd",
    "timestamp": "2022-11-16T00:00:00Z",
    "version": 2,
    "source": "gui",
    "destination": "",
    "delivery_type": "broadcast",
    "encoded": false
  },
  "payload":{
    "message_type": "planning_configuration",
    "planning_config_ID": 1,
    "primitives": [
      {
        "instruction": "stay_outside",
        "feature": {
          "type": "Feature",
          "properties": {
            "name": "The Rock",
            "type": "exclusion_zone"
          },
          "geometry": {
            "type": "Polygon", 
            "coordinates": [
              [
                [
                  -4.181176,
                  50.334019
                ],
                [
                  -4.179017,
                  50.332863
                ],
                [
                  -4.179924,
                  50.332174
                ],
                [
                  -4.182082,
                  50.33333
                ],
                [
                  -4.181176,
                  50.334019
                ]
              ]
            ]
          }
        }
      },
      {
        "instruction": "stay_inside",
        "feature": {
          "type": "Feature",
          "properties": {
            "name": "Survey Zone Charlie",
            "type": "operating area"
          },
          "geometry": {
            "type": "Polygon", 
            "coordinates": [
              [
                [
                  -4.183265,
                  50.337335
                ],
                [
                  -4.178084,
                  50.33456
                ],
                [
                  -4.182432,
                  50.331253
                ],
                [
                  -4.187612,
                  50.334028
                ],
                [
                  -4.183265,
                  50.337335
                ]
              ]
            ]
          }
        }
      },
      {
        "instruction": "navigate_to",
        "feature": {
          "type": "Feature",
          "properties": {
            "name": "Target a",
            "type": "target"
          },
          "geometry": {
            "type": "Point", 
            "coordinates": [
              -4.183181,
              50.335942
            ]
          }
        }
      }
    ],   
    "squads": [
      {
        "squad_ID": 1,
        "no_of_platforms": 1,
        "squad_mission_type": "tracking",
        "platforms": [
          {
            "operator": "hydrosurv",
            "model": "reav60",
            "platform_ID": "usvdecibel",
            "active": true,
            "emergency": {
              "target_waypoint_latitude": 50.33611100020795,
              "target_waypoint_longitude": -4.189772466767039,
              "safe_command": "go_home",
              "target_depth": 10.0
            },
            "min_altitude": 0.0,
            "max_velocity": 0.9,
            "min_velocity": 0.1,
            "target_altitude": 0.0,
            "endurance_relative_to_water_speed": {
              "min_battery_rating": 2.25,
              "max_battery_rating": 1.23,
              "avg_battery_rating": 1.9
            },
            "additional_data": {}
          }
        ]
      },
      {
        "squad_ID": 2,
        "no_of_platforms": 4,
        "squad_mission_type": "survey",
        "platforms": [
          {
            "operator": "planet-ocean",
            "platform_ID": "ecosub-1",
            "model": "ecosub",
            "active": true,
            "beacon_ID": 10021,
            "emergency": {
              "target_waypoint_latitude": 50.32933594228737,
              "target_waypoint_longitude": -4.192219151149999,
              "safe_command": "go_home",
              "target_depth": 10.0
            },
            "min_altitude": 5.0,
            "max_velocity": 0.9,
            "min_velocity": 0.1,
            "target_altitude": 15.0,
            "turning_radius": 1.5,
            "endurance_relative_to_water_speed": {
              "min_battery_rating": 2.25,
              "max_battery_rating": 1.23,
              "avg_battery_rating": 1.9
            },
            "scan_sensor": {
              "sensor_type": "SIDESCAN",
              "swath_width": 38.0,
              "frequency": 700.0,
              "angle": 110.0
            },
            "additional_data": {
                "new_sensor_a": "test_sensor",
                "range": 10.0
            }
          },
          {
            "operator": "planet-ocean",
            "platform_ID": "ecosub-2",
            "model": "ecosub",
            "active": true,
            "beacon_ID": 10021,
            "emergency": {
              "target_waypoint_latitude": 50.32775207068519,
              "target_waypoint_longitude": -4.192219151149999,
              "safe_command": "go_home",
              "target_depth": 0.0
            },
            "min_altitude": 5.0,
            "max_velocity": 0.9,
            "min_velocity": 0.1,
            "target_altitude": 15.0,
            "turning_radius": 1.5,
            "endurance_relative_to_water_speed": {
              "min_battery_rating": 2.25,
              "max_battery_rating": 1.23,
              "avg_battery_rating": 1.9
            },
            "scan_sensor": {
              "sensor_type": "SIDESCAN",
              "swath_width": 38.0,
              "frequency": 700.0,
              "angle": 110.0
            },
            "additional_data": {
              "new_sensor_a": "test_sensor",
              "range": 10.0
            }
          },
          {
            "operator": "planet-ocean",
            "platform_ID": "ecosub-3",
            "model": "ecosub",
            "active": true,
            "beacon_ID": 10021,
            "emergency": {
              "target_waypoint_latitude": 50.326744124905844,
              "target_waypoint_longitude": -4.184550412882118,
              "safe_command": "go_home",
              "target_depth": 0.0
            },
            "min_altitude": 5.0,
            "max_velocity": 0.9,
            "min_velocity": 0.1,
            "target_altitude": 15.0,
            "turning_radius": 1.5,
            "endurance_relative_to_water_speed": {
              "min_battery_rating": 2.25,
              "max_battery_rating": 1.23,
              "avg_battery_rating": 1.9
            },
            "scan_sensor": {
              "sensor_type": "SIDESCAN",
              "swath_width": 38.0,
              "frequency": 700.0,
              "angle": 110.0
            },
            "additional_data": {
              "new_sensor_a": "test_sensor",
              "range": 10.0
            }
          },
          {
            "operator": "planet-ocean",
            "platform_ID": "ecosub-4",
            "model": "ecosub",
            "active": true,
            "beacon_ID": 10021,
            "emergency": {
              "target_waypoint_latitude": 50.32616814629094,
              "target_waypoint_longitude": -4.188610333142037,
              "safe_command": "go_home",
              "target_depth": 0.0
            },
            "min_altitude": 5.0,
            "max_velocity": 0.9,
            "min_velocity": 0.1,
            "target_altitude": 15.0,
            "turning_radius": 1.5,
            "scan_sensor": {
              "sensor_type": "SIDESCAN",
              "swath_width": 38.0,
              "frequency": 700.0,
              "angle": 110.0
            },
            "additional_data": {
              "new_sensor_a": "test_sensor",
              "range": 10.0
            }
          }
        ]
      },
      {
        "squad_ID": 3,
        "no_of_platforms": 1,
        "squad_mission_type": "inspection",
        "platforms": [
          {
            "operator": "noc",
            "platform_ID": "ah-1",
            "model": "autosub",
            "active": true,
            "beacon_ID": 2407,
            "emergency": {
              "target_waypoint_latitude": 50.3342284629413,
              "target_waypoint_longitude": -4.19759350502369,
              "safe_command": "abort_now",
              "target_depth": 0.0
            },
            "min_altitude": 5.0,
            "max_velocity": 0.9,
            "min_velocity": 0.1,
            "target_altitude": 15.0,
            "turning_radius": 1.5,
            "endurance_relative_to_water_speed": {
              "min_battery_rating": 2.25,
              "max_battery_rating": 1.23,
              "avg_battery_rating": 1.9
            },
            "scan_sensor": {
              "sensor_type": "SIDESCAN",
              "swath_width": 38.0,
              "frequency": 700.0,
              "angle": 110.0
            },
            "additional_data": {
              "new_sensor_a": "test_sensor",
              "range": 10.0
            }
          }
        ]
      }
    ]
  }
}