api-docs/models/System.json

49 lines
1.0 KiB
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": "Relative position of the system in the sector in the x axis."
},
"y": {
"type": "integer",
"description": "Relative position of the system in the sector 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"
]
}