mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-14 22:30:51 +01:00
57 lines
1.3 KiB
JSON
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"
|
|
]
|
|
} |