mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-14 22:30:51 +01:00
61 lines
1.1 KiB
JSON
61 lines
1.1 KiB
JSON
{
|
|
"description": "",
|
|
"type": "object",
|
|
"properties": {
|
|
"symbol": {
|
|
"type": "string",
|
|
"enum": [
|
|
"SHIP_PROBE_SATELLITE",
|
|
"SHIP_MINING_DRONE",
|
|
"SHIP_INTERCEPTOR",
|
|
"SHIP_LIGHT_HAULER",
|
|
"SHIP_COMMAND_FRIGATE",
|
|
"SHIP_EXPLORER",
|
|
"SHIP_HEAVY_FREIGHTER",
|
|
"SHIP_LIGHT_SHUTTLE",
|
|
"SHIP_ORE_HOUND"
|
|
]
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"purchasePrice": {
|
|
"type": "integer"
|
|
},
|
|
"frame": {
|
|
"$ref": "./ShipFrame.json"
|
|
},
|
|
"reactor": {
|
|
"$ref": "./ShipReactor.json"
|
|
},
|
|
"engine": {
|
|
"$ref": "./ShipEngine.json"
|
|
},
|
|
"modules": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "./ShipModule.json"
|
|
}
|
|
},
|
|
"mounts": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "./ShipMount.json"
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"symbol",
|
|
"name",
|
|
"description",
|
|
"purchasePrice",
|
|
"frame",
|
|
"reactor",
|
|
"engine",
|
|
"modules",
|
|
"mounts"
|
|
]
|
|
} |