From a738d9b032f6bf2feef09745824c2a850380df4a Mon Sep 17 00:00:00 2001 From: SpaceAdmiral Date: Tue, 31 Oct 2023 16:31:35 -0700 Subject: [PATCH] refactor to trade symbol ref --- models/MarketTradeGood.json | 3 +-- models/ShipCargoItem.json | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/models/MarketTradeGood.json b/models/MarketTradeGood.json index 414454d..2f085ad 100644 --- a/models/MarketTradeGood.json +++ b/models/MarketTradeGood.json @@ -2,8 +2,7 @@ "type": "object", "properties": { "symbol": { - "type": "string", - "description": "The symbol of the trade good." + "$ref": "./TradeSymbol.json" }, "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",