api-docs/models/Market.json

51 lines
1.3 KiB
JSON
Raw Normal View History

2022-10-06 01:42:15 +02:00
{
"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": {
2022-12-24 20:30:13 +01:00
"$ref": "./TradeGood.json"
2022-10-06 01:42:15 +02:00
}
},
"imports": {
"type": "array",
"description": "The list of goods that are sought as imports in this market.",
"items": {
2022-12-24 20:30:13 +01:00
"$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"
2022-10-06 01:42:15 +02:00
}
},
"transactions": {
"type": "array",
"description": "The list of recent transactions at this market. Visible only when a ship is present at the market.",
2022-10-06 01:42:15 +02:00
"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.",
2022-10-06 01:42:15 +02:00
"items": {
"$ref": "./MarketTradeGood.json"
}
}
2022-10-22 18:05:01 +02:00
},
"required": [
"symbol",
"exports",
2022-12-24 20:30:13 +01:00
"imports",
"exchange"
2022-10-22 18:05:01 +02:00
]
2022-10-06 01:42:15 +02:00
}