api-docs/models/ShipEngine.json
Space Admiral a27432248e - add warp endpoint
- rename ship symbol to ship type
- update ship modules and engines w/ new types
2022-12-18 15:04:13 -08:00

38 lines
719 B
JSON

{
"type": "object",
"description": "The engine determines how quickly a ship travels between waypoints.",
"properties": {
"symbol": {
"type": "string",
"enum": [
"ENGINE_IMPULSE_DRIVE_I",
"ENGINE_ION_DRIVE_I",
"ENGINE_ION_DRIVE_II",
"ENGINE_HYPER_DRIVE_I"
]
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"condition": {
"$ref": "./ShipCondition.json"
},
"speed": {
"type": "number",
"minimum": 1
},
"requirements": {
"$ref": "./ShipRequirements.json"
}
},
"required": [
"symbol",
"name",
"description",
"speed",
"requirements"
]
}