mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-15 06:40:51 +01:00
update: add transaction to ship purchase
This commit is contained in:
parent
281aa49b34
commit
e94cb58881
@ -1,6 +1,10 @@
|
|||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"waypointSymbol": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The symbol of the waypoint where the transaction took place."
|
||||||
|
},
|
||||||
"shipSymbol": {
|
"shipSymbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The symbol of the ship that was purchased."
|
"description": "The symbol of the ship that was purchased."
|
||||||
@ -21,7 +25,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"symbol",
|
"waypointSymbol",
|
||||||
|
"shipSymbol",
|
||||||
"price",
|
"price",
|
||||||
"agentSymbol",
|
"agentSymbol",
|
||||||
"timestamp"
|
"timestamp"
|
||||||
|
@ -1101,11 +1101,15 @@
|
|||||||
},
|
},
|
||||||
"ship": {
|
"ship": {
|
||||||
"$ref": "../models/Ship.json"
|
"$ref": "../models/Ship.json"
|
||||||
|
},
|
||||||
|
"transaction": {
|
||||||
|
"$ref": "../models/ShipyardTransaction.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"ship",
|
"ship",
|
||||||
"agent"
|
"agent",
|
||||||
|
"transaction"
|
||||||
],
|
],
|
||||||
"type": "object"
|
"type": "object"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user