api-docs/models/ShipCargo.json
2022-12-07 22:41:33 -08:00

21 lines
428 B
JSON

{
"type": "object",
"properties": {
"capacity": {
"type": "integer",
"description": "The max number of items that can be stored in the cargo hold.",
"minimum": 0
},
"inventory": {
"type": "array",
"description": "The items currently in the cargo hold.",
"items": {
"$ref": "./ShipCargoItem.json"
}
}
},
"required": [
"capacity",
"inventory"
]
}