mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 06:40:51 +01:00
35 lines
932 B
JSON
35 lines
932 B
JSON
{
|
|
"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
|
|
},
|
|
"capacity": {
|
|
"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"
|
|
]
|
|
}
|
|
}
|
|
} |