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.",
"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"

View File

@ -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"