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": { "status": {
"$ref": "./ShipNavStatus.json" "$ref": "./ShipNavStatus.json"
}, },
"speed": { "flightMode": {
"$ref": "./ShipNavSpeed.json" "$ref": "./ShipNavFlightMode.json"
} }
}, },
"required": [ "required": [
@ -25,6 +25,6 @@
"waypointSymbol", "waypointSymbol",
"route", "route",
"status", "status",
"speed" "flightMode"
] ]
} }

View File

@ -1,6 +1,6 @@
{ {
"type": "string", "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": [ "enum": [
"DRIFT", "DRIFT",
"STEALTH", "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.", "description": "The symbol of the shipyard. The symbol is the same as the waypoint where the shipyard is located.",
"minLength": 1 "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": { "transactions": {
"type": "array", "type": "array",
"description": "The list of recent transactions at this shipyard.", "description": "The list of recent transactions at this shipyard.",
@ -24,6 +36,6 @@
}, },
"required": [ "required": [
"symbol", "symbol",
"ships" "shipTypes"
] ]
} }