api-docs/models/Waypoint.json

69 lines
1.8 KiB
JSON
Raw Permalink Normal View History

2022-10-06 01:42:15 +02:00
{
"description": "A waypoint is a location that ships can travel to such as a Planet, Moon or Space Station.",
"type": "object",
"properties": {
"symbol": {
"$ref": "./WaypointSymbol.json"
2022-10-06 01:42:15 +02:00
},
"type": {
"$ref": "./WaypointType.json"
},
"systemSymbol": {
"$ref": "./SystemSymbol.json"
2022-10-06 01:42:15 +02: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-10-06 01:42:15 +02: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."
2022-10-06 01:42:15 +02:00
},
"orbitals": {
"type": "array",
2023-06-09 22:50:36 +02:00
"description": "Waypoints that orbit this waypoint.",
2022-10-06 01:42:15 +02:00
"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-28 06:09:27 +02:00
"faction": {
"$ref": "./WaypointFaction.json"
2022-10-06 01:42:15 +02:00
},
"traits": {
"type": "array",
"description": "The traits of the waypoint.",
"items": {
"$ref": "./WaypointTrait.json"
}
},
2023-09-22 00:00:04 +02:00
"modifiers": {
"type": "array",
"description": "The modifiers of the waypoint.",
"items": {
"$ref": "./WaypointModifier.json"
}
},
2022-10-06 01:42:15 +02:00
"chart": {
2022-10-22 18:05:01 +02:00
"$ref": "./Chart.json"
2023-10-04 22:46:37 +02:00
},
"isUnderConstruction": {
"type": "boolean",
"description": "True if the waypoint is under construction."
2022-10-06 01:42:15 +02:00
}
},
"required": [
"symbol",
"type",
"systemSymbol",
"x",
"y",
"orbitals",
2023-10-04 22:46:37 +02:00
"traits",
"isUnderConstruction"
2022-10-06 01:42:15 +02:00
]
}