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": {
|
|
|
|
"amount": {
|
|
|
|
"type": "integer",
|
|
|
|
"description": "The amount of fuel in the ship's tanks.",
|
|
|
|
"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": [
|
|
|
|
"amount",
|
|
|
|
"capacity"
|
|
|
|
]
|
2022-09-18 17:49:41 +02:00
|
|
|
}
|