api-docs/models/SystemWaypoint.json

38 lines
980 B
JSON
Raw Normal View History

2022-10-22 18:05:01 +02:00
{
"type": "object",
"properties": {
"symbol": {
2023-12-05 23:00:24 +01:00
"$ref": "./WaypointSymbol.json"
2022-12-17 17:16:01 +01:00
},
"type": {
"$ref": "./WaypointType.json"
2022-12-17 18:32:19 +01:00
},
"x": {
2023-06-09 22:50:36 +02:00
"type": "integer",
"description": "Relative position of the waypoint on the system's x axis. This is not an absolute position in the universe."
2022-12-17 18:32:19 +01:00
},
"y": {
2023-06-09 22:50:36 +02:00
"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."
2022-10-22 18:05:01 +02:00
}
},
"required": [
2022-12-17 17:16:01 +01:00
"symbol",
2022-12-17 18:32:19 +01:00
"type",
"x",
"y",
"orbitals"
2022-10-22 18:05:01 +02:00
]
}