api-docs/models/ShipNavRoute.json
Keith Jackson ccbbedd73f
Remove $ref siblings, Agent.shipCount NOT optional, typos (#82)
* Typo and descriptions

* Remove $ref suiblings.

* missed one when refactoring ShipNavRouteWaypointDeprecated to keep deprecated flag.

* Agent.shipCount always seems to be returned. Why would this be optional?
2023-12-16 08:46:48 -08:00

32 lines
816 B
JSON

{
"type": "object",
"description": "The routing information for the ship's most recent transit or current location.",
"properties": {
"destination": {
"$ref": "./ShipNavRouteWaypoint.json"
},
"departure": {
"$ref": "./ShipNavRouteWaypointDeprecated.json"
},
"origin": {
"$ref": "./ShipNavRouteWaypoint.json"
},
"departureTime": {
"type": "string",
"format": "date-time",
"description": "The date time of the ship's departure."
},
"arrival": {
"type": "string",
"format": "date-time",
"description": "The date time of the ship's arrival. If the ship is in-transit, this is the expected time of arrival."
}
},
"required": [
"destination",
"departure",
"origin",
"departureTime",
"arrival"
]
}