Verified Commit dc538669 authored by Dan Jones's avatar Dan Jones
Browse files

refactor: revert change to emergency schema

parent 735243de
......@@ -13,8 +13,24 @@ emergency_schema = {
+ " partner's platform/C2",
"example": "go_home",
},
"target_waypoint": {
"$ref": "https://geojson.org/schema/Point.json",
"target_waypoint_latitude": {
"type": "number",
"format": "float",
"description": "Y-coordinate safe place for respective platform",
"example": 50.365,
},
"target_waypoint_longitude": {
"type": "number",
"format": "float",
"description": "X-coordinate safe place for respective platform",
"example": -7.432,
},
"target_depth": {
"type": "number",
"format": "float",
"description": "Z-coordinate safe place for respective platform"
+ " . If platform to NOT stay at depth, key in `0.0`",
"example": 10.0,
},
},
"required": [
......
......@@ -1794,8 +1794,23 @@
"example": "go_home",
"type": "string"
},
"target_waypoint": {
"$ref": "#/components/schemas/geojson.org.schema.Point.json"
"target_depth": {
"description": "Z-coordinate safe place for respective platform . If platform to NOT stay at depth, key in `0.0`",
"example": 10.0,
"format": "float",
"type": "number"
},
"target_waypoint_latitude": {
"description": "Y-coordinate safe place for respective platform",
"example": 50.365,
"format": "float",
"type": "number"
},
"target_waypoint_longitude": {
"description": "X-coordinate safe place for respective platform",
"example": -7.432,
"format": "float",
"type": "number"
}
},
"required": [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment