api-docs/models/ShipReactor.json

36 lines
718 B
JSON
Raw Normal View History

2022-09-18 17:49:41 +02:00
{
"type": "object",
2022-10-22 18:05:01 +02:00
"description": "The reactor of the ship. The reactor is responsible for powering the ship's systems and weapons.",
2022-09-18 17:49:41 +02:00
"properties": {
"symbol": {
"type": "string",
"enum": [
"SOLAR_REACTOR",
"FUSION_REACTOR",
"FISSION_REACTOR",
"CHEMICAL_REACTOR",
"DARK_MATTER_REACTOR"
]
},
"name": {
2022-10-22 18:05:01 +02:00
"type": "string"
2022-09-18 17:49:41 +02:00
},
"condition": {
"$ref": "./ShipCondition.json"
},
"powerOutput": {
"type": "integer",
"minimum": 1
},
"requirements": {
"$ref": "./ShipRequirements.json"
}
2022-10-22 18:05:01 +02:00
},
"required": [
"symbol",
"name",
"condition",
"powerOutput",
"requirements"
]
2022-09-18 17:49:41 +02:00
}