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": {
|
|
|
|
"type": "string",
|
2023-06-09 22:50:36 +02:00
|
|
|
"minLength": 1,
|
|
|
|
"description": "Symbol fo the waypoint."
|
2022-10-06 01:42:15 +02:00
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"$ref": "./WaypointType.json"
|
|
|
|
},
|
|
|
|
"systemSymbol": {
|
|
|
|
"type": "string",
|
2023-06-09 22:50:36 +02:00
|
|
|
"minLength": 1,
|
|
|
|
"description": "The symbol of the system this waypoint belongs to."
|
2022-10-06 01:42:15 +02:00
|
|
|
},
|
|
|
|
"x": {
|
2023-06-09 22:50:36 +02:00
|
|
|
"type": "integer",
|
|
|
|
"description": "Position in the universe in the x axis."
|
2022-10-06 01:42:15 +02:00
|
|
|
},
|
|
|
|
"y": {
|
2023-06-09 22:50:36 +02:00
|
|
|
"type": "integer",
|
|
|
|
"description": "Position in the universe in the Y axis."
|
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"
|
|
|
|
}
|
|
|
|
},
|
2022-10-28 06:09:27 +02:00
|
|
|
"faction": {
|
2022-12-17 04:03:59 +01:00
|
|
|
"$ref": "./WaypointFaction.json"
|
2022-10-06 01:42:15 +02:00
|
|
|
},
|
|
|
|
"traits": {
|
|
|
|
"type": "array",
|
|
|
|
"description": "The traits of the waypoint.",
|
|
|
|
"items": {
|
|
|
|
"$ref": "./WaypointTrait.json"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"chart": {
|
2022-10-22 18:05:01 +02:00
|
|
|
"$ref": "./Chart.json"
|
2022-10-06 01:42:15 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"symbol",
|
|
|
|
"type",
|
|
|
|
"systemSymbol",
|
|
|
|
"x",
|
|
|
|
"y",
|
|
|
|
"orbitals",
|
2022-10-28 06:09:27 +02:00
|
|
|
"traits"
|
2022-10-06 01:42:15 +02:00
|
|
|
]
|
|
|
|
}
|