api-docs/models/MarketTradeGood.json
SpaceAdmiral a46d675039
V2.1 (#74)
* update: new traits and add modifiers

* breaking: jump gates and construction

* update: add supply to shipyard listing

* add gas siphon endpoint

* add cooldown to jumps

* add missing types

* update supply and activity levels

* update: add waypoint query filters for type and traits

* add cargo modules

* add shipyard activity
2023-10-28 09:26:28 -07:00

47 lines
1.3 KiB
JSON

{
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "The symbol of the trade good."
},
"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"
]
}