api-docs/models/ShipFuel.json

39 lines
992 B
JSON
Raw Permalink Normal View History

2022-09-18 17:49:41 +02:00
{
"type": "object",
"description": "Details of the ship's fuel tanks including how much fuel was consumed during the last transit or action.",
"properties": {
2022-12-07 17:24:07 +01:00
"current": {
2022-09-18 17:49:41 +02:00
"type": "integer",
2022-12-07 17:24:07 +01:00
"description": "The current amount of fuel in the ship's tanks.",
2022-09-18 17:49:41 +02:00
"minimum": 0
},
2022-09-19 19:22:16 +02:00
"capacity": {
2022-09-18 17:49:41 +02:00
"type": "integer",
"description": "The maximum amount of fuel the ship's tanks can hold.",
"minimum": 0
},
"consumed": {
"type": "object",
"properties": {
"amount": {
"type": "integer",
"description": "The amount of fuel consumed by the most recent transit or action.",
"minimum": 0
},
"timestamp": {
"type": "string",
"format": "date-time",
"description": "The time at which the fuel was consumed."
}
},
"required": [
"amount",
"timestamp"
]
}
2022-10-22 18:05:01 +02:00
},
"required": [
2022-12-07 17:24:07 +01:00
"current",
2022-10-22 18:05:01 +02:00
"capacity"
]
2022-09-18 17:49:41 +02:00
}