api-docs/models/ShipModule.json

33 lines
773 B
JSON
Raw Normal View History

2022-09-18 17:49:41 +02:00
{
"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"
}
}
}