Commit d7a79ac2 authored by Trishna Saeharaseelan's avatar Trishna Saeharaseelan
Browse files

fix: string format for water_current_velocity

...@@ -39,6 +39,6 @@ ...@@ -39,6 +39,6 @@
}, },
"speed_over_ground": 4.3, "speed_over_ground": 4.3,
"thrust_applied": 124.3, "thrust_applied": 124.3,
"water_current_velocity": 124.3 "water_current_velocity": "124.3NE"
} }
} }
...@@ -39,6 +39,6 @@ ...@@ -39,6 +39,6 @@
}, },
"speed_over_ground": 4.3, "speed_over_ground": 4.3,
"thrust_applied": 124.3, "thrust_applied": 124.3,
"water_current_velocity": 124.3 "water_current_velocity": "124.3NE"
} }
} }
...@@ -666,9 +666,8 @@ ...@@ -666,9 +666,8 @@
}, },
"water_current_velocity": { "water_current_velocity": {
"description": "Water current magnitude and direction", "description": "Water current magnitude and direction",
"example": 124.3, "example": "124.3NE",
"format": "float", "format": "string"
"type": "number"
} }
}, },
"required": [ "required": [
......
...@@ -541,10 +541,9 @@ platform_status_schema = { ...@@ -541,10 +541,9 @@ platform_status_schema = {
"example": 124.3, "example": 124.3,
}, },
"water_current_velocity": { "water_current_velocity": {
"type": "number", "format": "string",
"format": "float",
"description": "Water current magnitude and direction", "description": "Water current magnitude and direction",
"example": 124.3, "example": "124.3NE",
}, },
"thrust_applied": { "thrust_applied": {
"type": "number", "type": "number",
......
...@@ -647,9 +647,8 @@ ...@@ -647,9 +647,8 @@
}, },
"water_current_velocity": { "water_current_velocity": {
"description": "Water current magnitude and direction", "description": "Water current magnitude and direction",
"example": 124.3, "example": "124.3NE",
"format": "float", "format": "string"
"type": "number"
} }
}, },
"required": [ "required": [
......
...@@ -39,6 +39,6 @@ ...@@ -39,6 +39,6 @@
}, },
"speed_over_ground": 4.3, "speed_over_ground": 4.3,
"thrust_applied": 124.3, "thrust_applied": 124.3,
"water_current_velocity": 124.3 "water_current_velocity": "124.3NE"
} }
} }
...@@ -39,6 +39,6 @@ ...@@ -39,6 +39,6 @@
}, },
"speed_over_ground": 4.3, "speed_over_ground": 4.3,
"thrust_applied": 124.3, "thrust_applied": 124.3,
"water_current_velocity": 124.3 "water_current_velocity": "124.3NE"
} }
} }
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