clean up trade symbols

This commit is contained in:
Space Admiral 2022-10-29 11:23:05 -07:00
parent 02d6f5da09
commit 905cf01de8
2 changed files with 10 additions and 10 deletions

View File

@ -2,7 +2,7 @@
"description": "The details of a delivery contract. Includes the type of good, units needed, and the destination.", "description": "The details of a delivery contract. Includes the type of good, units needed, and the destination.",
"type": "object", "type": "object",
"properties": { "properties": {
"tradeSymbol": { "symbol": {
"type": "string", "type": "string",
"description": "The symbol of the trade good to deliver.", "description": "The symbol of the trade good to deliver.",
"minLength": 1 "minLength": 1
@ -22,7 +22,7 @@
} }
}, },
"required": [ "required": [
"tradeSymbol", "symbol",
"destinationSymbol", "destinationSymbol",
"unitsRequired", "unitsRequired",
"unitsFulfilled" "unitsFulfilled"

View File

@ -733,12 +733,12 @@
"application/json": { "application/json": {
"schema": { "schema": {
"properties": { "properties": {
"tradeSymbol": { "symbol": {
"type": "string" "type": "string"
} }
}, },
"required": [ "required": [
"tradeSymbol" "symbol"
], ],
"type": "object" "type": "object"
} }
@ -912,7 +912,7 @@
"application/json": { "application/json": {
"schema": { "schema": {
"properties": { "properties": {
"tradeSymbol": { "symbol": {
"type": "string" "type": "string"
}, },
"units": { "units": {
@ -921,7 +921,7 @@
} }
}, },
"required": [ "required": [
"tradeSymbol", "symbol",
"units" "units"
], ],
"type": "object" "type": "object"
@ -1194,7 +1194,7 @@
"application/json": { "application/json": {
"schema": { "schema": {
"properties": { "properties": {
"tradeSymbol": { "symbol": {
"type": "string" "type": "string"
}, },
"units": { "units": {
@ -1202,7 +1202,7 @@
} }
}, },
"required": [ "required": [
"tradeSymbol", "symbol",
"units" "units"
], ],
"type": "object" "type": "object"
@ -1449,7 +1449,7 @@
"application/json": { "application/json": {
"schema": { "schema": {
"properties": { "properties": {
"tradeSymbol": { "symbol": {
"type": "string" "type": "string"
}, },
"units": { "units": {
@ -1457,7 +1457,7 @@
} }
}, },
"required": [ "required": [
"tradeSymbol", "symbol",
"units" "units"
], ],
"type": "object" "type": "object"