api-docs/models/ScannedSystem.json

39 lines
831 B
JSON
Raw Normal View History

2022-12-17 18:32:19 +01:00
{
2023-06-09 22:50:36 +02:00
"description": "Details of a system was that scanned.",
2022-12-17 18:32:19 +01:00
"type": "object",
"properties": {
"symbol": {
"type": "string",
2023-06-09 22:50:36 +02:00
"minLength": 1,
"description": "Symbol of the system."
2022-12-17 18:32:19 +01:00
},
"sectorSymbol": {
"type": "string",
2023-06-09 22:50:36 +02:00
"minLength": 1,
"description": "Symbol of the system's sector."
2022-12-17 18:32:19 +01:00
},
"type": {
"$ref": "./SystemType.json"
},
"x": {
2023-06-09 22:50:36 +02:00
"type": "integer",
"description": "Position in the universe in the x axis."
2022-12-17 18:32:19 +01:00
},
"y": {
2023-06-09 22:50:36 +02:00
"type": "integer",
"description": "Position in the universe in the y axis."
2022-12-17 18:32:19 +01:00
},
"distance": {
2023-06-09 22:50:36 +02:00
"type": "integer",
"description": "The system's distance from the scanning ship."
2022-12-17 18:32:19 +01:00
}
},
"required": [
"symbol",
"sectorSymbol",
"type",
"x",
"y",
"distance"
]
}