mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 06:40:51 +01:00
31 lines
513 B
JSON
31 lines
513 B
JSON
{
|
|
"type": "object",
|
|
"description": "The type of cargo item and the number of units.",
|
|
"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"
|
|
]
|
|
} |