api-docs/models/Market.json
2022-12-24 14:30:13 -05:00

51 lines
1.3 KiB
JSON

{
"description": "",
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "The symbol of the market. The symbol is the same as the waypoint where the market is located."
},
"exports": {
"type": "array",
"description": "The list of goods that are exported from this market.",
"items": {
"$ref": "./TradeGood.json"
}
},
"imports": {
"type": "array",
"description": "The list of goods that are sought as imports in this market.",
"items": {
"$ref": "./TradeGood.json"
}
},
"exchange": {
"type": "array",
"description": "The list of goods that are bought and sold between agents at this market.",
"items": {
"$ref": "./TradeGood.json"
}
},
"transactions": {
"type": "array",
"description": "The list of recent transactions at this market. Visible only when a ship is present at the market.",
"items": {
"$ref": "./MarketTransaction.json"
}
},
"tradeGoods": {
"type": "array",
"description": "The list of goods that are traded at this market. Visible only when a ship is present at the market.",
"items": {
"$ref": "./MarketTradeGood.json"
}
}
},
"required": [
"symbol",
"exports",
"imports",
"exchange"
]
}