mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-14 22:30:51 +01:00
29 lines
646 B
JSON
29 lines
646 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"
|
|
},
|
|
"requirements": {
|
|
"$ref": "./ShipRequirements.json"
|
|
}
|
|
},
|
|
"required": [
|
|
"symbol",
|
|
"name",
|
|
"requirements"
|
|
]
|
|
} |