mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-14 22:30:51 +01:00
63 lines
1.0 KiB
JSON
63 lines
1.0 KiB
JSON
{
|
|
"description": "",
|
|
"type": "object",
|
|
"properties": {
|
|
"symbol": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"sectorSymbol": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"NEUTRON_STAR",
|
|
"RED_STAR",
|
|
"ORANGE_STAR",
|
|
"BLUE_STAR",
|
|
"YOUNG_STAR",
|
|
"WHITE_DWARF",
|
|
"BLACK_HOLE",
|
|
"HYPERGIANT",
|
|
"NEBULA",
|
|
"UNSTABLE"
|
|
]
|
|
},
|
|
"x": {
|
|
"type": "integer"
|
|
},
|
|
"y": {
|
|
"type": "integer"
|
|
},
|
|
"waypoints": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"$ref": "./SystemWaypoint.json"
|
|
}
|
|
},
|
|
"factions": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"$ref": "./SystemFaction.json"
|
|
}
|
|
},
|
|
"chart": {
|
|
"type": "object",
|
|
"$ref": "./Chart.json"
|
|
}
|
|
},
|
|
"required": [
|
|
"symbol",
|
|
"sectorSymbol",
|
|
"type",
|
|
"x",
|
|
"y",
|
|
"waypoints",
|
|
"factions",
|
|
"chart"
|
|
]
|
|
} |