api-docs/models/System.json

49 lines
1005 B
JSON
Raw Permalink Normal View History

2022-10-22 18:05:01 +02:00
{
"type": "object",
"properties": {
"symbol": {
"type": "string",
2023-06-09 22:50:36 +02:00
"minLength": 1,
"description": "The symbol of the system."
2022-10-22 18:05:01 +02:00
},
"sectorSymbol": {
"type": "string",
2023-06-09 22:50:36 +02:00
"minLength": 1,
"description": "The symbol of the sector."
2022-10-22 18:05:01 +02:00
},
"type": {
2022-12-04 17:38:00 +01:00
"$ref": "./SystemType.json"
2022-10-22 18:05:01 +02:00
},
"x": {
2023-06-09 22:50:36 +02:00
"type": "integer",
"description": "Position in the universe in the x axis."
2022-10-22 18:05:01 +02:00
},
"y": {
2023-06-09 22:50:36 +02:00
"type": "integer",
"description": "Position in the universe in the y axis."
2022-10-22 18:05:01 +02:00
},
"waypoints": {
"type": "array",
2023-06-09 22:50:36 +02:00
"description": "Waypoints in this system.",
2022-10-22 18:05:01 +02:00
"items": {
"$ref": "./SystemWaypoint.json"
}
},
"factions": {
"type": "array",
2023-06-09 22:50:36 +02:00
"description": "Factions that control this system.",
2022-10-22 18:05:01 +02:00
"items": {
"$ref": "./SystemFaction.json"
}
}
},
"required": [
"symbol",
"sectorSymbol",
"type",
"x",
"y",
"waypoints",
2022-10-28 06:09:27 +02:00
"factions"
2022-10-22 18:05:01 +02:00
]
}