api-docs/models/ScannedWaypoint.json

52 lines
1.0 KiB
JSON
Raw Permalink Normal View History

2023-02-21 17:30:25 +01:00
{
2023-06-09 22:50:36 +02:00
"description": "A waypoint that was scanned by a ship.",
2023-02-21 17:30:25 +01:00
"type": "object",
"properties": {
"symbol": {
"$ref": "./WaypointSymbol.json"
2023-02-21 17:30:25 +01:00
},
"type": {
"$ref": "./WaypointType.json"
},
"systemSymbol": {
"$ref": "./SystemSymbol.json"
2023-02-21 17:30:25 +01:00
},
"x": {
2023-06-09 22:50:36 +02:00
"type": "integer",
"description": "Position in the universe in the x axis."
2023-02-21 17:30:25 +01:00
},
"y": {
2023-06-09 22:50:36 +02:00
"type": "integer",
"description": "Position in the universe in the y axis."
2023-02-21 17:30:25 +01:00
},
"orbitals": {
"type": "array",
2023-06-09 22:50:36 +02:00
"description": "List of waypoints that orbit this waypoint.",
2023-02-21 17:30:25 +01:00
"items": {
"$ref": "./WaypointOrbital.json"
}
},
"faction": {
"$ref": "./WaypointFaction.json"
},
"traits": {
"type": "array",
"description": "The traits of the waypoint.",
"items": {
"$ref": "./WaypointTrait.json"
}
},
"chart": {
"$ref": "./Chart.json"
}
},
"required": [
"symbol",
"type",
"systemSymbol",
"x",
"y",
"orbitals",
"traits"
]
}