mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-12-25 22:28:06 +01:00
47 lines
1.1 KiB
JSON
47 lines
1.1 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": "./ShipComponentCondition.json"
|
|
},
|
|
"integrity": {
|
|
"$ref": "./ShipComponentIntegrity.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",
|
|
"condition",
|
|
"integrity",
|
|
"description",
|
|
"speed",
|
|
"requirements"
|
|
]
|
|
} |