mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 06:40:51 +01:00
49 lines
1005 B
JSON
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"
|
|
]
|
|
} |