rename speed to flight mode

This commit is contained in:
Space Admiral 2022-12-18 21:39:25 -08:00
parent a27432248e
commit 7603bcfd67
3 changed files with 17 additions and 5 deletions

View File

@ -16,8 +16,8 @@
"status": {
"$ref": "./ShipNavStatus.json"
},
"speed": {
"$ref": "./ShipNavSpeed.json"
"flightMode": {
"$ref": "./ShipNavFlightMode.json"
}
},
"required": [
@ -25,6 +25,6 @@
"waypointSymbol",
"route",
"status",
"speed"
"flightMode"
]
}

View File

@ -1,6 +1,6 @@
{
"type": "string",
"description": "The ship's set speed when travelling between waypoints.",
"description": "The ship's set speed when traveling between waypoints or systems.",
"enum": [
"DRIFT",
"STEALTH",

View File

@ -7,6 +7,18 @@
"description": "The symbol of the shipyard. The symbol is the same as the waypoint where the shipyard is located.",
"minLength": 1
},
"shipTypes": {
"type": "array",
"description": "The list of ship types available for purchase at this shipyard.",
"items": {
"type": "object",
"properties": {
"type": {
"$ref": "./ShipType.json"
}
}
}
},
"transactions": {
"type": "array",
"description": "The list of recent transactions at this shipyard.",
@ -24,6 +36,6 @@
},
"required": [
"symbol",
"ships"
"shipTypes"
]
}