api-docs/models/Market.json
2022-12-07 22:41:33 -08:00

57 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": {
"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.",
"items": {
"$ref": "./MarketTransaction.json"
}
},
"tradeGoods": {
"type": "array",
"description": "The list of goods that are traded at this market.",
"items": {
"$ref": "./MarketTradeGood.json"
}
}
},
"required": [
"symbol",
"exports",
"imports",
"transactions",
"tradeGoods"
]
}