api-docs/models/ShipModule.json

29 lines
646 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": {
2022-10-22 18:05:01 +02:00
"type": "string"
2022-09-18 17:49:41 +02:00
},
"requirements": {
"$ref": "./ShipRequirements.json"
}
2022-10-22 18:05:01 +02:00
},
"required": [
"symbol",
"name",
"requirements"
]
2022-09-18 17:49:41 +02:00
}