api-docs/models/ScannedWaypoint.json
2023-06-09 23:50:36 +03:00

56 lines
1.2 KiB
JSON

{
"description": "A waypoint that was scanned by a ship.",
"type": "object",
"properties": {
"symbol": {
"type": "string",
"minLength": 1,
"description": "Symbol of the waypoint."
},
"type": {
"$ref": "./WaypointType.json"
},
"systemSymbol": {
"type": "string",
"minLength": 1,
"description": "Symbol of the system."
},
"x": {
"type": "integer",
"description": "Position in the universe in the x axis."
},
"y": {
"type": "integer",
"description": "Position in the universe in the y axis."
},
"orbitals": {
"type": "array",
"description": "List of waypoints that orbit this waypoint.",
"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"
]
}