mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 06:40:51 +01:00
add exchange property to market
This commit is contained in:
parent
d6ebdd8c14
commit
be7f82878e
@ -10,26 +10,21 @@
|
|||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "The list of goods that are exported from this market.",
|
"description": "The list of goods that are exported from this market.",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "object",
|
"$ref": "./TradeGood.json"
|
||||||
"properties": {
|
|
||||||
"symbol": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The symbol of the good."
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"imports": {
|
"imports": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "The list of goods that are sought as imports in this market.",
|
"description": "The list of goods that are sought as imports in this market.",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "object",
|
"$ref": "./TradeGood.json"
|
||||||
"properties": {
|
|
||||||
"symbol": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The symbol of the good."
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"exchange": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "The list of goods that are bought and sold between agents at this market.",
|
||||||
|
"items": {
|
||||||
|
"$ref": "./TradeGood.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"transactions": {
|
"transactions": {
|
||||||
@ -50,6 +45,7 @@
|
|||||||
"required": [
|
"required": [
|
||||||
"symbol",
|
"symbol",
|
||||||
"exports",
|
"exports",
|
||||||
"imports"
|
"imports",
|
||||||
|
"exchange"
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"attributes": {
|
"properties": {
|
||||||
"symbol": {
|
"symbol": {
|
||||||
"$ref": "./TradeSymbol.json"
|
"$ref": "./TradeSymbol.json"
|
||||||
},
|
},
|
||||||
@ -9,6 +9,7 @@
|
|||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"symbol",
|
"symbol",
|
||||||
@ -16,4 +17,3 @@
|
|||||||
"description"
|
"description"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user