mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 06:40:51 +01:00
56 lines
917 B
JSON
56 lines
917 B
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": {
|
|
"$ref": "./SystemWaypoint.json"
|
|
}
|
|
},
|
|
"factions": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "./SystemFaction.json"
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"symbol",
|
|
"sectorSymbol",
|
|
"type",
|
|
"x",
|
|
"y",
|
|
"waypoints",
|
|
"factions"
|
|
]
|
|
} |