Commit 36a44fff authored by Trishna Saeharaseelan's avatar Trishna Saeharaseelan
Browse files

refactor: examples and platform_ID type to string

parent 316a1b7a
...@@ -33,9 +33,9 @@ platform_status_message_schema = { ...@@ -33,9 +33,9 @@ platform_status_message_schema = {
"example": "platform_status", "example": "platform_status",
}, },
"platform_ID": { "platform_ID": {
"type": "integer", "type": "string",
"description": "Identifier for platform", "description": "Unique identifier for this platform",
"example": 1, "example": "reav-x-1",
}, },
"status_source": { "status_source": {
"type": "string", "type": "string",
......
...@@ -174,8 +174,8 @@ ...@@ -174,8 +174,8 @@
}, },
"platform_ID": { "platform_ID": {
"description": "Unique identifier for this platform", "description": "Unique identifier for this platform",
"example": 1, "example": "reav-x-1",
"type": "integer" "type": "string"
} }
}, },
"required": [ "required": [
...@@ -200,9 +200,9 @@ ...@@ -200,9 +200,9 @@
"type": "string" "type": "string"
}, },
"platform_ID": { "platform_ID": {
"description": "ID of platform to sending observations", "description": "Unique identifier for this platform",
"example": 2, "example": "reav-x-1",
"type": "integer" "type": "string"
}, },
"points_of_interest": { "points_of_interest": {
"description": "Points from features of interest identified by platform if any found.", "description": "Points from features of interest identified by platform if any found.",
...@@ -408,9 +408,9 @@ ...@@ -408,9 +408,9 @@
"type": "string" "type": "string"
}, },
"platform_ID": { "platform_ID": {
"description": "Identifier for platform", "description": "Unique identifier for this platform",
"example": 23, "example": "reav-x-1",
"type": "integer" "type": "string"
}, },
"serial": { "serial": {
"description": "platform serial number", "description": "platform serial number",
...@@ -581,9 +581,9 @@ ...@@ -581,9 +581,9 @@
"type": "integer" "type": "integer"
}, },
"platform_ID": { "platform_ID": {
"description": "Identifier for platform", "description": "Unique identifier for this platform",
"example": 1, "example": "reav-x-1",
"type": "integer" "type": "string"
}, },
"platform_state": { "platform_state": {
"description": "Current state executed by platform. E.g. STOP, IDLE, ABORT.", "description": "Current state executed by platform. E.g. STOP, IDLE, ABORT.",
......
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