mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-14 22:30:51 +01:00
33 lines
773 B
JSON
33 lines
773 B
JSON
|
{
|
||
|
"type": "object",
|
||
|
"description": "A module can be installed in a ship and provides a set of capabilities such as storage space or quarters for crew.",
|
||
|
"properties": {
|
||
|
"symbol": {
|
||
|
"type": "string",
|
||
|
"enum": [
|
||
|
"MODULE_FUEL_TANK",
|
||
|
"MODULE_CARGO_HOLD",
|
||
|
"MODULE_CREW_QUARTERS",
|
||
|
"MODULE_ENVOY_QUARTERS",
|
||
|
"MODULE_PASSENGER_CABIN",
|
||
|
"MODULE_MICRO_REFINERY",
|
||
|
"MODULE_JUMP_DRIVE"
|
||
|
]
|
||
|
},
|
||
|
"name": {
|
||
|
"type": "string",
|
||
|
"enum": [
|
||
|
"Fuel Tank",
|
||
|
"Cargo Hold",
|
||
|
"Crew Quarters",
|
||
|
"Envoy Quarters",
|
||
|
"Passenger Cabin",
|
||
|
"Micro Refinery",
|
||
|
"Jump Drive"
|
||
|
]
|
||
|
},
|
||
|
"requirements": {
|
||
|
"$ref": "./ShipRequirements.json"
|
||
|
}
|
||
|
}
|
||
|
}
|