mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 06:40:51 +01:00
ccbbedd73f
* 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?
32 lines
653 B
JSON
32 lines
653 B
JSON
{
|
|
"description": "The destination or departure of a ships nav route.",
|
|
"type": "object",
|
|
"properties": {
|
|
"symbol": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"description": "The symbol of the waypoint."
|
|
},
|
|
"type": {
|
|
"$ref": "./WaypointType.json"
|
|
},
|
|
"systemSymbol": {
|
|
"$ref": "./SystemSymbol.json"
|
|
},
|
|
"x": {
|
|
"type": "integer",
|
|
"description": "Position in the universe in the x axis."
|
|
},
|
|
"y": {
|
|
"type": "integer",
|
|
"description": "Position in the universe in the y axis."
|
|
}
|
|
},
|
|
"required": [
|
|
"symbol",
|
|
"type",
|
|
"systemSymbol",
|
|
"x",
|
|
"y"
|
|
]
|
|
} |