api-docs/models/Cooldown.json

33 lines
862 B
JSON
Raw Normal View History

2022-09-18 17:49:41 +02:00
{
"type": "object",
"description": "A cooldown is a period of time in which a ship cannot perform certain actions.",
"properties": {
2022-12-17 17:16:01 +01:00
"shipSymbol": {
"type": "string",
"description": "The symbol of the ship that is on cooldown",
"minLength": 1
},
2022-09-18 17:49:41 +02:00
"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
},
2022-09-19 19:22:16 +02:00
"expiration": {
2022-09-18 17:49:41 +02:00
"type": "string",
"format": "date-time",
"description": "The date and time when the cooldown expires in ISO 8601 format",
"minimum": 0
}
2022-10-22 18:05:01 +02:00
},
"required": [
2022-12-17 17:16:01 +01:00
"shipSymbol",
2022-10-22 18:05:01 +02:00
"totalSeconds",
"remainingSeconds",
"expiration"
]
2022-09-18 17:49:41 +02:00
}