api-docs/models/Market.json
2022-12-16 19:03:59 -08:00

55 lines
1.4 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": {
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "The symbol of the good."
}
}
}
},
"imports": {
"type": "array",
"description": "The list of goods that are sought as imports in this market.",
"items": {
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "The symbol of the good."
}
}
}
},
"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"
]
}