mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-14 22:30:51 +01:00
a46d675039
* 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
47 lines
1.3 KiB
JSON
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"
|
|
]
|
|
} |