mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-12-26 06:38:06 +01:00
46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"symbol": {
|
|
"$ref": "./TradeSymbol.json"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"description": "The type of trade good (export, import, or exchange).",
|
|
"enum": [
|
|
"EXPORT",
|
|
"IMPORT",
|
|
"EXCHANGE"
|
|
]
|
|
},
|
|
"tradeVolume": {
|
|
"type": "integer",
|
|
"description": "This is the maximum number of units that can be purchased or sold at this market in a single trade for this good. Trade volume also gives an indication of price volatility. A market with a low trade volume will have large price swings, while high trade volume will be more resilient to price changes.",
|
|
"minimum": 1
|
|
},
|
|
"supply": {
|
|
"$ref": "./SupplyLevel.json"
|
|
},
|
|
"activity": {
|
|
"$ref": "./ActivityLevel.json"
|
|
},
|
|
"purchasePrice": {
|
|
"type": "integer",
|
|
"description": "The price at which this good can be purchased from the market.",
|
|
"minimum": 0
|
|
},
|
|
"sellPrice": {
|
|
"type": "integer",
|
|
"description": "The price at which this good can be sold to the market.",
|
|
"minimum": 0
|
|
}
|
|
},
|
|
"required": [
|
|
"symbol",
|
|
"type",
|
|
"tradeVolume",
|
|
"supply",
|
|
"purchasePrice",
|
|
"sellPrice"
|
|
]
|
|
} |