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-12-19 00:04:13 +01:00
|
|
|
"MODULE_MINERAL_PROCESSOR_I",
|
|
|
|
"MODULE_CARGO_HOLD_I",
|
|
|
|
"MODULE_CREW_QUARTERS_I",
|
|
|
|
"MODULE_ENVOY_QUARTERS_I",
|
|
|
|
"MODULE_PASSENGER_CABIN_I",
|
|
|
|
"MODULE_MICRO_REFINERY_I",
|
|
|
|
"MODULE_SCIENCE_LAB_I",
|
2022-10-28 06:09:27 +02:00
|
|
|
"MODULE_JUMP_DRIVE_I",
|
|
|
|
"MODULE_JUMP_DRIVE_II",
|
|
|
|
"MODULE_JUMP_DRIVE_III",
|
2022-12-19 00:04:13 +01:00
|
|
|
"MODULE_WARP_DRIVE_I",
|
|
|
|
"MODULE_WARP_DRIVE_II",
|
|
|
|
"MODULE_WARP_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
|
|
|
}
|