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-09-18 17:49:41 +02:00
|
|
|
},
|
|
|
|
"required": [
|
2022-10-06 01:42:15 +02:00
|
|
|
"capacity",
|
2022-09-18 17:49:41 +02:00
|
|
|
"inventory"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|