diff --git a/models/ShipyardTransaction.json b/models/ShipyardTransaction.json index 8e9461b..877a911 100644 --- a/models/ShipyardTransaction.json +++ b/models/ShipyardTransaction.json @@ -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" diff --git a/reference/SpaceTraders.json b/reference/SpaceTraders.json index 7443b0a..26f710e 100644 --- a/reference/SpaceTraders.json +++ b/reference/SpaceTraders.json @@ -1101,11 +1101,15 @@ }, "ship": { "$ref": "../models/Ship.json" + }, + "transaction": { + "$ref": "../models/ShipyardTransaction.json" } }, "required": [ "ship", - "agent" + "agent", + "transaction" ], "type": "object" }