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": [
|
2022-10-28 06:09:27 +02:00
|
|
|
"MODULE_MINERAL_PROCESSOR",
|
|
|
|
"MODULE_CARGO_HOLD",
|
2022-12-04 17:38:00 +01:00
|
|
|
"MODULE_CREW_QUARTERS",
|
|
|
|
"MODULE_ENVOY_QUARTERS",
|
|
|
|
"MODULE_PASSENGER_CABIN",
|
|
|
|
"MODULE_MICRO_REFINERY",
|
|
|
|
"MODULE_SCIENCE_LAB",
|
2022-10-28 06:09:27 +02:00
|
|
|
"MODULE_JUMP_DRIVE_I",
|
|
|
|
"MODULE_JUMP_DRIVE_II",
|
|
|
|
"MODULE_JUMP_DRIVE_III",
|
2022-12-04 17:38:00 +01:00
|
|
|
"MODULE_SHIELD_GENERATOR_I",
|
|
|
|
"MODULE_SHIELD_GENERATOR_II"
|
2022-09-18 17:49:41 +02:00
|
|
|
]
|
|
|
|
},
|
2022-12-17 17:16:01 +01:00
|
|
|
"capacity": {
|
|
|
|
"type": "integer",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
|
|
|
"range": {
|
|
|
|
"type": "integer",
|
|
|
|
"minimum": 0
|
|
|
|
},
|
2022-09-18 17:49:41 +02:00
|
|
|
"name": {
|
2022-10-22 18:05:01 +02:00
|
|
|
"type": "string"
|
2022-09-18 17:49:41 +02:00
|
|
|
},
|
2022-12-04 17:38:00 +01:00
|
|
|
"description": {
|
|
|
|
"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
|
|
|
}
|