update: add transaction to ship purchase

This commit is contained in:
Space Admiral 2023-04-13 12:38:29 -07:00 committed by SpaceAdmiral
parent 281aa49b34
commit e94cb58881
2 changed files with 11 additions and 2 deletions

View File

@ -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"

View File

@ -1101,11 +1101,15 @@
},
"ship": {
"$ref": "../models/Ship.json"
},
"transaction": {
"$ref": "../models/ShipyardTransaction.json"
}
},
"required": [
"ship",
"agent"
"agent",
"transaction"
],
"type": "object"
}