mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 14:50:52 +01:00
46 lines
1.4 KiB
JSON
46 lines
1.4 KiB
JSON
{
|
|
"type": "object",
|
|
"description": "The ship's crew service and maintain the ship's systems and equipment.",
|
|
"properties": {
|
|
"current": {
|
|
"type": "integer",
|
|
"description": "The current number of crew members on the ship."
|
|
},
|
|
"required": {
|
|
"type": "integer",
|
|
"description": "The minimum number of crew members required to maintain the ship."
|
|
},
|
|
"capacity": {
|
|
"type": "integer",
|
|
"description": "The maximum number of crew members the ship can support."
|
|
},
|
|
"rotation": {
|
|
"type": "string",
|
|
"description": "The rotation of crew shifts. A stricter shift improves the ship's performance. A more relaxed shift improves the crew's morale.",
|
|
"enum": [
|
|
"STRICT",
|
|
"RELAXED"
|
|
],
|
|
"default": "STRICT"
|
|
},
|
|
"morale": {
|
|
"type": "integer",
|
|
"description": "A rough measure of the crew's morale. A higher morale means the crew is happier and more productive. A lower morale means the ship is more prone to accidents.",
|
|
"minimum": 0,
|
|
"maximum": 100
|
|
},
|
|
"wages": {
|
|
"type": "integer",
|
|
"description": "The amount of credits per crew member paid per hour. Wages are paid when a ship docks at a civilized waypoint.",
|
|
"minimum": 0
|
|
}
|
|
},
|
|
"required": [
|
|
"current",
|
|
"required",
|
|
"capacity",
|
|
"rotation",
|
|
"morale",
|
|
"wages"
|
|
]
|
|
} |