api-docs/models/ShipCargo.json
2022-10-05 18:13:47 -07:00

46 lines
858 B
JSON

{
"type": "object",
"properties": {
"size": {
"type": "integer",
"minimum": 0
},
"inventory": {
"type": "array",
"items": {
"type": "object",
"properties": {
"symbol": {
"type": "string",
"examples": [
"ORE_COPPER",
"MICROPROCESSORS",
"FOOD"
]
},
"name": {
"type": "string",
"examples": [
"Copper Ore",
"Microprocessors",
"Food"
]
},
"units": {
"type": "integer",
"minimum": 1
}
},
"required": [
"symbol",
"name",
"units"
]
},
"required": [
"size",
"inventory"
]
}
}
}