api-docs/models/ShipModule.json

60 lines
1.8 KiB
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. Module installations are permanent.",
2022-09-18 17:49:41 +02:00
"properties": {
"symbol": {
"type": "string",
"enum": [
"MODULE_MINERAL_PROCESSOR_I",
2023-10-26 02:27:20 +02:00
"MODULE_GAS_PROCESSOR_I",
"MODULE_CARGO_HOLD_I",
2023-10-28 02:27:36 +02:00
"MODULE_CARGO_HOLD_II",
"MODULE_CARGO_HOLD_III",
"MODULE_CREW_QUARTERS_I",
"MODULE_ENVOY_QUARTERS_I",
"MODULE_PASSENGER_CABIN_I",
"MODULE_MICRO_REFINERY_I",
"MODULE_ORE_REFINERY_I",
"MODULE_FUEL_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",
"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"
2023-06-09 22:50:36 +02:00
],
"description": "The symbol of the module."
2022-09-18 17:49:41 +02:00
},
"name": {
"type": "string",
"description": "Name of this module."
},
"description": {
"type": "string",
"description": "Description of this module."
},
2022-12-17 17:16:01 +01:00
"capacity": {
"type": "integer",
2023-06-09 22:50:36 +02:00
"minimum": 0,
"description": "Modules that provide capacity, such as cargo hold or crew quarters will show this value to denote how much of a bonus the module grants."
2022-12-17 17:16:01 +01:00
},
"range": {
"type": "integer",
2023-06-09 22:50:36 +02:00
"minimum": 0,
"description": "Modules that have a range will such as a sensor array show this value to denote how far can the module reach with its capabilities."
2022-12-17 17:16:01 +01:00
},
2022-09-18 17:49:41 +02:00
"requirements": {
"$ref": "./ShipRequirements.json"
}
2022-10-22 18:05:01 +02:00
},
"required": [
"symbol",
"name",
2023-06-09 22:50:36 +02:00
"description",
2022-10-22 18:05:01 +02:00
"requirements"
]
}