mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-12-26 06:38:06 +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?
69 lines
1.8 KiB
JSON
69 lines
1.8 KiB
JSON
{
|
|
"description": "A waypoint is a location that ships can travel to such as a Planet, Moon or Space Station.",
|
|
"type": "object",
|
|
"properties": {
|
|
"symbol": {
|
|
"$ref": "./WaypointSymbol.json"
|
|
},
|
|
"type": {
|
|
"$ref": "./WaypointType.json"
|
|
},
|
|
"systemSymbol": {
|
|
"$ref": "./SystemSymbol.json"
|
|
},
|
|
"x": {
|
|
"type": "integer",
|
|
"description": "Relative position of the waypoint on the system's x axis. This is not an absolute position in the universe."
|
|
},
|
|
"y": {
|
|
"type": "integer",
|
|
"description": "Relative position of the waypoint on the system's y axis. This is not an absolute position in the universe."
|
|
},
|
|
"orbitals": {
|
|
"type": "array",
|
|
"description": "Waypoints that orbit this waypoint.",
|
|
"items": {
|
|
"$ref": "./WaypointOrbital.json"
|
|
}
|
|
},
|
|
"orbits": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"description": "The symbol of the parent waypoint, if this waypoint is in orbit around another waypoint. Otherwise this value is undefined."
|
|
},
|
|
"faction": {
|
|
"$ref": "./WaypointFaction.json"
|
|
},
|
|
"traits": {
|
|
"type": "array",
|
|
"description": "The traits of the waypoint.",
|
|
"items": {
|
|
"$ref": "./WaypointTrait.json"
|
|
}
|
|
},
|
|
"modifiers": {
|
|
"type": "array",
|
|
"description": "The modifiers of the waypoint.",
|
|
"items": {
|
|
"$ref": "./WaypointModifier.json"
|
|
}
|
|
},
|
|
"chart": {
|
|
"$ref": "./Chart.json"
|
|
},
|
|
"isUnderConstruction": {
|
|
"type": "boolean",
|
|
"description": "True if the waypoint is under construction."
|
|
}
|
|
},
|
|
"required": [
|
|
"symbol",
|
|
"type",
|
|
"systemSymbol",
|
|
"x",
|
|
"y",
|
|
"orbitals",
|
|
"traits",
|
|
"isUnderConstruction"
|
|
]
|
|
} |