mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-14 22:30:51 +01:00
56 lines
1.2 KiB
JSON
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"
|
|
]
|
|
} |