mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 14:50:52 +01:00
42 lines
1.0 KiB
JSON
42 lines
1.0 KiB
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"
|
|
],
|
|
"description": "The symbol of the engine."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "The name of the engine."
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"description": "The description of the engine."
|
|
},
|
|
"condition": {
|
|
"$ref": "./ShipCondition.json"
|
|
},
|
|
"speed": {
|
|
"type": "integer",
|
|
"minimum": 1,
|
|
"description": "The speed stat of this engine. The higher the speed, the faster a ship can travel from one point to another. Reduces the time of arrival when navigating the ship."
|
|
},
|
|
"requirements": {
|
|
"$ref": "./ShipRequirements.json"
|
|
}
|
|
},
|
|
"required": [
|
|
"symbol",
|
|
"name",
|
|
"description",
|
|
"speed",
|
|
"requirements"
|
|
]
|
|
} |