api-docs/models/Waypoint.json

51 lines
942 B
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": {
"type": "string",
"minLength": 1
},
"type": {
"$ref": "./WaypointType.json"
},
"systemSymbol": {
"type": "string",
"minLength": 1
},
"x": {
"type": "integer"
},
"y": {
"type": "integer"
},
"orbitals": {
"type": "array",
"items": {
"$ref": "./WaypointOrbital.json"
}
},
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"
}
},
"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
]
}