api-docs/models/System.json
2023-06-09 23:50:36 +03:00

49 lines
1005 B
JSON

{
"type": "object",
"properties": {
"symbol": {
"type": "string",
"minLength": 1,
"description": "The symbol of the system."
},
"sectorSymbol": {
"type": "string",
"minLength": 1,
"description": "The symbol of the sector."
},
"type": {
"$ref": "./SystemType.json"
},
"x": {
"type": "integer",
"description": "Position in the universe in the x axis."
},
"y": {
"type": "integer",
"description": "Position in the universe in the y axis."
},
"waypoints": {
"type": "array",
"description": "Waypoints in this system.",
"items": {
"$ref": "./SystemWaypoint.json"
}
},
"factions": {
"type": "array",
"description": "Factions that control this system.",
"items": {
"$ref": "./SystemFaction.json"
}
}
},
"required": [
"symbol",
"sectorSymbol",
"type",
"x",
"y",
"waypoints",
"factions"
]
}