From 905cf01de826aa9c321c24ddc6f888e54f6661dc Mon Sep 17 00:00:00 2001 From: Space Admiral Date: Sat, 29 Oct 2022 11:23:05 -0700 Subject: [PATCH] clean up trade symbols --- models/ContractDeliverGood.json | 4 ++-- reference/SpaceTraders.json | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/models/ContractDeliverGood.json b/models/ContractDeliverGood.json index 02e1377..c0a452f 100644 --- a/models/ContractDeliverGood.json +++ b/models/ContractDeliverGood.json @@ -2,7 +2,7 @@ "description": "The details of a delivery contract. Includes the type of good, units needed, and the destination.", "type": "object", "properties": { - "tradeSymbol": { + "symbol": { "type": "string", "description": "The symbol of the trade good to deliver.", "minLength": 1 @@ -22,7 +22,7 @@ } }, "required": [ - "tradeSymbol", + "symbol", "destinationSymbol", "unitsRequired", "unitsFulfilled" diff --git a/reference/SpaceTraders.json b/reference/SpaceTraders.json index eb54db0..74afd65 100644 --- a/reference/SpaceTraders.json +++ b/reference/SpaceTraders.json @@ -733,12 +733,12 @@ "application/json": { "schema": { "properties": { - "tradeSymbol": { + "symbol": { "type": "string" } }, "required": [ - "tradeSymbol" + "symbol" ], "type": "object" } @@ -912,7 +912,7 @@ "application/json": { "schema": { "properties": { - "tradeSymbol": { + "symbol": { "type": "string" }, "units": { @@ -921,7 +921,7 @@ } }, "required": [ - "tradeSymbol", + "symbol", "units" ], "type": "object" @@ -1194,7 +1194,7 @@ "application/json": { "schema": { "properties": { - "tradeSymbol": { + "symbol": { "type": "string" }, "units": { @@ -1202,7 +1202,7 @@ } }, "required": [ - "tradeSymbol", + "symbol", "units" ], "type": "object" @@ -1449,7 +1449,7 @@ "application/json": { "schema": { "properties": { - "tradeSymbol": { + "symbol": { "type": "string" }, "units": { @@ -1457,7 +1457,7 @@ } }, "required": [ - "tradeSymbol", + "symbol", "units" ], "type": "object"