mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 06:40:51 +01:00
31 lines
824 B
JSON
31 lines
824 B
JSON
{
|
|
"type": "object",
|
|
"description": "A cooldown is a period of time in which a ship cannot perform certain actions.",
|
|
"properties": {
|
|
"shipSymbol": {
|
|
"type": "string",
|
|
"description": "The symbol of the ship that is on cooldown",
|
|
"minLength": 1
|
|
},
|
|
"totalSeconds": {
|
|
"type": "integer",
|
|
"description": "The total duration of the cooldown in seconds",
|
|
"minimum": 0
|
|
},
|
|
"remainingSeconds": {
|
|
"type": "integer",
|
|
"description": "The remaining duration of the cooldown in seconds",
|
|
"minimum": 0
|
|
},
|
|
"expiration": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"description": "The date and time when the cooldown expires in ISO 8601 format"
|
|
}
|
|
},
|
|
"required": [
|
|
"shipSymbol",
|
|
"totalSeconds",
|
|
"remainingSeconds"
|
|
]
|
|
} |