mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 06:40:51 +01:00
38 lines
715 B
JSON
38 lines
715 B
JSON
{
|
|
"type": "object",
|
|
"description": "The engine determines how quickly a ship travels between waypoints.",
|
|
"properties": {
|
|
"symbol": {
|
|
"type": "string",
|
|
"enum": [
|
|
"ENGINE_IMPULSE_DRIVE",
|
|
"ENGINE_ION_DRIVE_I",
|
|
"ENGINE_ION_DRIVE_II",
|
|
"ENGINE_HYPER_DRIVE"
|
|
]
|
|
},
|
|
"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"
|
|
]
|
|
} |