mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 14:50:52 +01:00
28 lines
627 B
JSON
28 lines
627 B
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"capacity": {
|
|
"type": "integer",
|
|
"description": "The max number of items that can be stored in the cargo hold.",
|
|
"minimum": 0
|
|
},
|
|
"units": {
|
|
"type": "integer",
|
|
"description": "The number of items currently stored in the cargo hold.",
|
|
"minimum": 0
|
|
},
|
|
"inventory": {
|
|
"type": "array",
|
|
"description": "The items currently in the cargo hold.",
|
|
"items": {
|
|
"$ref": "./ShipCargoItem.json"
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"capacity",
|
|
"units",
|
|
"inventory"
|
|
],
|
|
"description": "Ship cargo details."
|
|
} |