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