diff --git a/README.md b/README.md index c92b98b..f2a7edf 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,3 @@ -# Announcements - -The server reset on 2023-05-13 at 11:00AM PST to accomodate new players and push important fixes to the game. - -We are also working on a detailed plan for how we manage resets in the future and will communicate that plan in the docs and on Discord when it is ready. - # Getting Started SpaceTraders is an API-based game where you acquire and manage a fleet of ships to explore, trade, and fight your way across the galaxy. diff --git a/models/MarketTradeGood.json b/models/MarketTradeGood.json index 414454d..830505b 100644 --- a/models/MarketTradeGood.json +++ b/models/MarketTradeGood.json @@ -2,8 +2,16 @@ "type": "object", "properties": { "symbol": { + "$ref": "./TradeSymbol.json" + }, + "type": { "type": "string", - "description": "The symbol of the trade good." + "description": "The type of trade good (export, import, or exchange).", + "enum": [ + "EXPORT", + "IMPORT", + "EXCHANGE" + ] }, "type": { "type": "string", diff --git a/models/ShipCargoItem.json b/models/ShipCargoItem.json index 052a220..af37796 100644 --- a/models/ShipCargoItem.json +++ b/models/ShipCargoItem.json @@ -3,8 +3,7 @@ "description": "The type of cargo item and the number of units.", "properties": { "symbol": { - "type": "string", - "description": "The unique identifier of the cargo item type." + "$ref": "./TradeSymbol.json" }, "name": { "type": "string", diff --git a/models/TradeSymbol.json b/models/TradeSymbol.json index 425dbb8..ad6bef6 100644 --- a/models/TradeSymbol.json +++ b/models/TradeSymbol.json @@ -115,7 +115,8 @@ "MOUNT_MINING_LASER_III", "MOUNT_LASER_CANNON_I", "MOUNT_MISSILE_LAUNCHER_I", - "MOUNT_TURRET_I" + "MOUNT_TURRET_I", + "FAB_MATS" ], "description": "The good's symbol." -} \ No newline at end of file +} diff --git a/reference/SpaceTraders.json b/reference/SpaceTraders.json index f5eff48..53f6a08 100644 --- a/reference/SpaceTraders.json +++ b/reference/SpaceTraders.json @@ -3309,7 +3309,7 @@ } ], "post": { - "description": "Negotiate a new contract with the HQ.\n\nIn order to negotiate a new contract, an agent must not have ongoing or offered contracts over the allowed maximum amount. Currently the maximum contracts an agent can have at a time is 1.\n\nOnce a contract is negotiated, it is added to the list of contracts offered to the agent, which the agent can then accept. \n\nThe ship must be present at a faction's HQ waypoint to negotiate a contract with that faction.", + "description": "Negotiate a new contract with the HQ.\n\nIn order to negotiate a new contract, an agent must not have ongoing or offered contracts over the allowed maximum amount. Currently the maximum contracts an agent can have at a time is 1.\n\nOnce a contract is negotiated, it is added to the list of contracts offered to the agent, which the agent can then accept. \n\nThe ship must be present at any waypoint with a faction present to negotiate a contract with that faction.", "operationId": "negotiateContract", "responses": { "201": {