api-docs/models/SystemWaypoint.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

38 lines
980 B
JSON

{
"type": "object",
"properties": {
"symbol": {
"$ref": "./WaypointSymbol.json"
},
"type": {
"$ref": "./WaypointType.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."
}
},
"required": [
"symbol",
"type",
"x",
"y",
"orbitals"
]
}