api-docs/models/ShipCargoItem.json

28 lines
593 B
JSON
Raw Permalink Normal View History

2022-10-06 01:42:15 +02:00
{
"type": "object",
"description": "The type of cargo item and the number of units.",
"properties": {
"symbol": {
2023-11-01 00:31:35 +01:00
"$ref": "./TradeSymbol.json"
2022-10-06 01:42:15 +02:00
},
"name": {
2022-10-22 18:05:01 +02:00
"type": "string",
"description": "The name of the cargo item type."
2022-10-06 01:42:15 +02:00
},
2022-12-04 17:38:00 +01:00
"description": {
"type": "string",
"description": "The description of the cargo item type."
},
2022-10-06 01:42:15 +02:00
"units": {
"type": "integer",
2022-10-22 18:05:01 +02:00
"description": "The number of units of the cargo item.",
2022-10-06 01:42:15 +02:00
"minimum": 1
}
},
"required": [
"symbol",
"name",
2022-12-04 17:38:00 +01:00
"description",
2022-10-06 01:42:15 +02:00
"units"
]
}