mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 14:50:52 +01:00
49 lines
1.0 KiB
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"
|
|
]
|
|
} |