api-docs/models/MarketTradeGood.json

41 lines
1.0 KiB
JSON
Raw Normal View History

2022-10-06 01:42:15 +02:00
{
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "The symbol of the trade good."
},
"tradeVolume": {
"type": "integer",
2022-12-08 07:12:49 +01:00
"description": "The typical volume flowing through the market for this type of good. The larger the trade volume, the more stable prices will be.",
"minimum": 10
2022-10-06 01:42:15 +02:00
},
"supply": {
"type": "string",
2022-12-08 07:12:49 +01:00
"description": "A rough estimate of the total supply of this good in the marketplace.",
2022-10-06 01:42:15 +02:00
"enum": [
2022-12-08 07:12:49 +01:00
"SCARCE",
"LIMITED",
"MODERATE",
"ABUNDANT"
2022-10-06 01:42:15 +02:00
]
},
"purchasePrice": {
"type": "integer",
2022-12-08 07:12:49 +01:00
"description": "The price at which this good can be purchased from the market.",
2022-10-06 01:42:15 +02:00
"minimum": 0
},
"sellPrice": {
"type": "integer",
2022-12-08 07:12:49 +01:00
"description": "The price at which this good can be sold to the market.",
2022-10-06 01:42:15 +02:00
"minimum": 0
}
2022-10-22 18:05:01 +02:00
},
"required": [
"symbol",
"tradeVolume",
"supply",
"purchasePrice",
"sellPrice"
]
2022-10-06 01:42:15 +02:00
}