api-docs/models/ShipCargo.json

21 lines
428 B
JSON
Raw Normal View History

2022-09-18 17:49:41 +02:00
{
"type": "object",
"properties": {
2022-09-19 19:22:16 +02:00
"capacity": {
2022-09-18 17:49:41 +02:00
"type": "integer",
2022-10-06 01:42:15 +02:00
"description": "The max number of items that can be stored in the cargo hold.",
2022-09-18 17:49:41 +02:00
"minimum": 0
},
"inventory": {
"type": "array",
2022-10-06 01:42:15 +02:00
"description": "The items currently in the cargo hold.",
2022-09-18 17:49:41 +02:00
"items": {
2022-10-06 01:42:15 +02:00
"$ref": "./ShipCargoItem.json"
2022-10-22 18:05:01 +02:00
}
2022-09-18 17:49:41 +02:00
}
2022-10-22 18:05:01 +02:00
},
"required": [
"capacity",
"inventory"
]
2022-09-18 17:49:41 +02:00
}