mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-12-26 06:38:06 +01:00
28 lines
593 B
JSON
28 lines
593 B
JSON
{
|
|
"type": "object",
|
|
"description": "The type of cargo item and the number of units.",
|
|
"properties": {
|
|
"symbol": {
|
|
"$ref": "./TradeSymbol.json"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "The name of the cargo item type."
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"description": "The description of the cargo item type."
|
|
},
|
|
"units": {
|
|
"type": "integer",
|
|
"description": "The number of units of the cargo item.",
|
|
"minimum": 1
|
|
}
|
|
},
|
|
"required": [
|
|
"symbol",
|
|
"name",
|
|
"description",
|
|
"units"
|
|
]
|
|
} |